Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /* @var $this ComboboxController */
- /* @var $dataProvider CActiveDataProvider */
- $this->breadcrumbs=array(
- 'Comboboxes',
- );
- $this->menu=array(
- array('label'=>'Tambah', 'url'=>array('combobox/tambah')),
- array('label'=>'Manage Combobox', 'url'=>array('admin')),
- );
- ?>
- <h1>Comboboxes</h1>
- <table border="1" cellpadding="1" cellspacing="1">
- <tr style="background-color:orange;color:white;">
- <th>Provinsi</th>
- <th>Kabupaten</th>
- <th>Kecamatan</th>
- <th>Kelurahan</th>
- <th>Harga</th>
- </tr>
- <?php foreach ($model as $data): ?>
- <tr>
- <th><?php echo $data['provinsi'];?></th>
- <th><?php echo $data['kabupaten'];?></th>
- <th><?php echo $data['kecamatan'];?></th>
- <th><?php echo $data['kelurahan'];?></th>
- <th><?php echo $data['harga_pengiriman'];?></th>
- </tr>
- <?php endforeach;?>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement