<?
$awal = mysqli_query($conn,"SELECT DISTINCT kode_operator,nama_operator FROM produk order by kode_operator asc");
$jumlah=mysqli_num_rows($awal);
if ($jumlah == 0)
{
	$ikp='Tidak ada produk';
}
else{
    
    
	while($record = mysqli_fetch_array($awal))
	{
                       
	    $prod = $record['kode_operator'];
	    $nama = $record['nama_operator'];
	    
	    ?>
	    <div class="panel panel-primary">
        <div class="panel-heading"><center><? echo $nama;?></center></div>
		<div class="panel-body">
		<div class="dataTable_wrapper" style="overflow-x:auto;">
		<table class="table table-bordered table-hover">
			<thead>
				<tr>
					<th><center>Kode<center></th><th><center>Keterangan<center></th><th><center>Harga Rp<center></th><th><center>Status</center></th>
				</tr>
            </thead>
    	<?php
    	    
	    include 'prod_temp_price.php';
        
        
        ?></table></div></div></div><?
    }
	}