  <aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
      <!-- Sidebar user panel -->
      <div class="user-panel">
         <center>  <img src="<?php echo $baseUrl;?>/img/logo.png" style="width:60%"></center>
      </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" data-widget="tree">


 <li class="header">MAIN NAVIGATION</li>

 <li><?php   echo CHtml::link("<i class='glyphicon glyphicon-bullhorn' aria-hidden='true'></i><span> Panggil Antrian</span><span class='pull-right-container'>
              <small class='label pull-right bg-green'><i class='glyphicon glyphicon-bullhorn' aria-hidden='true'></i></small>
            </span>",array('Antrian/Admin')); ?>
                        </li>



  <?php if(Yii::app()->user->level==9)
  {?>                      
 <li class="header">DATA MASTER</li>
 <li><?php   echo CHtml::link("<i class='glyphicon glyphicon-user' aria-hidden='true'></i><span> Tambah User</span><span class='pull-right-container'>
              <small class='label pull-right bg-yellow'><i class='glyphicon glyphicon-user' aria-hidden='true'></i></small>
            </span>",array('User/Admin')); ?>
                        </li>

                        
 <li><?php   echo CHtml::link("<i class='glyphicon glyphicon-wrench' aria-hidden='true'></i><span> Tambah Loket</span><span class='pull-right-container'>
              <small class='label pull-right bg-purple'><i class='glyphicon glyphicon-wrench' aria-hidden='true'></i></small>
            </span>",array('Loket/Admin')); ?>
                        </li>

<?php }?>



                                         





      </ul>
    </section>
    <!-- /.sidebar -->
  </aside>