<?php
    $baseUrl = Yii::app()->theme->baseUrl; 
    $cs = Yii::app()->getClientScript();
    Yii::app()->clientScript->registerCoreScript('jquery');
?>


<img src="<?php echo $baseUrl;?>/img/bg.png" style="width:100%" alt="slide1">
<hr>

<!--       <div id="WJSlider" class="carousel slide" data-ride="carousel">
    
    <ol class="carousel-indicators">
      <li data-target="#WJSlider" data-slide-to="0" class="active"></li>
      <li data-target="#WJSlider" data-slide-to="1"></li>
      <li data-target="#WJSlider" data-slide-to="2"></li>
    </ol>


    <div class="carousel-inner" role="listbox">

      <div class="item active">
        <img src="<?php echo $baseUrl;?>/img/slide1.jpg" style="width:100%" alt="slide1">
        <div class="carousel-caption">
         
        </div>
      </div>

      <div class="item">
         <img src="<?php echo $baseUrl;?>/img/slide2.jpg" style="width:100%" alt="slide2">
        <div class="carousel-caption">
         
        </div>
      </div>
 
    

    
    </div>


    <a class="left carousel-control" href="#WJSlider" role="button" data-slide="prev">
      <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
      <span class="sr-only">Kembali</span>
    </a>
    <a class="right carousel-control" href="#WJSlider" role="button" data-slide="next">
      <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
      <span class="sr-only">Lanjut</span>
    </a>
  </div>

<hr>

-->


<?php foreach ($data as $row):?>
  
    <div class="col-lg-4 col-xs-6">
          <!-- small box -->
          <a href="<?php echo Yii::app()->createUrl('Antrian/create&id_jenis='.$row->id)?>" target="_blank">
          <div class="small-box bg-green">
            <div class="inner">
              <h3><?php echo $row->nama_loket?></h3>

              <p>Ambil nomor</p>
            </div>
            <div class="icon">
              <i class="ion ion-bag"></i>
            </div>
          </div>
        </a>
        </div>

<?php endforeach ?>

