<?php
// Recoded by Gh0Code
// Hargailah orang lain jika Anda ingin dihargai
session_start();
require("../mainconfig.php");

if (isset($_SESSION['user'])) {
	$sess_username = $_SESSION['user']['username'];
	$check_user = mysqli_query($db, "SELECT * FROM users WHERE username = '$sess_username'");
	$data_user = mysqli_fetch_assoc($check_user);
	if (mysqli_num_rows($check_user) == 0) {
		header("Location: ".$cfg_baseurl."logout.php");
	} else if ($data_user['status'] == "Suspended") {
		header("Location: ".$cfg_baseurl."logout.php");
	}
}

include("../lib/header.php");
?>
<div class="page-body checkout">
    <?php include('../lib/partial/breadcrumb.php') ?>
          <!-- Container-fluid starts-->
          <div class="container-fluid">
            <div class="card">
              <div class="card-header">
                <h5>Billing Details</h5>
              </div>
              <div class="card-body">
                <div class="row">
                    <div class="col-xl-6 col-sm-12">
                            <img src="<?= $cfg_baseurl; ?>/assets/qris_borneo.png" width="100%" height="100%">
                        </div>
                  <div class="col-xl-6 col-sm-12">
                    <div class="checkout-details">
                      <div class="order-box">
                        <div class="title-box">
                          <div class="checkbox-title">
                            <h4>Product </h4><span>Total</span>
                          </div>
                        </div>
                        <ul class="qty">
                          <li>Pink Slim Shirt × 1 <span>$25.10</span></li>
                          <li>SLim Fit Jeans × 1 <span>$555.00</span></li>
                        </ul>
                        <ul class="sub-total">
                          <li>Subtotal <span class="count">$380.10</span></li>
                          <li class="shipping-class">Shipping
                            <div class="shopping-checkout-option">
                              <label class="d-block" for="chk-ani">
                                <input class="checkbox_animated" id="chk-ani" type="checkbox" checked="">Option 1
                              </label>
                              <label class="d-block" for="chk-ani1">
                                <input class="checkbox_animated" id="chk-ani1" type="checkbox">Option 2
                              </label>
                            </div>
                          </li>
                        </ul>
                        <ul class="sub-total total">
                          <li>Total <span class="count">$620.00</span></li>
                        </ul>
                        <div class="animate-chk">
                          <div class="row">
                            <div class="col">
                              <label class="d-block" for="edo-ani">
                                <input class="radio_animated" id="edo-ani" type="radio" name="rdo-ani" checked="" data-original-title="" title="">Check Payments
                              </label>
                              <label class="d-block" for="edo-ani1">
                                <input class="radio_animated" id="edo-ani1" type="radio" name="rdo-ani" data-original-title="" title="">Cash On Delivery
                              </label>
                              <label class="d-block" for="edo-ani2">
                                <input class="radio_animated" id="edo-ani2" type="radio" name="rdo-ani" checked="" data-original-title="" title="">PayPal<img class="img-paypal" src="../assets/images/checkout/paypal.png" alt="">
                              </label>
                            </div>
                          </div>
                        </div>
                        <div class="order-place"><a class="btn btn-primary" href="#">Place Order  </a></div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
   </div>
          <!-- Container-fluid Ends-->
        </div>
<?php
include("../lib/footer.php");
?>