<?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,keyword1,keyword2 from static_pages where pageID='1' and status='Y'");

$home_res = mysqli_fetch_array($homepage);

if ($home_res['keyword1'] != '' && $home_res['keyword2'] != '') {

    $m_title = "hotkeyword1 Manufacturers in state, hotkeyword2 Suppliers, Exporters country";

    $page_metatitle = str_replace('hotkeyword1', $home_res[keyword1], str_replace('hotkeyword2', $home_res[keyword2],  str_replace('state', $admin_res[targetlocation], str_replace('country', $admin_res[country], $m_title))));

    $m_keyword = "hotkeyword1 Manufacturers, hotkeyword2 Manufacturers, hotkeyword1 Suppliers, hotkeyword2 Suppliers, hotkeyword1 Exporters, hotkeyword2 Exporters, hotkeyword1, hotkeyword2";

    $page_metakey = str_replace('hotkeyword1', $home_res[keyword1], str_replace('hotkeyword2', $home_res[keyword2],  str_replace('state', $admin_res[targetlocation], $m_keyword)));

    $m_desc = "companyName leading hotkeyword1 Manufacturers 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', $admin_res[targetlocation], str_replace('country', $admin_res[country], $m_desc))))));
} else {

    $page_metatitle = $home_res['page_metatitle'];

    $page_metakey = $home_res['page_keyword'];

    $page_metadesc = $home_res['page_metadesc'];
}

$page_desc = $home_res['pageDesc'];

$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,blogDate 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.php"; ?>

    <div class="home_slider">

        <div id="carouselExampleControls" class="carousel slide" data-bs-ride="carousel">

            <div class="carousel-inner">
                <?php
                $i = 1;
                $sql_banner = mysqli_query($GLOBALS['dbconn'], "Select bannerImage, personName,Decs,bannerUrl from banner_tbl where status='Y' order by slno DESC");
                while ($res_banner = mysqli_fetch_array($sql_banner)) { ?>
                    <div class="carousel-item <?= $i == 1 ? 'active' : ''; ?>">
                        <picture>
                            <source media="(max-width:650px)" srcset="<?= getImage($res_banner['bannerImage'], 700, 237, $res_banner['personName'], "/uploaded-files/banner-image/"); ?>">
                            <img <?= $i == 1 ? '' : 'loading="lazy"'; ?> src="<?= site_url; ?>/uploaded-files/banner-image/<?= $res_banner['bannerImage']; ?>" class="d-block w-100" alt="<?= $res_banner['personName']; ?> in <?= $admin_res['targetlocation']; ?>" title="<?= $res_banner['personName']; ?> in <?= $admin_res['targetlocation']; ?>">
                        </picture>
                    </div>

                <?php $i++;
                } ?>
            </div>

            <button class="carousel-control-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" 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="abt-sec">
        <div class="container">
            <div class="why-imgs">
                <div class="row g-0 ">

                    <div class="col-md-12 p-0 wow fadeInDown">
                        <div class="img-1">
                            <img fetchpriority="high" src="<?= site_url; ?>/designer/images/about/about3.jpg" alt="Best Radar Level Transmitter Manufacturers in <?= $admin_res['targetlocation']; ?>" title="Best Radar Level Transmitter Manufacturers in <?= $admin_res['targetlocation']; ?>">
                        </div>

                    </div>

                    <div class="col-md-5 exp-bx wow fadeInLeft">

                        <div class="steel-year">

                            <span class="no-title"><span id="count1">49</span>+</span>

                            <span class="title">Years Industrial Experience </span>

                        </div>

                    </div>

                    <div class="col-md-7 wow fadeInRight">

                        <div class="img-2">

                            <img src="<?= site_url; ?>/designer/images/about/about4.jpg" class="img-cover" alt="Best Radar Level Transmitter Manufacturers in <?= $admin_res['targetlocation']; ?>" title="Best Radar Level Transmitter Manufacturers in <?= $admin_res['targetlocation']; ?>">

                        </div>

                    </div>

                </div>
            </div>
            <div class="why-tx">
                <h1 class="main-tt">Best Radar Level Transmitter Manufacturers in Delhi</h1>
                <?= html_entity_decode($page_desc); ?>
                <a href="<?= site_url; ?>/about-us.htm" title="Know More Us" class="main-btn">Know More Us</a>
            </div>
        </div>

    </div>

    <div class="homeAbout">

        <div class="container">

            <div class="row align-items-center wow fadeInDown" data-wow-delay="0s">

                <div class="col-md-6 col-12">

                    <div class="tt-bx">

                        <div class="tt text-start">Explore Our, <span>Quality Products</span></div>

                        <p class="text-start mx-0">Discover precision-engineered solutions crafted to elevate your operations. Explore innovation, reliability, and excellence in every product for your industry needs.</p>

                    </div>

                </div>

                <div class="col-md-6 col-12 text-md-end">

                    <a href="<?= site_url; ?>/radar-level.htm" class="main-btn" title="View All Products">View All Products <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-right" viewBox="0 0 16 16">

                            <path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8">

                            </path>

                        </svg></a>

                </div>

            </div>



            <div id="featuredProducts" class="owl-carousel pt-2">

                <?php

                $home_cat1 = 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,6");

                while ($home_cat_res2 = mysqli_fetch_assoc($home_cat1)) {

                    if ($home_cat_res2['catImage'] != '') {

                        $imglink = getImage($home_cat_res2[catImage], 300, 300, $home_cat_res2[catName], "/uploaded-files/category/images/");
                    } else {

                        $imglink = site_url . "/uploaded-files/category/images/noimage.jpg";
                    }

                    $short_desc = str_ireplace('{companyName}', $admin_res['companyName'], $home_cat_res2['catDesc']);

                ?>

                    <div class="bx-pr wow fadeInRight" data-wow-delay="0s">

                        <a href="<?= site_url; ?>/<?= getValidFileName($home_cat_res2['catName']); ?>.htm" class="img" title="<?= $home_cat_res2['displayName']; ?> Manufacturers in <?= $admin_res['targetlocation']; ?>">

                            <img src="<?= $imglink; ?>" alt="<?= $home_cat_res2['displayName']; ?> Manufacturers in <?= $admin_res['targetlocation']; ?>" title="<?= $home_cat_res2['displayName']; ?> Manufacturers in <?= $admin_res['targetlocation']; ?>">

                        </a>

                        <div class="des">

                            <div class="tt"><a href="<?= site_url; ?>/<?= getValidFileName($home_cat_res2['catName']); ?>.htm" title="<?= $home_cat_res2['displayName']; ?> Manufacturers in <?= $admin_res['targetlocation']; ?>"><?= $home_cat_res2['displayName']; ?></a></div>

                            <p><?= substr($short_desc, 0, 70); ?>...</p>

                            <a href="<?= site_url; ?>/<?= getValidFileName($home_cat_res2['catName']); ?>.htm" title="<?= $home_cat_res2['displayName']; ?> Manufacturers in <?= $admin_res['targetlocation']; ?>" class="read-more">

                                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">

                                    <path fill-rule="evenodd" d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z">

                                    </path>

                                </svg>

                            </a>

                        </div>

                    </div>

                <?php } ?>



            </div>

        </div>

    </div>

    <?php $sn = 1;

    $home_cat11 = mysqli_query($GLOBALS['dbconn'], "select catImage, catName, displayName, catDesc, catID,catBanner from category_tbl where topBusinessCategory='Y' and status='Y' order by catOrder asc limit 0,2");

    while ($home_cat_res2 = mysqli_fetch_assoc($home_cat11)) {

        if ($home_cat_res2['catBanner'] != '') {

            $imglink = getImage($home_cat_res2[catBanner], 677, 400, $home_cat_res2[catName], "/uploaded-files/category/banners/");
        } else {

            $imglink = site_url . "/uploaded-files/category/images/noimage.jpg";
        }

        $short_desc = str_ireplace('{companyName}', $admin_res['companyName'], $home_cat_res2['catDesc']);

        if ($sn % 2 == '1') {

    ?>

            <div class="vid-abt-sec">

                <div class="row g-0 align-items-center">

                    <div class="col-lg-6 col-12 vid-bx order-lg-1">

                        <a href="<?= site_url; ?>/<?= getValidFileName($home_cat_res2['catName']); ?>.htm" title="<?= $home_cat_res2['displayName']; ?> in <?= $admin_res['targetlocation']; ?>">

                            <img src="<?= $imglink; ?>" alt="<?= $home_cat_res2['displayName']; ?> in <?= $admin_res['targetlocation']; ?>" title="<?= $home_cat_res2['displayName']; ?> in <?= $admin_res['targetlocation']; ?>">

                        </a>

                    </div>

                    <div class="col-lg-6 col-12 order-lg-0">

                        <div class="tx-bx p-3 py-5 p-lg-5 wow fadeInLeft" data-wow-delay="0s">

                            <div class="tt"><?= $home_cat_res2['displayName']; ?></div>

                            <p><?= $short_desc; ?></p>

                            <a href="<?= site_url; ?>/<?= getValidFileName($home_cat_res2['catName']); ?>.htm" class="main-btn" title="More Read "> More Read </a>

                        </div>

                    </div>

                </div>

            </div>

        <?php } else { ?>

            <div class="vid-abt-sec bg-grey">

                <div class="row g-0 align-items-center">

                    <div class="col-lg-6 col-12 vid-bx">

                        <a href="<?= site_url; ?>/<?= getValidFileName($home_cat_res2['catName']); ?>.htm" title="<?= $home_cat_res2['displayName']; ?> in <?= $admin_res['targetlocation']; ?>">

                            <img src="<?= $imglink; ?>" alt="<?= $home_cat_res2['displayName']; ?> in <?= $admin_res['targetlocation']; ?>" title="<?= $home_cat_res2['displayName']; ?> in <?= $admin_res['targetlocation']; ?>">

                        </a>

                    </div>

                    <div class="col-lg-6 col-12">

                        <div class="tx-bx p-3 py-5 p-lg-5 wow fadeInRight" data-wow-delay="0s">

                            <div class="tt"><?= $home_cat_res2['displayName']; ?></div>

                            <p><?= $short_desc; ?></p>

                            <a href="<?= site_url; ?>/<?= getValidFileName($home_cat_res2['catName']); ?>.htm" class="main-btn" title="More Read "> More Read </a>

                        </div>

                    </div>

                </div>

            </div>

    <?php }
        $sn++;
    } ?>

    <div class="industry-sec">

        <div class="container">

            <div class="tt-bx wow fadeInDown" data-wow-delay="0s">

                <div class="tt">Industries <span>We Serve</span></div>

                <p>Empower diverse sectors with tailored automation solutions. From manufacturing to healthcare, our expertise enhances efficiency and performance across industries.</p>

            </div>

            <div class="row g-3">

                <div class="col-md-3 col-6 wow fadeInRight" data-wow-delay="0s">

                    <div class="hover">

                        <div class="content"><img src="<?= site_url; ?>/designer/images/industries/Chemical-&-Fertilizer.jpg" alt="Chemical Industry" title="Chemical & Fertilizer" width="196" height="103"></div>

                        <div class="overlay">Chemical & Fertilizer</div>

                    </div>

                </div>

                <div class="col-md-3 col-6 wow fadeInRight" data-wow-delay="100ms">

                    <div class="hover">

                        <div class="content"><img src="<?= site_url; ?>/designer/images/industries/Food-&-Beverages.jpg" alt="Food & Beverages" title="Food & Beverages"></div>

                        <div class="overlay">Food & Beverages</div>

                    </div>

                </div>

                <div class="col-md-3 col-6 wow fadeInRight" data-wow-delay="200ms">

                    <div class="hover">

                        <div class="content"><img src="<?= site_url; ?>/designer/images/industries/OEM-&-Machines.jpg" alt="OEM & Machines" title="OEM & Machines"></div>

                        <div class="overlay">OEM & Machines</div>

                    </div>

                </div>

                <div class="col-md-3 col-6 wow fadeInRight" data-wow-delay="300ms">

                    <div class="hover">

                        <div class="content"><img src="<?= site_url; ?>/designer/images/industries/Paper.jpg" alt="Paper" title="Paper">

                        </div>

                        <div class="overlay">Paper</div>

                    </div>

                </div>

                <div class="col-md-3 col-6 wow fadeInLeft" data-wow-delay="0s">

                    <div class="hover">

                        <div class="content"><img src="<?= site_url; ?>/designer/images/industries/Power-&-Cement.jpg" alt="Power & Cement" title="Power & Cement" width="196" height="103"></div>

                        <div class="overlay">Power & Cement</div>

                    </div>

                </div>

                <div class="col-md-3 col-6 wow fadeInLeft" data-wow-delay="100ms">

                    <div class="hover">

                        <div class="content"><img src="<?= site_url; ?>/designer/images/industries/Petrochemical.jpg" alt="Petrochemical" title="Petrochemical" width="196" height="103"></div>

                        <div class="overlay">Petrochemical</div>

                    </div>

                </div>

                <div class="col-md-3 col-6 wow fadeInLeft" data-wow-delay="200ms">

                    <div class="hover">

                        <div class="content">

                            <img src="<?= site_url; ?>/designer/images/industries/Pharmaceutical.jpg" alt="Pharmaceutical" title="Pharmaceutical" width="196" height="103">

                        </div>

                        <div class="overlay">Pharmaceutical</div>

                    </div>

                </div>

                <div class="col-md-3 col-6 wow fadeInLeft" data-wow-delay="300ms">

                    <div class="hover">

                        <div class="content"><img src="<?= site_url; ?>/designer/images/industries/Sugar.jpg" alt="Sugar" title="Sugar" width="196" height="103"></div>

                        <div class="overlay">Sugar</div>

                    </div>

                </div>

            </div>

        </div>

    </div>

    <div class="add-banner">

        <div class="container">

            <div class="row align-items-center g-3">

                <div class="col-lg-9 col-12">

                    <div class="tt">See Automation & Engineers, passion for innovation and a commitment to quality !</div>

                </div>

                <div class="col-lg-3 col-12 text-lg-end">

                    <a href="<?= site_url; ?>/contact-us.htm" title="Contact Us" class="main-btn"> Contact Us</a>

                </div>

            </div>

        </div>

    </div>

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

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

    <div class="homeBlog">

        <div class="container">

            <div class="tt-bx">

                <div class="tt">Latest <span>Blogs</span></div>

                <p>Stay updated with industry trends, insights, and expert advice. Explore our latest blogs for valuable information and innovative perspectives.</p>

            </div>

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



            <div class="row align-items-stretch">

                <?php

                while ($blog_res = mysqli_fetch_array($blog)) {

                    if ($blog_res['catImage'] != '') {

                        $blog_img =  getImage($blog_res['catImage'], 450, 350, $blog_res['catName'], "/uploaded-files/blog/images/");
                    } else {

                        $blog_img = NO_IMG_URL;
                    }

                    $blog_shortdesc = str_ireplace('{companyName}', $admin_res['companyName'], $blog_res['catDesc']);

                ?>

                    <div class="col-lg-4 col-md-6 col-12 wow fadeInUp">

                        <div class="blogBox">

                            <a href="<?= site_url; ?>/blog/<?= getValidFileName($blog_res['catName']); ?>.htm" title="<?= $blog_res['blogDname']; ?>">

                                <div class="image">

                                    <img src="<?= $blog_img; ?>" alt="<?= $blog_res['blogDname']; ?>" title="<?= $blog_res['blogDname']; ?>">

                                </div>

                            </a>

                            <div class="blogDescribe">

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

                                <p><?= html_entity_decode(substr($blog_res['catDesc'], 0, 100)); ?>...</p>

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

                            </div>

                        </div>

                    </div>

                <?php } ?>





            </div>

        </div>

    </div>

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

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

</body>



</html>