-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
executable file
·65 lines (58 loc) · 2.41 KB
/
header.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Buy and Sell</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/shop-item.css" rel="stylesheet">
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<link rel="shortcut icon" href="images/index.png" />
<link href="css/displaypro.css" rel="stylesheet">
</head>
<body>
<!-- Navigation -->
<?php
session_start();
$name=$_SESSION["namelog"]; ?>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
<div class="container">
<a class="navbar-brand" href="buysell.php">Buy and Sell</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">
<a href="info.php?user=<?php echo $name ?>"><div class="navbar-text"><img src="images/user1.png" height="20px" width="20px" style="border:1px solid black"></img> <?php echo $name;?></a></div>
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="buysell.php">Home
<span class="sr-only">(current)</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.php">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="orders.php">My Orders</a>
</li>
<li class="nav-item">
<a class="nav-link" href="products.php">My Products</a>
</li>
<li class="nav-item">
<a class="nav-link" href="changeset.php">Change info</a>
</li>
<li class="nav-item">
<a class="nav-link" href="Logout.php">Logout</a>
</li>
</ul>
</div>
</div>
</nav>
</body>
</html>