<section id="navigation-main">  
<div class="navbar">
	<div class="navbar-inner">
    <div class="container">
        <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
  
          <div class="nav-collapse">
			<?php $this->widget('zii.widgets.CMenu',array(
                    'htmlOptions'=>array('class'=>'nav'),
                    'submenuHtmlOptions'=>array('class'=>'dropdown-menu'),
					'itemCssClass'=>'item-test',
                    'encodeLabel'=>false,
                    'items'=>array(
                        array('label'=>'Home', 'url'=>array('/site/index'), 'linkOptions'=>array("data-description"=>"Beranda")),						
			array('label'=>'Laporan <span class="caret"></span>', 'url'=>'#','itemOptions'=>array('class'=>'dropdown','tabindex'=>"-1"),'linkOptions'=>array('class'=>'dropdown-toggle','data-toggle'=>"dropdown","data-description"=>"Absensi"), 
                        'items'=>array(
                            array('label'=>'<span class="style" style="background-color:#0088CC;"></span> Search by Date', 'url'=>array('/BeritaAcaraKuliah/AdminByDate', 'id'=>date('Y-m-d'))),
                            array('label'=>'<span class="style" style="background-color:#e42e5d;"></span> Berita Acara Kuliah', 'url'=>array('BeritaAcaraKuliah/CetakBeritaAcaraKuliah')),
                            array('label'=>'<span class="style" style="background-color:#c80681;"></span> Daftar Hadir', 'url'=>array('BeritaAcaraDaftarHadir/searchBeritaAcaraDaftarHadir')),
                            
                        )),
                        
                        array('label'=>'Manage Jadwal', 'url'=>array('/jadwal/admin'), 'linkOptions'=>array("data-description"=>"Manage Jadwal disin!")),
                        array('label'=>'Manage Mahasiswa', 'url'=>array('/dim/admin'), 'linkOptions'=>array("data-description"=>"Manage Mahasiswa disini!")),
                        
//                        array('label'=>'Background <span class="caret"></span>', 'url'=>'#','itemOptions'=>array('class'=>'dropdown','tabindex'=>"-1"),'linkOptions'=>array('class'=>'dropdown-toggle','data-toggle'=>"dropdown","data-description"=>"Choose your Color!"), 
//                        'items'=>array(
//                            array('label'=>'<span class="style" style="background-color:#0088CC;"></span> Blue', 'url'=>"javascript:chooseStyle('none', 60)"),
//                            array('label'=>'<span class="style" style="background-color:#e42e5d;"></span> Pink', 'url'=>"javascript:chooseStyle('style2', 60)"),
//                            array('label'=>'<span class="style" style="background-color:#c80681;"></span> Purple', 'url'=>"javascript:chooseStyle('style3', 60)"),
//                            
//                        )),
                        
                        array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest,'linkOptions'=>array("data-description"=>"member area")),
                        array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest,'linkOptions'=>array("data-description"=>"member area")),
                    ),
                )); ?>
    	</div>
    </div>
	</div>
</div>
</section><!-- /#navigation-main -->