<?php
include('include/main.inc.php');
$actual_links = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}";
$ex_cat =explode("/",$actual_links);
$cat_url = $ex_cat[4];

$cat_name = explode(".", $cat_url);
$catName = str_ireplace("-", " ", $cat_name[0]);
$catName = ucwords($catName);
$sel_cat_query = "select * from category_tbl where catName ='$catName'";
$res_cat = $dbconn->query($sel_cat_query);
if($res_cat->num_rows > 0){
$cat_details = $res_cat->fetch_assoc();

$web_det_query = "Select * from admin_details where slno = '1'";
$res_web = $dbconn->query($web_det_query);
$web_details = $res_web->fetch_assoc();

$page_metatitle = ($page_metatitle) ? $page_metatitle : $cat_details['keyword1'].' Manufacturers in Mumbai, '.$cat_details['keyword2'].' Suppliers Exporters in India';
$page_metadesc = ($page_metadesc) ? $page_metadesc : $web_details['companyName'].' is the leading '.$cat_details['keyword1'].' Manufacturers in '.$web_details['city'].'. Best Quality '.$cat_details['keyword2'].' Suppliers and Exporters in '.$web_details['country'].' at Factory Price. Call +91-9892701534'; 
$page_metakey = ($page_metakey) ? $page_metakey : $cat_details['keyword1'].' Manufacturers, '.$cat_details['keyword2'].' Manufacturers, '.$cat_details['keyword1'].' Suppliers, '.$cat_details['keyword2'].' Suppliers, '.$cat_details['keyword1'].' Exporters, '.$cat_details['keyword2'].' Exporters, '.$cat_details['keyword1'].', '.$cat_details['keyword2'];

?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title><?= $page_metatitle; ?></title>
    <meta name="description" content="<?= $page_metadesc; ?>" >
    <meta name="keywords" content="<?= $page_metakey; ?>" >
    <?php include "app_top.php"; ?>
</head>
<body>
    <?php include "app_header.php"; ?>

    <section class="pageBanner" style="background-image:url('<?= site_url; ?>/designer/images/product_bg.jpg')">
        <div class="container">
            <div class="pagebannerWrap">
                <h1 class="pagebanner_heading"><?= $cat_details['displayName']; ?></h1>
            </div>
        </div>
    </section>

        <!-- Quote Box -->
    <section class="w-p-s-home-feture">
        <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">
                    <div>
                        <div class="page_breadcrumb">
                            <ul>
                                <li><a href="<?= site_url; ?>" title="Home">Home</a></li>
                                <li>/</li>
                                <li><?= $cat_details['displayName']; ?></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <section class="productSection productSecPage">
        <div class="container">
            <span class="SubHeadeing">-- Our Product --</span>
            <h2 class="sec_title_1"><?= $cat_details['displayName']; ?></h2>
            <div class="row">
                <div class="col-xxl-4 col-xl-4 col-lg-4 col-md-6 col-sm-12 col-12 wow fadeInLeft">
                    <a href="#"><div class="productItem">
                        <div class="productImageBox">
                            <img src="designer/images/product/Stainless-Steel-Sheet.jpg" alt="#" title="#">
                        </div>
                        <div class="productDetails">
                            <div class="productname">Stainless Steel Sheet</div>
                            <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ad, sit?</p>
                            <a href="#" class="read_more1" title="">Read More</a>
                        </div>
                    </div>
                </div>
                <div class="col-xxl-4 col-xl-4 col-lg-4 col-md-6 col-sm-12 col-12 wow fadeInLeft">
                    <a href="#"><div class="productItem">
                        <div class="productImageBox">
                            <img src="designer/images/product/Stainless-Steel-Pipes.jpg" alt="#" title="#">
                        </div>
                        <div class="productDetails">
                            <div class="productname">Stainless Steel Pipes</div>
                            <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ad, sit?</p>
                            <a href="#" class="read_more1" title="">Read More</a>
                        </div>
                    </div></a>
                </div>
                <div class="col-xxl-4 col-xl-4 col-lg-4 col-md-6 col-sm-12 col-12 wow fadeInLeft">
                    <a href="#"><div class="productItem">
                        <div class="productImageBox">
                            <img src="designer/images/product/Stainless-Steel-Tubes.jpg" alt="#" title="#">
                        </div>
                        <div class="productDetails">
                            <div class="productname">Stainless Steel Tubes</div>
                            <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ad, sit?</p>
                            <a href="#" class="read_more1" title="">Read More</a>
                        </div>
                    </div></a>
                </div>
                <div class="col-xxl-4 col-xl-4 col-lg-4 col-md-6 col-sm-12 col-12 wow fadeInLeft">
                    <a href="#"><div class="productItem">
                        <div class="productImageBox">
                            <img src="designer/images/product/Duplex-Materials.jpg" alt="#" title="#">
                        </div>
                        <div class="productDetails">
                            <div class="productname">Duplex Materials</div>
                            <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ad, sit?</p>
                            <a href="#" class="read_more1" title="">Read More</a>
                        </div>
                    </div></a>
                </div>
                <div class="col-xxl-4 col-xl-4 col-lg-4 col-md-6 col-sm-12 col-12 wow fadeInLeft">
                    <a href="#"><div class="productItem">
                        <div class="productImageBox">
                            <img src="designer/images/product/Inconel-Materials.jpg" alt="#" title="#">
                        </div>
                        <div class="productDetails">
                            <div class="productname">Inconel Materials</div>
                            <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ad, sit?</p>
                            <a href="#" class="read_more1" title="">Read More</a>
                        </div>
                    </div></a>
                </div>
                <div class="col-xxl-4 col-xl-4 col-lg-4 col-md-6 col-sm-12 col-12 wow fadeInLeft">
                    <a href="#"><div class="productItem">
                        <div class="productImageBox">
                            <img src="designer/images/product/Titanium-Materials.jpg" alt="#" title="#">
                        </div>
                        <div class="productDetails">
                            <div class="productname">Titanium Materials</div>
                            <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ad, sit?</p>
                            <a href="#" class="read_more1" title="">Read More</a>
                        </div>
                    </div></a>
                </div>
            </div>
        </div>
    </section>
    
    <?php include "app_testimonials.php"; ?>
    <?php include "app_faq.php"; ?>
    <?php include "app_clients.php"; ?>
    <?php include "app_footer.php"; ?>
    <?php include "app_bottom.php"; ?>
</body>
</html>
<?php }else{
    header('location:'.site_url);
} ?>