-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmenu.php
More file actions
73 lines (70 loc) · 1.33 KB
/
menu.php
File metadata and controls
73 lines (70 loc) · 1.33 KB
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
<?php
session_start();
if($_SESSION["log"]!=1){
echo '<script>window.location="Admin/adlog.php?sta=nolog"</script>';
}
?>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../BootStrap/bootstrap.min.css">
<script src="../BootStrap/jquery.min.js"></script>
<script src="../BootStrap/bootstrap.min.js"></script>
<style>
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #002159;
box-shadow: 1px 2px 8px #0564ff;
}
li {
float: left;
}
a{
text-decoration: none;
}
li a {
display: block;
color: white;
text-align: center;
padding: 8px 16px;
text-decoration: none;
}
li a:hover {
background:white;
color:black;
text-decoration: none;
}
.un{
position:absolute;
top:1%;
right:8%;
font-size: 25px;
color:white;
}
.lo{
position:absolute;
right:1%;
}
#h{
height: 40px;
}
#er{
box-shadow: 1px 2px 5px black;
}
</style>
</head>
<body>
<ul id="h">
<li><a class="active" href="reg/main.php">Home</a></li>
<li><a href="#news">News</a></li>
<li><a href="#contact">Contact</a></li>
<li class="lo"><a href="../Admin/lout.php">LogOut</a></li>
<li class="un"><b>Hello, <?php echo $_SESSION["username"]; ?></b></li>
</ul>
<div id="er"><img src="../BootStrap/logo.png" height=70></div>
</body>
</html>