-
Notifications
You must be signed in to change notification settings - Fork 3
/
sidebar.php
42 lines (41 loc) · 1.57 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
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel -->
<div class="user-panel">
<div class="pull-left image">
<img src="<?php echo WEB_ROOT; ?>dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
</div>
<div class="pull-left info">
<p><?php echo $lu_uname; ?></p>
<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
</div>
</div>
<!-- search form -->
<form action="#" method="get" class="sidebar-form">
<div class="input-group">
<input type="text" name="q" class="form-control" placeholder="Search...">
<span class="input-group-btn">
<button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
</button>
</span>
</div>
</form>
<!-- /.search form -->
<!-- sidebar menu: : style can be found in sidebar.less -->
<ul class="sidebar-menu">
<li class="header">MAIN NAVIGATION</li>
<li class="treeview <?php if(isset($_GET['dashboard'])) { echo 'active'; } ?>">
<a href="<?php echo WEB_ROOT; ?>Application/?dashboard">
<i class="fa fa-dashboard"></i> <span>Dashboard</span>
</a>
</li>
<li class="treeview <?php if(isset($_GET['users'])) { echo 'active'; } ?>">
<a href="<?php echo WEB_ROOT; ?>users/?users">
<i class="fa fa-user"></i> <span>Users</span>
</a>
</li>
</ul>
</section>
<!-- /.sidebar -->
</aside>