Server IP : 162.214.80.37 / Your IP : 216.73.216.83 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 (0755) : /home2/imyrqtmy/public_html/vaticaplus/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php session_start(); include ("Admin/Includes/db.php"); @$uid = $_SESSION['userid'] ; @$scid = $_GET['id']; ?> <!doctype html> <html class="no-js" lang="zxx"> <!-- Mirrored from htmldemo.net/makali/makali/shop.html by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 30 Sep 2022 10:31:30 GMT --> <head> <?php include 'include/head.php'; ?> <style type="text/css"> .qv { background-color: #2e8b57; height: 44px; line-height: 48px; width: 44px; display: block; font-size: 20px; border-radius: 100%; opacity: 1; transition: all 0.3s ease-in-out; } </style> </head> <body class="template-color-1"> <!--[if lte IE 9]> <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p> <![endif]--> <!-- Main Wrapper Start Here --> <div class="wrapper"> <!-- Main Header Area Start Here --> <!-- Main Header Area Three Start Here --> <?php include 'include/header1.php'; ?> <!-- Main Header Area Three End Here --> <!-- Main Header Area End Here --> <!-- Breadcrumb Area Start Here --> <div class="breadcrumb-area"> <div class="container"> <ol class="breadcrumb breadcrumb-list"> <li class="breadcrumb-item"><a href="index.php">Home</a></li> <li class="breadcrumb-item active">shop</li> </ol> </div> </div> <!-- Breadcrumb Area End Here --> <!-- Shop Page Start --> <div class="main-shop-page ptb-90"> <div class="container"> <!-- Row End --> <div class="row"> <!-- Sidebar Shopping Option Start --> <!-- Sidebar Shopping Option End --> <!-- Product Categorie List Start --> <div class="col-lg-12 order-1 order-lg-2"> <!-- Grid & List View Start --> <!-- Grid & List View End --> <div class="shop-area mb-all-40"> <!-- Grid & List Main Area End --> <div class="tab-content"> <div id="grid-view" class="tab-pane fade show active"> <div class="row border-hover-effect "> <?php if($scid == '') { $pys = "select * from tbl_product Group by name "; } else { $pys = "select * from tbl_product where sub_category=$scid"; } $pyss=mysqli_query($con,$pys); $numps = mysqli_num_rows($pyss); if($numps > 0) { while($aaps = mysqli_fetch_assoc($pyss)) { $img = $aaps['img']; $pro_id = $aaps['id']; $im = explode(',', $img); ?> <div class="col-lg-4 col-md-4 col-sm-6 col-6"> <!-- Single Product Start Here --> <div class="single-makal-product"> <div class="pro-img"> <?php foreach ($im as $value) { ?> <a href="product_detail.php?id=<?php echo $aaps['id']; ?>"> <img src="Admin/current_causes/<?php echo $value; ?>" alt="product-img" style="height: 370px;"> </a> <?php break; } ?> <!-- <span class="sticker-new">new</span> --> <!-- <div class="quick-view-pro"> <a data-bs-toggle="modal" data-bs-target="#product-window" class="quick-view" href="#"></a> </div> --> </div> <div class="pro-content"> <h4 class="pro-title"> <a href="product_detail.php?id=<?php echo $aaps['id']; ?>"><?php echo $aaps['name']; ?></a> </h4> <h6 class="pro-title"> <span class="price"><i class="fa fa-rupee"></i> <?php echo $aaps['price']; ?></span> <?php if ($aaps['mrp'] != '') { ?> <span class="prev-price" style="color:#2e8b57"><i class="fa fa-rupee"></i> <?php echo $aaps['mrp']; ?></span> <?php } ?> </h6> <input type="hidden" name="proid" id="proid<?php echo $aaps['id']; ?>" value="<?php echo $aaps['id']; ?>"> <input type="hidden" name="pprice" id="pprice<?php echo $aaps['id']; ?>" value="<?php echo $aaps['price']; ?>"> <input type="hidden" class="quantity<?php echo $aaps['id']; ?>" type="number" min="1" value="1"> <div class="carti" > <?php $cid = $_SERVER['REMOTE_ADDR']; $sqlsec = "select * from tbl_cart where pid='$pro_id' and cid='$cid'"; $sql_ressec = mysqli_query($con, $sqlsec) or die(mysqli_error($con)); $numrowpc = mysqli_num_rows($sql_ressec); if($numrowpc == 0) { ?> <a class="add-to-cart addtocart" data-toggle="tooltip" id="<?php echo $aaps['id']; ?>" data-original-title="Add to Cart" style="cursor: pointer;">Add To Cart</a> <?php } else { ?> <a class="add-to-cart addtocartn" data-toggle="tooltip" id="<?php echo $aaps['id']; ?>" data-original-title="Add to Cart" style="cursor: pointer;">Add To Cart</a> <?php } ?> </div> <div class="qv qvi" > <a class="qview" data-id="<?php echo $aaps['id']; ?>"><i class="pe-7s-search" style="padding: 11px;cursor: pointer;color: #fff;"></i></a> </div> </div> </div> <!-- Single Product End Here --> </div> <?php } } ?> </div> <!-- Row End --> </div> <!-- #grid view End --> <div id="list-view" class="tab-pane fade fix"> <!-- Single Product Start Here --> <div class="single-makal-product"> <div class="pro-img"> <a href="product-details.html"><img src="img/products/cosmetic/1.webp" alt="product-img"></a> <!-- <span class="sticker-new">new</span> --> </div> <div class="pro-content"> <h4 class="pro-title"><a href="product-details.html">Modern Eye Brush</a> </h4> <div class="rating"> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star-o" aria-hidden="true"></i> <i class="fa fa-star-o" aria-hidden="true"></i> </div> <p><span class="price">$55.50</span><span class="prev-price">$59.50</span> </p> <p>New Look eye Material with high neckline. Soft and stretchy material for a comfortable fit. Accessorize with a straw hat and you're ready for summer!</p> </div> </div> <!-- Single Product End Here --> <!-- Single Product Start Here --> <div class="single-makal-product"> <div class="pro-img"> <a href="product-details.html"><img src="img/products/cosmetic/2.webp" alt="product-img"></a> <span class="sticker-new">new</span> </div> <div class="pro-content"> <h4 class="pro-title"><a href="product-details.html">Sprite Yoga Straps1</a> </h4> <div class="rating"> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star-o" aria-hidden="true"></i> <i class="fa fa-star-o" aria-hidden="true"></i> <i class="fa fa-star-o" aria-hidden="true"></i> </div> <p><span class="price">$29.99</span><span class="prev-price">$24.00</span> </p> <p>Accessorize with a straw hat and you're ready for summer! New Look eye Material with high neckline. Soft and stretchy material for a comfortable fit. </p> </div> </div> <!-- Single Product End Here --> <!-- Single Product Start Here --> <div class="single-makal-product"> <div class="pro-img"> <a href="product-details.html"><img src="img/products/cosmetic/3.webp" alt="product-img"></a> <span class="sticker-new">new</span> </div> <div class="pro-content"> <h4 class="pro-title"><a href="product-details.html">Voyage face cleaner</a> </h4> <div class="rating"> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star-o" aria-hidden="true"></i> <i class="fa fa-star-o" aria-hidden="true"></i> </div> <p><span class="price">$26.99</span><span class="prev-price">$25.50</span> </p> <p>Soft and stretchy material for a comfortable fit. Accessorize with a straw hat and you're ready for summer! New Look eye Material with high neckline. </p> </div> </div> <!-- Single Product End Here --> <!-- Single Product Start Here --> <div class="single-makal-product"> <div class="pro-img"> <a href="product-details.html"><img src="img/products/cosmetic/4.webp" alt="product-img"></a> <span class="sticker-new">new</span> </div> <div class="pro-content"> <h4 class="pro-title"><a href="product-details.html">Impulse Duffle</a></h4> <div class="rating"> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star-o" aria-hidden="true"></i> </div> <p><span class="price">$45.50</span><span class="prev-price">$42.50</span> </p> <p>Soft and stretchy material for a comfortable fit. New Look eye Material with high neckline.Accessorize with a straw hat and you're ready for summer!</p> </div> </div> <!-- Single Product End Here --> <!-- Single Product Start Here --> <div class="single-makal-product"> <div class="pro-img"> <a href="product-details.html"><img src="img/products/cosmetic/5.webp" alt="product-img"></a> <span class="sticker-new">new</span> </div> <div class="pro-content"> <h4 class="pro-title"><a href="product-details.html">Field Messenger</a> </h4> <div class="rating"> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star-o" aria-hidden="true"></i> <i class="fa fa-star-o" aria-hidden="true"></i> </div> <p><span class="price">$20.00</span><span class="prev-price">$17.50</span> </p> <p>Soft and stretchy material for a comfortable fit. Accessorize with a straw hat and you're ready for summer! New Look eye Material with high neckline.</p> </div> </div> <!-- Single Product End Here --> <!-- Single Product Start Here --> <div class="single-makal-product"> <div class="pro-img"> <a href="product-details.html"><img src="img/products/cosmetic/8.webp" alt="product-img"></a> <span class="sticker-new">new</span> </div> <div class="pro-content"> <h4 class="pro-title"><a href="product-details.html">Impulse Duffle</a></h4> <div class="rating"> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star-o" aria-hidden="true"></i> </div> <p><span class="price">$45.50</span><span class="prev-price">$42.50</span> </p> <p>Soft and stretchy material for a comfortable fit. New Look eye Material with high neckline.Accessorize with a straw hat and you're ready for summer!</p> </div> </div> <!-- Single Product End Here --> <!-- Single Product Start Here --> <div class="single-makal-product"> <div class="pro-img"> <a href="product-details.html"><img src="img/products/cosmetic/6.webp" alt="product-img"></a> <span class="sticker-new">new</span> </div> <div class="pro-content"> <h4 class="pro-title"><a href="product-details.html">Field Messenger</a> </h4> <div class="rating"> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star" aria-hidden="true"></i> <i class="fa fa-star-o" aria-hidden="true"></i> <i class="fa fa-star-o" aria-hidden="true"></i> </div> <p><span class="price">$20.00</span><span class="prev-price">$17.50</span> </p> <p>Soft and stretchy material for a comfortable fit. Accessorize with a straw hat and you're ready for summer! New Look eye Material with high neckline.</p> </div> </div> <!-- Single Product End Here --> </div> <!-- #list view End --> </div> <!-- Grid & List Main Area End --> </div> <!-- Shop Breadcrumb Area Start --> <!-- <div class="shop-breadcrumb-area border-default mt-30"> <div class="row"> <div class="col-lg-4 col-md-4 col-sm-5"> <span class="show-items">Showing 1-12 of 13 item(s) </span> </div> <div class="col-lg-8 col-md-8 col-sm-7"> <ul class="pfolio-breadcrumb-list text-center"> <li class="float-left prev"><a href="#"><i class="fa fa-angle-left" aria-hidden="true"></i>Previous</a></li> <li class="active"><a href="#">1</a></li> <li><a href="#">2</a></li> <li class="float-right next"><a href="#">Next<i class="fa fa-angle-right" aria-hidden="true"></i></a></li> </ul> </div> </div> </div> --> <!-- Shop Breadcrumb Area End --> </div> <!-- product Categorie List End --> </div> <!-- Row End --> </div> <!-- Container End --> </div> <!-- Shop Page End --> <!-- Footer Area Start Here --> <?php include'include/footer.php'; ?> <!-- Footer Area End Here --> <!-- Quick View Content Start --> <div class="main-product-thumbnail quick-thumb-content"> <div class="container"> <!-- The Modal --> <div class="modal fade" id="product-window"> <div class="modal-dialog modal-lg modal-dialog-centered"> <div class="fgh" > </div> </div> </div> </div> </div> <!-- Quick View Content End --> </div> <!-- Main Wrapper End Here --> <!-- jquery --> <script src="js/vendor/jquery-3.6.0.min.js"></script> <!-- jquery migrate --> <script src="js/vendor/jquery-migrate-3.3.2.min.js"></script> <!-- Countdown js --> <script src="js/jquery.countdown.min.js"></script> <!-- Mobile menu js --> <script src="js/jquery.meanmenu.min.js"></script> <!-- ScrollUp js --> <script src="js/jquery.scrollUp.js"></script> <!-- Fancybox js --> <script src="js/jquery.fancybox.min.js"></script> <!-- Jquery nice select js --> <script src="js/jquery.nice-select.min.js"></script> <!-- Jquery ui price slider js --> <script src="js/jquery-ui.min.js"></script> <!-- Owl carousel --> <script src="js/owl.carousel.min.js"></script> <!-- Bootstrap popper js --> <script src="js/popper.min.js"></script> <!-- Bootstrap js --> <script src="js/bootstrap.min.js"></script> <!-- Plugin js --> <script src="js/plugins.js"></script> <!-- Main activaion js --> <script src="js/main.js"></script> <script> $(document).ready(function() { $(".qview").on("click", function() { var product_id = $(this).data("id"); // alert(product_id); $.ajax({ type: 'POST', url: 'productquickview.php', data: {proid : product_id }, success: function(response) { // alert(response); $(".fgh").html(response); $("#product-window").modal('show'); //console.log(response); // content.html(response); } // $("#product-window").modal('show'); // $('#demo-modal').load('productquickview.php?id='+product_id).modal('show'); }); }); }); </script> <script type="text/javascript"> $(document).ready(function(){ $(document).on('click','.addtocart', function(){ // alert('k'); var id1 = $(this).attr('id').split('e').pop(); var proid = $('#proid'+id1).val(); var pprice = $('#pprice'+id1).val(); var quantity = $('.quantity'+id1).val(); $.ajax({ type: 'POST', url: 'Ajax/addtocart.php', data: {proid: proid,pprice: pprice,quantity: quantity }, success: function(response) { if(response==1) { // $('#exampleModal').hide(); toastr.success("Product has been Added In To Cart"); setTimeout(function () { location.reload(); }, 2000); // setTimeout(function () { // window.location.href='cart.php'; // }, 2000); // window.location.href='cart.php'; } else { alert(data); } } }); }); }); </script> <script type="text/javascript"> $(document).ready(function(){ $(document).on('click','.addtocartn', function(){ // alert('k'); toastr.success("This Product Already In To The Cart"); setTimeout(function () { location.reload(); }, 2000); }); }); </script> <script type="text/javascript"> $(document).ready(function(){ $(document).on('click','.addtocartqv', function(){ // alert('k'); // alert(test); var proid = $('#proid').val(); var pprice = $('#pprice').val(); var quantity = $('.quantity').val(); $.ajax({ type: 'POST', url: 'Ajax/addtocart.php', data: {proid: proid,pprice: pprice,quantity: quantity }, success: function(response) { if(response==1) { // $('#exampleModal').hide(); toastr.success("Product has been Added In To Cart"); // setTimeout(function () { // window.location.href='cart.php'; // }, 2000); // window.location.href='cart.php'; setTimeout(function () { location.reload(); }, 2000); } else { alert(data); } } }); }); }); </script> <script type="text/javascript"> $(document).ready(function(){ $(document).on('click','.addtocartqvs', function(){ // alert('k'); toastr.success("This Product Already In To The Cart"); setTimeout(function () { location.reload(); }, 2000); }); }); </script> </body> <!-- Mirrored from htmldemo.net/makali/makali/shop.html by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 30 Sep 2022 10:31:31 GMT --> </html>