| Server IP : 104.21.37.246 / 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/kainumber.com/cart/ |
Upload File : |
<?php include('../include/header.php')?>
<?php $menu = 'cart';?>
<?php
if($_POST['confirm'] <> 'cm4')
{
?><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 -->
<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 " >
<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" 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="btncheck4" autocomplete="off">
<label class="btn btn-secondary2 active-btn" for="btncheck4">ขั้นตอนที่ 4</label>
<input type="checkbox" class="btn-check" id="btncheck5" autocomplete="off">
<label class="btn btn-secondary2" for="btncheck5">ยืนยัน</label>
</div>
</div>
<div class="row">
<div class="col-12 col-md-12">
<form class="form-horizontal" method="POST" name="from_pm">
<div class="form-group">
<?php
$list_de = array('table'=>'payment_method','where'=>'status = 1','order'=> "ORDER BY id ASC");
$view_de = $view_db->view($list_de);
$result_de = $view_db->q_re($view_de);
$num = 1;
while($row_de = $view_db->q_ro($result_de))
{
?>
<div class="radio">
<label>
<input type="radio" name="payment" value="<?php echo $row_de['id']?>" <?php if($num == 1){?>checked<?php }?> >
<span style="color:#F00;"> <?php echo $row_de['name']?></span>
<br> <br>
<?php if( $row_de['id'] > 1){ echo $row_de['detail']; } ?>
</label>
</div>
<?php $num++; } ?>
<br>
</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="cm4">
<input class="btn btn-default corner_cancel btn-kai1 px-3" type="button" value="ส่งข้อมูล" onClick="checkform_pm();" style="color:#FFF;">
</div>
</div>
<br>
<div class="form-group">
<div class="col-sm-offset-1 col-sm-11">
* หลังจากชำระสินค้าเสร็จแล้ว กรุณาแจ้งโอนเงินมาที่หน้าเว็บ [email protected]<br>
kainumber รับประกันสินค้า 100% เรายินดีคืนเงิน เต็มจำนวนหากเบอร์ไม่สามารถเปิดใช้งานได้ ภายใน 7 วันนับจากวันส่งมอบสินค้า * <br>
</div>
</div>
</form>
<div id="txtHint"></div>
</div>
</div>
</div>
</div>
</div>
<?php
/*
echo "<pre>";
print_r($_SESSION);
echo "</pre>";
*/
?>
<link href="../include/Fullscreen-Loading/src/css/HoldOn.css" rel="stylesheet" type="text/css">
<script src="../include/Fullscreen-Loading/jquery-1.11.3.min.js"></script>
<script src="../include/Fullscreen-Loading/src/js/HoldOn.js"></script>
<script>
function testHoldon(themeName){
HoldOn.open({
theme:themeName,
message:"<h4> กำลังโหลดข้อมูล </h4>"
});
/* setTimeout(function(){
HoldOn.close();
},5000);*/
}
function testHoldon_cl(themeName){
/*HoldOn.open({
theme:themeName,
//message:"<h4> กำลังโหลดข้อมูล </h4>"
});*/
setTimeout(function(){
HoldOn.close();
},0);
}
</script>
<script>
function checkform_pm()
{
var str = document.querySelector('input[name=payment]:checked').value;
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
// testHoldon_cl('sk-circle');
// document.getElementById("txtHint").innerHTML = xmlhttp.responseText;
console.log(xmlhttp.responseText);
window.location.href = xmlhttp.responseText;
}
}
xmlhttp.open("GET", "order_save.php?q="+str, true);
xmlhttp.send();
}
</script>
<!-- /.body -->
<?php include('../include/footer.php')?>
<?php include('../include/footer_js.php')?>