<?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,pageDesc1,pageDesc2 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 ,hotkeyword2 Wholesale 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, 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 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_desc1 = $home_res['pageDesc1'];
$page_desc2 = $home_res['pageDesc2'];
$page_desc = str_ireplace('{companyName}', $admin_res['companyName'], $page_desc);
$page_desc1 = str_ireplace('{companyName}', $admin_res['companyName'], $page_desc1);
$page_desc2 = str_ireplace('{companyName}', $admin_res['companyName'], $page_desc2);
$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 from banner_tbl where status='Y' order by bannerorder ASC");
                while ($res_banner = mysqli_fetch_array($sql_banner)) { ?>
                    <div class="carousel-item <?= $i == 1 ? 'active' : ''; ?>">
                        <img <?= $i == 1 ? 'fetchpriority="high"' : 'loading="lazy"'; ?> src="<?= site_url; ?>/uploaded-files/banner-image/<?= $res_banner['bannerImage']; ?>" alt="<?= $res_banner['personName']; ?> Manufacturers in <?= $admin_res['targetlocation']; ?>" title="<?= $res_banner['personName']; ?> Manufacturers in <?= $admin_res['targetlocation']; ?>" class="d-block w-100">
                    </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="ab_tx">
        <div class="container">
            <div class="row ">
                <div class="col-lg-7 col-12">
                    <div class="tx_bx">
                        <h1> Diabetic Food in <span> <?= $admin_res['targetlocation']; ?></span></h1>
                        <div class="ab_con">
                            <?= html_entity_decode($page_desc); ?>
                            <a href="<?= site_url; ?>/about-us.htm" class="moreBtn" title="Know About Us">Know About Us</a>
                        </div>
                    </div>
                </div>
                <div class="col-lg-5 col-12">
                    <div class="imgs_bx">
                        <div class="img_bx1">
                            <img width="600" loading="lazy" height="780" src="<?= site_url; ?>/designer/images/about/abt3.webp" alt="Diabetic Food in <?= $admin_res['targetlocation']; ?>" title="Diabetic Food in <?= $admin_res['targetlocation']; ?>">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="webpulse_home_featured">
        <div class="container">
            <div class="tt-bx">
                <div class="tt">Our Low GI <span>Diabetic Food</span></div>
                <p>Indulge in our finest creations! Discover a range of diabetic-friendly delights, from Low GI food to Gluten-Free Dosa Mix. Elevate your health with our carefully crafted and delicious offerings.</p>
            </div>
            <div class="clearfix"></div>
            <div id="featuredProducts" class="owl-carousel">
                <?php
                $home_cat1 = mysqli_query($GLOBALS['dbconn'], "select catImage, catName, displayName, catDesc, catID,catBanner from category_tbl where parentID='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 = getImage("noimage.jpg", 300, 300, "noimages", "/uploaded-files/category/images/");
                    }
                    $short_desc = str_ireplace('{companyName}', $admin_res['companyName'], $home_cat_res2['catDesc']);
                ?>
                    <div class="productBox">
                        <div class="productImg">
                            <a href="<?= site_url; ?>/<?= getValidFileName($home_cat_res2['catName']); ?>.htm" title="<?= $home_cat_res2['displayName']; ?> Manufacturers in <?= $admin_res['targetlocation']; ?>">
                                <img loading="lazy" src="<?= $imglink; ?>" alt="<?= $home_cat_res2['displayName']; ?> Manufacturers in <?= $admin_res['targetlocation']; ?>" title="<?= $home_cat_res2['displayName']; ?> Manufacturers in <?= $admin_res['targetlocation']; ?>" width="300" height="300">
                            </a>
                            <a href="<?= site_url; ?>/<?= getValidFileName($home_cat_res2['catName']); ?>.htm" class="link" title="<?= $home_cat_res2['displayName']; ?> Manufacturers in <?= $admin_res['targetlocation']; ?>"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-link-45deg" 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>
                                    <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">
                                    </path>
                                </svg></a>
                        </div>
                        <div class="productContent">
                            <h4 class="productTitle"><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></h4>
                            <!-- <p><?= html_entity_decode(substr($short_desc, 0, 50)); ?>...</p> -->
                        </div>
                    </div>
                <?php } ?>

            </div>
            <a href="<?= site_url; ?>/diabetic-food.htm" class="moreBtn" title="View All Products">View All Products</a>
        </div>
    </div>

    <div class="ab_tx" style="background: url(<?= site_url; ?>/designer/images/bg/pattern_bg.png);">
        <div class="container">
            <div class="row g-4">
                <div class="col-md-4 col-12">
                    <img loading="lazy" src="<?= site_url; ?>/designer/images/about/abt5.jpg" alt="Diabetic Food Manufacturers in <?= $admin_res['targetlocation']; ?>" title="Diabetic Food Manufacturers in <?= $admin_res['targetlocation']; ?>" width="531" height="607">
                </div>
                <div class="col-md-8 col-12">
                    <h2>Diabetic Food Manufacturers in <?= $admin_res['targetlocation']; ?></h2>
                    <?= html_entity_decode($page_desc1); ?>
                </div>
            </div>
        </div>
    </div>

    <div class="why-choose-us">
        <div class="container">
            <div class="row">
                <div class="image-column col-lg-5 col-12">
                    <div class="inner-column">
                        <figure class="image wow fadeInUp"><img loading="lazy" src="<?= getImage("image-6.jpg", 460, 600, "homeimage", "/designer/images/"); ?>" alt="<?= $admin_res['companyName']; ?>" title="<?= $admin_res['companyName']; ?>" width="460" height="598"></figure>
                    </div>
                </div>

                <div class="features-column col-lg-7 col-12 order-2">
                    <div class="inner-column">
                        <div class="ab_head mb-4">
                            <div class="sub">Why Choose Us</div>
                            <div class="tt">Discover the Reasons below To <span> Choose Us!</span></div>
                        </div>
                        <div class="row align-items-stretch">
                            <div class="col-md-6 col-12 wow fadeInUp">
                                <div class="why-bx">
                                    <div class="ic-bx">
                                        <img src="<?= site_url; ?>/designer/images/icon/lab.webp" alt="Lab Approved" title="Lab Approved" width="128" height="128">
                                    </div>
                                    <div class="tt">Lab Approved</div>
                                    <p>Explore our diabetic-friendly products rigorously tested and approved in
                                        certified laboratories for superior quality.</p>
                                </div>
                            </div>
                            <div class="col-md-6 col-12 wow fadeInUp">
                                <div class="why-bx">
                                    <div class="ic-bx">
                                        <img src="<?= site_url; ?>/designer/images/icon/Healthy.webp" alt="Healthy Ingredients" title="Healthy Ingredients" width="128" height="128">
                                    </div>
                                    <div class="tt">Healthy Ingredients</div>
                                    <p>Choose us for wholesome diabetic foods crafted with carefully selected,
                                        nutritious ingredients for optimal well-being.</p>
                                </div>
                            </div>
                            <div class="col-md-6 col-12 wow fadeInUp">
                                <div class="why-bx">
                                    <div class="ic-bx">
                                        <img src="<?= site_url; ?>/designer/images/icon/Solutions.webp" alt="Tailored Solutions" title="Tailored Solutions" width="128" height="128">
                                    </div>
                                    <div class="tt">Tailored Solutions</div>
                                    <p>Discover personalized diabetic food solutions, curated to meet individual
                                        preferences and dietary needs seamlessly.</p>
                                </div>
                            </div>
                            <div class="col-md-6 col-12 wow fadeInUp">
                                <div class="why-bx">
                                    <div class="ic-bx">
                                        <img src="<?= site_url; ?>/designer/images/icon/customer.webp" alt="Customer Satisfaction" title="Customer Satisfaction" width="128" height="128">
                                    </div>
                                    <div class="tt">Customer Satisfaction</div>
                                    <p>Opt for Sriram Diabetic Foods to experience unparalleled customer satisfaction,
                                        ensuring your health and happiness.</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>


            </div>
        </div>
    </div>
    <?php include 'app_certificate.php'; ?>
    <? //php include 'app_video.php'; 
    ?>


    <div class="whyChoose">
        <div class="container">
            <div class="tt-bx">
                <div class="tt">What Makes Us The <span>Best In the Industry</span></div>
                <p class="text-dark">Our commitment to excellence, unparalleled expertise, and customer-centric approach
                    distinguish us as the best in the industry. Experience superior quality and service with us.</p>
            </div>
            <div class="row g-0">
                <div class="col-lg-3 col-6 wow fadeInLeft">
                    <div class="count-bx">
                        <div class="ic-bx">
                            <img src="<?= site_url; ?>/designer/images/icon/expertise.webp" alt="Year of Expertise" title="Year of Expertise" width="128" height="128">
                        </div>
                        <div class="tx-bx">
                            <div class="coun">
                                <span id="count1">0</span><span>+</span>
                            </div>
                            <p>Year of Expertise</p>
                        </div>
                    </div>
                </div>
                <div class="col-lg-3 col-6 wow fadeInLeft" data-wow-delay=".2s">
                    <div class="count-bx">
                        <div class="ic-bx">
                            <img src="<?= site_url; ?>/designer/images/icon/organic.webp" alt="Pure & Organic" title="Pure & Organic" width="128" height="128">
                        </div>
                        <div class="tx-bx">
                            <div class="coun">
                                <span id="count2">0</span><span>%</span>
                            </div>
                            <p>Pure & Organic</p>
                        </div>
                    </div>
                </div>
                <div class="col-lg-3 col-6 wow fadeInLeft" data-wow-delay=".4s">
                    <div class="count-bx">
                        <div class="ic-bx">
                            <img src="<?= site_url; ?>/designer/images/icon/products.webp" alt="Quality Products" title="Quality Products" width="128" height="128">
                        </div>
                        <div class="tx-bx">
                            <div class="coun">
                                <span id="count3">0</span><span>+</span>
                            </div>
                            <p>Quality Products</p>
                        </div>
                    </div>
                </div>
                <div class="col-lg-3 col-6 wow fadeInLeft" data-wow-delay=".6s">
                    <div class="count-bx border-0">
                        <div class="ic-bx">
                            <img src="<?= site_url; ?>/designer/images/icon/client.webp" alt="Satisfied Customers!" title="Satisfied Customers!" width="128" height="128">
                        </div>
                        <div class="tx-bx">
                            <div class="coun">
                                <span id="count4">0</span><span>%</span>
                            </div>
                            <p>Satisfied Customers!</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="ab_tx" style="background: #fff;">
        <div class="container">
            <div class="row">
                <div class="col-md-8 col-12">
                    <h3>Diabetic Herbs Suppliers in India</h3>
                    <?= html_entity_decode($page_desc2); ?>
                </div>
                <div class="col-md-4 col-12">
                    <img loading="lazy" src="<?= site_url; ?>/designer/images/about/abt4.jpg" alt="Diabetic Herbs Suppliers in India" title="Diabetic Herbs Suppliers in India" width="610" height="800">
                </div>
            </div>
        </div>
    </div>

    <div class="webpulse-home_blog">
        <div class="container">
            <div class="tt-bx">
                <div class="tt">Latest <span>Blogs</span></div>
                <p>Discover a wealth of knowledge in our Latest Blogs section. Stay updated on industry trends, expert insights, and valuable tips for a healthier and informed lifestyle.</p>
            </div>
            <div class="clearfix"></div>
            <div class="row align-items-stretch">
                <?php
                while ($blog_res = mysqli_fetch_array($blog)) {
                    $date = new DateTime($blog_res['blogDate']);
                    $day = $date->format('d');
                    $month = $date->format('F');
                    $year = $date->format('Y');
                    if ($blog_res['catImage'] != '') {
                        $blog_img =  getImage($blog_res['catImage'], 380, 240, $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-xxl-4 col-xl-4 col-lg-4 col-md-4 col-sm-6 col-12">
                        <div class="blog-2">
                            <a href="<?= site_url; ?>/blog/<?= getValidFileName($blog_res['catName']); ?>.htm" title="<?= $blog_res['blogDname']; ?>">
                                <div class="blog-photo clip-home">

                                    <img loading="lazy" src="<?= $blog_img; ?>" alt="<?= $blog_res['blogDname']; ?>" title="<?= $blog_res['blogDname']; ?>" class="img-fluid bp" width="380" height="239">
                                    <!-- <div class="date-box">
                                <span>26</span>Feb
                            </div> -->
                                </div>
                            </a>
                            <div class="detail">
                                <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_shortdesc, 0, 200)); ?>...</p>
                                <a href="<?= site_url; ?>/blog/<?= getValidFileName($blog_res['catName']); ?>.htm" class="moreBtn" title="View More">View More</a>
                            </div>
                        </div>
                    </div>
                <?php } ?>

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


    <?php include 'app_testimonials.php'; ?>
    <?php include 'app_faqs.php'; ?>
    <?php include 'app_footer.php'; ?>
    <?php include 'app_bottom.php'; ?>
</body>

</html>