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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/ntimachinery.com/products.php
<?php 
include('conn/config.php');
$prod_tag=product_tags($_GET['alias']);
$contact_details=contact_det();
?>
<!DOCTYPE html>
<html lang="en">
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title><?php echo $prod_tag['ct_pd_title'];?></title>
<meta name="description" content="<?php echo  $prod_tag['ct_pd_mt_ds'];?>">
<link rel="canonical" href="<?php echo  $prod_tag['ct_pd_ky'];?>" />
<meta name="author" content="<?php echo  $contact_details['name'];  ?>">
<meta name="language" content="english">
<?php include 'inc/top-links.php';?>
</head>
<body>
<div class="page-wrapper">

<?php include 'inc/header.php';?>
    <section class="page-title" style="background-image:url(<?=BASE_URL?>images/background/10.jpg);">
        <div class="auto-container">
            <div class="inner-container clearfix">
                <div class="title-box">
                    <h1><?=$prod_tag['ct_pd_name']?></h1>
                 
                </div>
                <ul class="bread-crumb clearfix">
                    <li><a href="index.php">Home</a></li>
                    <li><?=$prod_tag['ct_pd_name']?></li>
                </ul>
            </div>
        </div>
    </section>
    <!--End Page Title-->
    <section class="blog-section">
        <div class="auto-container">
            <div class="row">
                <!-- News Block -->
                 <?php
        $query=mysqli_query($conn,"select * from cat_prod where sub_category_id='".$prod_tag['id']."'and status='1'");
        $totl=mysqli_num_rows($query);
        if($totl>0)
        {
        while($row=mysqli_fetch_array($query))
        {
        ?>
                <div class="news-block-two col-lg-4 col-md-12 col-sm-12">
                    <div class="inner-box">
                        <div class="image-box">
                            <figure class="image"><img src="<?=BASE_URL_IMG?>uploads/product/cat_pd_image/<?=str_replace(',','',$row['cat_pd_image'])?>" alt=""></figure>
                            <div class="overlay-box"><a href="<?=BASE_URL?>product-detail/<?=$row['ct_pd_url']?>"><i class="fa fa-link"></i></a></div>
                        </div>
                        <div class="caption-box">
                            <div class="inner">
                                <h3><a href="<?=BASE_URL?>product-detail/<?=$row['ct_pd_url']?>"><?=$row['ct_pd_name']?></a></h3>
                                <ul class="info">
                                  <p><?=substr($row['small_description'],0,100).'...'?></p>
                                    
                                    <li><a href="<?=BASE_URL?>product-detail/<?=$row['ct_pd_url']?>" class="theme-btn btn-style-one">View Details</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
  <?php }}else{?>
        <h2 class="centr">No Record Found</h2>
        <?php }?>
            </div>
        </div>
    </section>
    <!--End Blog Section -->

<?php include 'inc/footer.php';?>
</body>
</html>

MMCT - 2023