| Server IP : 172.67.216.113 / Your IP : 172.71.28.145 [ 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 : /home2/cp648411/public_html/simded.com/themes/ |
Upload File : |
<?php
$limit_store = 16;
if($server_mo=='?1'){
$limit_store = 8;
}
$list_sho = array('table'=>'shop',
'where'=>'shop.status = 1 AND shop.status_op = 1 AND shop.activate = 1',
'order'=> "ORDER BY RAND() LIMIT 0,".$limit_store);
$view_sho = $view_db->view($list_sho);
$result_sho = $view_db->q_re($view_sho);
$result_sho2 = $view_db->q_nr($result_sho);
//($result_shi2);
?>
<div class="my-3" style="margin-top:30px;" >
<div class="row fw-bold text-spacing-md">
<div class="col-md-12 justify-content-between d-flex align-items-baseline" style="margin-bottom:5px;">
<p class="HeadTextL"> ร้านขายเบอร์ </p>
<a href="../seller/" class="text-decoration-none text-danger-sim">เพิ่มเติม</a>
</div>
</div>
<div class="row justify-content-between">
<?php
$s=1;
while($row_sho = $view_db->q_ro($result_sho))
{
$phonenumber = $row_sho['carregistration'];
$row_mobilenetwork = $actiondata_db->q_one('stylecar','id = "'.$row_sho['styleid'].'"','image');;
$list_shr = array('table'=>'shop','where'=>'id = "'.$row_sho['id_shop'].'" ');
$view_shr = $view_db->view($list_shr);
$row_shr = $view_db->q($view_shr);
$countber = $util_class->countber($row_shr['id']);
$txt_phonenumber = $Phone_class->phonecomma($row_shr['phone']);
$codeshop = $row_sho['codeshop'];
$image_profile = $row_sho['image_profile'];
$image_profile2 = imgprofile_shophi($image_profile);
?>
<div class="box-ber px-1 mb-3 d-lg-block d-none">
<a href="../shop/<?php echo $codeshop; ?>">
<div class="rounded-sim border-2 border-danger-sim box-shop" onclick="window.location.href='../shop/<?php echo $codeshop; ?>'" accesskey="
"style="text-align: center;background-image: url(<?php echo $image_profile2; ?>); " role="button" tabindex="0">
</div>
</a>
</div>
<div class="col-3 col-md-3 d-lg-none d-block px-1">
<div class="box-ber px-1 mb-3 ">
<a href="../shop/<?php echo $codeshop; ?>">
<div class="rounded-sim border-2 border-danger-sim box-shop" onclick="window.location.href='../shop/<?php echo $codeshop; ?>'" accesskey="
"style="text-align: center;background-image: url(<?php echo $image_profile2; ?>); " role="button" tabindex="0">
</div>
</a>
</div>
</div>
<?php if($s==8){echo '<div class="d-none d-md-block"></div>';} ?>
<?php $s++; } ?>
<!--
<div class="col-6 d-block d-md-none mb-3" onclick="window.location.href='../shop/<?php echo $codeshop; ?>'">
<div class="row justify-content-center ps-3 d-flex">
<div class="col-12 col-md-11 rounded-sim border-2 border-danger-sim box-shop" style="text-align: center;
background-image: url(<?php echo $image_profile2; ?>); ">
</div>
</div>
</div>
-->
</div>
</div>
<?php
?>