| Server IP : 172.67.216.113 / Your IP : 104.23.243.32 [ 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 style="margin-top:30px;">
<div class="row">
<div class="col-md-12 justify-content-between d-flex align-items-baseline" style="margin-bottom:5px;">
<p class="HeadTextL fw-bold"> เลขทะเบียนรถแนะนำ </p>
<a href="#" class="text-decoration-none text-danger-sim">เพิ่มเติม</a>
</div>
</div>
<div class="row BerDedToday">
<?php
//$list_shi = array('table'=>'phonenumber','where'=>'status = "1" ','order'=> "ORDER BY RAND() LIMIT 0,6");
$list_shi = array('table'=>'carregistration,shop',
'where'=>'shop.id = carregistration.id_shop AND shop.status = "1" AND shop.status_op = "1" AND shop.activate = "1" AND carregistration.status = "1" ',
'order'=> "ORDER BY RAND() LIMIT 0,8");
$view_shi = $view_db->view($list_shi);
$result_shi = $view_db->q_re($view_shi);
while($row_shi = $view_db->q_ro($result_shi))
{
$phonenumber = $row_shi['carregistration'];
$row_mobilenetwork = $actiondata_db->q_one('stylecar','id = "'.$row_shi['styleid'].'"','image');
$list_shr = array('table'=>'shop','where'=>'id = "'.$row_shi['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']);
if($row_shr['image_profile']){ $image_profile = $row_shr['image_profile']; }
else { $image_profile = ''; }
?>
<div class="col-xs-6 col-md-3 borded " style="padding-bottom: 15px;">
<div class="row">
<div class="col-12 col-md-11" style="text-align: center;
background-image: url(../redbag/idcar/<?php echo $row_mobilenetwork; ?>);
border-radius: 0%;
background-repeat: no-repeat;
background-size: contain;
min-height: 9.5rem;">
<div style="margin-top: 15%;">
<a href="../cart/index2.php?p=<?php echo $row_shi['carregistration'];?>">
<span class="BerDedToday-ber" style="font-size: 155%;font-family: arial, sans-serif;"><?php echo $phonenumber; ?></span>
</a>
<!--<span class="BerDedToday-sum"> (<?php echo $row_shi['total'];?>) </span>-->
<div class="">
<span class="BerDedToday-price"> <?php echo number_format($row_shi['price']);?> </span>
</div>
</div>
</div>
</div>
</div>
<?php
}
?>
</div>
</div>