| Server IP : 172.67.216.113 / Your IP : 172.71.28.146 [ Web Server : Apache System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64 User : cp648411 ( 1354) PHP Version : 7.2.34 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/cp648411/www/simded.com/themes/ |
Upload File : |
<div class="row mt-4 mb-3">
<div class="col-md-12">
<p class="HeadText mb-0 fw-bold text-spacing-md">รวมซิมเด็ดทุกร้าน ตามหมวดหมู่ </p>
</div>
</div>
<div class="row mt-4 justify-content-between px-3 px-md-5 d-flex d-lg-none">
<div class="col px-1" >
<div class="BoxCat" align="center">
<a href="../goodsum/" class="text-decoration-none">
<img src="../images/icon_sum.png" width="100" height="100" class="img-fluid">
<div class="BoxCatText pt-3 fw-bold text-spacing-md">ผลรวมดี</div>
</a>
</div>
</div>
<?php
$x=2;
$list_cat = array('table'=>'category','where'=>'status = 1','order'=> "ORDER BY id ASC");
$view_cat = $view_db->view($list_cat);
$result_cat = $view_db->q_re($view_cat);
while($row_cat = $view_db->q_ro($result_cat))
{
?>
<div class="col px-1" >
<div class="BoxCat" align="center">
<a href="#" onclick="FM_search('category',<?php echo $row_cat['id'] ?>)" class=" text-decoration-none">
<img src="<?php echo $upload; ?>category/<?php echo $row_cat['image']?>" width="100" height="100" class="img-fluid">
<div class="BoxCatText pt-3 fw-bold text-spacing-md"><?php echo $row_cat['name']?></div>
</a>
</div>
</div>
<?php //BoxCat
if($x==5){echo '</div><div class="row mt-3 justify-content-between px-3 px-md-5 d-flex d-lg-none">';}
$x++;
}
?>
<div style="clear:left;"></div>
</div>
<div class="row mt-3 d-none d-lg-block">
<div class="d-flex justify-content-between">
<div class="BoxCat" align="center">
<a href="../goodsum/" class="text-decoration-none">
<img src="../images/icon_sum.png" width="100" height="100" class="img-fluid">
<div class="BoxCatText pt-3 fw-bold text-spacing-md">ผลรวมดี</div>
</a>
</div>
<?php
$x=2;
$list_cat = array('table'=>'category','where'=>'status = 1','order'=> "ORDER BY id ASC");
$view_cat = $view_db->view($list_cat);
$result_cat = $view_db->q_re($view_cat);
while($row_cat = $view_db->q_ro($result_cat))
{
?>
<div class="BoxCat" align="center">
<a href="#" onclick="FM_search('category',<?php echo $row_cat['id'] ?>)" class=" text-decoration-none">
<img src="<?php echo $upload; ?>category/<?php echo $row_cat['image']?>" width="100" height="100" class="img-fluid">
<div class="BoxCatText pt-3 fw-bold text-spacing-md"><?php echo $row_cat['name']?></div>
</a>
</div>
<?php //BoxCat
//if($x==5){echo '</div><div class="row mt-3 justify-content-between px-3 px-md-5">';}
$x++;
}
?>
<div style="clear:left;"></div>
</div>
</div>