<?php
include_once('include/main.inc.php');
$hover = "home";
$homepage = mysqli_query($GLOBALS['dbconn'], "select pageDesc,pageDesc1,pageDesc2,pageTitle, pageImage, page_keyword, page_metadesc, page_metatitle, pageBanner,keyword1,keyword2 from static_pages where pageID='1' and status='Y'");
$home_res = mysqli_fetch_array($homepage);
@extract($_REQUEST);
$loc_url = $_REQUEST['cid'];
$sql_locas = mysqli_query($GLOBALS['dbconn'], "select locationID,locationName,loc_url from location_tbl where loc_url='$loc_url' and status='Y'");
$location = mysqli_fetch_array($sql_locas);
$location_id = $location['locationID'];
$locationName = $location['locationName'];
$category_sub_general = mysqli_query($GLOBALS['dbconn'], "select location_ids,meta_title,meta_keyword,meta_description,description,description2,description3,short_description from location_content_tbl where category_id='0' AND location_id='0'");
$content_count = mysqli_num_rows($category_sub_general);
if ($content_count > 0) {
  while ($categorysubdomain = mysqli_fetch_array($category_sub_general)) {
    $locati = explode(",", $categorysubdomain['location_ids']);
    if (in_array($location_id, $locati)) {
      if ($categorysubdomain['meta_title'] != '') {
        $page_metatitle = $categorysubdomain['meta_title'];
      }
      if ($categorysubdomain['meta_keyword'] != '') {
        $page_metakey = $categorysubdomain['meta_keyword'];
      }
      if ($categorysubdomain['meta_description']) {
        $page_metadesc = $categorysubdomain['meta_description'];
      }
      $page_desc = html_entity_decode($categorysubdomain['description']);
      $page_desc1 = html_entity_decode($categorysubdomain['description2']);
      $page_desc2 = html_entity_decode($categorysubdomain['description3']);
    }
  }
  //    specific location content
}
if ($home_res['keyword1'] != '' && $home_res['keyword2'] != '') {
  $m_title = "hotkeyword1 Services in state, Wholesale hotkeyword2 Suppliers, Exporters country";
  $page_metatitle = str_replace('hotkeyword1', $home_res['keyword1'], str_replace('hotkeyword2', $home_res['keyword2'],  str_replace('state', $locationName, str_replace('country', $locationName, $m_title))));
  $m_keyword = "hotkeyword1 Services in state, hotkeyword2 Services in state, hotkeyword1 Suppliers in state, hotkeyword2 Suppliers in state, hotkeyword1 Exporters in state, hotkeyword2 Exporters in state, hotkeyword1, hotkeyword2";
  $page_metakey = str_replace('hotkeyword1', $home_res['keyword1'], str_replace('hotkeyword2', $home_res['keyword2'],  str_replace('state', $locationName, $m_keyword)));
  $m_desc = "companyName leading hotkeyword1 Services in state. Best Quality hotkeyword2 Suppliers and Exporters in country at Factory Price. Call phone";
  $page_metadesc = str_replace('hotkeyword1', $home_res['keyword1'], str_replace('hotkeyword2', $home_res['keyword2'], str_replace('companyName', $admin_res['companyName'], str_replace('phone', $admin_res['mobile_meta'], str_replace('state', $locationName, str_replace('country', $locationName, $m_desc))))));
}
$page_desc = str_replace('countryname', $locationName, $page_desc);
$page_desc = str_replace('{location}', $locationName, $page_desc);
$page_desc = str_replace('catname', $pid, $page_desc);
$page_desc = str_ireplace('{companyName}', $admin_res['companyName'], $page_desc);
$page_desc1 = str_replace('countryname', $locationName, $page_desc1);
$page_desc1 = str_replace('{location}', $locationName, $page_desc1);
$page_desc1 = str_replace('catname', $pid, $page_desc1);
$page_desc1 = str_ireplace('{companyName}', $admin_res['companyName'], $page_desc1);
$page_desc2 = str_replace('countryname', $locationName, $page_desc2);
$page_desc2 = str_replace('{location}', $locationName, $page_desc2);
$page_desc2 = str_replace('catname', $pid, $page_desc2);
$page_desc2 = str_ireplace('{companyName}', $admin_res['companyName'], $page_desc2);
$page_metatitle = str_replace('{location}', $locationName, $page_metatitle);
$page_metakey = str_replace('{location}', $locationName, $page_metakey);
$page_metadesc = str_replace('{location}', $locationName, $page_metadesc);
$home_sub_uncheck_loc = mysqli_query($GLOBALS['dbconn'], "select description,description2,description3,short_description,meta_title,meta_description,meta_keyword from location_content_tbl where category_id='0' AND location_id='0'");
$home_sub_uncheck_res = mysqli_fetch_array($home_sub_uncheck_loc);

$unchk_desc1 = $home_sub_uncheck_res['description2'];
$unchk_desc2 = $home_sub_uncheck_res['description3'];
$page_metatitle1 = $home_sub_uncheck_res['meta_title'];
$page_metakey1 = $home_sub_uncheck_res['meta_keyword'];
$page_metadesc1 = $home_sub_uncheck_res['meta_description'];

$unchk_desc = $home_sub_uncheck_res['description'];
$unchk_desc = str_replace('{location}', $locationName,  $unchk_desc);
$unchk_desc = str_ireplace('{companyName}', $admin_res['companyName'], $unchk_desc);



// description two
$unchk_desc1 = str_replace('{location}', $locationName,  $unchk_desc1);
$unchk_desc1 = str_ireplace('{companyName}', $admin_res['companyName'], $unchk_desc1);
// description three
$unchk_desc1 = str_replace('{location}', $locationName,  $unchk_desc1);
$unchk_desc1 = str_ireplace('{companyName}', $admin_res['companyName'], $unchk_desc1);
$page_metatitle1 = str_replace('{location}', $locationName, $page_metatitle1);
$page_metakey1 = str_replace('{location}', $locationName, $page_metakey1);
$page_metadesc1 = str_replace('{location}', $locationName, $page_metadesc1);
$page_metatitle = ($page_metatitle != '') ? $page_metatitle : $page_metatitle1;
$page_metakey = ($page_metakey != '') ? $page_metakey : $page_metakey1;
$page_metadesc = ($page_metadesc != '') ? $page_metadesc : $page_metadesc1;
if (mysqli_num_rows($sql_locas) > 0) {
} else {
  header("Location: " . site_url);
  exit;
}
$page_metadesc = str_ireplace('{companyName}', $admin_res['companyName'], $page_metadesc);
$page_desc1 = $page_desc1 != '' ? $page_desc1 : $unchk_desc1;
$page_desc = $page_desc != '' ? $page_desc : $unchk_desc;
?>

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

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    
    <?php include "app_top.php"; ?>
</head>

<body>

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

    <div class="home_slider">
        <div id="carouselExampleControls" class="carousel slide carousel-fade" data-bs-ride="carousel">
  <div class="carousel-inner">
    <?php
      $i = 1;
      $sql_banner = mysqli_query($GLOBALS['dbconn'], "Select bannerImage, personName,tagline,slno from banner_tbl where status='Y'");
      while ($res_banner = mysqli_fetch_array($sql_banner)) {
      ?>
    <div class="carousel-item <?= $i == '1' ? 'active' : ''; ?>">
     <img src="<?= site_url; ?>/uploaded-files/banner-image/<?= $res_banner['bannerImage']; ?>" alt="<?= $res_banner['personName']; ?> Manufacturers in <?= $locationName; ?>" title="<?= $res_banner['personName']; ?> Manufacturers in <?= $locationName; ?>" width="1920" height="761">
    </div>
     <?php $i++;
      } ?>
 
  </div>
  <button class="carousel-control-prev button-prev" type="button" data-bs-target="#carouselExampleControls" data-bs-slide="prev">
    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
    <span class="visually-hidden">Previous</span>
  </button>
  <button class="carousel-control-next button-next" type="button" data-bs-target="#carouselExampleControls" data-bs-slide="next">
    <span class="carousel-control-next-icon" aria-hidden="true"></span>
    <span class="visually-hidden">Next</span>
  </button>
</div>
       
    </div>



    <div class="welcomeSection">
        <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="welcomeImg">
                        <div class="row">
                            <div class="col-md-4 mb-20">
                                <div class="pattern bg-img bg-repeat"
                                    style="background-image: url(<?=site_url;?>/designer/images/line-pattern.png);">
                                </div>
                            </div>
                            <div class="col-md-8 wow fadeInUp" data-wow-delay=".3s">
                                <div class="img mb-20 wow imago">
                                    <img src="<?= getImage($home_res['pageImage'], 335, 250, $home_res['pageTitle'], "/uploaded-files/page-images/"); ?>" alt="Carbon Bearings Manufacturers in <?= $locationName; ?>" title="Carbon Bearings Manufacturers in <?= $locationName; ?>">
                                </div>
                            </div>
                            <div class="col-md-7 wow fadeInUp" data-wow-delay=".3s">
                                <div class="img wow imago">
                                    <img src="<?= getImage($home_res['pageBanner'], 290, 220, $home_res['pageTitle'], "/uploaded-files/page-banners/"); ?>" alt="Carbon Bearings Manufacturers in <?= $locationName; ?>" title="Carbon Bearings Manufacturers in <?= $locationName; ?>">
                                </div>
                            </div>
                            <div class="col-md-5">
                                <div class="years-exp">
                                    <div class="exp-text">
                                        <div class="yearNumber">15</div>
                                        <div class="yText">Years of Experience</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <h1 class="title_1 wow fadeInDown" data-wow-delay=".2s">Carbon Bearings Manufacturers in <?= $locationName; ?>
                    </h1>
                    <div class="wow fadeInRight" data-wow-delay=".3s">
                        <?= $page_desc; ?>
                     
                        

                        <a href="<?=site_url;?>/about-us.htm" class="readMore_2" title="View More">View More <span class="btn_caret"><svg
                                    xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
                                    viewBox="0 0 16 16">
                                    <path
                                        d="m12.14 8.753-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z">
                                    </path>
                                </svg></span></a>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="portfolio full-bg">
        <div class="container-fluid">
            <div class="row">
                <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-6 cluom current" data-tab="tab-1" title="Carbon Metal Clad Manufacturers in <?= $locationName; ?>">
                    <div class="info">
                        <div class="portfolioName"><?=$admin_res['companyName'];?> </div>
                        <div class="portfolioTitle"><a href="<?=site_url;?>/<?= getValidFileName($loc_url); ?>/carbon-metal-clad.htm" title="Carbon Metal Clad Manufacturers in <?= $locationName; ?>">Carbon Metal Clad </a></div>
                    </div>
                    <div class="more">
                        <a href="<?=site_url;?>/<?= getValidFileName($loc_url); ?>/carbon-metal-clad.htm" class="readMore_2" title="View More">View More <span class="btn_caret"><svg
                                    xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
                                    viewBox="0 0 16 16">
                                    <path
                                        d="m12.14 8.753-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z">
                                    </path>
                                </svg></span></a>
                    </div>
                </div>
                <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-6 cluom" data-tab="tab-2"  title="Ceramic Seal Rings Manufacturers in <?= $locationName; ?>">
                    <div class="info">
                        <div class="portfolioName"><?=$admin_res['companyName'];?>  </div>
                        <div class="portfolioTitle"><a href="<?=site_url;?>/<?= getValidFileName($loc_url); ?>/ceramic-seal-rings.htm" title="Ceramic Seal Rings Manufacturers in <?= $locationName; ?>">Ceramic Seal Rings </a></div>
                    </div>
                    <div class="more">
                        <a href="<?=site_url;?>/<?= getValidFileName($loc_url); ?>/ceramic-seal-rings.htm" class="readMore_2" title="View More">View More <span class="btn_caret"><svg
                                    xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
                                    viewBox="0 0 16 16">
                                    <path
                                        d="m12.14 8.753-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z">
                                    </path>
                                </svg></span></a>
                    </div>
                </div>
                <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-6 cluom" data-tab="tab-3"  title="Silicon Carbide Bush Manufacturers in <?= $locationName; ?>">
                    <div class="info">
                        <div class="portfolioName"><?=$admin_res['companyName'];?>  </div>
                        <div class="portfolioTitle"><a href="<?=site_url;?>/<?= getValidFileName($loc_url); ?>/silicon-carbide-bush.htm" title="Silicon Carbide Bush Manufacturers in <?= $locationName; ?>">Silicon Carbide Bush </a></div>
                    </div>
                    <div class="more">
                        <a href="<?=site_url;?>/<?= getValidFileName($loc_url); ?>/silicon-carbide-bush.htm" class="readMore_2" title="View More">View More <span class="btn_caret"><svg
                                    xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
                                    viewBox="0 0 16 16">
                                    <path
                                        d="m12.14 8.753-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z">
                                    </path>
                                </svg></span></a>
                    </div>
                </div>
                <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-6 cluom" data-tab="tab-4"  title="Tungsten Carbide Bush Manufacturers in <?= $locationName; ?>">
                    <div class="info">
                        <div class="portfolioName"><?=$admin_res['companyName'];?>  </div>
                        <div class="portfolioTitle"><a href="<?=site_url;?>/<?= getValidFileName($loc_url); ?>/tungsten-carbide-bush.htm" title="Tungsten Carbide Bush Manufacturers in <?= $locationName; ?>">Tungsten Carbide Bush </a></div>
                    </div>
                    <div class="more">
                        <a href="<?=site_url;?>/<?= getValidFileName($loc_url); ?>/tungsten-carbide-bush.htm" class="readMore_2" title="View More">View More <span class="btn_caret"><svg
                                    xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
                                    viewBox="0 0 16 16">
                                    <path
                                        d="m12.14 8.753-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z">
                                    </path>
                                </svg></span></a>
                    </div>
                </div>
            </div>
        </div>
        <div class="glry-img">
            <div id="tab-1" class="bg-img tab-img current" data-background="<?=site_url;?>/designer/images/smallbanner2.webp"
                data-overlay-dark="2"></div>
            <div id="tab-2" class="bg-img tab-img" data-background="<?=site_url;?>/designer/images/smallbanner1.webp"
                data-overlay-dark="2"></div>
            <div id="tab-3" class="bg-img tab-img" data-background="<?=site_url;?>/designer/images/smallbanner3.webp"
                data-overlay-dark="2"></div>
            <div id="tab-4" class="bg-img tab-img" data-background="<?=site_url;?>/designer/images/smallbanner4.webp"
                data-overlay-dark="2"></div>
        </div>
    </div>


    <div class="services_feature">
        <div class="container">
            <div class="w-75 mx-auto text-center">
                <div class="h2_title_1 wow fadeInDown" data-wow-delay=".1s">Our Expertise</div>
                <p>
                  Our expertise lies in being a leading manufacturer of high-performance carbon and ceramic components. We deliver quality products built on advanced technology and precision techniques. With a client-oriented approach at our core, we ensure every solution meets exacting standards and specific needsdriven by innovation, refined through experience, and focused on long-term partnerships that deliver results.
                </p>
            </div>
            <div class="row">

                <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-6 col-sm-6 col-6 item-bx wow fadeInDown"
                    data-wow-delay=".2s">
                    <img src="<?=site_url;?>/designer/images/industrial.png" alt="Leading Manufacturer" title="Leading Manufacturer">
                    <div class="titleH4">Leading Manufacturer</div>
                    <p> Innovating with precision, quality, and client-focused solutions.</p>
                </div>

                <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-6 col-sm-6 col-6 item-bx wow fadeInDown"
                    data-wow-delay=".3s">
                    <img src="<?=site_url;?>/designer/images/quality-2.png" alt="Quality Products" title="Quality Products">
                    <div class="titleH4">Quality Products</div>
                    <p> Precision-crafted carbon solutions delivering unmatched quality.</p>
                </div>

                <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-6 col-sm-6 col-6 item-bx wow fadeInDown"
                    data-wow-delay=".4s">
                    <img src="<?=site_url;?>/designer/images/client-oriented.png" alt="Client Oriented" title="Client Oriented">
                    <div class="titleH4">Client Oriented</div>
                    <p> Driven by your needs, delivering tailored carbon solutions.</p>
                </div>

                <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-6 col-sm-6 col-6 item-bx wow fadeInDown"
                    data-wow-delay=".5s">
                    <img src="<?=site_url;?>/designer/images/technology2.png" alt="Technology & Techniques" title="Technology & Techniques">
                    <div class="titleH4">Technology & Techniques</div>
                    <p> Cutting-edge technology, delivering superior solutions.</p>
                </div>
            </div>
        </div>
    </div>


    <div class="electricVehicle">
        <div class="container">
            <div class="w-75 mx-auto text-center text-white">
                <div class="h2_title_1 wow fadeInDown" data-wow-delay=".1s">Our Products</div>
                <p>
                    Discover a range of high-performance components designed for demanding applications. Our top products include carbon bearings, seal rings, vanes, rotors, and carbide busheseach engineered for durability and efficiency. Whether it's for industrial machinery or specialized systems, our solutions ensure smooth operation and long-lasting reliability. Explore materials that power precision and push boundaries in motion and sealing technology.
                </p>
            </div>

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

            <div class="ourBest">
                <div class="swiper-wrapper">

                <?php
        $home_cat4 = mysqli_query($GLOBALS['dbconn'], "select catImage, catIcon,catName, catID, displayName,catDesc,catUrl from category_tbl where catID IN (11,3,2,7)  and status='Y' order by homeOrder asc limit 0,8");
        while ($home_cat_res22 = mysqli_fetch_assoc($home_cat4)) {
          if ($home_cat_res22['catImage'] != '') {
            $imglink = getImage($home_cat_res22['catImage'], 280, 280, $home_cat_res22['catName'], "/uploaded-files/category/images/");
          } else {
            $imglink = site_url . "/uploaded-files/category/images/noimage.jpg";
          }
          $caturls3 = $home_cat_res22['catUrl'] != '' ? $home_cat_res22['catUrl'] : $home_cat_res22['catName'];
          $short_desc = str_ireplace('{companyName}', $admin_res['companyName'], $home_cat_res22['catDesc']);
          if ($home_cat_res22['alttag'] != '') {
            $alttag1 = $home_cat_res22['alttag'] . ' Manufacturers in ' . $locationName;
            } else {
              $alttag1 = $home_cat_res22['displayName'] . ' Manufacturers in ' . $locationName;
            }
          
        ?>
                    <div class="swiper-slide">
                        <div class="bestItem wow fadeInDown" data-wow-delay=".2s">
                            <div class="image">
                                <a href="<?= site_url; ?>/<?= getValidFileName($loc_url); ?>/<?= getValidFileName($caturls3); ?>.htm" title="<?= $alttag1; ?>"><img src="<?= $imglink; ?>" alt="<?= $alttag1; ?>" title="<?= $alttag1; ?>"></a>
                            </div>
                            <div class="bestItem_info">
                                <h4 class="bestItem_Title py-0"><a href="<?= site_url; ?>/<?= getValidFileName($loc_url); ?>/<?= getValidFileName($caturls3); ?>.htm" title="<?= $alttag1; ?>"><?= $home_cat_res22['displayName']; ?> in <?=$locationName;?></a></h4>
                                <a href="<?= site_url; ?>/<?= getValidFileName($loc_url); ?>/<?= getValidFileName($caturls3); ?>.htm" class="readMore_2" title="View More">View More <span class="btn_caret"><svg
                                            xmlns="http://www.w3.org/2000/svg" width="16" height="16"
                                            fill="currentColor" viewBox="0 0 16 16">
                                            <path
                                                d="m12.14 8.753-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z">
                                            </path>
                                        </svg></span></a>
                            </div>
                        </div>
                    </div>

                    <?php } ?>

                    
                </div>
                <!-- <div class="swiper-button-prev"></div>
                <div class="swiper-button-next"></div> -->
            </div>


        </div>
    </div>


   

    <div class="rooms-section w-100 float-start py-5">
        <div class="container">
            <div class="w-75 mx-auto text-center text-white">
                <div class="h2_title_1 wow fadeInDown" data-wow-delay=".1s">Application in Various
                    Industries
                </div>
                <p>
                    Our products excel across diverse industries, from aerospace and automotive to chemical processing and power generation. Engineered for durability and precision, they enhance performance in demanding environments. Whether in heavy machinery or high-tech equipment, these components ensure reliability, reduce wear, and optimize efficiency—making them the trusted choice for businesses seeking advanced solutions tailored to their unique industrial challenges.
                </p>
            </div>



           <div class="ourBest">
                <div class="swiper-wrapper mb-3">

                        <?php $gallery_122 = mysqli_query($GLOBALS['dbconn'], "select gallery_image,gallery_title,image_name,gallery_alt,id from industry_gallery_tbl order by id ASC ");
                        while ($gallery_res1 = mysqli_fetch_assoc($gallery_122)) {
                            $galImg = getImage($gallery_res1[gallery_image], 280, 355, $gallery_res1[gallery_title] . $gallery_res1[id], "/uploaded-files/industry/");
                            $galImg1 = getImage($gallery_res1[gallery_image], 1000, 1000, $gallery_res1[galery_title] . $gallery_res1[id], "/uploaded-files/industry/");
                        ?>

                    <div class="swiper-slide">
                        <div class="blog-2 ">
                            <div class="blog-photo clip-home0">
                                <img loading="lazy" src="<?= $galImg; ?>" alt="<?= $gallery_res1['gallery_alt']; ?> Manufacturers in <?=$admin_res['targetlocation'];?>"
                                    title="<?= $gallery_res1['gallery_alt']; ?> Manufacturers in <?=$admin_res['targetlocation'];?>" class="img-fluid bp" width="275" height="275">
                            </div>
                            <div class="detail pt-3 pb-1">
                                <?= $gallery_res1['gallery_title']; ?>

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


                    


                </div>
           <div class="swiper-pagination"></div>
            </div>

        </div>
    </div>
    

    <?php include "app_clients.php"; ?>
    <?php include "app_footer_sub.php"; ?>
    <?php include "app_bottom.php"; ?>
</body>

</html>