-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtop_navbar.php
144 lines (119 loc) · 4.16 KB
/
top_navbar.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
<!-- .navbar -->
<?php
$qry = mysqli_query($con,"SELECT * FROM user_student_detail WHERE student_userID = '$login_id'");
$res = mysqli_fetch_assoc($qry);
$res['student_fName'];
$res['student_lName'];
$res['student_img'];
?>
<style type="text/css">
/** =====================
* Top nav Customize Dropdown notif and msg
========================*/
.panel_defaul_custom
{
width: 430px;
}
.panel_heading_custom
{
margin-top: -5px;
}
.panel_body_custom
{
overflow-y: scroll;
overflow-x: hidden; height:400px; width: 430px;
}
.panel_item_custom{
color: black; width: 100%; background-color: #e7eaed;
}
.panel_item_custom:hover{
color: black; width: 100%; background-color: #dee0e2;
-webkit-transition: background-color 0.2s ease-out;
-moz-transition: background-color 0.2s ease-out;
-o-transition: background-color 0.2s ease-out;
transition: background-color 0.2s ease-out;
}
.panel_item_word_custom{
text-overflow: ellipsis; overflow: hidden; white-space: nowrap;
width: 12em;
}
.panel_footer_custom{
margin-bottom: -10px; color: black; height: 15px;
}
/** =====================
* Top nav Customize Dropdown notif and msg END
========================*/
</style>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<header class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="index.php" class="navbar-brand"><img src="assets/img/logo.png" alt="" style="width: 50px;">
</a>
</header>
<style type="text/css">
</style>
<ul class="nav navbar-nav pull-right">
<!-- <li class="dropdown ">
<a href="#" id="nbAcctDD" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="true"><i class="icon-user"></i>Message<i class="icon-sort-down"></i></a>
<ul class="dropdown-menu pull-right" >
<?php
// include ("dropdown-menu_message.php");
?>
</ul>
</li> -->
<li class="dropdown ">
<a href="#" id="nbAcctDD" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="true"><i class="icon-user"></i>Notification<i class="icon-sort-down"></i></a>
<ul class="dropdown-menu pull-right" >
<?php
include ("dropdown-menu_notification.php");
?>
</ul>
</li>
<li class="dropdown ">
<a href="#" id="nbAcctDD" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="true"><i class="icon-user"></i><?php echo $login_session;?><i class="icon-sort-down"></i></a>
<ul class="dropdown-menu pull-right">
<li><a href="profile.php">Profile</a>
</li>
<li><a href="logout.php">Log Out</a>
</li>
</ul>
</li>
</ul>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<!-- .nav -->
<ul class="nav navbar-nav">
<li><a href="dashboard.php">Welcome to: CVSU-CEIT DIT ONLINE TRACER STUDY</a>
</li>
</ul>
<!-- /.nav -->
</div>
</div>
<!-- /.container-fluid -->
</nav>
<!-- /.navbar -->
<header class="head">
<div class="search-bar">
<div style="height: 20px;"></div>
<!-- /.main-search -->
</div>
<!-- /.search-bar -->
<div class="main-bar">
<div style="height: 20px;"></div>
</div>
<!-- /.main-bar -->
</header>
<!-- /.head -->
<!-- /.For removing color of read items -->
<script>
function myFunction(divObj) {
divObj.style.background="#f5f5f5";
}
</script>
<!-- /.For removing color of read items end-->