Server IP : 103.53.40.154 / Your IP : 3.135.194.138 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/hafinserv.com/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include_once('admin/config.php'); $slug_name = $_GET['slug_link']; if(isset($_SERVER['PATH_INFO'])){ $slug_name=$_SERVER['PATH_INFO']; $querydt="SELECT * FROM `tbl_product` WHERE `slug_link`='$slug_name'"; $rundt = mysqli_query($db,$querydt) or die("Query Not run"); $datadt = mysqli_fetch_assoc($rundt); } ?> <!DOCTYPE html> <html lang="en"> <head> <?php include "top-links.php"; ?> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><?php echo $datadt['meta_title'] ?></title> <meta name="description" content=" <?php echo $datadt['meta_desc']?>"/> </head> <body> <?php include "header.php"; ?> <div class="pagehding-sec"> <div class="pagehding-overlay"></div> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="page-heading" > <h1><?php echo $datadt['product_name']?></h1> <ul> <li><a href="<?php echo $wspath ?>">Home</a></li> <li><a href="<?php echo $wspath ?>services.html">Our Services</a></li> <li><a><?php echo $datadt['product_name']?></a></li> </ul> </div> </div> </div> </div> </div> <div class="service2-sec pt-50 pb-50"> <div class="container"> <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <div class="" > <h2 style="text-align:center;"> <?php echo $datadt['product_name']?></h2> <p style="color:black;"><?php echo $datadt['product_detail']?></p> </div> </div> </div> <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <div class="sec-title"> <h1 style="text-align:center;"><span >Services Of</span> <?php echo $datadt['product_name']?></h1> </div> </div> </div> <div class="row"> <div class="service2-item"> <?php $pid=$datadt['p_id']; $sqls = "SELECT * FROM tbl_services WHERE cat_id='$pid'"; $querys = mysqli_query($db,$sqls); while($datas = mysqli_fetch_assoc($querys)){ ?> <div class="col-md-4 col-sm-6"> <div class="service-inner"> <div class="service-img" style="background-image: url('<?php echo $wspath ?>admin/images/services/<?php echo $datas['image'] ?>'); background-size: cover; background-position: center center;"> </div> <div class="service-details"> <h2><a href="<?php echo $wspath?><?php echo $datas['slug_url']?>.html"><?php echo $datas['name']?></a></h2> <?php echo substr($datas['desc'],0,150)?>... <a href="<?php echo $wspath?><?php echo $datas['slug_url']?>.html">Read More</a> </div> </div> </div> <?php } ?> </div> </div> </div> </div> <?php include "footer.php"; ?> </body> </html>