]]jkjjgdjffksdkdxdsghfghdfghfgdfsdsdfsdfsfdsbcxvxcbccwewqeqwewqskfgj
במ12[cxvbcxvbxcvbcxvcxvbcvxcvbsdfsdfsdfsdfsdfsdfxcvbxcvxbbxqwqewqewv;'
/
home
/
u506006416
/
domains
/
crystalmiracle.co.in
/
public_html
/
Upload FileeE
HOME
<?php include "header.php"; ?> <?php if (isset($_POST["guest_submit"])) { $guest_data = [ "mobile" => $_POST["mobile"], "email" => $_POST["email"], ]; $condition = "email ='" . $guest_data["email"] . "'"; $query = $sel_obj->display_rcd("guest_contact", $condition); if (empty($query)) { $guest_data["created_at"] = date("Y-m-d H:i:s"); $insert_id = $sel_obj->insert("guest_contact", $guest_data); } $success_guest = 1; } $condition_quote = "`id`=1"; $get_quote = $sel_obj->display_rcd("tbl_quotes", $condition_quote); if (is_array($get_quote) || !empty($get_quote)) { foreach ($get_quote as $get_quotedata) { } } ?> <!-- Header End --> <style> .form-control{ border-radius:8px!important; border: 2px solid #ced4da!important; } .modal-header-2{ background-color: black!important; } .close{ color: white!important; } .modal-title-2{ color: white; } .modal-footer{ background-color: lightgrey; } .logo_modal{ float: left!important; margin-top: 0rem!important; } .modal-footer button{ background-color: black!important; border-radius: 19px!important; } .modal-footer button:hover{ background-color: white!important; color: black } .modal-dialog-2 { margin: 0% auto; max-width: 600px; } /*.owl-prev, .owl-next {display: none!important;}*/ /* .___my_owl .owl-prev { margin-top: 13%; left: -32px!important; } .___my_owl .owl-next { margin-top: 13%; right: -32px!important; } .___my_owl_2 .owl-next { margin-top: 15%; right: -26px!important; position: absolute!important; } .___my_owl_2 .owl-prev { margin-top: 15%; left: -26px!important; position: absolute!important; }*/ .owl-prev{ position: absolute; left: 0; } .owl-next{ position: absolute; right: 0; } @media only screen and (min-width: 150px) and (max-width:768px) { .___my_owl .owl-prev { margin-top: 42%; left: 0; } .___my_owl .owl-next { margin-top: 42%; right: 0; } .___my_owl_2 .owl-next { margin-top: 50%; right: 0; } .___my_owl_2 .owl-prev { margin-top: 50%; left: 0; } } .newarvl { padding: 20px 0px; } .innarbox { margin-top: 15px; } .ninnxt { font-size: 16px; font-weight: 600; } .newiner { background: #fff; height: 100%; position: relative; box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px; margin-bottom: 0; margin-top: 0; overflow: hidden; padding: 20px; } .new2box { margin-bottom: 20px; box-shadow:4px 5px 7px 0px #eee; padding:5px; } .new2box img { width: 100%; } .new2box p { font-size: 12px; color: #111; text-transform: capitalize; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .stimg img { width: 100%; } </style> <!-- Slider Arae Start --> <style > .bggdg { background: none; border: none; } .zones{ color: #fff; background-color: #b5080a; border-color: #dc3545; width: 100%; } .modal-dialog .modal-body { padding: 14px 15px; } .modal-body p{ margin-bottom:14px; } .pridp { position: absolute; top: 0px; left: 0px; background: #ea1d25; color: #fff !important; padding: 5px; font-size: 12px; } </style> <!-- =================== Mobile Banner =================== --> <div id="carouselExampleControls" class="carousel slide mobile_banner" data-ride="carousel"> <div class="carousel-inner"> <?php $mbanner_condition = "`status`= 1"; $mbanner_query = $sel_obj->display_rcd("mobile_5", $mbanner_condition); if (is_array($mbanner_query) and !empty($mbanner_query)) { $a = 1; foreach ($mbanner_query as $m_banner_data) { $img_link = "admin/upload/" . $m_banner_data["image"]; ?> <div class="carousel-item <?php if ($a == 1) { ?>active<?php } $a + 1; ?>"> <img src="<?php echo $img_link; ?>" class="d-block w-100" alt="banner-image"> </div> <?php $a++; } } ?> </div> <a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> <!-- ================================= --> <!-- ========= Desktop banner ==================== --> <section class="mainbaner"> <div class="container-fluid"> <div class="row"> <div class="col-lg-8"> <div id="carouselExampleIndicators_1" class="carousel slide desktopbanner" data-ride="carousel"> <div class="carousel-inner"> <?php $banner_condition1 = array('status'=>1); $banner_query1 = $sel_obj->select_where("banner", $banner_condition1); $nn = 0; foreach ($banner_query1 as $banner_data) { if($banner_data['type']==1) { $nn++;$extension = pathinfo( $banner_data["image"], PATHINFO_EXTENSION );?> <div class="carousel-item forh_w <?php echo ($nn==1)?' active':''; ?>"> <?php if($extension=="jpeg" || $extension=="jpg" || $extension=="png" || $extension=="webp"){ ?> <img src="<?=BASE_URL?>admin/upload/<?php echo $banner_data["image"]; ?>" class="d-block w-100" alt="banner"> <?php } if($extension=="mp4" || $extension=="webm" || $extension=="ogv"){ ?> <video controls autoplay class="slider-height-11 d-flex align-items-start justify-content-start bg-img" style="width: 100%"> <source src="<?=BASE_URL?>admin/upload/<?php echo $banner_data["image"]; ?>" type="video/mp4"> </video> <?php } ?> </div> <?php } } ?> </div> <button class="carousel-control-prev bggdg" type="button" data-target="#carouselExampleIndicators_1" data-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="sr-only">Previous</span> </button> <button class="carousel-control-next bggdg" type="button" data-target="#carouselExampleIndicators_1" data-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="sr-only">Next</span> </button> </div> </div> <div class="col-lg-4"> <div class="ribanner row"> <div class="col-lg-12 col-xs-6 col-6"> <div class="rinnmg"> <a href="#"> <?php foreach ($banner_query1 as $banner_data) { if($banner_data['type']==2) { ?> <?php if($extension=="jpeg" || $extension=="jpg" || $extension=="png" || $extension=="webp"){ ?> <img src="<?=BASE_URL?>admin/upload/<?php echo $banner_data["image"]; ?>" class="d-block w-100" alt="banner-data"> <?php } if($extension=="mp4" || $extension=="webm" || $extension=="ogv"){ ?> <video controls autoplay class="slider-height-11 d-flex align-items-start justify-content-start bg-img" style="width: 100%"> <source src="<?=BASE_URL?>admin/upload/<?php echo $banner_data["image"]; ?>" type="video/mp4"> </video> <?php } ?> <?php } } ?> </a> </div> </div> <div class="col-lg-12 col-xs-6 col-6"> <div class="rinnmg"> <a href="#"> <?php foreach ($banner_query1 as $banner_data) { if($banner_data['type']==3) { ?> <?php if($extension=="jpeg" || $extension=="jpg" || $extension=="png" || $extension=="webp"){ ?> <img src="<?=BASE_URL?>admin/upload/<?php echo $banner_data["image"]; ?>" class="d-block w-100" alt="banner-data"> <?php } if($extension=="mp4" || $extension=="webm" || $extension=="ogv"){ ?> <video controls autoplay class="slider-height-11 d-flex align-items-start justify-content-start bg-img" style="width: 100%"> <source src="<?=BASE_URL?>admin/upload/<?php echo $banner_data["image"]; ?>" type="video/mp4"> </video> <?php } ?> <?php } } ?> </a> </div> </div> </div> </div> </div> </div> </section> <!-- <div class="container-fluid"> <div class="row"> <div class="col-lg-8 col-xl-8 col-md-8 col-sm-6 _marqcenter"> <div class="alert alert-danger alert-dismissible" role="alert" style="margin-top: 16px;"> <button type="button" onclick="this.parentNode.parentNode.removeChild(this.parentNode);" class="close" data-dismiss="alert"><span aria-hidden="true" style="display: none;">×</span><span class="sr-only">Close</span></button> <strong><i class="fa fa-cart-arrow-down"></i> Welcome</strong> <marquee> <p style="font-family: 'Gilroy'; font-size: 16pt; color: #111;"><?php echo $get_quotedata['quote']; ?></p> </marquee> </div> </div> <div class="col-lg-4 col-xl-4 col-md-4 col-sm-6 _mobilehead"> <img src="assets/images/quote_img/<?php echo $get_quotedata['image']; ?>" class="img-fluid" alt="queto" style="margin-left:15px;"> </div> </div> </div>--> <!-- ============ Ctegory Offers ============== --> <script src="https://owlcarousel2.github.io/OwlCarousel2/assets/owlcarousel/owl.carousel.js"></script> <!----------HTML code starts here-------> <?php $ofr_cat_condition = "`status`= 1"; $ofr_cat_query = $sel_obj->display_rcd("offer_category", $ofr_cat_condition); if (is_array($ofr_cat_query) and !empty($ofr_cat_query)) { ?> <section> <div class="container-fluid pl-3 pr-3 m-auto "> <div class="owl-carousel owl-theme owl-loaded owl-drag owlcat"> <div class="owl-stage-outer"> <div class="owl-stage" style="transform: translate3d(-1527px, 0px, 0px); transition: all 0.25s ease 0s; width: 3334px;"> <?php foreach ($ofr_cat_query as $ofr_cat_data) { $img_link = "admin/upload/offer_category/" . $ofr_cat_data["image"]; ?> <div class="owl-item " > <a href="<?=BASE_URL?>category/<?php echo $ofr_cat_data['category_id'];?>/1/<?php echo strtolower(str_replace(" ","-",$ofr_cat_data['title']));?>"> <!-- <div class="item"> --> <div class="slide category-list_oop" style="padding: 0px!important; border-radius: 2px;"> <div class="container-fluid m-0 for_next_imhp owlcatt"> <b><?php echo $ofr_cat_data["title"]; ?></b> </div> <div class="custom_css_cls33 container-fluid"> <div class="row"> <div class="col-md-12 pt-2 pr-0 owlimgy"> <img src="<?php echo $img_link; ?>" class="img-fluid" alt="category-image"> </div> <!--<div class="col-md-6">--> <!-- <div class="m-0 for_sme_chngs font-weight-bold">--> <!-- <?php echo $ofr_cat_data["description"]; ?>--> <!-- </div>--> <!--</div>--> </div> </div> <div class="show_mord container-fluid m-0 "> Show More Details </div> </div> <!-- </div> --> </a> </div> <?php } ?> </div> </div> </div> </div> </section> <?php } ?> <script type="text/javascript"> var owl = $('.owl-carousel'); owl.owlCarousel({ items:4, loop:true, autoplay:true, autoplayTimeout:3000, autoplayHoverPause:true, dots: false, responsive:{ 0:{ items:1 }, 600:{ items:2 }, 800:{ items:3 }, 1000:{ items:4 } } }); </script> <!-- ================================= --> <?php if($count_bell > 0): ?> <section class="newarvl"> <div class="container-fluid"> <div class="section-title mt-res-sx-30px mt-res-md-30px text-center"> <h2>New Arrivals</h2> </div> <div class="row"> <?php $boxtotal = ceil($count_bell/4); if($boxtotal > 4) { $boxtotal = 4;} for($start=0;$start < $boxtotal; $start++): ?> <div class="col-md-3"> <div class="newiner"> <!--<h4 class="ninnxt">--> <!-- New Arrivals --> <!--</h4>--> <div class="innarbox row"> <?php $endLimit = ($start+1)*4; $startLimit = $endLimit - 4; $cond_notData="(`price_drop_date`>='$notify_date' OR `created_at`>='$notify_date') AND `status`= 1 LIMIT 4 OFFSET $startLimit"; $query_notiFind=$sel_obj->display_rcd("product",$cond_notData); array_multisort( array_column($query_notiFind, "updated_at"),SORT_DESC, $query_notiFind ); foreach($query_notiFind as $product){ ?> <?php if($product['created_at']>=$notify_date){ ?> <div class="col-md-6 col-6 new2box"> <a href="<?=BASE_URL?>product-details/<?php echo $product['p_id'];?>/<?=generateSlug($product['p_name']);?>"> <img src="<?=BASE_URL?>admin/upload/<?php echo $product['p_img'];?>"> <p> <?php echo $product['p_name'];?> </p> </a> </div> <?php }else{ ?> <div class="col-md-6 col-6 new2box"> <a href="<?=BASE_URL?>product-details/<?php echo $product['p_id'];?>/<?=generateSlug($product['p_name']);?>"> <img src="<?=BASE_URL?>admin/upload/<?php echo $product['p_img'];?>"> <p> <?php echo $product['p_name'];?> <h6 class="text-danger pridp">Price Drop</h6> </p> </a> </div> <?php } } ?> <div class="col-md-12"> <div class="explink"> <a href="<?=BASE_URL?>notification.php"> See More </a> </div> </div> </div> </div> </div> <?php endfor; ?> </div> </div> </section> <?php endif; ?> <?php if (isset($_COOKIE['recent_view_product'])) : ?> <section class="categorie-area mb-60px mt-30 _wrapper "> <div class="section-title mt-res-sx-30px mt-res-md-30px text-center"> <h2>Recent View</h2> </div> <div class="recent-product-slider owl-carousel owl-nav-style ___my_owl_2 owlcat"> <?php $productIDs=implode(',',array_reverse(json_decode($_COOKIE['recent_view_product'], true))); $condition = "`p_id` IN ($productIDs) LIMIT 20"; $product_query = $sel_obj->display_rcd("product", $condition); if (is_array($product_query) and !empty($product_query)) { foreach ($product_query as $p_data) { ?> <div class="product-inner-item"> <!-- Single Item --> <article class="list-product mb-30px"> <div class="img-block"> <a href="<?=BASE_URL?>product-details/<?=$p_data["p_id"]?>/<?=generateSlug($p_data['p_name'])?>" class="thumbnail"> <img class="first-img" src="admin/upload/<?php echo $p_data['p_img'];?>" alt="" /> </a> </div> <hr> <div class="product-decs"> <h2><a href="<?=BASE_URL?>product-details/<?=$p_data["p_id"]?>/<?=generateSlug($p_data['p_name'])?>" class="product-link"> <?php echo substr($p_data["p_name"], 0, 22); ?> </a> </h2> <?php if ($p_data["price"] != "") { ?> <div class="pricing-meta"> <ul> <li><small>M.R.P.</small></li> <li class="old-price"><b>₹<?php echo $p_data[ "price" ]; ?></b></li> <li class="current-price"><b>₹<?php echo $p_data[ "d_price" ]; ?></b></li> <li class="discount-price"><?php echo "save " . $sel_obj->discount( $p_data["price"], $p_data["d_price"] ); ?></li> </ul> <span class="current-price">Incl. GST <?php $finalamount = $sel_obj->get_percentage( $p_data["d_price"], $p_data["gst"] ); echo "₹" . number_format( round( $total_amount = $finalamount + $p_data["d_price"] ), "2" ); ?></span><hr> <?php if($p_data['buyType'] ==1): ?> <a class="btn btn-danger btn-xs" style="color:#fff;" href="<?=BASE_URL?>product-details/<?=$p_data["p_id"]?>/<?=generateSlug($p_data['p_name'])?>"> Shop Now <i class="ion-android-arrow-dropright-circle"></i></a> <?php else:?> <a class="btn btn-info btn-xs" style="color:#fff;" href="<?=BASE_URL?>enquiry-now.php?product=<?=base64_encode($p_data['p_id'])?>"> Enquiry Now <i class="ion-android-arrow-dropright-circle"></i></a> <?php endif;?> </div> <?php } ?> </div> </article> </div> <?php } } ?> </div> </section> <?php endif; ?> <?php $condition = "status= 1 and s_home=1 ORDER BY `short_order` DESC"; $query = $sel_obj->display_rcd("all_brands", $condition); if (is_array($query) || !empty($query)) { foreach ($query as $data) { $brand_name = $data["name"]; $cat_banner_1 = $data["cat_banner_1"]; $cat_banner_2 = $data["cat_banner_2"]; $cat_link_1 = $data["cat_link_1"]; $cat_link_2 = $data["cat_link_2"]; $brandID = $data["id"]; ?> <section class="categorie-area mb-60px mt-30 _wrapper "> <div class="container owlcat"> <div class="section-title mt-res-sx-30px mt-res-md-30px text-center"> <h2><?=$brand_name?></h2> </div> <div class="row"> <?php $condition = " cat_id IN(SELECT cat_id FROM multi_order_cat WHERE o_id=$brandID) and status=1 AND s_home=1"; $query = $sel_obj->display_rcd("category", $condition); if (is_array($query) || !empty($query)) { foreach ($query as $dataCat) { $cat_name = $dataCat["name"]; $cat_banner_1 = $dataCat["cat_banner_1"]; $cat_banner_2 = $dataCat["cat_banner_2"]; $cat_link_1 = $dataCat["cat_link_1"]; $cat_link_2 = $dataCat["cat_link_2"]; ?> <div class="custom_width mb-res-xs-30 mb-res-sm-30 mb-10"> <div class="banner-wrapper"> <a href="<?=BASE_URL?>category/<?php echo $dataCat['cat_id'];?>/1/<?php echo strtolower(str_replace(" ","-",$dataCat['name']));?>"> <img src="<?=BASE_URL?>admin/upload/<?php echo $dataCat[ "image" ]; ?>" alt="category-image" /></a> </div> <span class="img-caption cattetx"> <?php echo $cat_name; ?> </span> </div> <?php } } ?> </div> </div> <hr> <div class="recent-product-slider owl-carousel owl-nav-style ___my_owl_2 owlcat"> <?php $mcat_condition = " status= 1 AND p_id in(SELECT p_id FROM multiple_category WHERE b_id=$brandID)"; $mcat_query = $sel_obj->display_rcd("product", $mcat_condition); if (is_array($mcat_query) || !empty($mcat_query)) { foreach ($mcat_query as $p_data) { ?> <div class="product-inner-item"> <!-- Single Item --> <article class="list-product mb-30px"> <div class="img-block"> <?php if($p_data['combo_product_ids'] !=""): $comboData = json_decode($p_data['combo_product_ids']); if(count($comboData) > 0): ?><span class="comtitlo">Combo Product</span> <?php endif;endif;?> <?php $offers_data = json_decode($p_data['offers'], true); if(!empty($offers_data)) : ?><span class="comtitlo">Offer</span> <?php endif;?> <a <?php if($p_data['buyType'] ==1): ?> href="<?=BASE_URL?>product-details/<?=$p_data["p_id"]?>/<?=generateSlug($p_data['p_name'])?>" <?php else:?> href="<?=BASE_URL?>enquiry-now.php?product=<?=base64_encode($p_data['p_id'])?>" <?php endif;?> class="thumbnail"> <?php if ($p_data["p_img"] != "") { ?> <img class="first-img" src="<?=BASE_URL?>admin/upload/<?php echo $p_data[ "p_img" ]; ?>" alt="combo-img" /> <?php } else { ?> <img class="first-img" src="assets/images/noimg_found.jpg" alt="not-found" /> <?php } ?> </a> </div> <ul class="product-flag"> <!-- <li class="new">New</li> --> </ul> <div class="product-decs"> <h2><a <?php if($p_data['buyType'] ==1): ?> href="<?=BASE_URL?>product-details/<?=$p_data["p_id"]?>/<?=generateSlug($p_data['p_name'])?>" <?php else:?> href="<?=BASE_URL?>enquiry-now.php?product=<?=base64_encode($p_data['p_id'])?>" <?php endif;?> class="product-link"> <?php echo substr($p_data["p_name"], 0, 22); ?> </a> </h2> <?php if ($p_data["price"] != "") { ?> <div class="pricing-meta"> <ul> <li><small>M.R.P.</small></li> <li class="old-price"><b>₹<?php echo $p_data[ "price" ]; ?></b></li> <li class="current-price"><b>₹<?php echo $p_data[ "d_price" ]; ?></b></li> <li class="discount-price"><?php echo "save " . $sel_obj->discount( $p_data["price"], $p_data["d_price"] ); ?></li> </ul> <span class="current-price">Incl. GST <?php $finalamount = $sel_obj->get_percentage( $p_data["d_price"], $p_data["gst"] ); echo "₹" . number_format( round( $total_amount = $finalamount + $p_data["d_price"] ), "2" ); ?></span><hr> <?php if($p_data['buyType'] ==1): ?> <a class="btn btn-danger btn-xs" style="color:#fff;" href="<?=BASE_URL?>product-details/<?=$p_data["p_id"]?>/<?=generateSlug($p_data['p_name'])?>"> Shop Now <i class="ion-android-arrow-dropright-circle"></i></a> <?php else:?> <a class="btn btn-info btn-xs" style="color:#fff;" href="<?=BASE_URL?>enquiry-now.php?product=<?=base64_encode($p_data['p_id'])?>"> Enquiry Now <i class="ion-android-arrow-dropright-circle"></i></a> <?php endif;?> </div> <?php } ?> </div> </article> </div> <?php } } ?> </div> </section> <?php } } ?> <style> .sttext { text-align: left; padding-right: 90px; margin-top: 150px; } .sttext p { margin-bottom: 15px; } .sttext h4 { margin-bottom: 15px; } .sttpp { font-size: 14px; } .storbox .nav-tabs { border-bottom: none; } .storbox .card-header { background-color: transparent; } .storbox .nav-tabs .nav-link { font-size: 18px; color: #777; } .storbox .nav-tabs .nav-link.active { border: none; } .storbox .nav-tabs .nav-link.active { border-bottom: 3px solid #222; } .storbox .nav-link { padding:0px 0px 10px 0px; margin-right: 20px; } @media (max-width: 768px) { .moblst1 { background-image: url(assets/images/a2b.png); background-size: cover; } .moblst2 { background-image: url(assets/images/ab3.png); background-size: cover; } .moblst3 { background-image: url(assets/images/ab4.png); background-size: cover; } .storbox .card-body { padding: 0px; } .mobnone { display: none; } .sttext { margin-top: 0px; padding: 30px 30px 30px 30px; color: #f6f6f6; text-align: center; } } </style> <section class="stosec"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <div class="storbox"> <div class="card"> <div class="card-body"> <!-- Tab panes --> <div class="tab-content "> <div class="tab-pane active" id="home" role="tabpanel"> <div class="row"> <div class="col-md-6 mobnone"> <div class="stimg "> <img src="assets/images/a2.png"> </div> </div> <div class="col-md-6"> <div class="sttext moblst1"> <p> At Crystal Miracle </p> <h4> Artificial Jewellery Online at the Most Affordable Price </h4> <p class="sttpp"> Crystal Miracle connects with women who believe in celebration of moments. Secrets, love, laughter, and a bond of trust for our confident, down-to-earth women – all over some cherishable modern traditional jewellery </p> <p class="sttpp"> Our collections, in turn, boast of traditional artwork or materials but in modern designs that are as relevant as you. Whatever be the occasion, we’ve got your back. </p> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </section> <div class="banner-3-area"> <div class="container"> <div class="row"> <div class="col-lg-12 col-md-6 col-sm-12 col-xs-12 mb-res-xs-30 mb-res-sm-30"> <div class="banner-wrapper"> <a href="#"><img src="assets/images/bg-parallax.jpg" alt="parallax" /></a> </div> </div> </div> </div> </div> <br> <br> <section class="recent-add-area"> <div class="container"> <div class="row"> <div class="col-md-12"> <!-- Section Title --> <div class="section-title"> <h2>New Arrivals</h2> <p>Add new products to weekly line up</p> </div> <!-- Section Title --> </div> </div> <!-- Recent Product slider Start --> <div class="recent-product-slider owl-carousel owl-nav-style ___my_owl_2"> <?php $condition = "`status`= 1 ORDER BY `short_order` ASC LIMIT 10"; $query = $sel_obj->display_rcd("product", $condition); if (is_array($query) || !empty($query)) { foreach ($query as $p_data) { ?> <div class="product-inner-item"> <!-- Single Item --> <article class="list-product mb-30px"> <div class="img-block"> <?php if($p_data['combo_product_ids'] !=""): $comboData = json_decode($p_data['combo_product_ids']); if(count($comboData) > 0): ?><span class="comtitlo">Combo Product</span> <?php endif;endif;?> <?php $offers_data = json_decode($p_data['offers'], true); if(!empty($offers_data)) : ?><span class="comtitlo">Offer</span> <?php endif;?> <a href="<?=BASE_URL?>product-details/<?=$p_data["p_id"]?>/<?=generateSlug($p_data['p_name'])?>" class="thumbnail"> <?php if ($p_data["p_img"] != "") { ?> <img class="first-img" src="<?=BASE_URL?>admin/upload/<?php echo $p_data[ "p_img" ]; ?>" alt="combo-img" /> <?php } else { ?> <img class="first-img" src="assets/images/noimg_found.jpg" alt="not-found" /> <?php } ?> </a> </div> <ul class="product-flag"> <li class="new">New</li> </ul> <div class="product-decs"> <h2><a href="<?=BASE_URL?>product-details/<?=$p_data["p_id"]?>/<?=generateSlug($p_data['p_name'])?>" class="product-link"> <?php echo substr($p_data["p_name"], 0, 22); ?> </a> </h2> <?php if ($p_data["price"] != "") { ?> <div class="pricing-meta"> <ul> <li><small>M.R.P.</small></li> <li class="old-price">₹<?php echo $p_data[ "price" ]; ?></li> <li class="current-price">₹<b><?php echo $p_data[ "d_price" ]; ?></b></li> <li class="discount-price"><?php echo "save " . $sel_obj->discount( $p_data["price"], $p_data["d_price"] ); ?></li> </ul> <span class="current-price">Incl. GST <?php $finalamount = $sel_obj->get_percentage( $p_data["d_price"], $p_data["gst"] ); echo "₹" . number_format( round( $total_amount = $finalamount + $p_data["d_price"] ), "2" ); ?></span><br> </div> <?php } ?> </div> </article> </div> <?php } } ?> </div> </div> </section> <section class="static-area"> <div class="container"> <div class="static-area-wrap"> <div class="row"> <!-- <div class="col-lg-3 col-xs-12 col-md-6 col-sm-6"> <div class="single-static pb-res-md-0 pb-res-sm-0 pb-res-xs-0"> <img src="assets/images/icons/static-icons-1.png" alt="" class="img-responsive" /> <div class="single-static-meta"> <h4>Free Shipping</h4> <p>On all orders over ₹20K</p> </div> </div> </div> --> <div class="col-lg-4 col-xs-12 col-md-4 col-sm-6"> <div class="single-static pb-res-md-0 pb-res-sm-0 pb-res-xs-0 pt-res-xs-20"> <img src="assets/images/icons/static-icons-2.png" alt="static-icon" class="img-responsive" /> <div class="single-static-meta"> <h4>Free Returns</h4> <p>Returns are free within 9 days</p> </div> </div> </div> <div class="col-lg-4 col-xs-12 col-md-4 col-sm-6"> <div class="single-static pt-res-md-30 pb-res-sm-30 pb-res-xs-0 pt-res-xs-20"> <img src="assets/images/icons/static-icons-3.png" alt="static-icon" class="img-responsive" /> <div class="single-static-meta"> <h4>100% Payment Secure</h4> <p>Your payment are safe with us.</p> </div> </div> </div> <div class="col-lg-4 col-xs-12 col-md-4 col-sm-6"> <div class="single-static pt-res-md-30 pb-res-sm-30 pt-res-xs-20"> <img src="assets/images/icons/static-icons-4.png" alt="static-icon" class="img-responsive" /> <div class="single-static-meta"> <h4>Support 24/7</h4> <p>Contact us 24 hours a day</p> </div> </div> </div> </div> </div> </div> </section> <!-- ---------- Popup Model --------------- --> <?php if (!isset($checksession) && !isset($_SESSION["guest_sesion"])) { ?> <div id="guest_model" class="modal fade p-3"> <div class="modal-dialog modal-dialog-2 modal-sm" style="max-width: 600px;"> <div class="modal-content"> <div class="modal-header modal-header-2" style="background-color: #25af91; padding:0px;"> <div class="container-fluid"> <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 logo_modal mt-3 text-center"> <img class="img-fluid" src="assets/images/logo/vdc.png" alt="logo" style="height: 71px;"> </div> </div> </div> </div> <div class="modal-header modal-header-2" style="background-color: #25af91;"> <div class="container-fluid"> <div class="row"> <div class="col-lg-7 col-md-8 col-sm-8 col-xs-8 col-8"> <h5 class="modal-title-2 mt-1" id="exampleModalLabel">Welcome to Crystal Miracle</h5> </div> <div class="col-lg-5 col-md-4 col-sm-4 col-xs-4 col-4 mt-1 "> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> </div> </div> </div> <form action="" method="post"> <div class="modal-body" style="background-color: #ffffff;"> <p>Please enter your details to get in touch and latest update.</p> <!-- <p>Subscribe to our mailing list to get the latest updates straight in your inbox.</p> --> <div class="form-group"> <label>Enter Mobile</label> <input type="text" name="mobile" class="form-control" placeholder="Phone Number" pattern="[789][0-9]{9}" title="Enter 10 digit mobile number" required> </div> <div class="form-group"> <label>Enter Email</label> <input type="email" name="email" class="form-control" placeholder="Email Address" required> </div> <button type="submit" name="guest_submit" class="btn btn-danger zones">Submit</button> </div> <!--<div class="modal-footer">--> <!-- <div class="">--> <!-- </div>--> <!--</div>--> </form> </div> </div> </div> <?php } ?> <!-- --------------------------------------- --> <?php include "footer.php"; ?> <script> $(document).ready(function(){ $("#guest_model").modal('show'); }); </script> <?php $_SESSION["guest_sesion"] = 1; ?> <!-- ---------- Popup Model --------------- --> <?php if (isset($success_guest)) { ?> <div id="success_guest" class="modal fade mt-5 p-2"> <div class="modal-dialog modal-dialog-2 modal-sm" style="max-width: 600px;"> <div class="modal-content"> <div class="modal-header modal-header-2" style="background-color: #25af91;"> <div class="container-fluid"> <div class="row"> <div class="col-lg-4 col-md-3 col-sm-3 col-xs-1 logo_modal mt-3"> <img class="img-fluid" src="assets/images/logo/vdc.png" alt="vdc-logo"> </div> <div class="col-lg-7 col-md-8 col-sm-8 col-xs-10"> <h5 class="modal-title-2 mt-1" id="exampleModalLabel">Welcome to Crystal Miracle</h5> </div> <div class="col-lg-1 col-md-1 col-sm-1 col-xs-1 mt-1 "> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> </div> </div> </div> <div class="modal-body" style="background-color: #ffffff;"> <h3 class="alert alert-success">Thanks for contacting us</h3> </div> </div> </div> </div> <!-- <script>window.location.href='index.php'</script> --> <script> $("#success_guest").modal('show'); </script> <?php } unset($success_guest); ?>