-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathuserprofile.html
121 lines (112 loc) · 6.22 KB
/
userprofile.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title id="titlepage">Comercio | User Profile</title>
<link rel="stylesheet" href="styles.css" type="text/css" />
<link rel="icon" href="images/Comercio-Logo.png" type="icon" />
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Smlep5jCw/wG7hdkwQ/Z5nLIefveQRIY9nfy6xoR1uRYBtpZgI6339F5dgvm/e9B" crossorigin="anonymous">
</head>
<body>
<!-- Navigation -->
<nav nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top" id="navbar">
<div class="container">
<a class="navbar-brand" href="index.html">Commercio</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item" >
<a class="nav-link"><input class="form-control border-secondary py-2" type="search" name="search" id="search" placeholder="Search Ads" onkeyup="searchFunction()"/></a>
</li>
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<!-- <li class="nav-item active">
<a class="nav-link" href="userprofile.html" id="userProfile">User Profile</a>
</li> -->
<li class="nav-item ">
<a class="nav-link" class="favourite" style="display: none" href="favourite.html" id="favourite">Favourites</a>
</li>
<li class="nav-item">
<a class="nav-link" id="postad" href="submitad.html">New post</a>
</li>
<li class="nav-item" class="inActiveUser" id="inActiveUser">
<a class="nav-link" href="signin.html">Sign In/Register</a>
</li>
<li class="nav-item">
<a class="nav-link" href="pending.html">Admin</a>
</li>
<li class="activeUser nav-item" id="activeUser">
<a class="nav-link" href="index.html" onclick="signOut()">Sign Out</a>
</li>
<li class="nav-item">
<a
class="nav-link"
class="userProfile"
href="userprofile.html"
id="userProfile"
><img src='images/user-avatar.png' height='36rem'></a>
</li>
</ul>
</div>
</div>
</nav>
<h1 class="suh text-center text-dark" id="suh"></h1>
<div class="container">
<div class="form-group">
<label for="category"><b>Select Category</b></label>
<select onchange="selectCategory()" name="category" id="homePageCategorySelection" class="form-control" id="category">
<option>All Categories</option>
<option>Accessories</option>
<option>Chemicals</option>
<option>Machineries</option>
<option>Metals</option>
<option>Textiles</option>
<option>Miscellaneous</option>
</select>
</div>
</div>
<div class="container" id="container">
<div class="row" id="row">
</div>
</div>
<!-- Footer -->
<footer class="grid py-5 bg-dark" style="background-color: #696969 !important;">
<div class="container">
<address style="color:white;Text-Align:center">
<b>Copyright ©</b></br>
Ritwik Kundu | 19BCE0547</br>
Manishraj Khan | 19BCE0737
</address>
</div>
</footer>
<!-- main -->
<script src="https://www.gstatic.com/firebasejs/5.2.0/firebase.js"></script>
<script>
var config = {
apiKey: "AIzaSyDF7I1sGx6YuT60KLkHVdRLIxp814dKlHw",
authDomain: "ecommerce-test-a26fc.firebaseapp.com",
databaseURL: "https://ecommerce-test-a26fc-default-rtdb.firebaseio.com",
projectId: "ecommerce-test-a26fc",
storageBucket: "ecommerce-test-a26fc.appspot.com",
messagingSenderId: "690458204945",
appId: "1:690458204945:web:674ed644f21a1ca5d64ab0",
measurementId: "G-W3VEWVWQQ0"
};
// Initialize Firebase
firebase.initializeApp(config);
</script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/js/bootstrap.min.js" integrity="sha384-o+RDsa0aLu++PJvFqy8fFScvbHFLtbvScb8AjopnFD+iEQ7wo/CG0xlczd+2O/em" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="signup.js"></script>
<script src="signin.js"></script>
<script src="submitad.js"></script>
<script src="userprofile.js"></script>
</body>
</html>