<?php
include_once('include/main.inc.php');
$hover = "home";
$homepage = mysqli_query($GLOBALS['dbconn'], "select pageDesc,pageDesc1,pageDesc2,pageDesc3,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);
$homepage1 = mysqli_query($GLOBALS['dbconn'], "select pageDesc2 from static_pages where pageID='1' and status='Y'");
$home_res1 = mysqli_fetch_array($homepage1);
$homepage2 = mysqli_query($GLOBALS['dbconn'], "select pageDesc3 from static_pages where pageID='1' and status='Y'");
$home_res2 = mysqli_fetch_array($homepage2);
if ($home_res['keyword1'] != '' && $home_res['keyword2'] != '') {
  $m_title = "hotkeyword in state, Wholesale hotkeyword2 Suppliers 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, hotkeyword2 Services, 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 Services 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['pageDesc1'];
$page_desc = str_ireplace('{companyName}', $admin_res['companyName'], $page_desc);
$page_desc2nd = $home_res1['pageDesc2'];
$page_desc2nd = str_ireplace('{companyName}', $admin_res['companyName'], $page_desc2nd);
// $page_desc2 = $home_res['pageDesc2'];
// $page_desc2 = str_ireplace('{companyName}', $admin_res['companyName'], $page_desc2);
$page_desc3rd = $home_res2['pageDesc3'];
$page_desc3rd = str_ireplace('{companyName}', $admin_res['companyName'], $page_desc3rd);
$page_metadesc = str_ireplace('{companyName}', $admin_res['companyName'], $page_metadesc);
$blog_query = mysqli_query($GLOBALS['dbconn'], "select blogDate,catImage,catName,blogDname,catDesc,blog_written from blog_tbl where status='Y' limit 0,3 ");
?>
<!DOCTYPE html>
<html lang="en">

<head>
  <?php include 'app_top.php'; ?>
</head>

<body>
  <?php include 'app_header.php'; ?>
  <main>
    <div id="carouselExampleAutoplaying" class="carousel slide" data-bs-ride="carousel">
      <div class="carousel-inner">
        <?php
        $i = 1;
        $sql_banner = mysqli_query($GLOBALS['dbconn'], "SELECT bannerImage, mobileBanner, personName, tagline, slno FROM banner_tbl WHERE status='Y' ORDER BY bannerorder Asc");
        while ($res_banner = mysqli_fetch_array($sql_banner)) {
            if (!empty($res_banner['tagline'])) {
            $altTitleText = $res_banner['tagline'];
        } else {
            // else condition (slno check karke India/Haryana)
            if ($res_banner['slno'] == '4') {
                $altTitleText = $res_banner['tagline'] . " ";
            } else {
                $altTitleText = $res_banner['personName'] . " Manufacturers in " . $admin_res['targetlocation'];
            }
        }
        ?>
          <div class="carousel-item <?= $i == 1 ? 'active' : '' ?>">
            <img <?= $i == 1 ? '' : 'loading="lazy"' ?> src="<?= site_url; ?>/uploaded-files/banner-image/<?= $res_banner['bannerImage']; ?>" class="d-block w-100" alt="<?= $altTitleText; ?>" title="<?= $altTitleText; ?>">
          </div>
        <?php
          $i++;
        }
        ?>

      </div>
      <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleAutoplaying" 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="#carouselExampleAutoplaying" data-bs-slide="next">
        <span class="carousel-control-next-icon" aria-hidden="true"></span>
        <span class="visually-hidden">Next</span>
      </button>
    </div>
  </main>
  <div class="section bg-light">
    <div class="container">
      <div class="head-sec">
        <div class="tt">Rapidly Rising <span> As India’s Leading </span>Nutrition Supplement Resellers</div>
      </div>
      <div class="row row-cols-1 row-cols-md-2 row-cols-lg-4 g-3">
        <div class="col">
          <div class="whyus-bx">
            <div class="img">
              <img src="<?= site_url; ?>/designer/images/icon/Good-Service.png" alt="Reliable Assistance" title="Reliable Assistance">
            </div>
            <div class="tt">Reliable Assistance</div>
            <p>We ensure your satisfaction through dependable, prompt, and consistent service every time.</p>
          </div>
        </div>
        <div class="col">
          <div class="whyus-bx">
            <div class="img">
              <img src="<?= site_url; ?>/designer/images/icon/authenticition.png" alt="Authentication" title="Authentication">
            </div>
            <div class="tt">Authentication</div>
            <p>Each product is rigorously verified for authenticity, ensuring quality and trust in every purchase.</p>
          </div>
        </div>
        <div class="col">
          <div class="whyus-bx">
            <div class="img">
              <img src="<?= site_url; ?>/designer/images/icon/Supplement.png" alt="Nutritional Guidance" title="Nutritional Guidance">
            </div>
            <div class="tt">Nutritional Guidance</div>
            <p>Our resources provide expert insights on supplements, nutrition, and fitness for optimal results.</p>
          </div>
        </div>
        <div class="col">
          <div class="whyus-bx">
            <div class="img">
              <img src="<?= site_url; ?>/designer/images/icon/Rewards.png" alt="Referral Rewards" title="Referral Rewards">
            </div>
            <div class="tt">Referral Rewards</div>
            <p>Earn exclusive rewards by referring friends and unlocking special benefits with every purchase.</p>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="section">
    <div class="container">
      <div class="row align-items-center g-3 mb-4">
        <div class="col-lg-9 col-12">
          <div class="head-sec text-start m-0">
            <div class="tt m-0">Explore Our Wide <span>Range Of Supplements</span></div>
          </div>
        </div>
        <div class="col-lg-3 col-12 text-lg-end">
          <a href="<?= site_url; ?>/hair-growth-medicine.htm" class="main-btn" title="View All">View All <svg fill="currentColor" width="20" height="20" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" class="icon line">
              <path d="M3,12H21m-3,3,3-3L18,9" style="fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1;"> </path>
            </svg></a>
        </div>
      </div>
      <div class="swiper imgProSlider">
        <div class="swiper-wrapper">
          <?php
          $home_cat4 = mysqli_query($GLOBALS['dbconn'], "select catImage, catIcon,catName, catID, cat_home_image,displayName,catDesc,catUrl from category_tbl where catID IN (2,3,4,5,6,7) and status='1' 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'], 285, 285, $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'] . ' Suppliers in ' . $admin_res['targetlocation'];
            } else {
              $alttag1 = $home_cat_res22['displayName'] . ' Suppliers in ' . $admin_res['targetlocation'];
            }

          ?>
            <div class="swiper-slide">
              <a href="<?= site_url; ?>/<?= getValidFileName($caturls3); ?>.htm" title="<?= $home_cat_res22['displayName']; ?> Suppliers in <?= $admin_res['targetlocation'] ?>" class="cate-bx">
                <div class="img">
                  <img src="<?= $imglink; ?>" alt="<?= $home_cat_res22['displayName']; ?>" title="<?= $home_cat_res22['displayName']; ?> Suppliers in <?= $admin_res['targetlocation'] ?>">
                </div>
                <div class="tt"><?= $home_cat_res22['displayName']; ?></div>
              </a>
            </div>
          <?php } ?>

        </div>
        <div class="swiper-button-next"></div>
        <div class="swiper-button-prev"></div>
      </div>
    </div>
  </div>
  <div class="section bg-sec">
    <div class="container">
      <div class="abts_bx">
        <div class="img_bx1">
          <img src="<?= site_url; ?>/designer/images/abts.jpg" alt="Best FF Nutrition Suppliers in <?= $admin_res['targetlocation']; ?>" title="Best FF Nutrition Suppliers in <?= $admin_res['targetlocation']; ?>">
        </div>
        <div class="call_now">
          <span><img src="<?= site_url; ?>/designer/images/abt_img.png" alt="Call Us Now" title="Call Us Now"></span>
          <div>
            <a href="tel:<?= $admin_res['phone']; ?>" title="<?= $admin_res['phone']; ?>"><?= $admin_res['phone']; ?></a>
            <p>Call Us Now</p>
          </div>
        </div>
      </div>
      <div class="content-sec p-0">
        <?= $page_desc; ?>
      </div>
    </div>
  </div>
  <div class="section">
    <div class="container">
      <div class="row align-items-center g-3 mb-4">
        <div class="col-lg-9 col-12">
          <div class="head-sec text-start m-0">
            <div class="tt">Nutritional Supplements for <span>Lean Muscle Gain</span></div>
            <p>Achieve your muscle-building goals with Pro Lean Gain supplements that fuel muscle growth while maintaining a lean physique. Formulated with premium proteins, vital nutrients, and energy-boosting ingredients, these supplements support efficient muscle recovery and growth. Perfect for athletes and fitness enthusiasts, they provide balanced nutrition for consistent strength, energy, and lean mass development without the added fat.</p>
          </div>
        </div>
        <div class="col-lg-3 col-12 text-lg-end">
          <a href="<?= site_url; ?>/pro-lean-gain.htm" class="main-btn" title="View All">View All <svg fill="currentColor" width="20" height="20" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" class="icon line">
              <path d="M3,12H21m-3,3,3-3L18,9" style="fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1;"> </path>
            </svg></a>
        </div>
      </div>
      <div class="swiper imgProSlider2">
        <div class="swiper-wrapper">
          <?php

          $product_hair = mysqli_query($GLOBALS['dbconn'], "SELECT product_image, product_title, product_name, product_cat,product_size, catalog, product_id FROM product_tbl WHERE product_cat = '7' AND product_status = '1' ORDER BY product_id Asc LIMIT 0,8");
          $num = mysqli_num_rows($product_hair);
          if ($num > 0) {
            while ($product_res = mysqli_fetch_array($product_hair)) {
              $pro_image = explode(',', $product_res['product_image']);
              $probig_img = $pro_image[0];
              $productName = ($product_res['product_name'] != '') ? $product_res['product_name'] : $product_res['product_title'];
              $prod_img = getImage($probig_img, 500, 500, $productName, "/uploaded-files/product-images/");
          ?>
              <div class="swiper-slide">
                <div class="pro-bx">
                  <a href="javascript:void(0);" data-bs-toggle="modal" data-bs-target="#productEnquiry" onclick="$('.product_id').val('<?php echo $product_res['product_id']; ?>'); $('.catName').html('<?php echo $product_res['product_title']; ?>'); $('.catImg').attr('src','<?= $prod_img; ?>');  $('.catImg').attr('alt','<?= $product_res['product_title']; ?> Suppliers, Distributors, Franchise in <?= $admin_res['targetlocation']; ?>'); $('.catImg').attr('title','<?= $product_res['product_title']; ?> Suppliers, Distributors, Franchise in <?= $admin_res['targetlocation']; ?>');" class="img">
                    <img src="<?= $prod_img ?>" alt="<?= $product_res['product_title']; ?> Suppliers, Distributors, Franchise in <?= $admin_res['targetlocation']; ?>" title="<?= $product_res['product_title']; ?> Suppliers, Distributors, Franchise in <?= $admin_res['targetlocation']; ?>">
                  </a>
                  <div class="tx-bx">
                    <h4 class="tt"><?= $product_res['product_title']; ?></h4>
                    <div class="d-flex gap-1 flex-wrap justify-content-center">
                      <button class="main-btn" data-bs-toggle="modal" data-bs-target="#productEnquiry" onclick="$('.product_id').val('<?php echo $product_res['product_id']; ?>'); $('.catName').html('<?php echo $product_res['product_title']; ?>'); $('.catImg').attr('src','<?= $prod_img; ?>');  $('.catImg').attr('alt','<?= $product_res['product_title']; ?> Suppliers, Distributors, Franchise in <?= $admin_res['targetlocation']; ?>'); $('.catImg').attr('title','<?= $product_res['product_title']; ?> Suppliers, Distributors, Franchise in <?= $admin_res['targetlocation']; ?>');" title="Get Price">Get Price <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" class="bi bi-chat-square-quote-fill" viewBox="0 0 16 16">
                          <path d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.5a1 1 0 0 0-.8.4l-1.9 2.533a1 1 0 0 1-1.6 0L5.3 12.4a1 1 0 0 0-.8-.4H2a2 2 0 0 1-2-2zm7.194 2.766a1.7 1.7 0 0 0-.227-.272 1.5 1.5 0 0 0-.469-.324l-.008-.004A1.8 1.8 0 0 0 5.734 4C4.776 4 4 4.746 4 5.667c0 .92.776 1.666 1.734 1.666.343 0 .662-.095.931-.26-.137.389-.39.804-.81 1.22a.405.405 0 0 0 .011.59c.173.16.447.155.614-.01 1.334-1.329 1.37-2.758.941-3.706a2.5 2.5 0 0 0-.227-.4zM11 7.073c-.136.389-.39.804-.81 1.22a.405.405 0 0 0 .012.59c.172.16.446.155.613-.01 1.334-1.329 1.37-2.758.942-3.706a2.5 2.5 0 0 0-.228-.4 1.7 1.7 0 0 0-.227-.273 1.5 1.5 0 0 0-.469-.324l-.008-.004A1.8 1.8 0 0 0 10.07 4c-.957 0-1.734.746-1.734 1.667 0 .92.777 1.666 1.734 1.666.343 0 .662-.095.931-.26z" />
                        </svg></button>
                      <button data-bs-target="#whatsappEnquiry" data-bs-toggle="modal" class="w-btn" title="Chat">
                        Chat <svg xmlns="http://www.w3.org/2000/svg" width="14" height="15" fill="currentColor" viewBox="0 0 16 16">
                          <path d="M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z">
                          </path>
                        </svg>
                      </button>
                    </div>
                  </div>
                </div>
              </div>
          <?php }
          }
          ?>

        </div>
        <div class="swiper-button-next"></div>
        <div class="swiper-button-prev"></div>
      </div>
    </div>
  </div>
  <div class="section pt-0">
    <div class="container">
      <div class="row align-items-center g-3 mb-4">
        <div class="col-lg-9 col-12">
          <div class="head-sec text-start m-0">
            <div class="tt">Transformative Weight <span>Loss Supplements</span></div>
            <p>Accelerate your journey to a healthier, more confident you with our powerful weight loss supplements. Formulated to boost metabolism, suppress appetite, and enhance fat burning, our products provide the essential support your body needs to shed excess weight effectively. Achieve sustainable results with natural ingredients that fuel energy, promote lean muscle, and help you reach your goals faster.</p>
          </div>
        </div>
        <div class="col-lg-3 col-12 text-lg-end">
          <a href="<?= site_url; ?>/weight-loss-supplement.htm" class="main-btn" title="View All">View All <svg fill="currentColor" width="20" height="20" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" class="icon line">
              <path d="M3,12H21m-3,3,3-3L18,9" style="fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1;"> </path>
            </svg></a>
        </div>
      </div>
      <div class="swiper imgProSlider2">
        <div class="swiper-wrapper">

          <?php

          $product_weight = mysqli_query($GLOBALS['dbconn'], "SELECT product_image, product_title, product_name, product_cat,product_size, catalog, product_id FROM product_tbl WHERE product_cat = '3' AND product_status = '1' ORDER BY product_id DESC LIMIT 0,8");
          $num = mysqli_num_rows($product_weight);
          if ($num > 0) {
            while ($product_weightres = mysqli_fetch_array($product_weight)) {
              $pro_image = explode(',', $product_weightres['product_image']);
              $probig_img = $pro_image[0];
              $productName = ($product_weightres['product_name'] != '') ? $product_weightres['product_name'] : $product_weightres['product_title'];
              $prod_img = getImage($probig_img, 500, 500, $productName, "/uploaded-files/product-images/");
          ?>
              <div class="swiper-slide">
                <div class="pro-bx">
                  <a href="javascript:void(0);" data-bs-toggle="modal" data-bs-target="#productEnquiry" onclick="$('.product_id').val('<?php echo  $product_weightres['product_id']; ?>');
                                     $('.catName').html('<?php echo  $product_weightres['product_title']; ?>'); $('.catImg').attr('src','<?= $prod_img; ?>');  $('.catImg').attr('alt','<?= $product_weightres['product_title']; ?> Suppliers, Distributors, Franchise in <?= $admin_res['targetlocation']; ?>'); $('.catImg').attr('title','<?= $product_weightres['product_title']; ?> Suppliers, Distributors, Franchise in <?= $admin_res['targetlocation']; ?>');" class="img">
                    <img src="<?= $prod_img; ?>" alt="<?= $product_weightres['product_title']; ?> Suppliers, Distributors, Franchise in <?= $admin_res['targetlocation']; ?>" title="<?= $product_weightres['product_title']; ?> Suppliers, Distributors, Franchise in <?= $admin_res['targetlocation']; ?>">
                  </a>
                  <div class="tx-bx">
                    <h4 class="tt"><?= $product_weightres['product_title']; ?></h4>
                    <div class="d-flex gap-1 flex-wrap justify-content-center">
                      <button class="main-btn" data-bs-toggle="modal" data-bs-target="#productEnquiry" onclick="$('.product_id').val('<?php echo  $product_weightres['product_id']; ?>');
                                     $('.catName').html('<?php echo  $product_weightres['product_title']; ?>'); $('.catImg').attr('src','<?= $prod_img; ?>');  $('.catImg').attr('alt','<?= $product_weightres['product_title']; ?> Suppliers, Distributors, Franchise in <?= $admin_res['targetlocation']; ?>'); $('.catImg').attr('title','<?= $product_weightres['product_title']; ?> Suppliers, Distributors, Franchise in <?= $admin_res['targetlocation']; ?>');" title="Get Price">Get Price <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" class="bi bi-chat-square-quote-fill" viewBox="0 0 16 16">
                          <path d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.5a1 1 0 0 0-.8.4l-1.9 2.533a1 1 0 0 1-1.6 0L5.3 12.4a1 1 0 0 0-.8-.4H2a2 2 0 0 1-2-2zm7.194 2.766a1.7 1.7 0 0 0-.227-.272 1.5 1.5 0 0 0-.469-.324l-.008-.004A1.8 1.8 0 0 0 5.734 4C4.776 4 4 4.746 4 5.667c0 .92.776 1.666 1.734 1.666.343 0 .662-.095.931-.26-.137.389-.39.804-.81 1.22a.405.405 0 0 0 .011.59c.173.16.447.155.614-.01 1.334-1.329 1.37-2.758.941-3.706a2.5 2.5 0 0 0-.227-.4zM11 7.073c-.136.389-.39.804-.81 1.22a.405.405 0 0 0 .012.59c.172.16.446.155.613-.01 1.334-1.329 1.37-2.758.942-3.706a2.5 2.5 0 0 0-.228-.4 1.7 1.7 0 0 0-.227-.273 1.5 1.5 0 0 0-.469-.324l-.008-.004A1.8 1.8 0 0 0 10.07 4c-.957 0-1.734.746-1.734 1.667 0 .92.777 1.666 1.734 1.666.343 0 .662-.095.931-.26z" />
                        </svg></button>
                      <button data-bs-target="#whatsappEnquiry" data-bs-toggle="modal" class="w-btn" title="Chat">
                        Chat <svg xmlns="http://www.w3.org/2000/svg" width="14" height="15" fill="currentColor" viewBox="0 0 16 16">
                          <path d="M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z">
                          </path>
                        </svg>
                      </button>
                    </div>
                  </div>
                </div>
              </div>
          <?php }
          }
          ?>
        </div>
        <div class="swiper-button-next"></div>
        <div class="swiper-button-prev"></div>
      </div>
    </div>
  </div>
  <img src="<?= site_url; ?>/designer/images/banner/min-banner.jpg" alt="<?= $admin_res['companyName']; ?>" title="<?= $admin_res['companyName']; ?>" class="d-block w-100">
  <div class="section">
    <div class="container">
      <div class="row align-items-center g-3 mb-4">
        <div class="col-lg-9 col-12">
          <div class="head-sec text-start m-0">
            <div class="tt">Whey<span> Protein</span></div>
            <p>Fuel your fitness with premium whey protein, designed for optimal muscle recovery, growth and performance. Perfect for athletes and everyday fitness enthusiasts, it delivers fast-absorbing protein to power your workouts and help you bounce back stronger. Whether you're building lean muscle or maintaining strength, make every scoop count with pure, effective nutrition tailored to your goals.</p>
          </div>
        </div>
        <div class="col-lg-3 col-12 text-lg-end">
          <a href="<?= site_url; ?>/whey-protein.htm" class="main-btn" title="View All">View All <svg fill="currentColor" width="20" height="20" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" class="icon line">
              <path d="M3,12H21m-3,3,3-3L18,9" style="fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1;"> </path>
            </svg></a>
        </div>
      </div>
      <div class="swiper imgProSlider2">
        <div class="swiper-wrapper">
          <?php

          $product_protein = mysqli_query($GLOBALS['dbconn'], "SELECT product_image, product_title, product_name, product_cat,product_size, catalog, product_id FROM product_tbl WHERE product_cat = '5' AND product_status = '1' ORDER BY product_id DESC LIMIT 0,8");
          $num = mysqli_num_rows($product_protein);
          if ($num > 0) {
            while ($product_proteinres = mysqli_fetch_array($product_protein)) {
              $pro_image = explode(',', $product_proteinres['product_image']);
              $probig_img = $pro_image[0];
              $productName = ($product_proteinres['product_name'] != '') ? $product_proteinres['product_name'] : $product_proteinres['product_title'];
              $prod_img = getImage($probig_img, 500, 500, $productName, "/uploaded-files/product-images/");
          ?>

              <div class="swiper-slide">
                <div class="pro-bx">
                  <a href="javascript:void(0);" data-bs-toggle="modal" data-bs-target="#productEnquiry" onclick="$('.product_id').val('<?php echo $product_proteinres['product_id']; ?>');
                                     $('.catName').html('<?php echo $product_proteinres['product_title']; ?>'); $('.catImg').attr('src','<?= $prod_img; ?>');  $('.catImg').attr('alt','<?= $product_res['product_title']; ?> Suppliers, Distributors, Franchise in <?= $admin_res['targetlocation']; ?>'); $('.catImg').attr('title','<?= $product_proteinres['product_title']; ?> Suppliers, Distributors, Franchise in <?= $admin_res['targetlocation']; ?>');" class="img">
                    <img src="<?= $prod_img; ?>" alt="<?= $product_proteinres['product_title']; ?> Suppliers, Distributors, Franchise in <?= $admin_res['targetlocation']; ?>" title="<?= $product_proteinres['product_title']; ?> Suppliers, Distributors, Franchise in <?= $admin_res['targetlocation']; ?>">
                  </a>
                  <div class="tx-bx">
                    <h4 class="tt"><?= $product_proteinres['product_title']; ?></h4>
                    <div class="d-flex gap-1 flex-wrap justify-content-center">
                      <button class="main-btn" data-bs-toggle="modal" data-bs-target="#productEnquiry" onclick="$('.product_id').val('<?php echo $product_proteinres['product_id']; ?>');
                                     $('.catName').html('<?php echo $product_proteinres['product_title']; ?>'); $('.catImg').attr('src','<?= $prod_img; ?>');  $('.catImg').attr('alt','<?= $product_res['product_title']; ?> Suppliers, Distributors, Franchise in <?= $admin_res['targetlocation']; ?>'); $('.catImg').attr('title','<?= $product_proteinres['product_title']; ?> Suppliers, Distributors, Franchise in <?= $admin_res['targetlocation']; ?>');" title="Get Price">Get Price <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" class="bi bi-chat-square-quote-fill" viewBox="0 0 16 16">
                          <path d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.5a1 1 0 0 0-.8.4l-1.9 2.533a1 1 0 0 1-1.6 0L5.3 12.4a1 1 0 0 0-.8-.4H2a2 2 0 0 1-2-2zm7.194 2.766a1.7 1.7 0 0 0-.227-.272 1.5 1.5 0 0 0-.469-.324l-.008-.004A1.8 1.8 0 0 0 5.734 4C4.776 4 4 4.746 4 5.667c0 .92.776 1.666 1.734 1.666.343 0 .662-.095.931-.26-.137.389-.39.804-.81 1.22a.405.405 0 0 0 .011.59c.173.16.447.155.614-.01 1.334-1.329 1.37-2.758.941-3.706a2.5 2.5 0 0 0-.227-.4zM11 7.073c-.136.389-.39.804-.81 1.22a.405.405 0 0 0 .012.59c.172.16.446.155.613-.01 1.334-1.329 1.37-2.758.942-3.706a2.5 2.5 0 0 0-.228-.4 1.7 1.7 0 0 0-.227-.273 1.5 1.5 0 0 0-.469-.324l-.008-.004A1.8 1.8 0 0 0 10.07 4c-.957 0-1.734.746-1.734 1.667 0 .92.777 1.666 1.734 1.666.343 0 .662-.095.931-.26z" />
                        </svg></button>
                      <button data-bs-target="#whatsappEnquiry" data-bs-toggle="modal" class="w-btn" title="Chat">
                        Chat <svg xmlns="http://www.w3.org/2000/svg" width="14" height="15" fill="currentColor" viewBox="0 0 16 16">
                          <path d="M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z">
                          </path>
                        </svg>
                      </button>
                    </div>
                  </div>
                </div>
              </div>
          <?php }
          } ?>

        </div>
        <div class="swiper-button-next"></div>
        <div class="swiper-button-prev"></div>
      </div>
    </div>
  </div>
  <?php include 'app_testimonial.php'; ?>
  <div class="section">
    <div class="container">
      <div class="head-sec">
        <div class="tt fs-3">Recent <span>Blogs</span></div>
        <p>Stay informed and inspired with our latest articles on health, fitness, nutrition, and wellness. From expert tips on muscle building to the best supplements for hair growth, our blogs are packed with valuable insights to help you achieve your goals. Keep up with the latest trends, strategies, and tips to live a healthier, more energized life.</p>
      </div>
      <div class="row g-3 row-cols-1 row-cols-md-2 row-cols-lg-3">
        <?php

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

          $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'], 600, 400, $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">
            <div class="blog-bx">
              <a href="<?= site_url; ?>/blog/<?= getValidFileName($blog_res['catName']); ?>.htm" class="img-bx" title="<?= $blog_res['blogDname']; ?>">
                <img src="<?= $blog_img; ?>" alt="<?= $blog_res['blogDname']; ?>" title="<?= $blog_res['blogDname']; ?>">
              </a>
              <div class="tx-bx">
                <div class="tt"><a href="<?= site_url; ?>/blog/<?= getValidFileName($blog_res['catName']); ?>.htm" title="<?= $blog_res['blogDname']; ?>"><?= $blog_res['blogDname']; ?></a></div>
                <p><?= substr($blog_shortdesc, 0, 150); ?></p>
                <a href="<?= site_url; ?>/blog/<?= getValidFileName($blog_res['catName']); ?>.htm" class="read-mr" title="Read More">Read More <svg fill="currentColor" width="20" height="20" viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg" class="icon line">
                    <path d="M3,12H21m-3,3,3-3L18,9"
                      style="fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1;">
                    </path>
                  </svg></a>
              </div>
            </div>
          </div>
        <?php } ?>

      </div>
    </div>
  </div>
  <div class="section bg-sec">
    <div class="container">
      <div class="head-sec">
        <div class="tt">Most Popular Latest Videos from <span>Our Youtube Channel</span></div>
        <p>Experience the excitement on our YouTube channel! Explore the most popular and latest videos that are making waves. From exclusive sneak peeks and trending products to expert insights and creative showcases — it’s all waiting for you. Stay ahead, stay engaged, and see what’s capturing everyone’s attention right now. Hit play and join the movement!</p>
      </div>
      <div class="row g-3 row-cols-1 row-cols-md-2 row-cols-lg-3">

        <?php
        $video_sql = mysqli_query($GLOBALS['dbconn'], "select slink_title, slink_url from video_tbl");
        while ($video_res = mysqli_fetch_array($video_sql)) { ?>
          <div class="col">
            <div class="vidBx">
              <a href="https://www.youtube.com/watch?v=<?= $video_res['slink_url']; ?>" title="<?= $video_res['slink_title']; ?>" data-fancybox="" class="imgBx">
                <img src="https://img.youtube.com/vi/<?= $video_res['slink_url']; ?>/sddefault.jpg" alt="<?= $video_res['slink_title']; ?>" title="<?= $video_res['slink_title']; ?>">
                <span class="video-play-icon">
                  <svg version="1.1" viewBox="0 0 68 48" width="60">
                    <path class="ytp-large-play-button-bg" d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z" fill="#f00"></path>
                    <path d="M 45,24 27,14 27,34" fill="#fff"></path>
                  </svg>
                </span>
              </a>
              <div class="txBx"><?= $video_res['slink_title']; ?></div>
            </div>
          </div>
        <?php } ?>

      </div>
    </div>
  </div>
  <?php include 'app_media.php'; ?>
  <?php include 'app_footer.php'; ?>
  <?php include 'app_bottom.php'; ?>
  <script>
    const prSlider = new Swiper(".pr-silder", {
      rewind: true,
      pagination: {
        el: ".swiper-pagination",
        clickable: true,
      },
      breakpoints: {
        640: {
          slidesPerView: 1,
          spaceBetween: 30,
        },
        768: {
          slidesPerView: 2,
          spaceBetween: 30,
        },
        1024: {
          slidesPerView: 3,
          spaceBetween: 30,
        },
      },
    });
  </script>
</body>

</html>