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/furniturevila/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php session_start(); include ("Admin/Includes/db.php"); @$uid = $_SESSION['userid'] ; ?> <!DOCTYPE html> <html lang="en"> <?php include 'include/head.php'; ?> <body> <?php if(@$_SESSION['flash_message'] == 'useradd') { $message = $_SESSION['flash_message']; unset($_SESSION['flash_message']); ?> <script> $(document).ready(function(){ toastr.success("User Register Successfully"); }); </script> <?php } ?> <?php if(@$_SESSION['flash_message'] == 'userlogin') { $message = $_SESSION['flash_message']; unset($_SESSION['flash_message']); ?> <script> $(document).ready(function(){ toastr.success("User Login Successfully"); }); </script> <?php } ?> <?php if(@$_SESSION['flash_message'] == 'orderadd') { $message = $_SESSION['flash_message']; unset($_SESSION['flash_message']); ?> <script> $(document).ready(function(){ toastr.success("Your Order Added Successfully"); }); </script> <?php } ?> <div class="page-loader"> <div class="spinner-border" role="status"> <span class="sr-only">Loading...</span> </div> </div> <div class="wrapper"> <!-- ======================== Navigation ======================== --> <?php include 'include/header.php'; ?> <!-- ======================== Header content ======================== --> <section class="header-content"> <h2 class="d-none">Slider element</h2> <div class="container-fluid"> <div class="owl-slider owl-carousel owl-theme" data-autoplay="true"> <!--Slide item--> <div class="item d-flex align-items-center" style="background-image:url(assets/images/slide-1.jpg)"> <div class="container"> <div class="caption"> <div class="animated" data-start="fadeInUp"> <div class="promo pt-3"> <div class="title title-sm p-0">Sofa Grace</div> </div> </div> <div class="animated" data-start="fadeInUp"> Score new arrivals from latest items <br /> Multipurpose eCommerce template ready </div> <div class="animated" data-start="fadeInUp"> <div class="pt-3"> <a href="#" target="_blank" class="btn btn-outline-warning">Buy now</a> <a href="#" target="_blank" class="btn btn-outline-light"> Get first discount</a> </div> </div> <div class="animated" data-start="fadeInUp"> <div class="promo pt-5"> <div class="h6 p-0 m-0">Get special price</div> <div class="price"> <span>$1499,99</span> <span>3499,99</span> </div> <small class="d-none d-sm-block">** Product prices with discount are available until the end of stock </small> </div> </div> </div> </div> </div> <!--Slide item--> <div class="item d-flex align-items-center" style="background-image:url(assets/images/slide-2.jpg)"> <div class="container"> <div class="caption"> <div class="animated" data-start="fadeInUp"> <div class="big-text big-text-sm"> <span>Save now </span> <span>50%</span> <span>on new kitchen</span> <div> <a href="#" target="_blank" class="btn btn-info btn-block">Shop now</a> </div> </div> </div> <div class="animated d-none" data-start="fadeInUp"> <a href="#" target="_blank" class="btn btn-info">Buy this template</a> <a href="#" target="_blank" class="btn btn-outline-light"> Get first discount</a> </div> <div class="animated" data-start="fadeInUp"> <div class="promo pt-5"> <div class="badge badge-secondary">New arrival</div> <div class="h2 p-0 mt-1">Kitchen Moderna</div> <div class="price"> <span>$7299,99</span> <span>8399,99</span> </div> <small class="d-none d-sm-block">** Product prices with discount are available until the end of stock </small> </div> </div> </div> </div> </div> <!--Slide item--> <div class="item d-flex align-items-center" style="background-image:url(assets/images/slide-3.jpg)"> <div class="container"> <div class="caption"> <div class="promo text-center"> <div class="animated" data-start="fadeInUp"> <div class="title title-sm p-0">Bathroom Furniture</div> </div> <div class="animated" data-start="fadeInUp"> Score new arrivals from latest items <br /> Multipurpose eCommerce template ready </div> <div class="animated" data-start="fadeInUp"> <a href="#" target="_blank" class="btn btn-light">New collection</a> <a href="#" target="_blank" class="btn btn-outline-light"> Get first discount</a> </div> </div> </div> </div> </div> </div> <!--/owl-slider--> </div> </section> <!-- ======================== Featured categories ======================== --> <section class="blog blog-block"> <!--Header--> <header> <div class="container"> <h2 class="title">Featured categories</h2> <div class="text"> <p>We just keep things minimal. <!--<a href="category.html" class="btn btn-main">View more</a>--> </p> </div> </div> </header> <!--Content--> <div class="container"> <div class="scroll-wrapper"> <div class="row scroll text-center"> <!--Item--> <?php $count = 1; $sql = "select * from tbl_categories ORDER BY RAND() limit 3 "; $sql_res = mysqli_query($con, $sql) or die(mysqli_error($con)); while ($aaps = mysqli_fetch_assoc($sql_res)){ $img = $aaps['img']; $im = explode(',', $img); ?> <div class="col-md-4"> <article data-3d> <a href="shop.php?id=<?php echo $aaps['id']; ?>"> <div class="image"> <img src="Admin/categories/<?php echo $aaps['img']; ?>" alt="" / style="height:273px;"> </div> <div class="entry entry-block"> <!--<div class="label">2020 Collection</div>--> <div class="title"> <h2 class="h4"><?php echo $aaps['name']; ?></h2> </div> <div class="description d-none d-sm-block"> <!--<p>--> <!-- Top picks four your desire--> <!--</p>--> </div> </div> <!--<div class="show-more">--> <!-- <span class="btn btn-clean">Shop now</span>--> <!--</div>--> </a> </article> </div> <?php } ?> </div><!--/row--> </div> </div><!--/container--> </section> <!-- ======================== Popular products ======================== --> <section class="products"> <!--Header--> <header> <div class="container"> <h2 class="title">Popular products</h2> <div class="text"> <p> Find your perfect match <a href="products-grid.html" class="btn btn-main">View all</a> </p> </div> </div> </header> <!--Content--> <div class="container"> <div class="row"> <!--Product item--> <?php $count = 1; $sqlp = "select * from tbl_product ORDER BY RAND() limit 9 "; $sql_resp = mysqli_query($con, $sqlp) or die(mysqli_error($con)); while ($aapsp = mysqli_fetch_assoc($sql_resp)){ $img = $aapsp['img']; $im = explode(',', $img); ?> <div class="col-6 col-lg-4"> <article> <!--<div class="info">--> <!-- <span class="add-favorite">--> <!-- <a href="javascript:void(0);" data-title="Add to favorites" data-title-added="Added to favorites list">--> <!-- <i class="icon icon-heart"></i>--> <!-- </a>--> <!-- </span>--> <!-- <span>--> <!-- <a href="#productid1" class="mfp-open" data-title="Quick wiew">--> <!-- <i class="icon icon-eye"></i>--> <!-- </a>--> <!-- </span>--> <!--</div>--> <div class="btn btn-add"> <a class="addtocart" id="<?php echo $aapsp['id']; ?>"> <i class="icon icon-cart"></i> </a> </div> <div class="figure-grid"> <span class="badge badge-warning">-20%</span> <div class="image"> <a href="product_details.php?id=<?php echo $aapsp['id']; ?>"> <?php foreach ($im as $value) { ?> <a href="product_details.php?id=<?php echo $aapsp['id']; ?>"> <img src="Admin/current_causes/<?php echo $value; ?>" alt="product-img" style="height:262px;"> </a> <?php break; } ?> </a> </div> <div class="text"> <h2 class="title h4"> <a href="product_details.php??id=<?php echo $aapsp['id']; ?>"><?php echo $aapsp['name']; ?></a> </h2> <sub><i class="fa fa-rupee"></i> <?php echo $aapsp['mrp']; ?>,-</sub> <sup><i class="fa fa-rupee"></i> <?php echo $aapsp['price']; ?></sup> <input type="hidden" name="proid" id="proid<?php echo $aapsp['id']; ?>" value="<?php echo $aapsp['id']; ?>"> <input type="hidden" name="pprice" id="pprice<?php echo $aapsp['id']; ?>" value="<?php echo $aapsp['price']; ?>"> <input type="hidden" class="quantity<?php echo $aapsp['id']; ?>" type="number" min="1" value="1"> <span class="description clearfix"> Gubergren amet dolor ea diam takimata consetetur facilisis blandit et aliquyam lorem ea duo labore diam sit et consetetur nulla </span> </div> </div> </article> </div> <?php } ?> <!--Product item--> </div> <!--/row--> </div> </section> <!-- ======================== Product popup ======================== --> <div class="popup-main mfp-hide" id="productid1"> <!--Product popup--> <div class="product"> <!--Popup-title --> <div class="popup-title"> <div class="h3 title"> Modern sofa <small>product category</small> </div> </div> <!--Product gallery--> <div class="owl-product-gallery owl-theme owl-carousel"> <img src="assets/images/item-1.jpg" alt="" width="640" /> <img src="assets/images/item-2.jpg" alt="" width="640" /> </div> <!--Popup info--> <div class="popup-content"> <div class="product-info-wrapper"> <div class="row"> <!--Left side--> <div class="col-sm-6"> <div class="info-box"> <strong>Maifacturer</strong> <span>Brand name</span> </div> <div class="info-box"> <strong>Materials</strong> <span>Wood, Leather, Acrylic</span> </div> <div class="info-box"> <strong>Availability</strong> <span><i class="fa fa-check-square-o"></i> in stock</span> </div> </div> <!--Right side--> <div class="col-sm-6"> <div class="info-box"> <strong>Available Colors</strong> <div class="product-colors clearfix"> <span class="color-btn color-btn-red"></span> <span class="color-btn color-btn-blue checked"></span> <span class="color-btn color-btn-green"></span> <span class="color-btn color-btn-gray"></span> <span class="color-btn color-btn-biege"></span> </div> </div> <div class="info-box"> <strong>Choose size</strong> <div class="product-colors clearfix"> <span class="color-btn color-btn-biege">S</span> <span class="color-btn color-btn-biege checked">M</span> <span class="color-btn color-btn-biege">XL</span> <span class="color-btn color-btn-biege">XXL</span> </div> </div> </div> </div> <!--/row--> </div> <!--/product-info-wrapper--> </div> <!--/popup-content--> <div class="popup-table"> <div class="popup-cell"> <div class="price"> <span class="h3">$ 1999,00 <small>$ 2999,00</small></span> </div> </div> <div class="popup-cell"> <div class="popup-buttons"> <a href="product.html"><span class="icon icon-eye"></span> <span class="hidden-xs">View more</span></a> <a href="javascript:void(0);"><span class="icon icon-cart"></span> <span class="hidden-xs">Buy</span></a> </div> </div> </div> </div> <!--/product--> </div> <!-- ======================== Cards ======================== --> <section class="cards"> <!--Header--> <header> <div class="container"> <h2 class="title">Interior inspiration</h2> <div class="text"> <p> Create an inviting space for yourself and family </p> </div> </div> </header> <!--Content--> <div class="container-fluid"> <div class="row"> <!--Item--> <div class="col-lg-8"> <figure> <figcaption style="background-image:url(assets/images/box-1.jpg)"> <img src="assets/images/box-1.jpg" alt="" /> </figcaption> <a href="#interiorId1" class="btn btn-clean">Open up for easy living</a> </figure> </div> <!--Item--> <div class="col-lg-4"> <figure> <figcaption style="background-image:url(assets/images/box-2.jpg)"> <img src="assets/images/box-2.jpg" alt="" /> </figcaption> <a href="#interiorId1" class="btn btn-clean">Traditional looks</a> </figure> </div> <!--Item--> <div class="col-lg-4"> <figure> <figcaption style="background-image:url(assets/images/box-3.jpg)"> <img src="assets/images/box-3.jpg" alt="" /> </figcaption> <a href="#interiorId1" class="btn btn-clean">Sleek and sustainable</a> </figure> </div> <!--Item--> <div class="col-lg-4"> <figure> <figcaption style="background-image:url(assets/images/box-4.jpg)"> <img src="assets/images/box-4.jpg" alt="" /> </figcaption> <a href="#interiorId1" class="btn btn-clean">Compact living</a> </figure> </div> <!--Item--> <div class="col-lg-4"> <figure> <figcaption style="background-image:url(assets/images/box-5.jpg)"> <img src="assets/images/box-5.jpg" alt="" /> </figcaption> <a href="#interiorId1" class="btn btn-clean">Classic design</a> </figure> </div> </div> <!--/row--> </div> <!--/container-fluid--> </section> <!-- ======================== Blog ======================== --> <!-- ======================== Newsletter ======================== --> <section class="banner"> <div class="container-fluid"> <div class="banner-image" style="background-image:url(assets/images/gallery-1.jpg)"> <!--Header--> <header> <div class="container"> <h2 class="h2 title">Stay in touch!</h2> <div class="text"> <p>Be first to know about all new interior features!</p> </div> </div> </header> <!--Content--> <div class="container"> <div class="row align-items-center"> <div class="col-md-4"> <input type="email" class="form-control" name="name" value="" placeholder="Enter your e-mail"> </div> <div class="col-md-4"> <a href="#" class="btn btn-clean">Subscribe now</a> </div> </div> </div> </div> </div> <!--/container-fluid--> </section> <!-- ======================== Instagram ======================== --> <section class="instagram"> <!--Header--> <header> <h2 class="h6 title"> <i class="fa fa-instagram fa-3x"></i> <br> #MyFurnitureVilla </h2> </header> <!--Gallery--> <div class="container"> <div class="gallery clearfix"> <a class="item" href="#"> <img src="assets/images/product-1.jpg" alt="Alternate Text"> </a> <a class="item" href="#"> <img src="assets/images/product-2.jpg" alt="Alternate Text"> </a> <a class="item" href="#"> <img src="assets/images/product-3.jpg" alt="Alternate Text"> </a> <a class="item" href="#"> <img src="assets/images/product-4.jpg" alt="Alternate Text"> </a> <a class="item" href="#"> <img src="assets/images/product-5.jpg" alt="Alternate Text"> </a> <a class="item" href="#"> <img src="assets/images/product-6.jpg" alt="Alternate Text"> </a> </div> <!--/gallery--> </div> </section> <!-- ======================== Benefits ======================== --> <section class="benefits"> <!--Header--> <header class="d-none"> <div class="container"> <h2 class="h2 title">Benefits</h2> </div> </header> <!--Header--> <div class="container"> <div class="row"> <!--Icon--> <div class="col-6 col-lg-3" data-tilt> <figure> <div class="icon"><i class="icon icon-gift"></i></div> <figcaption> <span> <strong>Get your gift</strong> <br /> <small>Are you a new customer?</small> </span> </figcaption> </figure> </div> <!--Icon--> <div class="col-6 col-lg-3" data-tilt> <figure> <div class="icon"><i class="icon icon-rocket"></i></div> <figcaption> <span> <strong>Fast delivery</strong> <br /> <small>We're shipping all over the world</small> </span> </figcaption> </figure> </div> <!--Icon--> <div class="col-6 col-lg-3" data-tilt> <figure> <div class="icon"><i class="icon icon-history"></i></div> <figcaption> <span> <strong>Money-back guarantee</strong> <br /> <small>30 day money back gurantee</small> </span> </figcaption> </figure> </div> <!--Icon--> <div class="col-6 col-lg-3" data-tilt> <figure> <div class="icon"><i class="icon icon-diamond"></i></div> <figcaption> <span> <strong>VIP discounts</strong> <br /> <small>Become VIP member</small> </span> </figcaption> </figure> </div> </div> <!--/row--> </div> <!--/container--> </section> <!-- ================== Footer ================== --> <?php include'include/footer.php'; ?> <!-- <div class="modal fade" id="myModali"> <div class="modal-dialog"> <div class="modal-content modeltop " style=" margin-top: 142px;"> <div class="newsletter__popup newsletter__show" data-animation="slideInUp"> <div class="newsletter__popup--inner"> <button class="newsletter__popup--close__btn" aria-label="search close button"> <svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 512 512"><path fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M368 368L144 144M368 144L144 368"></path></svg> </button> <div class="box newsletter__popup--box d-flex align-items-center"> <div class="newsletter__popup--thumbnail"> <img class="newsletter__popup--thumbnail__img display-block" src="assets/images/product-2.jpg" alt="newsletter-popup-thumb"> </div> <div class="newsletter__popup--box__right"> <h2 class="newsletter__popup--title">Join Our Newsletter</h2> <div class="newsletter__popup--content"> <label class="newsletter__popup--content--desc">Enter your email address to subscribe our notification of our new post & features by email.</label> <div class="newsletter__popup--subscribe" id="frm_subscribe"> <form class="newsletter__popup--subscribe__form"> <input class="newsletter__popup--subscribe__input" type="text" placeholder="Enter you email address here..."> <button class="newsletter__popup--subscribe__btn">Subscribe</button> </form> <div class="newsletter__popup--footer"> <input type="checkbox" id="newsletter__dont--show"> <label class="newsletter__popup--dontshow__again--text" for="newsletter__dont--show">Don't show this popup again</label> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> --> <div class="modal fade" id="myModali"> <div class="modal-dialog modal-lg"> <div class="modal-content modeltop " style=" margin-top: 142px;"> <!-- Modal Header --> <div class="modal-header"> <h5 class="modal-title"></h5> <button type="button" class="closei modclo" data-dismiss="modal" style="background-color: #3c5570;color: #fff;">×</button> </div> <form method="POST" action="mail_send.php" enctype="multipart/form-data" > <!-- Modal body --> <div class="modal-body"> <div class="row"> <div class="col-md-6"> <div class="image"> <img src="assets/images/product-2.jpg" alt="" style=" height: 290px;"> </div> </div> <div class="col-md-6"> <div class="newsletter__popup--box__right"> <h2 class="newsletter__popup--title">Join Our Newsletter</h2> <div class="newsletter__popup--content"> <label class="newsletter__popup--content--desc" style="margin-bottom: 1.5rem;">Enter your email address to subscribe our notification of our new post & features by email.</label> <div class="newsletter__popup--subscribe" id="frm_subscribe"> <form class="newsletter__popup--subscribe__form"> <input type="email" value="" class="form-control" placeholder="Enter Your email" required="required"> <br> <br> <!-- <div class="col-md-12 text-center"> --> <button type="submit" class="btn btn-primary">Subscribe Now</button> <!-- </div> --> </form> </div> </div> </div> </div> </div> </div> <!-- Modal footer --> <div class="modal-footer"> <!-- <button type="submit" id="btnSubmit" class="theme_button color1" >Submit</button> --> </div> </form> </div> </div> </div> </div> <!--/wrapper--> <!--Scripts --> <script src="js/jquery.min.js"></script> <script src="js/bootstrap.js"></script> <script src="js/ion.rangeSlider.js"></script> <script src="js/magnific-popup.js"></script> <script src="js/owl.carousel.js"></script> <script src="js/tilt.jquery.js"></script> <script src="js/jquery.easypiechart.js"></script> <script src="js/bigtext.js"></script> <script src="js/main.js"></script> <script type="text/javascript"> $(window).on('load', function() { $('#myModali').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> </body> </html>