-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebar.php
72 lines (58 loc) · 2.95 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
<?php
session_start();
error_reporting(0);
include('dbconnection.php');
?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="background.css">
</head>
<div id="sidebar-collapse" class="col-sm-3 col-lg-2 sidebar" style="background-color: black; color:aliceblue" >
<div class="profile-sidebar">
<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>Online</div>
</div>
<div class="clear"></div>
</div>
<div class="divider"></div>
<ul class="nav menu" >
<li class="active"><a href="summary.php"><em class="fa fa-dashboard"> </em> <b>Summary</b></a></li>
<li class="parent "><a data-toggle="collapse" href="#sub-item-1" >
<em class="fa fa-navicon"> </em> <b> Expenses </b> <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> <b> Expense Report </b> <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="date_reports.php">
<span class="fa fa-arrow-right"> </span> By Date
</a></li>
<li><a class="" href="monthly_reports.php">
<span class="fa fa-arrow-right"> </span> By Month
</a></li>
<li><a class="" href="annual_reports.php">
<span class="fa fa-arrow-right"> </span> By Annual
</a></li>
</ul>
</li>
<li><a href="help.php"><em class="fa fa-clone"> </em> <b> Help </b> </a></li>
<li><a href="logout.php"><em class="fa fa-power-off"> </em> <b> Logout </b> </a></li>
</ul>
</div>