olshop/application/views/back/sidebar.php

30 lines
2.3 KiB
PHP
Raw Permalink Normal View History

2020-01-02 23:12:35 +07:00
<!-- Main -->
<div class="container-fluid">
<div class="row">
<div class="col-sm-2 sidebar" id="sideadmin">
<!-- Left column -->
<ul class="nav nav-stacked sidebarbody">
<li class="<?php if($aktif=="Home")echo "active" ?>"> <a href="Dashboard"><i class="glyphicon glyphicon-home"></i> Home</a></li>
<li class="<?php if($aktif=="Order")echo "active" ?>"><a href="<?php echo site_url("su\order")?>"><i class="glyphicon glyphicon-shopping-cart"></i> Order <?php if($order->ttl > 0){ ?><span class="badge badge-info"><?php echo $order->ttl?></span><?php } ?></a></li>
<li class="nav-header"> <a href="#" style="pointer-events: none" data-toggle="collapse" data-target="#menu1"><i class="glyphicon glyphicon-stats"></i> Statistic </a>
<ul class="nav nav-stacked" id="menu1" style="margin-left:20px;">
<li class="<?php if($aktif=="Sales")echo "active" ?>"><a href="#">Sales</a></li>
<li class="<?php if($aktif=="Transactions")echo "active" ?>"><a href="#">Transactions</a></li>
<li class="<?php if($aktif=="Views")echo "active" ?>"><a href="#">Views</a></li>
<li class="<?php if($aktif=="Requests")echo "active" ?>"><a href="#">Requests</a></li>
</ul>
</li>
<li class="<?php if($aktif=="Barang")echo "active" ?>"><a href="<?php echo site_url("su\barangAdm")?>"><i class="glyphicon glyphicon-apple"></i> Barang</a></li>
<li class="<?php if($aktif=="Member")echo "active" ?>"><a href="#"><i class="glyphicon glyphicon-user"></i> Member</a></li>
<li class="nav-header"> <a href="#" style="pointer-events: none" data-toggle="collapse" data-target="#menu2"><i class="glyphicon glyphicon-cog"></i> Options </a>
<ul class="nav nav-stacked" id="menu2" style="margin-left:20px;">
<li class="<?php if($aktif=="Toko")echo "active" ?>"><a href="#">Toko</a></li>
<li class="<?php if($aktif=="Slideshow")echo "active" ?>"><a href="#">Slideshow</a></li>
<li class="<?php if($aktif=="Kategori")echo "active" ?>"><a href="#">Kategori</a></li>
<li class="<?php if($aktif=="About")echo "active" ?>"><a href="#">About</a></li>
<li class="<?php if($aktif=="Contact")echo "active" ?>"><a href="#">Contact</a></li>
</ul>
</li>
</ul>
</div>
<!-- /col-3 -->