<?php
include_once("include/main.inc.php");
$homepage = mysqli_query($dbconn, "select * from static_pages where pageID='3' and status='Y'");
$home_res = mysqli_fetch_array($homepage);
@extract($_REQUEST);
$ca_nam1 = $_REQUEST['cid'];
$ca_nam1 = ucwords(str_replace("-", " ", $cid));

$page_metatitle = str_replace('{location}', $ca_nam1, $home_res['page_metatitle']);
$page_metakey = str_replace('{location}', $ca_nam1, $home_res['page_keyword']);
$page_metadesc = str_replace('{location}', $ca_nam1, $home_res['page_metadesc']);
$query = "Select catID,catName,pageTitle, displayName,catImage,catDesc from category_tbl where catID='5' and status='Y' ORDER BY catOrder";
$sqlTab = mysqli_query($dbconn, $query);
$query_sql = "Select catID,catName,pageTitle, displayName,catImage,catDesc from category_tbl where catID='6' and status='Y' ORDER BY catOrder";
$sqlTab_res = mysqli_query($dbconn, $query_sql);
$hover = 'home';
$blog = mysqli_query($dbconn, "select * from blog_tbl  limit 0,3");
$sql_locas = mysqli_query($dbconn, "select * from location_tbl where locationName='$ca_nam1'");
if (mysqli_num_rows($sql_locas) > 0) {
?>

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

	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">

		<?php if ($page_metatitle != '') {

		?>
			<title><?= $page_metatitle; ?></title>
			<meta name="description" content="<?= $page_metadesc; ?>">
			<meta name="keywords" content="<?= $page_metakey; ?>">
		<?php } else { ?>
			<title><?= $admin_res['companyName']; ?> - Home</title>
			<meta name="description" content="<?= $admin_res['companyName']; ?>">
			<meta name="keywords" content="<?= $admin_res['companyName']; ?>">
		<?php } ?>
		<?php include 'app_top.php'; ?>
	</head>

	<body>
		<?php include 'app_header_sub.php'; ?>
		<div class="home_slider">
			<div id="slider" class="owl-carousel">
				<?php
				$sql_banner = mysqli_query($dbconn, "Select personName,bannerImage from banner_tbl where status='Y' order by bannerorder Asc");
				while ($res_banner = mysqli_fetch_array($sql_banner)) {
				?>
					<div class="slide"> <img src="<?= site_url; ?>/uploaded-files/banner-image/<?= $res_banner['bannerImage']; ?>" alt="<?php echo $res_banner['personName']; ?> in <?= $ca_nam1; ?>" title="<?php echo $res_banner['personName']; ?> Manufacturers in <?= $ca_nam1; ?>">
					</div>
				<?php } ?>

			</div>
			<svg class="path_type_1" preserveAspectRatio="none" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg">
				<path d="M0 0 L70 100 L100.1 0 L100.1 100 L0 100 Z" fill="#fff" stroke="#fff" stroke-width="-1"></path>
				<path d="M0 0 L0 0 L50 100 L100 0 L100 0 Z" fill="transparent"></path>
			</svg>
		</div>
		<div class="w-p-s-home-feture">
			<div class="container">
				<div class="row">
					<div class="col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-3 col-6 wow fadeInDown" data-wow-delay=".1s">
						<div class="wprt-icon-text">
							<div class="icon"> <img src="<?= theme_url; ?>/images/Cost-Effective.png" alt="Cost Effective" title="Cost Effective"> </div>
							<div class="title_01">Cost Effective</div>
						</div>
					</div>
					<div class="col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-3 col-6 wow fadeInDown" data-wow-delay=".2s">
						<div class="wprt-icon-text">
							<div class="icon"> <img src="<?= theme_url; ?>/images/fast-delivery.png" alt="Huge Inventory" title="Huge Inventory"> </div>
							<div class="title_01">Huge Inventory</div>
						</div>
					</div>
					<div class="col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-3 col-6 wow fadeInDown" data-wow-delay=".3s">
						<div class="wprt-icon-text">
							<div class="icon"> <img src="<?= theme_url; ?>/images/Reliability.png" alt="Reliability" title="Reliability"> </div>
							<div class="title_01">Reliability</div>
						</div>
					</div>
					<div class="col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-3 col-6 wow fadeInDown" data-wow-delay=".3s">
						<div class="wprt-icon-text">
							<div class="icon"> <img src="<?= theme_url; ?>/images/on-time.png" alt="On-time delivery" title="On-time delivery"> </div>
							<div class="title_01">On-time delivery</div>
						</div>
					</div>

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

		<section class="service_category">
			<div class="container">
				<div class="row">

					<?php while ($res_cat = mysqli_fetch_array($sqlTab)) { ?>

						<div class="col-xxl-6 col-xl-6 col-lg-6 col-md-6 grid_1 wow fadeInLeft" data-wow-delay=".1s">
							<div class="img-wrap"> <img src="<?= getImage($res_cat['catImage'], 500, 400, $res_cat['catName'], "/uploaded-files/category/images/"); ?>" alt="<?php echo $res_cat['displayName']; ?>" title="<?php echo $res_cat['displayName']; ?> Manufacturers in <?= $ca_nam1; ?>"> </div>
						</div>
						<div class="col-xxl-6 col-xl-6 col-lg-6 col-md-6 grid_1 wow fadeInRight" data-wow-delay=".2s">
							<div class="service_content">
								<div class="center_box">
									<div class="title_3"><a href="<?= site_url; ?>/<?= getValidFileName($ca_nam1); ?>/<?= getValidFileName($res_cat['catName']); ?>.htm" title="<?php echo $res_cat['displayName']; ?> Manufacturers in <?= $ca_nam1; ?>"><?php echo $res_cat['displayName']; ?></a></div>
									<p><?php
										$catIdss = $res_cat['catID'];

										$sql_content = mysqli_query($dbconn, "select * from location_content_tbl where category_id ='$catIdss'");
										$res_content = mysqli_fetch_array($sql_content);

										$subcontent_descc = $res_content['short_description'];
										$subcontent_desccc = str_replace('{location}', $ca_nam1, $subcontent_descc);
										$subcontent_descccc = str_replace('catname', $res_cat['catName'], $subcontent_desccc);
										echo html_entity_decode($subcontent_descccc);
										?></p>
									<a class="facilities_btn" href="<?= site_url; ?>/<?= getValidFileName($ca_nam1); ?>/<?= getValidFileName($res_cat['catName']); ?>.htm" title=" <?php echo $res_cat['displayName']; ?>">View More</a>

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

					<div class="row">
						<?php while ($res_sql = mysqli_fetch_array($sqlTab_res)) { ?>
							<div class="col-xxl-6 col-xl-6 col-lg-6 col-md-6 grid_2 wow fadeInRight" data-wow-delay=".4s">
								<div class="img-wrap"> <img src="<?= getImage($res_sql['catImage'], 500, 400, $res_sql['catName'], "/uploaded-files/category/images/"); ?>" alt="<?php echo $res_sql['displayName']; ?>" title="<?php echo $res_sql['displayName']; ?> Manufacturers in <?= $ca_nam1; ?>"> </div>
							</div>
							<div class="col-xxl-6 col-xl-6 col-lg-6 col-md-6 grid_2 order-xxl-first order-xl-first order-lg-first order-md-first order-sm-last order-last wow fadeInLeft" data-wow-delay=".3s">
								<div class="service_content">
									<div class="center_box">
										<div class="title_3"><a href="<?= site_url; ?>/<?= getValidFileName($ca_nam1); ?>/<?= getValidFileName($res_sql['catName']); ?>.htm" title="<?php echo $res_sql['displayName']; ?> Manufacturers in <?= $ca_nam1; ?>"><?php echo $res_sql['displayName']; ?></a></div>
										<p><?php
											$catIdss = $res_sql['catID'];

											$sql_content = mysqli_query($dbconn, "select * from location_content_tbl where category_id ='$catIdss'");
											$res_content = mysqli_fetch_array($sql_content);

											$subcontent_descc = $res_content['short_description'];
											$subcontent_desccc = str_replace('{location}', $ca_nam1, $subcontent_descc);
											$subcontent_descccc = str_replace('catname', $res_sql['catName'], $subcontent_desccc);
											echo html_entity_decode($subcontent_descccc);
											?></p>
										<a class="facilities_btn" href="<?= site_url; ?>/<?= getValidFileName($ca_nam1); ?>/<?= getValidFileName($res_sql['catName']); ?>.htm" title="<?php echo $res_sql['displayName']; ?>">View More</a>

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



		<section class="home_about-web-pulse">
			<svg class="path_type_1 top" preserveAspectRatio="none" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg">
				<path d="M0 0 L30 100 L100 0 L100 100 L0 100 Z" fill="#fff" stroke="#fff" stroke-width="-1"></path>
				<path d="M0 0 L0 0 L50 100 L100 0 L100 0 Z" fill="rgba(255,255,255,0.0)"></path>
			</svg>
			<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 class="home_about_content wow fadeInDown" data-wow-delay=".1s">
							<h1>Stainless Steel Plates and Sheets Manufacturers in <?= $ca_nam1; ?></h1>

							<?php echo html_entity_decode(str_replace('{location}', $ca_nam1, $home_res['pageDesc'])); ?>


							<a href="<?= site_url; ?>/about.htm" class="read_more_btn" title="More About Us">More About Us</a>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="services-block-six col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12 wow fadeInLeft" data-wow-delay=".3s">
						<div class="inner">
							<div class="icon"><img src="<?= site_url; ?>/designer/images/nature-of-business.png" alt="Nature of Business" title="Nature of Business"></div>
							<div class="title_3">Nature of Business</div>
							<p>Manufacturers, Supplier, Service Provider, Super Stockist</p>
						</div>
					</div>
					<div class="services-block-six col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12 wow fadeInDown" data-wow-delay=".4s">
						<div class="inner">
							<div class="icon"><img src="<?= site_url; ?>/designer/images/year-of-establishment.png" alt="Year of Establishment" title="Year of Establishment"></div>
							<div class="title_3">Year of Establishment</div>
							<p>2014

							</p>
						</div>
					</div>
					<div class="services-block-six col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12 wow fadeInDown" data-wow-delay=".5s">
						<div class="inner">
							<div class="icon"><img src="<?= site_url; ?>/designer/images/Legal-Status-of-Firm.png" alt="Legal Status of Firm" title="Legal Status of Firm"></div>
							<div class="title_3">Legal Status of Firm</div>
							<p>Proprietorship
							</p>
						</div>
					</div>
					<div class="services-block-six col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12 wow fadeInRight" data-wow-delay=".6s">
						<div class="inner">
							<div class="icon"><img src="<?= site_url; ?>/designer/images/gst.png" alt="GST Number" title="GST Number"></div>
							<div class="title_3">GST Number</div>
							<p>27AGIPM5218Q1ZS</p>
						</div>
					</div>
				</div>
			</div>
			<svg class="path_type_1" preserveAspectRatio="none" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg">
				<path d="M0 0 L70 100 L100 0 L100 100 L0 100 Z" fill="#fff" stroke="#fff" stroke-width="-1"></path>
				<path d="M0 -1 L0 0 L50 100 L100 0 L100 -1 Z" fill="rgba(255,255,255,0.0)"></path>
			</svg>
		</section>
		<section class="wps_why_us" data-imgbgsrc="" style="background-image: url(&quot;designer/images/thumb---why-choose-us-bgDGtM-minLOQi.jpg&quot;);">

			<div class="container">

				<div class="products_heading wow fadeInDown" data-wow-delay=".1s">

					<div class="title">Why Choose Us</div>

				</div>



				<div class="row">

					<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">

						<div class="ctpbox">

							<div class="ctpcount">

								<img src="<?= site_url; ?>/designer/images/Excellent-Quality.png" alt="Excellent Quality" title="Excellent Quality">

							</div>

							<div class="texti">

								<p>As a quality-oriented firm, we make sure the quality of the product is up-to-mark before final dispatch. We effort to maintain the sense of trust in the market.</p>

							</div>

							<div class="clear"></div>

						</div>

					</div>
					<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">

						<div class="ctpbox">

							<div class="ctpcount">

								<img src="<?= site_url; ?>/designer/images/Easy-and-Fast-Delivery.png" alt="Easy and Fast Delivery" title="Easy and Fast Delivery">

							</div>

							<div class="texti">

								<p>We are an Authorized Distributor in Stainless Steel Sheets and plates available in many different grades to assist Industry-specific needs.</p>

							</div>

							<div class="clear"></div>

						</div>

					</div>
					<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">

						<div class="ctpbox">

							<div class="ctpcount">

								<img src="<?= site_url; ?>/designer/images/Highly-Accurate-Dimension.png" alt="Highly Accurate Dimension" title="Highly Accurate Dimension">

							</div>

							<div class="texti">

								<p>We are committed to deliver 100% satisfaction with our product and services. As we consider clients as our top-most priority.</p>

							</div>

							<div class="clear"></div>

						</div>

					</div>
					<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">

						<div class="ctpbox">

							<div class="ctpcount">

								<img src="<?= site_url; ?>/designer/images/Reasonable-Pricing.png" alt="Reasonable Pricing" title="Reasonable Pricing">

							</div>

							<div class="texti">

								<p>With a wide distribution network, we have come closer to our clients knowing their needs very well. This let us emerged as a leading supplier and exporter.</p>

							</div>

							<div class="clear"></div>

						</div>

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

		<section class="webpulse-home_blog">
			<div class="container">
				<div class="title">Latest Blogs</div>
				<div class="clearfix"></div>
				<div class="row">
					<?php while ($blog_res = mysqli_fetch_array($blog)) { ?>

						<div class="col-xxl-4 col-xl-4 col-lg-4 col-md-4 col-sm-4 col-12">
							<div class="blog-item">
								<div class="blog__img">
									<a href="<?= site_url; ?>/blog/<?= getValidFileName($blog_res['catName']); ?>.htm" title="<?php echo $blog_res['blogDname']; ?>">
										<img src="<?= getImage($blog_res['catImage'], 416, 300, $blog_res['catName'], "/uploaded-files/blog/images/"); ?>" alt="<?php echo $blog_res['blogDname']; ?>" title="<?php echo $blog_res['blogDname']; ?>">
									</a>
								</div>
								<div class="blog__content">
									<!-- <div class="blog__meta">
                                <span class="blog__meta-date"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"><path d="M10.854 7.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708 0z"/><path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/></svg>  <?php echo $blog_res['blogDate']; ?></span>

                            </div> -->
									<div class="blog__title fw-bold"><a href="<?= site_url; ?>/blog/<?= getValidFileName($blog_res['catName']); ?>.htm" title="<?php echo $blog_res['blogDname']; ?>"> <?php echo $blog_res['blogDname']; ?></a></div>
									<p class="blog__desc"><?php echo html_entity_decode(substr($blog_res['catDesc1'], 0, 188)); ?></p>

									<div class="clearfix"></div>

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


					<?php } ?>

				</div>

			</div>
		</section>
		<?php include 'app_footer_sub.php'; ?>
		<?php include 'app_bottom.php'; ?>
	</body>

	</html>
<?php
} else {
	echo "<script>window.location='https://www.stainlesssteelpipesinindia.com'</script>";
	exit;
}
?>