-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin_side_nav.php
34 lines (31 loc) · 1.11 KB
/
admin_side_nav.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
<?php
$sql="SELECT * FROM messages WHERE STATUS=1";
$result=$con->query($sql);
$n=$result->num_rows;
if($n!=0)
{
$mes='<span class="badge pull-right">'.$n.' Unread</span>';
}
else
{
$mes="";
}
?>
<h3 class="text-danger">Dashboard</h3>
<hr>
<ul class="nav nav-stacked">
<li><a href="admin_inbox.php" class="btn btn-warning"> Inbox <?php echo $mes;?></a></li>
<li><a href="admin_donor.php" class="btn btn-info">Search Donors</a></li>
<li><a href="admin_adonor.php" class="btn btn-success"> Active Donors</a></li>
<li><a href="admin_ndonor.php" class="btn btn-danger"> Not Active Donors</a></li>
<li><a href="admin_need_blood.php" class="btn btn-info">Search Need Blood</a></li>
<hr>
<li><a href="#add" data-toggle="collapse" class="btn btn-warning"> Settings</a></li>
<ul class="nav collapse" id="add">
<li><a href="admin_country.php" class="btn btn-success"> + Add Country</a></li> </br>
<li><a href="admin_division.php" class="btn btn-success"> + Add Division</a></li> </br>
<li><a href="admin_district.php" class="btn btn-success"> + Add District</a></li> </br>
</li>
</ul>
</ul>
<hr>