| Server IP : 172.67.216.113 / 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'] <> 'cm2')
{
?><meta http-equiv="refresh" content="0;URL=../home/index.php"><?php
exit;
}
else
{
$_SESSION['name'] = $_POST['name'];
$_SESSION['lastname'] = $_POST['lastname'];
$_SESSION['address'] = $_POST['address'];
$_SESSION['province'] = $_POST['province'];
$_SESSION['zipcode'] = $_POST['zipcode'];
$_SESSION['phone'] = $_POST['phone'];
$_SESSION['email'] = $_POST['mail'];
$_SESSION['lineID'] = $_POST['lineID'];
}
?>
<?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 active-btn" 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>
<div class="row">
<div class="col-12 col-md-12">
<form class="form-horizontal" method="post" name="from_shipping" action="checkout2.php" >
<div class="form-group">
<label for="inputEmail3" class="col-sm-2 control-label">รูปแบบการจัดส่ง :*</label>
<div class="col-sm-9">
<?php
$list_de = array('table'=>'delivery','where'=>'status = 1','order'=> "ORDER BY id ASC");
$view_de = $view_db->view($list_de);
$result_de = $view_db->q_re($view_de);
while($row_de = $view_db->q_ro($result_de))
{
?>
<div class="radio">
<label>
<input type="radio" name="delivery" value="<?php echo $row_de['id']?>" <?php if($row_de['id'] == 3){ ?>checked<?php }?>>
<?php echo $row_de['name']?> <span style="color:#F00;"> ค่าจัดส่ง <?php echo $row_de['price']?> บาท</span>
</label>
</div>
<?php } ?>
</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="cm3">
<input class="btn btn-default corner_cancel btn-kai1 px-3" type="submit" value="ส่งข้อมูล" style="color:#FFF;">
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- /.body -->
<?php include('../include/footer.php')?>
<?php include('../include/footer_js.php')?>