-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebar.php
74 lines (58 loc) · 3.02 KB
/
sidebar.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
<?php
//session_start();
error_reporting(0);
include('config.php');
?>
<div id="sidebar-collapse" class="col-sm-3 col-lg-2 sidebar">
<div class="profile-sidebar">
<div class="profile-userpic">
<img src="http://placehold.it/50/30a5ff/fff" class="img-responsive" alt="">
</div>
<div class="profile-usertitle">
<?php
$uid=$_SESSION['detsuid'];
$ret=mysqli_query($con,"select FullName from tbluser where ID='$uid'");
$row=mysqli_fetch_array($ret);
$name=$row['FullName'];
?>
<div class="profile-usertitle-name"><?php echo $name; ?></div>
<div class="profile-usertitle-status"><span class="indicator label-success"></span></div>
</div>
<div class="clear"></div>
</div>
<div class="divider"></div>
<ul class="nav menu">
<li class="active"><a href="user-report.php"><em class="fa fa-dashboard"> </em> Dashboard</a></li>
<li class="parent "><a data-toggle="collapse" href="#sub-item-1">
<em class="fa fa-navicon"> </em>Expenses <span data-toggle="collapse" href="#sub-item-1" class="icon pull-right"><em class="fa fa-plus"></em></span>
</a>
<ul class="children collapse" id="sub-item-1">
<li><a class="" href="add-expense.php">
<span class="fa fa-arrow-right"> </span> Add Expenses
</a></li>
<li><a class="" href="manage-expense.php">
<span class="fa fa-arrow-right"> </span> Manage Expenses
</a></li>
</ul>
</li>
<li class="parent "><a data-toggle="collapse" href="#sub-item-2">
<em class="fa fa-navicon"> </em>Expense Report <span data-toggle="collapse" href="#sub-item-1" class="icon pull-right"><em class="fa fa-plus"></em></span>
</a>
<ul class="children collapse" id="sub-item-2">
<li><a class="" href="expense-datewise-reports.php">
<span class="fa fa-arrow-right"> </span> Daywise Expenses
</a></li>
<li><a class="" href="expense-monthwise-reports.php">
<span class="fa fa-arrow-right"> </span> Monthwise Expenses
</a></li>
<li><a class="" href="expense-yearwise-reports.php">
<span class="fa fa-arrow-right"> </span> Yearwise Expenses
</a></li>
</ul>
</li>
<!--
<li><a href="user-profile.php"><em class="fa fa-user"> </em> Profile</a></li>
<li><a href="change-password.php"><em class="fa fa-clone"> </em> Change Password</a></li>
<li><a href="logout.php"><em class="fa fa-power-off"> </em> Logout</a></li> -->
</ul>
</div>