public function loadId($id)
 {
     $model = Barangtbl::model()->findByPk($id);
     if ($model === null) {
         throw new CHttpException(404, 'The requested pade does not exist.');
     }
     return $model;
 }
									
									</table>
							</div>
						</div><!--/price-range-->
					
					</div>
				</div>
				
				<div class="col-sm-9 padding-right">
					<div class="features_items"><!--features_items-->
						<h2 class="title text-center">Features Items</h2>  


<!--?php $this->renderPartial('produk', array('model'=>$model)); ?>-->
<?php 
$ambilid = Barangtbl::model()->findByPk('id');
$id = $_GET['id'];
$query = "select * from barangtbl where id = '" . $id . "'";
$hasil = Yii::app()->db->createCommand($query)->query();
$temukan = $hasil->rowCount;
foreach ($hasil as $data) {
}
if ($temukan == 0) {
} else {
    ?>

		
	<div class="col-sm-9 padding-right">
	  <div class="product-details"><!--product-details-->
	    <div class="col-sm-5">
		  <div class="view-product">