Server IP : 103.53.40.154 / Your IP : 18.116.40.151 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home2/ppcad7no/arelectricalcontrol.com/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include_once('admin/config.php'); $slug_name = $_GET['slug_url']; if(isset($_SERVER['PATH_INFO'])){ $slug_name=$_SERVER['PATH_INFO']; $querydt="SELECT * FROM `tbl_services` WHERE `slug_url`='$slug_name'"; $rundt = mysqli_query($db,$querydt) or die("Query Not run"); $datadt = mysqli_fetch_assoc($rundt); } ?> <!doctype html> <html class="no-js" lang="zxx"> <head> <?php include "top-links.php";?> <title> <?php if (isset($datadt["meta_title"]) && !empty($datadt["meta_title"])) { echo $datadt["meta_title"]; } else { echo $datadt["name"]; } ?> </title> <meta name="description" content="<?php echo $datadt["meta_desc"];?>"> </head> <body class="home-electrician"> <?php include "header.php";?> <div class="breadcumb-wrapper" data-bg-src="<?=$wspath?>assets/img/bg/breadcumb-bg.jpg"> <div class="container"> <div class="breadcumb-content"> <h1 class="breadcumb-title"><?php echo $datadt["display_name"];?></h1> <ul class="breadcumb-menu"> <li><a href="<?=$wspath;?>">Home</a></li> <li><?php echo $datadt["name"];?> </li> </ul> </div> </div> </div> <section class="product-details space-extra-bottom" > <div class="container"> <div class="row gx-60"> <div class="col-lg-6"> <div class="product-big-img"> <div class="img"> <img src="<?php echo $wspath;?>admin/images/property-image/<?php echo $datadt['image'];?>" alt="<?php echo $datadt["name"];?>" title="<?php echo $datadt["name"];?>"> </div> </div> </div> <div class="col-lg-6 align-self-center"> <div class="product-about"> <h2 class="product-title"><?php echo $datadt["name"];?></h2> <p class="text"><?php echo $datadt["desc"];?></p> <div class="mt-2 link-inherit"> <p><strong class="text-title me-3">Availability:</strong> <span class="stock in-stock"><i class="far fa-check-square me-2 ms-1"></i>In Stock</span></p> </div> <!--<div class="product_meta"><span class="sku_wrapper">SKU: --> <!-- <span class="sku">Construction-Helmet</span></span> <span class="posted_in">Category: <a--> <!-- href="shop.html">Safety</a></span> <span>Tags: <a href="shop.html">Plastic</a><a--> <!-- href="shop.html">Helmet</a></span>--> <!--</div>--> <div class="actions"> <!--<div class="quantity"><input type="number" class="qty-input" step="1" min="1" max="100"--> <!-- name="quantity" value="1" title="Qty"> <button class="quantity-plus qty-btn"><i--> <!-- class="far fa-chevron-up"></i></button> <button--> <!-- class="quantity-minus qty-btn"><i class="far fa-chevron-down"></i></button>--> <!--</div>--> <a href="<?php echo $wspath;?>enquiry.html"><button class="th-btn">Enquiry Now</button></a> </div> </div> </div> </div> <div class="space-extra-top mb-30"> <div class="row justify-content-between align-items-center"> <div class="col-md-auto"> <h2 class="sec-title text-center">Related Products</h2> </div> <div class="col-md d-none d-sm-block"> <hr class="title-line"> </div> <div class="col-md-auto d-none d-md-block"> <div class="sec-btn"> <div class="icon-box"> <button data-slider-prev="#productSlider1" class="slider-arrow default"><i class="far fa-arrow-left"></i></button> <button data-slider-next="#productSlider1" class="slider-arrow default"><i class="far fa-arrow-right"></i></button> </div> </div> </div> </div> <div class="swiper th-slider has-shadow" id="productSlider1" data-slider-options='{"breakpoints":{"0":{"slidesPerView":1},"576":{"slidesPerView":"2"},"768":{"slidesPerView":"2"},"992":{"slidesPerView":"3"},"1200":{"slidesPerView":"4"}}}'> <div class="swiper-wrapper"> <?php $subcat=$datadt['m_id']; $id=$datadt['id']; $sqlprod = "SELECT * FROM `tbl_services` WHERE m_id=$subcat AND `tour_status`='Active' AND id!=$id ORDER BY tour_order ASC"; $runprod = mysqli_query($db,$sqlprod) or die("Query Not run"); while($dataprod = mysqli_fetch_assoc($runprod)){ ?> <div class="swiper-slide"> <div class="th-product product-grid"> <div class="product-img"> <img src="<?=$wspath?>admin/images/property-image/<?=$dataprod['image'];?>" alt="<?=$dataprod['name'];?>" title="<?=$dataprod['name'];?>"> </div> <div class="product-content"> <h3 class="product-title"><a href="<?php echo $wspath ?>product<?php echo $dataprod['slug_url'];?>.html"><?=$dataprod['name'];?></a></h3> </div> </div> </div> <?php } ?> </div> </div> <div class="d-block d-md-none mt-40 text-center"> <div class="icon-box"> <button data-slider-prev="#productSlider1" class="slider-arrow default"><i class="far fa-arrow-left"></i></button> <button data-slider-next="#productSlider1" class="slider-arrow default"><i class="far fa-arrow-right"></i></button> </div> </div> </div> </div> </section> <?php include "footer.php";?> </body> </html>