Server IP : 162.214.80.37 / Your IP : 216.73.216.1 Web Server : Apache System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : imyrqtmy ( 2189) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home2/imyrqtmy/public_html/skyispatudyog/sym/Users/0-imyrqtmy/gym/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php session_start(); error_reporting(E_ERROR | E_PARSE); include ("Admin/Includes/db.php"); @$uid = $_SESSION['userid'] ; ?> <!DOCTYPE html> <html> <?php include 'include/head.php'; ?> <body class="hidden-bar-wrapper"> <div class="page-wrapper"> <?php include 'include/header.php'; ?> <!-- End Main Header --> <!--Page Title--> <section class="page-title" style="background-image:url(images/background/11.jpg)"> <div class="auto-container"> <div class="clearfix"> <div class="pull-left"> <h2>Shoping Cart</h2> <div class="text">Fitness is not a destination it is a way of life.</div> </div> <div class="pull-right"> <ul class="page-breadcrumb"> <li><a href="index.php">home</a></li> <li>Shoping Cart</li> </ul> </div> </div> </div> </section> <!--End Page Title--> <!-- Sidebar Cart Item --> <div class="xs-sidebar-group info-group"> <div class="xs-overlay xs-bg-black"></div> <div class="xs-sidebar-widget"> <div class="sidebar-widget-container"> <div class="widget-heading"> <a href="#" class="close-side-widget"> X </a> </div> <div class="sidebar-textwidget"> <!-- Sidebar Info Content --> <div class="sidebar-info-contents"> <div class="content-inner"> <div class="logo"> <a href="index.html"><img src="images/logo.png" alt="" /></a> </div> <div class="content-box"> <h2>About Us</h2> <p class="text">The argument in favor of using filler text goes something like this: If you use real content in the Consulting Process, anytime you reach a review point you’ll end up reviewing and negotiating the content itself and not the design.</p> <a href="#" class="theme-btn btn-style-two"><span class="txt">Consultation</span></a> </div> <div class="contact-info"> <h2>Contact Info</h2> <ul class="list-style-one"> <li><span class="icon fa fa-location-arrow"></span>Chicago 12, Melborne City, USA</li> <li><span class="icon fa fa-phone"></span>(111) 111-111-1111</li> <li><span class="icon fa fa-envelope"></span>Gym@gmail.com</li> <li><span class="icon fa fa-clock-o"></span>Week Days: 09.00 to 18.00 Sunday: Closed</li> </ul> </div> <!-- Social Box --> <ul class="social-box"> <li class="facebook"><a href="#" class="fa fa-facebook-f"></a></li> <li class="twitter"><a href="#" class="fa fa-twitter"></a></li> <li class="linkedin"><a href="#" class="fa fa-linkedin"></a></li> <li class="instagram"><a href="#" class="fa fa-instagram"></a></li> <li class="youtube"><a href="#" class="fa fa-youtube"></a></li> </ul> </div> </div> </div> </div> </div> </div> <!-- END sidebar widget item --> <!--Cart Section--> <section class="cart-section"> <div class="auto-container"> <!--Cart Outer--> <?php $tot = 0; $id = $_SERVER['REMOTE_ADDR']; $pro = "SELECT * FROM tbl_cart WHERE cid='$id' "; $result=$con->query($pro); if($result->num_rows > 0) { ?> <div class="cart-outer"> <div class="table-outer"> <table class="cart-table"> <thead class="cart-header"> <tr> <th class="prod-column">Product</th> <th class="price">Price</th> <th>Quantity</th> <th>Total</th> <th>Remove</th> </tr> </thead> <tbody> <?php while($row = mysqli_fetch_array($result)) { // print_r($row); $pii = $row['pid']; $gid = $row['gid']; $pr = mysqli_query($con,"SELECT * FROM tbl_product WHERE id='$pii' "); $data1 = mysqli_fetch_array($pr); $img = $data1['img']; $im = explode(',', $img); ?> <tr> <td class="prod-column"> <div class="column-box"> <?php if( $data1['type'] == 'Product'){ foreach ($im as $value) { ?> <figure class="prod-thumb"><a href="#"><img src="Admin/current_causes/<?php echo $value; ?>" alt="" style="height: 135px;"></a></figure> <?php break; } } elseif ( $data1['type'] == 'Book'){ ?> <figure class="prod-thumb"><a href="#"><img src="Admin/current_causes/<?php echo $data1['main_img']; ?>" alt="" style="height: 135px;"></a></figure> <?php } ?> <h6 class="prod-title"><?php echo $data1['name']; ?></h6> </div> </td> <td class="price"><i class="fa fa-rupee"></i><?php echo $data1['price']; ?></td> <td class="qty"> <input class="updatecart int" id="<?php echo $row['id'] ?>" type="number" value="<?php echo $row['qty']; ?>"> </td> <td class="sub-total"><i class="fa fa-rupee"></i> <?php echo $t = $row['qty']*$data1['price']; ?></td> <td class="remove"><a href="#" class="remove-btn deletepro" id="<?php echo $row['id'] ?>"><span class="flaticon-multiply"></span></a></td> </tr> <?php $tot += $t; } ?> </tbody> </table> </div> <div class="coupon-outer clearfix"> <div class="pull-left"> <!--<div class="apply-coupon clearfix">--> <!-- <div class="form-group clearfix">--> <!-- <input type="text" name="coupon-code" value="" placeholder="Coupon Code">--> <!-- </div>--> <!-- <div class="form-group clearfix">--> <!-- <button type="button" class="theme-btn coupon-btn btn-style-three"><span class="txt">Apply Coupon</span></button>--> <!-- </div>--> <!--</div>--> </div> <div class="pull-right"> <div class="cart-total-box"> <h4>Cart Totals</h4> <!--Totals Table--> <ul class="totals-table"> <li class="clearfix"><span class="col col-title">Subtotal</span><span class="col"><i class="fa fa-rupee"></i> <?php echo $tot; ?></span></li> <li class="total clearfix"><span class="col col-title">Total .</span><span class="col"><i class="fa fa-rupee"></i> <?php echo $tot; ?></span></li> </ul> </div> <div class="text-left"> <?php if(@$uid == '') { ?> <a href="login_reg.php"> <button type="submit" class="theme-btn checkout-btn">Proceed to Checkout</button></a> <?php } else { ?> <a href="checkout.php"> <button type="submit" class="theme-btn checkout-btn">Proceed to Checkout</button></a> <?php } ?> </div> </div> </div> <!--Cart Total Box--> <div class="cart-total-box" style="display:none;"> <h4>Cart Totals</h4> <!--Totals Table--> <ul class="totals-table"> <li class="clearfix"><span class="col col-title">Subtotal</span><span class="col">$350.00</span></li> <li class="clearfix"><span class="col col-title">Tax</span><span class="col">$15.00</span></li> <li class="total clearfix"><span class="col col-title">Total .</span><span class="col">$365.00</span></li> </ul> </div> <div class="text-left" style="display:none;"><button type="submit" class="theme-btn checkout-btn">Proceed to Checkout</button></div> </div> <?php } else { ?> <div class="row"> <div style="text-align: center;"> <span>Your Shopping Cart is empty. </span><br><br> <span> Add item to it now. </span><br> <br> <!--<div class="wc-proceed-to-checkout">--> <!-- <a href="index.php" class="theme-btn btn-style-three">Shop Now</a>--> <!-- </div>--> <a href="index.php"><button type="button" class="theme-btn btn-style-three"><span class="txt">Shop Now</span></button></a> </div> </div> <?php } ?> </div> </section> <!-- Subscribe Section --> <section class="subscribe-section"> <div class="auto-container"> <div class="inner-container margin-bottom"> <div class="pattern-layer" style="background-image:url(images/background/7.jpg)"></div> <div class="section-image" style="background-image:url(images/resource/newslatter.png)"></div> <div class="row clearfix"> <!-- Title Column --> <div class="title-column col-lg-6 col-md-12 col-sm-12"> <div class="inner-column"> <h3>Don’t miss any updates <br> Get subscribed!</h3> </div> </div> <!-- Form Column --> <div class="form-column col-lg-6 col-md-12 col-sm-12"> <div class="inner-column"> <div class="newsletter-form"> <form method="post" action="https://expert-themes.com/html/gym/contact.html"> <div class="form-group"> <input type="email" name="email" value="" placeholder="Add your email ......" required=""> <button type="submit" class="theme-btn submit-btn"><span class="txt">Subscribe</span></button> </div> </form> </div> </div> </div> </div> </div> </div> </section> <!-- End Subscribe Section --> <!-- Main Footer --> <?php include 'include/footer.php'; ?> </div> <!--End pagewrapper--> <!-- Color Palate / Color Switcher --> <div class="color-palate"> <div class="color-trigger"> <i class="fa fa-gear"></i> </div> <div class="color-palate-head"> <h6>Choose Your Color</h6> </div> <div class="various-color clearfix"> <div class="colors-list"> <span class="palate default-color active" data-theme-file="css/color-themes/default-theme.css"></span> <span class="palate green-color" data-theme-file="css/color-themes/green-theme.css"></span> <span class="palate olive-color" data-theme-file="css/color-themes/olive-theme.css"></span> <span class="palate orange-color" data-theme-file="css/color-themes/orange-theme.css"></span> <span class="palate purple-color" data-theme-file="css/color-themes/purple-theme.css"></span> <span class="palate teal-color" data-theme-file="css/color-themes/teal-theme.css"></span> <span class="palate brown-color" data-theme-file="css/color-themes/brown-theme.css"></span> <span class="palate redd-color" data-theme-file="css/color-themes/redd-color.css"></span> </div> </div> <h5>Other Options</h5> <ul class="rtl-version option-box"> <li class="rtl">RTL Version</li> <li>LTR Version</li> </ul> <a href="#" class="purchase-btn">Purchase now $17</a> <div class="palate-foo"> <span>You will find much more options for colors and styling in admin panel. This color picker is used only for demonstation purposes.</span> </div> </div> <!-- Search Popup --> <div class="search-popup"> <button class="close-search style-two"><span class="flaticon-multiply"></span></button> <button class="close-search"><span class="flaticon-up-arrow-1"></span></button> <form method="post" action="https://expert-themes.com/html/gym/blog.html"> <div class="form-group"> <input type="search" name="search-field" value="" placeholder="Search Here" required=""> <button type="submit"><i class="fa fa-search"></i></button> </div> </form> </div> <!-- End Header Search --> <!--Scroll to top--> <div class="scroll-to-top scroll-to-target" data-target="html"><span class="fa fa-arrow-up"></span></div> <script src="js/jquery.js"></script> <script src="js/popper.min.js"></script> <script src="js/bootstrap.min.js"></script> <script src="js/jquery.mCustomScrollbar.concat.min.js"></script> <script src="js/jquery.fancybox.js"></script> <script src="js/appear.js"></script> <script src="js/jquery.bootstrap-touchspin.js"></script> <script src="js/owl.js"></script> <script src="js/wow.js"></script> <script src="js/jquery-ui.js"></script> <script src="js/nav-tool.js"></script> <script src="js/jquery-ui.js"></script> <script src="js/script.js"></script> <script src="js/color-settings.js"></script> <script src="js/myjs.js"></script> </body> <!-- Mirrored from expert-themes.com/html/gym/shopping-cart.html by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 05 Apr 2024 00:42:09 GMT --> </html>