MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.133.133.39
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/automationpowersolutions.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/automationpowersolutions.com/product.php
<?php
    include_once('admin/config.php');
    $cat_url = $_REQUEST['slug_url'];
    $querydt="SELECT * FROM `tb7_product` WHERE `slug_url`='$cat_url'";
    $rundt = mysqli_query($db,$querydt) or die("Query Not run");
    $datadt = mysqli_fetch_assoc($rundt);
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <!-- Responsive -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <?php include 'headlink.php';?>
    
    <title><?= str_replace("LOCATION",$location,$datadt["meta_title"]);?></title>
    <meta name="description" content="<?= str_replace("LOCATION",$location,$datadt["meta_desc"]);?>">
    <style>
        .note h5{
            font-size:1rem;
            font-weight:600;
        }
        .note h5 strong{
            font-size:1.2rem;
            font-weight:700;
        }
    </style>
</head>
<body>
    <?php include 'header.php';?>

	<!-- Page Title -->
	<!--background-image: url(images/background/9.jpg)-->
    <section class="page-title" style="background:black;">
        <div class="auto-container">
			<ul class="bread-crumb clearfix">
				<li><a href="<?php echo $wspath?>">Home</a></li>
				<li><a >Products</a></li>
				<li><?= str_replace("LOCATION",$location,$datadt["src_name"]);?></li>
			</ul>
			<h2><?= str_replace("LOCATION",$location,$datadt["src_name"]);?></h2>
        </div>
    </section>
    <!-- End Page Title -->
    <marquee class="marquee-text"><?php echo $datamarq['message'] ?></marquee>
	<!-- Sidebar Page Container -->
    <div class="sidebar-page-container">
		<div class="pattern-layer" style="background-image:url(<?php echo $wspath?>images/background/pattern-25.png)"></div>
    	<div class="auto-container">
        	<div class="row clearfix">
				<!-- Sidebar Side -->
                <div class="sidebar-side left-sidebar col-lg-4 col-md-12 col-sm-12">
                	<aside class="sidebar sticky-top">
						<!-- Service Widget -->
						<div class="sidebar-widget service-widget">
							<div class="widget-content">
								<div class="sidebar-title">
									<h4>Related Products</h4>
								</div>
								<ul class="service-list">
								    <?php
								        $m_id=$datadt['cat_id'];
                                        $sqlci = "SELECT * FROM `tb7_product` WHERE cat_id='$m_id'";
                                        $runci = mysqli_query($db, $sqlci) or die("Query Not run");
                                        while ($dataci = mysqli_fetch_assoc($runci)) {
                                        $serviceUrl = $wspath ;
                                        if (isset($_REQUEST['loc_slug'])) {
                                            $loc_slug = htmlspecialchars($_REQUEST['loc_slug']);
                                            $serviceUrl .=  $loc_slug. '/';
                                        }
                                    
                                        $serviceUrl .= '' . $dataci['slug_url'] . '.html';
                                    ?>
									<li><a href="<?php echo $serviceUrl; ?>"><?php echo $dataci['src_name']?></a></li>
									<?php }?>
								</ul>
							</div>
						</div>
					</aside>
				</div>
				
				<!-- Content Side -->
                <div class="content-side right-sidebar col-lg-8 col-md-12 col-sm-12">
					<div class="service-detail">
						<div class="inner-box">
							<div class="image">
								<img src="<?php echo $wspath?>images/resource/products/<?php echo $datadt['src_image']?>" alt="sadguru" />
							</div>
							<div class="lower-content">
								<h3><?= str_replace("LOCATION",$location,$datadt["src_name"]);?></h3>
							        <p><?= str_replace("LOCATION",$location,$datadt["src_desc"]);?></p>
								<!--<div class="options-outer">-->
									<!--<div class="row clearfix">-->
									<!--	<div class="column col-lg-6 col-mg-12 col-sm-12">-->
									<!--		<ul class="list">-->
									<!--			<li>Lorem ipsum dolor sit amet adipiscing</li>-->
									<!--			<li>Eiusmod tempor ut Labore et dolore elit</li>-->
									<!--			<li>Sedmagna quis suspendisse ultrices gravida.</li>-->
									<!--		</ul>-->
									<!--	</div>-->
									<!--	<div class="column col-lg-6 col-mg-12 col-sm-12">-->
									<!--		<ul class="list">-->
									<!--			<li>Lorem ipsum dolor sit amet adipiscing</li>-->
									<!--			<li>Eiusmod tempor ut Labore et dolore elit</li>-->
									<!--			<li>Sedmagna quis suspendisse ultrices gravida.</li>-->
									<!--		</ul>-->
									<!--	</div>-->
									<!--</div>-->
								<!--</div>-->
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>

	<?php include 'testimonial.php';?>
	<?php include 'footer.php';?>

MMCT - 2023