<?php include_once("include/main.inc.php");
@extract($_REQUEST);
if (preg_match('webpulse\.co$/', $_SERVER['HTTP_HOST'], $match)) {
    $match1=$match[1];
    $vanity_url='http://'.$_SERVER['HTTP_HOST'];
}
$admin_res=getAdminDetails();
$actual_link = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
$ee=explode('/',$actual_link);
$mm=$ee[3];
$ss=explode('.',$mm);
$cc=$ss[0];
$cat=str_replace("-", " ", $cc);
$cats=ucwords($cat);
$cat_s="select * from category_tbl where catName='$cats'";
$cat_q=mysqli_query($dbconn,$cat_s);
$num=mysqli_num_rows($cat_q);
$cat_r=mysqli_fetch_array($cat_q);
$category_id=$cat_r['catID'];
$catn=$cat_r['catName'];
$cat_sql="select * from category_tbl where parentID='$category_id' and status='Y'";
$cat_qry=mysqli_query($dbconn,$cat_sql);
$cccnum=mysqli_num_rows($cat_qry);
$cat_sql1="select * from category_tbl where catID='$category_id'";
$cat_qry1=mysqli_query($dbconn,$cat_sql1);
$cat_res=mysqli_fetch_array($cat_qry1);

$title = $cat_res['pageTitle'];
$keyword = $cat_res['pageKeywords'];
$desc= $cat_res['pageDescription'];

$title = ($title) ? $title: $cat_res[keyword1].' Manufacturers in Delhi, '.$cat_res[keyword2].' Suppliers Exporters in India';
$desc = ($desc) ? $desc:'Neelohith Machines is the leading '.$cat_res[keyword1].' Manufacturers in Delhi. Best Quality '.$cat_res[keyword2].' Suppliers and Exporters in India at Factory Price. Call +91-9212168851';
$keyword = ($keyword) ? $keyword: $cat_res[keyword1].' in Delhi, '.$cat_res['keyword2'].' in Delhi, '.$cat_res['keyword1'].' Manufacturers in Delhi, '.$cat_res[keyword2].' Manufacturers in Delhi, '.$cat_res[keyword1].' Suppliers in Delhi, '.$cat_res[keyword2].' Suppliers in Delhi, '.$cat_res[keyword1].' Exporters in Delhi, '.$cat_res[keyword2].' Exporters in Delhi';


$pageTitles=$cat_res['catName'];
$disTitles=$cat_res['displayName'];
$pdes=$cat_res['catDesc'];
$pdes1=$cat_res['catDesc1'];
$parent=$cat_res['parentID'];
$cat_sql2="select * from category_tbl where catID='$parent'";
$cat_qry2=mysqli_query($dbconn,$cat_sql2);
$num2=mysqli_num_rows($cat_qry2);
$cat_res2=mysqli_fetch_array($cat_qry2);
$mparent=$cat_res2['parentID'];
$cat_sql3="select * from category_tbl where catID='$mparent'";
$cat_qry3=mysqli_query($dbconn,$cat_sql3);
$num3=mysqli_num_rows($cat_qry3);
$cat_res3=mysqli_fetch_array($cat_qry3);
$mmparent=$cat_res3['parentID'];
$cat_sql4="select * from category_tbl where catID='$mmparent'";
$cat_qry4=mysqli_query($dbconn,$cat_sql4);
$num4=mysqli_num_rows($cat_qry4);
$cat_res4=mysqli_fetch_array($cat_qry4);
$numsss=mysqli_num_rows($cat_q);
if($cat_res['parentID'] == '0')
{
    $pg = $cat_res['catID'];
}
else{
    $pg = $cat_res['parentID'];
    $cat = $cat_res['catID'];
}

if($cat_res['heading2']!=''){
    $heading2=$cat_res['heading2'];
}else{
    $heading2=$cat_res['catName'];
}

if(mysqli_num_rows($cat_q) > 0)
{
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title><?php echo $title; ?></title>
    <meta name="description" content="<?php echo $desc; ?>" >
    <meta name="keywords" content="<?php echo $keyword; ?>" >

    <?php include "app_top.php"; ?>
</head>

<body>

    <?php include "app_header.php"; ?>


     <!--Heading Banner-->
    <section class="heading_banner" style="background-image: url(<?=theme_url?>images/category-banner.jpg)">
        <div class="container">
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 text-center">
                    <h1 class="cat_title"><?=$pageTitles?></h1>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
    </section>

     <!--Breadcrumb-->
    <div class="inner_breadcrumb hidden_xs">
        <div class="container">
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                    <ul class="breadcrumb">
                        <li><a href="<?=site_url;?>" title="Home">Home</a></li>
                        <?php if($num4 > 0) {?>
                        <li><a href="<?=site_url;?>/<?=getValidFileName($cat_res4['catName']);?>.htm" title="<?php echo $cat_res4['catName']; ?> "><?php echo $cat_res4['catName']; ?></a>
                        </li>
                        <?php } ?>
                        <?php if($num3 > 0) {?>
                        <li><a href="<?=site_url;?>/<?=getValidFileName($cat_res3['catName']);?>.htm" title="<?php echo $cat_res3['catName']; ?>"><?php echo $cat_res3['catName']; ?></a></li>
                        <?php } ?>
                        <?php if($num2 > 0) {?>
                        <li><a href="<?=site_url;?>/<?=getValidFileName($cat_res2['catName']);?>.htm" title="<?php echo $cat_res2['catName']; ?>"><?php echo $cat_res2['catName']; ?></a></li>
                        <?php } ?>
                        <li class="active"><?php echo $cat_res['catName'];?></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>

    <?php
if($cat_res['parentID'] == '0')
{?>
    <!-- Home About-->
    <section class="category_page">
        <div class="container">
            <div class="row">
                <?php //include "app_sidebar.php"; ?>
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                    <div class="right_side">
                        <h2 class="title_h2"><?=$heading2;?> in Delhi </h2>
                        <div class="wps_right">
                            <div class="product_right_image">
                                <a href="javascript:void(0);" data-bs-toggle="modal" data-bs-target="#productID" onclick="$('#catID').val('<?php echo $cat_res['catID']; ?>');
                                 $('#catName').val('<?php echo $cat_res['catName']; ?>');$('.catImg').attr('alt','<?php echo $cat_res['catName']; ?> in Delhi');$('.catImg').attr('title','<?php echo $cat_res['catName']; ?> in Delhi');
                                 $('.catName').html('<?php echo $cat_res['catName']; ?>');  $('.catImg').attr('src','<?= getImage($cat_res['catImage'], 400, 400, $cat_res['catName'], "/uploaded-files/category/images/");?>');">
                                    <div class="detail_image">
                                        <img class="img-responsive" src="<?= getImage($cat_res['catImage'], 400, 400, $cat_res['catName'], "/uploaded-files/category/images/");?>" alt="Juice Bottling Plant Manufacturers in Delhi" title="Juice Bottling Plant Manufacturers in Delhi">
                                    </div>
                                    <span class="read_more_btn_2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                                            <path d="M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555ZM0 4.697v7.104l5.803-3.558L0 4.697ZM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757Zm3.436-.586L16 11.801V4.697l-5.803 3.546Z"></path>
                                        </svg> Get Best Quote</span>
                                </a>
                            </div>
                            <?=html_entity_decode($cat_res['catDesc1']);?>

                            <!--product listing  -->
                            <?php
                                $product_s="select * from product_tbl where product_cat='$cat_res[catID]' || prodcut_subcat='$cat_res[catID]'";
                                $product_q=mysqli_query($dbconn,$product_s);
                                $num=mysqli_num_rows($product_q);
                                if($num > 0)
                                {
                                       ?>
                            <div class="you_may">All <?=$cat_res['catName'];?> Product Range</div>
                            <?php $pnum=1;
                                    while($product_r=mysqli_fetch_array($product_q)) {
                             $image_array = explode(',', $product_r['product_image']);
                            ?>
                            <div class="product_listing">
                                <div class="row">
                                    <div class="col-xxl-5 col-xl-5 col-lg-5 col-md-5 col-sm-5 col-12">
                                        <div class="product">
                                            <?php if($product_r['product_image']!=null) { ?>
                                            <div class="single_image">
                                                <a class="largeImage" id="bigImage<?=$pnum?>" href="javascript:void(0);" data-bs-toggle="modal" data-bs-target="#productID" title="<?=$product_r[product_title]?> in Delhi" onclick="$('#catID').val('<?php echo $product_r['catID']; ?>');
                                 $('#catName').val('<?php echo $product_r['product_title']; ?>');$('.catImg').attr('alt','<?php echo $product_r[product_title]; ?> Manufacturers and Exporters in Delhi');$('.catImg').attr('title','<?php echo $product_r[product_title]; ?> Manufacturers and Exporters in Delhi');
                                 $('.catName').html('<?php echo $product_r['product_title']; ?>');  $('.catImg').attr('src','<?=site_url;?>/uploaded-files/product-images/<?php echo ($image_array[0]);?>');">
                                                    <img src="<?=site_url?>/uploaded-files/product-images/<?=$image_array[0]?>" alt="<?=$product_r[product_title]?> Manufacturers and Exporters in Delhi" title="<?=$product_r[product_title]?> Manufacturers and Exportres in Delhi" />
                                                </a>
                                            </div>
                                            <div id="small<?=$pnum?>" class="small">
                                                <?php
                            $image_array = explode(',', $product_r['product_image']);
                                 $i=1;
                               foreach($image_array as $image){
                           $product_img = getImage($image, 340, 340, $product_r[product_title].$i ,"/uploaded-files/product-images/");
                                   ?>
                                                <img class="item <?php if($i=="1"){ echo "active";}?>" src="<?=$product_img?>" alt="<?=$product_r[product_title]?> Manufacturers and Exporters in Delhi" title="<?=$product_r[product_title]?> Manufacturers and Exporters in Delhi" />
                                                <?php $i++;  }  ?>
                                                <?php if($product_r[product_video]){?>

                                                <div class="item youtube">
                                                    <a data-fancybox href="https://www.youtube.com/watch?v=<?=$product_r[product_video]?>">
                                                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                                                            <path d="m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z" />
                                                        </svg></a>
                                                </div>

                                                <?php }?>

                                            </div>
                                            <?php } ?>
                                        </div>
                                    </div>

                                    <div class="col-xxl-7 col-xl-7 col-lg-7 col-md-7 col-sm-7 col-12">
                                        <div class="right-content">
                                            <h4><a href="javascript:void(0);" title="<?=$product_r[product_title]?> in Delhi"><?=$product_r[product_title]?></a></h4>
                                            <div class="blue-line1"></div>
                                            <div class="more_info">
                                                <?=$product_r['product_specfi']?>
                                            </div>

                                            <div class="clearfix"></div>
                                            <a class="read_more_btn_2" href="javascript:void(0);" data-bs-toggle="modal" data-bs-target="#productID" title="Get Best Quote" onclick="$('#catID').val('<?php echo $product_r['catID']; ?>');
                                 $('#catName').val('<?php echo $product_r['product_title']; ?>');$('.catImg').attr('alt','<?php echo $product_r['product_title']; ?> Manufacturers and Exporters in Delhi');$('.catImg').attr('title','<?php echo $product_r['product_title']; ?> Manufacturers and Exporters in Delhi');
                                 $('.catName').html('<?php echo $product_r['product_title']; ?>');  $('.catImg').attr('src','<?=site_url;?>/uploaded-files/product-images/<?php echo ($image_array[0]);?>');"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                                                    <path d="M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555ZM0 4.697v7.104l5.803-3.558L0 4.697ZM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757Zm3.436-.586L16 11.801V4.697l-5.803 3.546Z" />
                                                </svg> Get Best Quote</a>
                                            <a href="javascript:void(0);" data-bs-toggle="modal" data-bs-target="#callback" class="read_more_btn_2 callback" onclick="$('#catID').val('<?php echo $product_r['catID']; ?>');
                                 $('#catName').val('<?php echo $product_r['product_title']; ?>');$('.catImg').attr('alt','<?php echo $product_r['product_title']; ?> Manufacturers and Exporters in Delhi');$('.catImg').attr('title','<?php echo $product_r['product_title']; ?> Manufacturers and Exporters in Delhi');
                                 $('.catName').html('<?php echo $product_r['product_title']; ?>');  $('.catImg').attr('src','<?=site_url;?>/uploaded-files/product-images/<?php echo ($image_array[0]);?>');" title="Request A Callback">
                                                <svg fill="currentColor" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                                                    <g data-name="Layer 2">
                                                        <g data-name="phone-call">
                                                            <rect width="24" height="24" opacity="0" />
                                                            <path d="M13 8a3 3 0 0 1 3 3 1 1 0 0 0 2 0 5 5 0 0 0-5-5 1 1 0 0 0 0 2z" />
                                                            <path d="M13 4a7 7 0 0 1 7 7 1 1 0 0 0 2 0 9 9 0 0 0-9-9 1 1 0 0 0 0 2z" />
                                                            <path d="M21.75 15.91a1 1 0 0 0-.72-.65l-6-1.37a1 1 0 0 0-.92.26c-.14.13-.15.14-.8 1.38a9.91 9.91 0 0 1-4.87-4.89C9.71 10 9.72 10 9.85 9.85a1 1 0 0 0 .26-.92L8.74 3a1 1 0 0 0-.65-.72 3.79 3.79 0 0 0-.72-.18A3.94 3.94 0 0 0 6.6 2 4.6 4.6 0 0 0 2 6.6 15.42 15.42 0 0 0 17.4 22a4.6 4.6 0 0 0 4.6-4.6 4.77 4.77 0 0 0-.06-.76 4.34 4.34 0 0 0-.19-.73zM17.4 20A13.41 13.41 0 0 1 4 6.6 2.61 2.61 0 0 1 6.6 4h.33L8 8.64l-.54.28c-.86.45-1.54.81-1.18 1.59a11.85 11.85 0 0 0 7.18 7.21c.84.34 1.17-.29 1.62-1.16l.29-.55L20 17.07v.33a2.61 2.61 0 0 1-2.6 2.6z" />
                                                        </g>
                                                    </g>
                                                </svg> Request A Callback</a>
                                        </div>
                                    </div>
                                </div>
                            </div>


                            <?php $pnum++; } }?>
                            <!--product listing  -->

                            <?php
$related_s = "select * from category_tbl where parentID='$cat_res[catID]' and status='Y' order by catOrder";
$related_q = mysqli_query($dbconn,$related_s);
if(mysqli_num_rows($related_q)){
 ?>
                            <div class="you_may">You May Also Like:</div>
                            <?php
    while($related_res=mysqli_fetch_array($related_q)) {
         $img = getImage($related_res[catImage], 300, 300, $related_res[catName],"/uploaded-files/category/images/");
                ?>
                            <div class="product_listing">
                                <div class="row">
                                    <div class="col-xxl-5 col-xl-5 col-lg-5 col-md-5 col-sm-5 col-12">
                                        <div class="product">
                                            <a href="<?=site_url;?>/<?=getValidFileName($related_res['catName']);?>.htm" title="<?=$related_res[catName]?> in Delhi">
                                                <div class="image1">
                                                    <img src="<?=$img?>" alt="<?=$related_res[catName]?> Manufacturers in Delhi" title="<?=$related_res[catName]?> Manufacturers in Delhi">
                                                </div>
                                            </a>

                                            <a class="read_more_btn_2" href="javascript:void(0);" data-bs-toggle="modal" data-bs-target="#productID" title="Get Best Quote" onclick="$('#catID').val('<?php echo $related_res['catID']; ?>');
                                 $('#catName').val('<?php echo $related_res['catName']; ?>');$('.catImg').attr('alt','<?php echo $related_res['catName']; ?> Manufacturers in Delhi');$('.catImg').attr('title','<?php echo $related_res['catName']; ?> Manufacturers in Delhi');
                                 $('.catName').html('<?php echo $related_res['catName']; ?>');  $('.catImg').attr('src','<?=site_url;?>/uploaded-files/category/images/<?php echo ($related_res['catImage']);?>');"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                                                    <path d="M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555ZM0 4.697v7.104l5.803-3.558L0 4.697ZM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757Zm3.436-.586L16 11.801V4.697l-5.803 3.546Z" />
                                                </svg> Get Best Quote</a>
                                        </div>
                                    </div>
                                    <div class="col-xxl-7 col-xl-7 col-lg-7 col-md-7 col-sm-7 col-12">
                                        <div class="right-content">
                                            <h4><a href="<?=site_url;?>/<?=getValidFileName($related_res['catName']);?>.htm" title="<?=$related_res[catName]?> Manufacturers in Delhi"><?=$related_res['catName']?></a></h4>
                                            <div class="blue-line1"></div>
                                            <div class="more_info">
                                                <p><?=html_entity_decode($related_res['catDesc']);?></p>
                                                <br>
                                            </div>

                                            <div class="clearfix"></div>
                                            <a href="<?=site_url;?>/<?=getValidFileName($related_res['catName']);?>.htm" class="read_more_btn_2" title="Read More">Read More</a>

                                        </div>
                                    </div>
                                </div>
                            </div>
                            <?php  } } ?>

                        </div>
                    </div>
                </div>


            </div>
        </div>
    </section>
    <?php  } else { ?>

    <section class="category_page">
        <div class="container">
            <div class="row">
                <?php //include "app_sidebar.php"; ?>
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                    <div class="right_side">
                        <h2 class="title_h2"><?=$heading2;?> in Delhi</h2>
                        <div class="wps_right">
                            <div class="product_right_image">
                                <a href="javascript:void(0);" data-bs-toggle="modal" data-bs-target="#productID" onclick="$('#catID').val('<?php echo $cat_res['catID']; ?>');
                                 $('#catName').val('<?php echo $cat_res['catName']; ?>');$('.catImg').attr('alt','<?php echo $cat_res['catName']; ?> Manufacturers in Delhi');$('.catImg').attr('title','<?php echo $cat_res['catName']; ?> Manufacturers in Delhi');
                                 $('.catName').html('<?php echo $cat_res['catName']; ?>');  $('.catImg').attr('src','<?= getImage($cat_res['catImage'], 400, 400, $cat_res['catName'], "/uploaded-files/category/images/");?>');">
                                    <div class="detail_image">
                                        <img class="img-responsive" src="<?= getImage($cat_res['catImage'], 400, 400, $cat_res['catName'], "/uploaded-files/category/images/");?>" alt="<?=$cat_res['catName']?> Manufacturers in Delhi" title="<?=$cat_res['catName']?> Manufacturers in Delhi">
                                    </div>
                                    <span class="read_more_btn_2"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                                            <path d="M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555ZM0 4.697v7.104l5.803-3.558L0 4.697ZM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757Zm3.436-.586L16 11.801V4.697l-5.803 3.546Z"></path>
                                        </svg> Get Best Quote</span>
                                </a>

                            </div>
                            <?=html_entity_decode($cat_res['catDesc1']);?>
                            <?=html_entity_decode($cat_res['pageDescription1']);?>


                            <!--product listing  -->
                            <?php
                                $product_s="select * from product_tbl where product_cat='$cat_res[catID]' || prodcut_subcat='$cat_res[catID]'";
                                $product_q=mysqli_query($dbconn,$product_s);
                                $num=mysqli_num_rows($product_q);
                                if($num > 0)
                                {
                                       ?>
                            <div class="you_may">All <?=$cat_res['catName'];?> Product Range</div>

                            <?php $pnum=1;
                                    while($product_r=mysqli_fetch_array($product_q)) {
                             $image_array = explode(',', $product_r['product_image']);
                            ?>
                            <div class="product_listing">
                                <div class="row">
                                    <div class="col-xxl-5 col-xl-5 col-lg-5 col-md-5 col-sm-5 col-12">
                                        <div class="product">
                                            <?php if($product_r['product_image']!=null) { ?>
                                            <div class="single_image">
                                                <a class="largeImage" id="bigImage<?=$pnum?>" href="javascript:void(0);" data-bs-toggle="modal" data-bs-target="#productID" title="<?=$product_r[product_title]?> in Delhi" onclick="$('#catID').val('<?php echo $product_r['catID']; ?>');
                                 $('#catName').val('<?php echo $product_r['product_title']; ?>');$('.catImg').attr('alt','<?php echo $product_r['product_title']; ?> Manufacturers and Exporters in Delhi');$('.catImg').attr('title','<?php echo $product_r['product_title']; ?> Manufacturers and Exporters in Delhi');
                                 $('.catName').html('<?php echo $product_r['product_title']; ?>');  $('.catImg').attr('src','<?=site_url;?>/uploaded-files/product-images/<?php echo ($image_array[0]);?>');">
                                                    <img src="<?=site_url?>/uploaded-files/product-images/<?=$image_array[0]?>" alt="<?=$product_r[product_title]?> Manufacturers and Exporters in Delhi" title="<?=$product_r[product_title]?> Manufacturers and Exporters in Delhi" />
                                                </a>
                                            </div>
                                            <div id="small<?=$pnum?>" class="small">
                                                <?php
                            $image_array = explode(',', $product_r['product_image']);
                                 $i=1;
                               foreach($image_array as $image){
                           $product_img = getImage($image, 340, 340, $product_r[product_title].$i ,"/uploaded-files/product-images/");
                                   ?>
                                                <img class="item <?php if($i=="1"){ echo "active";}?>" src="<?=$product_img?>" alt="<?=$product_r[product_title]?> Manufacturers and Exporters in Delhi" title="<?=$product_r[product_title]?> Manufacturers and Exporters in Delhi" />
                                                <?php $i++;  }  ?>
                                                <?php if($product_r[product_video]){?>

                                                <div class="item youtube">
                                                    <a data-fancybox href="https://www.youtube.com/watch?v=<?=$product_r[product_video]?>">
                                                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                                                            <path d="m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z" />
                                                        </svg></a>
                                                </div>

                                                <?php }?>

                                            </div>
                                            <?php } ?>
                                        </div>
                                    </div>

                                    <div class="col-xxl-7 col-xl-7 col-lg-7 col-md-7 col-sm-7 col-12">
                                        <div class="right-content">
                                            <h4><a href="javascript:void(0);" title="<?=$product_r[product_title]?> Manufacturers and Exporters in Delhi"><?=$product_r[product_title]?></a></h4>
                                            <div class="blue-line1"></div>
                                            <div class="more_info">
                                                <?=$product_r['product_specfi']?>
                                            </div>

                                            <div class="clearfix"></div>
                                            <a class="read_more_btn_2" href="javascript:void(0);" data-bs-toggle="modal" data-bs-target="#productID" title="Get Best Quote" onclick="$('#catID').val('<?php echo $product_r['catID']; ?>');
                                 $('#catName').val('<?php echo $product_r['product_title']; ?>');$('.catImg').attr('alt','<?php echo $product_r['product_title']; ?> Manufacturers and Exporters in Delhi');$('.catImg').attr('title','<?php echo $product_r['product_title']; ?> Manufacturers and Exporters in Delhi');
                                 $('.catName').html('<?php echo $product_r['product_title']; ?>');  $('.catImg').attr('src','<?=site_url;?>/uploaded-files/product-images/<?php echo ($image_array[0]);?>');"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                                                    <path d="M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555ZM0 4.697v7.104l5.803-3.558L0 4.697ZM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757Zm3.436-.586L16 11.801V4.697l-5.803 3.546Z" />
                                                </svg> Get Best Quote</a>
                                            <a href="javascript:void(0);" data-bs-toggle="modal" data-bs-target="#callback" class="read_more_btn_2 callback" onclick="$('#catID').val('<?php echo $product_r['catID']; ?>');
                                 $('#catName').val('<?php echo $product_r['product_title']; ?>');$('.catImg').attr('alt','<?php echo $product_r['product_title']; ?> Manufacturers and Exporters in Delhi');$('.catImg').attr('title','<?php echo $product_r['product_title']; ?> Manufacturers and Exporters in Delhi');
                                 $('.catName').html('<?php echo $product_r['product_title']; ?>');  $('.catImg').attr('src','<?=site_url;?>/uploaded-files/product-images/<?php echo ($image_array[0]);?>');" title="Request A Callback">
                                                <svg fill="currentColor" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                                                    <g data-name="Layer 2">
                                                        <g data-name="phone-call">
                                                            <rect width="24" height="24" opacity="0" />
                                                            <path d="M13 8a3 3 0 0 1 3 3 1 1 0 0 0 2 0 5 5 0 0 0-5-5 1 1 0 0 0 0 2z" />
                                                            <path d="M13 4a7 7 0 0 1 7 7 1 1 0 0 0 2 0 9 9 0 0 0-9-9 1 1 0 0 0 0 2z" />
                                                            <path d="M21.75 15.91a1 1 0 0 0-.72-.65l-6-1.37a1 1 0 0 0-.92.26c-.14.13-.15.14-.8 1.38a9.91 9.91 0 0 1-4.87-4.89C9.71 10 9.72 10 9.85 9.85a1 1 0 0 0 .26-.92L8.74 3a1 1 0 0 0-.65-.72 3.79 3.79 0 0 0-.72-.18A3.94 3.94 0 0 0 6.6 2 4.6 4.6 0 0 0 2 6.6 15.42 15.42 0 0 0 17.4 22a4.6 4.6 0 0 0 4.6-4.6 4.77 4.77 0 0 0-.06-.76 4.34 4.34 0 0 0-.19-.73zM17.4 20A13.41 13.41 0 0 1 4 6.6 2.61 2.61 0 0 1 6.6 4h.33L8 8.64l-.54.28c-.86.45-1.54.81-1.18 1.59a11.85 11.85 0 0 0 7.18 7.21c.84.34 1.17-.29 1.62-1.16l.29-.55L20 17.07v.33a2.61 2.61 0 0 1-2.6 2.6z" />
                                                        </g>
                                                    </g>
                                                </svg> Request A Callback</a>
                                        </div>
                                    </div>
                                </div>
                            </div>


                            <?php $pnum++; } }?>
                            <!--product listing  -->

                            <?php
$related_s = "select * from category_tbl where parentID='$cat_res[catID]' and status='Y' order by catOrder";
$related_q = mysqli_query($dbconn,$related_s);
if(mysqli_num_rows($related_q)){
 ?>
                            <div class="you_may">You May Also Like:</div>
                            <?php
    while($related_res=mysqli_fetch_array($related_q)) {
         $img = getImage($related_res[catImage], 300, 300, $related_res[catName],"/uploaded-files/category/images/");
                ?>
                            <div class="product_listing">
                                <div class="row">
                                    <div class="col-xxl-5 col-xl-5 col-lg-5 col-md-5 col-sm-5 col-12">
                                        <div class="product">
                                            <a href="<?=site_url;?>/<?=getValidFileName($related_res['catName']);?>.htm" title="<?=$related_res[catName]?> in Delhi">
                                                <div class="image1">
                                                    <img src="<?=$img?>" alt="<?=$related_res[catName]?> Manufacturers in Delhi" title="<?=$related_res[catName]?> Manufcaturers in Delhi">
                                                </div>
                                            </a>

                                            <a class="read_more_btn_2" href="javascript:void(0);" data-bs-toggle="modal" data-bs-target="#productID" title="Get Best Quote" onclick="$('#catID').val('<?php echo $related_res['catID']; ?>');
                                 $('#catName').val('<?php echo $related_res['catName']; ?>');$('.catImg').attr('alt','<?php echo $related_res['catName']; ?> Manufcaturers in Delhi');$('.catImg').attr('title','<?php echo $related_res['catName']; ?> Manufcaturers in Delhi');
                                 $('.catName').html('<?php echo $related_res['catName']; ?>');  $('.catImg').attr('src','<?=site_url;?>/uploaded-files/category/images/<?php echo ($related_res['catImage']);?>');"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                                                    <path d="M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555ZM0 4.697v7.104l5.803-3.558L0 4.697ZM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757Zm3.436-.586L16 11.801V4.697l-5.803 3.546Z" />
                                                </svg> Get Best Quote</a>
                                        </div>
                                    </div>
                                    <div class="col-xxl-7 col-xl-7 col-lg-7 col-md-7 col-sm-7 col-12">
                                        <div class="right-content">
                                            <h4><a href="<?=site_url;?>/<?=getValidFileName($related_res['catName']);?>.htm" title="<?=$related_res[catName]?> in Delhi"><?=$related_res['catName']?></a></h4>
                                            <div class="blue-line1"></div>
                                            <div class="more_info">
                                                <p><?=html_entity_decode($related_res['catDesc']);?></p>
                                                <br>

                                            </div>

                                            <div class="clearfix"></div>
                                            <a href="<?=site_url;?>/<?=getValidFileName($related_res['catName']);?>.htm" class="read_more_btn_2" title="Read More">Read More</a>

                                        </div>
                                    </div>
                                </div>
                            </div>
                            <?php  } } else { ?>

                            <div class="you_may">You May Also Like:</div>
                            <?php
$related_sql = "select * from category_tbl where parentID='$cat_res[parentID]' and catID!='$cat_res[catID]' and status='Y' order by catOrder";
$related_sub_q = mysqli_query($dbconn,$related_sql);
 while($related_ress=mysqli_fetch_array($related_sub_q)) {
$img = getImage($related_ress[catImage], 300, 300, $related_ress[catName],"/uploaded-files/category/images/");
                ?>

                            <div class="product_listing">
                                <div class="row">
                                    <div class="col-xxl-5 col-xl-5 col-lg-5 col-md-5 col-sm-5 col-12">
                                        <div class="product">
                                            <a href="<?=site_url;?>/<?=getValidFileName($related_ress['catName']);?>.htm" title="<?=$related_ress[catName]?> in Delhi">
                                                <div class="image1">
                                                    <img src="<?=$img?>" alt="<?=$related_ress[catName]?> Manufacturers in Delhi" title="<?=$related_ress[catName]?> Manufacturers in Delhi">
                                                </div>
                                            </a>

                                            <a class="read_more_btn_2" href="javascript:void(0);" data-bs-toggle="modal" data-bs-target="#productID" title="Get Best Quote" onclick="$('#catID').val('<?php echo $related_ress['catID']; ?>');
                                 $('#catName').val('<?php echo $related_ress['catName']; ?>');$('.catImg').attr('alt','<?php echo $related_ress['catName']; ?> Manufacturers in Delhi');$('.catImg').attr('title','<?php echo $related_ress['catName']; ?> Manufacturers in Delhi');
                                 $('.catName').html('<?php echo $related_ress['catName']; ?>');  $('.catImg').attr('src','<?=site_url;?>/uploaded-files/category/images/<?php echo ($related_ress['catImage']);?>');"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                                                    <path d="M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555ZM0 4.697v7.104l5.803-3.558L0 4.697ZM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757Zm3.436-.586L16 11.801V4.697l-5.803 3.546Z" />
                                                </svg> Get Best Quote</a>
                                        </div>
                                    </div>
                                    <div class="col-xxl-7 col-xl-7 col-lg-7 col-md-7 col-sm-7 col-12">
                                        <div class="right-content">
                                            <h4><a href="<?=site_url;?>/<?=getValidFileName($related_ress['catName']);?>.htm" title="<?=$related_ress[catName]?> in Delhi"><?=$related_ress['catName']?></a></h4>
                                            <div class="blue-line1"></div>
                                            <div class="more_info">
                                                <p><?=html_entity_decode($related_ress['catDesc']);?></p>
                                                <br>
                                            </div>
                                            <div class="clearfix"></div>
                                            <a href="<?=site_url;?>/<?=getValidFileName($related_ress['catName']);?>.htm" class="read_more_btn_2" title="Read More">Read More</a>

                                        </div>
                                    </div>
                                </div>
                            </div>

                            <?php } } ?>

                        </div>
                    </div>
                </div>


            </div>
        </div>
    </section>

    <?php } ?>


    <?php $faq_query=mysqli_query($dbconn,'select * from faq_tbl order by slno asc');
    if(mysqli_num_rows($faq_query)>0) { ?>
    <div class="faq_section">
        <div class="container">
            <h3 class="title_2">FAQs</h3>
            <div class="clearfix"></div>

            <div class="accordion" id="accordionExample">
                <?php  $i=1;
                    while($faq = mysqli_fetch_array($faq_query)){ ?>
                <div class="accordion-item wow fadeInLeft" data-wow-delay=".<?=$i+1;?>s">
                    <h4 class="accordion-header" id="heading_<?=$i;?>">
                        <a class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#faq_<?=$i;?>" aria-expanded="true" aria-controls="collapseOne"><?=$faq['question']?>
                        </a>
                    </h4>
                    <div id="faq_<?=$i;?>" class="accordion-collapse collapse <?php if($i=='1'){ echo "show";}?>" aria-labelledby="heading_<?=$i;?>" data-bs-parent="#accordionExample">
                        <div class="accordion-body">
                            <?=$faq['answer']?>
                        </div>
                    </div>
                </div>
                <?php $i++; } ?>
            </div>



        </div>

    </div>
    <?php } ?>

    <?php include "app_footer.php";?>
    <?php include "app_bottom.php";?>
</body>
<script>
    <?php  for($i=1;$i<=$pnum;$i++){
    ?>
    $('#small<?=$i?> .item').click(function() {
        $('#bigImage<?=$i?> img').attr('src', $(this).attr('src').replace('thumb', 'thumb'));
        if ($(this).hasClass("active")) {
            $("#small<?=$i?> .item").removeClass("active");
        } else {
            $("#small<?=$i?> .item").removeClass("active");
            $(this).addClass("active");
        }
    });
    <?php
} ?>

</script>

</html>
 <?php
}
else
{
 header("Location: ".site_url);
    exit;
}
?>