<?php include_once('include/main.inc.php');
$hover="home";
$homepage = mysqli_query($GLOBALS['dbconn'], "select pageDesc,pageTitle, pageImage, page_keyword, page_metadesc, page_metatitle, pageBanner from static_pages where pageID='1' and status='Y'");
$home_res = mysqli_fetch_array($homepage);
@extract($_REQUEST);
   $ca_nam1=$_REQUEST['cid'];
   $ca_nam1=ucwords(str_replace("-"," ",$cid));
   $sql_locas=mysqli_query($GLOBALS['dbconn'], "select locationID from location_tbl where locationName='$ca_nam1'");
   $location = mysqli_fetch_array($sql_locas);
   $location_id = $location['locationID']; 
   $category_sub_specific=mysqli_query($GLOBALS['dbconn'],"select location_ids,meta_title,meta_keyword,meta_description,description,short_description from location_content_tbl where category_id='0' AND location_id='$location_id'");
   $category_sub_general=mysqli_query($GLOBALS['dbconn'],"select location_ids,meta_title,meta_keyword,meta_description,description,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']);
           }
       }
   //    specific location content
   }else{
   $categorysubdomain=mysqli_fetch_array($category_sub_specific);
   $page_metatitle=$categorysubdomain['meta_title'];
   $page_metakey=$categorysubdomain['meta_keyword'];
   $page_metadesc=$categorysubdomain['meta_description'];
   $page_desc=html_entity_decode($categorysubdomain['description']);
   $page_short_desc=$categorysubdomain['short_description'];
   //    general content
   }
   $page_desc = str_replace('countryname',$ca_nam1, $page_desc);
   $page_desc = str_replace('{location}',$ca_nam1, $page_desc);
   $page_desc = str_replace('catname',$pid, $page_desc);
   $page_metatitle = str_replace('{location}',$ca_nam1,$page_metatitle);
   $page_metakey = str_replace('{location}',$ca_nam1,$page_metakey);
   $page_metadesc = str_replace('{location}',$ca_nam1,$page_metadesc);
   $home_sub_uncheck_loc=mysqli_query($GLOBALS['dbconn'],"select description,short_description from location_content_tbl where category_id='0' AND location_id='0'");
   $home_sub_uncheck_res=mysqli_fetch_array($home_sub_uncheck_loc);
   $page_desc1=$home_sub_uncheck_res['description'];
   $page_desc1 = str_replace('{location}',$ca_nam1,  $page_desc1);
   $page_desc1 = str_ireplace('{companyName}',$admin_res['companyName'],$page_desc1);
   if(mysqli_num_rows($sql_locas) > 0)
   {
   }else 
       {
   	header("Location: ".site_url);
   				exit;
   }

   if (strpos($_SERVER['REQUEST_URI'], '//') !== false) {
    $clean_url = preg_replace('#/+#', '/', $_SERVER['REQUEST_URI']);
    header("Location: site_url$clean_url", true, 301);
    exit();
}
$page_desc=str_ireplace('{companyName}',$admin_res['companyName'],$page_desc);
$page_metadesc=str_ireplace('{companyName}',$admin_res['companyName'],$page_metadesc);
$blog = mysqli_query($GLOBALS['dbconn'], "select blogDate,catImage,catName,blogDname,catDesc,blog_written from blog_tbl order by catID DESC  limit 0,3");  
?>
<!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="slider" class="owl-carousel">
            <?php
                 $sql_banner = mysqli_query($GLOBALS['dbconn'], "Select bannerImage, personName,Decs  from banner_tbl where status='Y' order by bannerorder ASC");
                  $sno = 0;
                  while ($res_banner = mysqli_fetch_array($sql_banner)) {
                     $sno++;
                  ?>
            <div class="slide"><img src="<?=site_url;?>/uploaded-files/banner-image/<?=$res_banner['bannerImage'];?>"
                    alt="<?=$res_banner['personName'];?> Manufacturers in <?=$ca_nam1;?>"
                    title="<?=$res_banner['personName'];?> Manufacturers in <?=$ca_nam1;?>"></div>
            <?php }?>
        </div>
    </div>
    <div class="home_features_section">
        <div class="container-fluid">
            <div class="section-content">
                <div class="h2_title d-block d-lg-none wow fadeInLeft mb-4 animated pt-5" data-wow-delay=".1s">What Makes Us Special?
                </div>
                <p class="w-75 mx-auto d-block d-lg-none text-center mb-3">
                    Our commitment to excellence sets us apart. We provide top-quality products, crafted with precision
                    in state-of-the-art facilities. Backed by a team of skilled professionals, we deliver exceptional
                    service that meets the highest standards. Plus, our promise of immediate assistance ensures you
                    receive prompt support, whenever you need it. Excellence, quality, and care—these are what define
                    us.

                </p>
                <div class="row equal-height-inner">
                    <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-6 col-6 padding_0">
                        <div class="sm-height-auto bg-theme-colored">
                            <div class="text_content">
                                <img src="<?=site_url;?>/designer/images/quality-svgrepo-com.svg"
                                    alt="Top Quality Products" title="Top Quality Products">
                                <div class="titleOne">Top-quality Products</div>
                                <p>
                                    Our products combine superior craftsmanship and premium materials, ensuring
                                    unmatched quality and long-lasting performance.
                                </p>
                            </div>
                        </div>
                    </div>
                    <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-6 col-6 padding_0">
                        <div class="sm-height-auto bg-theme-colored2">
                            <div class="text_content">
                                <img src="<?=site_url;?>/designer/images/delivery-domestic-ems-express-svgrepo-com.svg"
                                    alt=" Facilities" title=" Facilities">
                                <div class="titleOne"> Superior Facilities</div>
                                <p> Our state-of-the-art facilities enhance efficiency and innovation, providing an
                                    ideal environment for excellence.
                                </p>
                            </div>
                        </div>
                    </div>
                    <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-6 col-6 padding_0">
                        <div class="sm-height-auto bg-theme-colored">
                            <div class="text_content">
                                <img src="<?=site_url;?>/designer/images/organization-svgrepo-com.svg"
                                    alt="Skilled Professionals" title="Skilled Professionals">
                                <div class="titleOne">Skilled Professionals
                                </div>
                                <p> Our skilled professionals bring expertise and passion, delivering exceptional
                                    service and unparalleled results every time.
                                </p>
                            </div>
                        </div>
                    </div>
                    <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-6 col-6 padding_0">
                        <div class="sm-height-auto bg-theme-colored2">
                            <div class="text_content">
                                <img src="<?=site_url;?>/designer/images/call-center-1-svgrepo-com.svg" alt="Call Us"
                                    title="Call Us">
                                <div class="titleOne">Immediate Assistance

                                    <a href="tel:<?=$admin_res['mobile'];?>"><?=$admin_res['mobile'];?></a>
                                </div>
                                <p>
                                    For immediate assistance, reach us at (+91) 9810275379. Our team is ready to address
                                    your inquiries promptly.

                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <section class="wps_introduce">
        <div class="container">
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-xs-12 col-12">
                    <div class="about-right-part">
                        <div class="introduce_images rounded-3 wow fadeInLeft" data-wow-delay=".1s">
                            <img src="<?=getImage($home_res['pageImage'], 398, 647, $about_res['pageTitle'], "/uploaded-files/page-images/");?>"
                                class="w-100 rounded-3" alt="IML Containers Manufacturers in <?=$ca_nam1;?>"
                                title="IML Containers Manufacturers in <?=$ca_nam1;?>">
                        </div>
                    </div>
                    <h1 class="h1_title pt-0">IML Containers Manufacturers in <?=$ca_nam1;?></h1>
                    <p>
                        <?=html_entity_decode($page_desc);?>

                        <a href="<?=site_url;?>/about-us.htm" class="read_more_1 bg_btn_1" title="View More">View More
                            <span></span><span></span><span></span><span></span></a>
                </div>
            </div>
        </div>
    </section>
    <div class="our_service_home">
        <div class="container">
            <div class="h2_title wow fadeInLeft mb-4" data-wow-delay=".1s">Our Category Products</div>
            <p class="w-75 mx-auto text-center mb-3">
            Discover our top products, meticulously crafted to meet the highest standards of quality and innovation. From cutting-edge technology to elegant designs, each item reflects our commitment to excellence. We prioritize functionality and aesthetics, ensuring our offerings enhance your experience. Explore our selection and find the perfect solution tailored to your needs—where quality meets performance seamlessly.

            </p>
            <div id="popularCourse2" class="owl-carousel home_service">
                <?php 
$home_cat111=mysqli_query($GLOBALS['dbconn'],"select catImage, catName, displayName, catDesc, catID,catBanner from category_tbl where home_category='1' and status='Y' order by catOrder asc limit 0,4");

while($home_cat_res2=mysqli_fetch_assoc($home_cat111)){
    if($home_cat_res2['catImage'] != ''){
    $imglink=getImage($home_cat_res2[catImage], 400, 400, $home_cat_res2[catName],"/uploaded-files/category/images/");
    }else{
        $imglink = getImage("noimage.png", 400, 400, "noimages","/uploaded-files/category/images/");
    }
    $catIdss=$home_cat_res2['catID'];
                 $sql_content=mysqli_query($dbconn,"select short_description from location_content_tbl where category_id ='$catIdss'");
                 $res_content=mysqli_fetch_array($sql_content);
                 $subcontent_descc=html_entity_decode($res_content['short_description']);
                 $subcontent_desccc=str_replace('{location}', $ca_nam1, $subcontent_descc );
                 $subcontent_descccc=str_replace('catname', $res_cat['catName'], $subcontent_desccc );
                 $subcontent_descccc=str_ireplace('{companyName}',$admin_res['companyName'], $subcontent_descccc);
?>
                <div class="box-hover-effect effect-siberia">
                    <div class="effect-wrapper">
                        <a href="<?=site_url;?>/<?=getValidFileName($ca_nam1);?>/<?=getValidFileName($home_cat_res2['catName']);?>.htm"
                            title="<?=$home_cat_res2['displayName'];?> Manufacturers in <?=$ca_nam1;?>">
                            <div class="thumb">
                                <img class="img-fullwidth" src="<?=$imglink;?>"
                                    alt="<?=$home_cat_res2['displayName'];?> Manufacturers in <?=$ca_nam1;?>"
                                    title="<?=$home_cat_res2['displayName'];?> Manufacturers in <?=$ca_nam1;?>">
                            </div>
                            <div class="info-box">
                                <div class="info-title bg_transparent">
                                    <div class="h2_title1 fs-6 text-white"><?=$home_cat_res2['displayName'];?></div>
                                </div>
                                <div class="info-content bg_transparent">
                                    <div class="inner">
                                        <div class="title3"><?=$home_cat_res2['displayName'];?></div>
                                        <p><?= html_entity_decode(substr($subcontent_descccc,0,100)); ?></p>
                                        <span class="read_more_1" title="View More">View More
                                            <span></span><span></span><span></span><span></span></span>
                                    </div>
                                </div>
                            </div>
                        </a>
                    </div>
                </div>
                <?php }?>
            </div>
        </div>
    </div>
 
    <div class="webpulse_home_product pt-5">
        <div class="container">
            <div class="h2_title wow fadeInLeft mb-4" data-wow-delay=".1s">Featured Products</div>
            <p class="w-75 mx-auto text-center mb-3">
            Explore our featured paper bags, where quality meets sustainability and style. Each bag is thoughtfully designed for durability and functionality, making them perfect for shopping, gifting, or events. Available in various sizes and elegant designs, our paper bags reflect our commitment to eco-friendly practices. Discover how these standout products can elevate your brand and enhance your experience.

            </p>
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-xs-12 col-12">
                    <div id="popularCourse" class="owl-carousel home_service">
                        <?php 
$home_cat2=mysqli_query($GLOBALS['dbconn'],"select catImage, catName, displayName, catDesc, catID,catBanner from category_tbl where home_category='2' and status='Y' order by catOrder asc limit 0,4");

while($home_cat_res3=mysqli_fetch_assoc($home_cat2)){
    if($home_cat_res3['catImage'] != ''){
    $imglink=getImage($home_cat_res3[catImage], 267, 267, $home_cat_res3[catName],"/uploaded-files/category/images/");
    }else{
        $imglink = getImage("noimage.png", 267, 267, "noimages","/uploaded-files/category/images/");
    }
    $catIdss=$home_cat_res3['catID'];
                 $sql_content=mysqli_query($dbconn,"select short_description from location_content_tbl where category_id ='$catIdss'");
                 $res_content=mysqli_fetch_array($sql_content);
                 $subcontent_descc=html_entity_decode($res_content['short_description']);
                 $subcontent_desccc=str_replace('{location}', $ca_nam1, $subcontent_descc );
                 $subcontent_desccccc=str_replace('catname', $res_cat['catName'], $subcontent_desccc );
                 $subcontent_desccccc=str_ireplace('{companyName}',$admin_res['companyName'], $subcontent_desccccc);
?>
                        <div class="services_block wow fadeInDown" data-wow-delay=".2s">
                            <div class="services_margin">
                                <figure>
                                    <a href="<?=site_url;?>/<?=getValidFileName($ca_nam1);?>/<?=getValidFileName($home_cat_res3['catName']);?>.htm"
                                        title="<?=$home_cat_res3['displayName'];?> Manufacturers in <?=$ca_nam1;?>">
                                        <div class="image"><img src="<?=$imglink;?>"
                                                alt="<?=$home_cat_res3['displayName'];?> Manufacturers in <?=$ca_nam1;?>"
                                                title="<?=$home_cat_res3['displayName'];?> Manufacturers in <?=$ca_nam1;?>">
                                        </div>
                                    </a>
                                    <figcaption>
                                        <a href="<?=site_url;?>/<?=getValidFileName($home_cat_res3['catName']);?>.htm"
                                            title="<?=$home_cat_res3['displayName'];?> Manufacturers in <?=$ca_nam1;?>"><svg
                                                xmlns="http://www.w3.org/2000/svg" width="16" height="16"
                                                fill="currentColor" viewBox="0 0 16 16">
                                                <path
                                                    d="M4.715 6.542 3.343 7.914a3 3 0 1 0 4.243 4.243l1.828-1.829A3 3 0 0 0 8.586 5.5L8 6.086a1.002 1.002 0 0 0-.154.199 2 2 0 0 1 .861 3.337L6.88 11.45a2 2 0 1 1-2.83-2.83l.793-.792a4.018 4.018 0 0 1-.128-1.287z" />
                                                <path
                                                    d="M6.586 4.672A3 3 0 0 0 7.414 9.5l.775-.776a2 2 0 0 1-.896-3.346L9.12 3.55a2 2 0 1 1 2.83 2.83l-.793.792c.112.42.155.855.128 1.287l1.372-1.372a3 3 0 1 0-4.243-4.243L6.586 4.672z" />
                                            </svg></a>
                                    </figcaption>
                                </figure>
                                <div class="service_info">
                                    <h4 class="h2_title"><a
                                            href="<?=site_url;?>/<?=getValidFileName($ca_nam1);?>/<?=getValidFileName($home_cat_res3['catName']);?>.htm"
                                            title="<?=$home_cat_res3['displayName'];?> Manufacturers in <?=$ca_nam1;?>"><?=$home_cat_res3['displayName'];?></a>
</h4>
                                    <p><?= html_entity_decode(substr($subcontent_desccccc,0,100)); ?>...</p>
                                    <a href="<?=site_url;?>/<?=getValidFileName($ca_nam1);?>/<?=getValidFileName($home_cat_res3['catName']);?>.htm"
                                        class="read_more_1 bg_btn_1" title="View More">View More
                                        <span></span><span></span><span></span><span></span></a>
                                </div>
                            </div>
                        </div>
                        <?php }?>
                    </div>
                </div>
            </div>
            <div class="service_bottom_text">
                <p>Find Here Products in Your Location <a href="javascript:void(0);" data-bs-toggle="modal"
                        data-bs-target="#myModal">Get a Quote</a>.</p>
            </div>
        </div>
    </div>
    <?php include "app_testimonials.php"; ?>
    <!-- <?php include "app_clients.php"; ?> -->
    <?php include "app_footer_sub.php"; ?>
    <?php include "app_bottom.php"; ?>
</body>

</html>