-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnavbar2.php
176 lines (152 loc) · 3.65 KB
/
navbar2.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
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!doctype html>
<html>
<head>
<title>HTML5 / CSS3 Drop-Down Navigation Menu</title>
<style>
h1{
color:#FFFFFF;
text-align:center;
background-color: #FF4500;
padding: 15px;
text-decoration: bold;
}
.note{
color: #00CC00;
text-align:center;
font-size: 1.5em;
}
#nav {
position:fixed;
width:20000px;
height:49px;
padding-left:80px;
padding-top:-100px;
padding-bottom:0px;
background-color: #00FF00;
background-size: 180px 160px;
}
ul#navigation {
margin:0px auto;
position:relative;
float:left;
}
ul#navigation li {
display:inline;
font-size:15px;
font-weight:bold;
margin:0;
padding:0;
float:left;
position:relative;
}
ul#navigation li a {
padding-left:85px;
padding-right:15px;
padding-top:15px;
padding-bottom:15px;
color:#FFFFFF;
text-shadow:1px 1px 0px #fff;
text-decoration:none;
display:block;
background: #00FF00;
-webkit-transition:color 0.2s linear, background 0.2s linear;
-moz-transition:color 0.2s linear, background 0.2s linear;
-o-transition:color 0.2s linear, background 0.2s linear;
transition:color 0.2s linear, background 0.2s linear;
}
ul#navigation li a:hover {
background-color:#CCFFCC;
color:#282828;
}
ul#navigation li a.first {
border-left: 0 none;
}
ul#navigation li a.last {
border-right: 0 none;
}
ul#navigation li:hover > a {
background:#FF4500;
}
/* Drop-Down Navigation */
ul#navigation li:hover > ul
{
/*these 2 styles are very important,
being the ones which make the drop-down to appear on hover */
visibility:visible;
opacity:1;
}
ul#navigation ul, ul#navigation ul li ul {
list-style: none;
margin: 0;
padding: 0;
/*the next 2 styles are very important,
being the ones which make the drop-down to stay hidden */
visibility:hidden;
opacity:0;
position: absolute;
z-index: 99999;
width:180px;
background:#66FF33;
box-shadow:1px 1px 3px #ccc;
/* css3 transitions for smooth hover effect */
-webkit-transition:opacity 0.2s linear, visibility 0.2s linear;
-moz-transition:opacity 0.2s linear, visibility 0.2s linear;
-o-transition:opacity 0.2s linear, visibility 0.2s linear;
transition:opacity 0.2s linear, visibility 0.2s linear;
}
ul#navigation ul {
top: 43px;
left: 0px;
}
ul#navigation ul li ul {
top: 0;
left: 181px; /* strong related to width:180px; from above */
}
ul#navigation ul li {
clear:both;
width:100%;
border:0 none;
border-bottom:1px solid #c9c9c9;
}
ul#navigation ul li a {
background:none;
padding:7px 15px;
color:#616161;
text-shadow:1px 1px 0px #fff;
text-decoration:none;
display:inline-block;
border:0 none;
float:left;
clear:both;
width:150px;
}
</style>
</head>
<?php
ob_start();
session_start();
if(!isset($_SESSION["username"])||!isset($_SESSION["password"])){
header('Refresh: 0; URL = "login.php"');
}
?>
<p>
<nav id="nav">
<ul id="navigation">
<li><a href="logout.php">SIGN OUT</a></li>
<li><a href="#">CORRECTION BY »</a>
<ul>
<li><a href="edit_itws.php">ITWS</a></li>
<li><a href="edit_ds.php">DS</a></li>
<li><a href="edit_maths.php">MATHS</a></li>
<li><a href="edit_ec.php">EC</a></li>
<li><a href="edit_prog.php">programming</a></li>
</ul>
</li>
</ul>
</nav>
</p>
<br><br>
<h1>Welcome To Attendance consolidation system</h1>
<marquee behavior="scroll" direction="left" scrollamount="10"><h4><span class="note">
YOU ARE SUCCESFULLY LOGGED IN NOW YOU CAN MAKE NECCESSARY CORRECTIONS IN ATTENDANCE REGISTER </span></h4></marquee>
</html>