<?php
include_once("include/main.inc.php");
$hover = 'blogs';

$blog_query = mysqli_query($GLOBALS['dbconn'], "select catImage,catName,blogDname,catDesc,blog_written,blogDate from blog_tbl");

$page_metatitle = "Explore FF Nutrition Hair Growth Suppliers in Haryana, India | Expert Blog Posts";

$page_metakey = "FF Nutrition Hair Growth, Hair Growth Supplements Haryana, Hair Nutrition Products, Hair Care Suppliers in Haryana, Best Hair Growth Nutrition, Hair Health Products India, Nutrition for Hair Growth, FF Nutrition Products, Herbal Hair Supplements";

$page_metadesc = "Discover trusted FF Nutrition Hair Growth Suppliers in Haryana, India with Pahal Nutrition Private Limited. Explore expert tips, product insights, and the latest trends in hair growth nutrition solutions tailored for long-term results.";

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

<head>

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

<body>
  <?php include 'app_header.php'; ?>
  <div class="breadcum-sec" style="background-image: url(<?= site_url; ?>/designer/images/category-banner.jpg);">
    <div class="container">
      <h1 class="main-tt">Blogs - <?= $admin_res['companyName']; ?></h1>
      <ul>
        <li><a href="<?= site_url; ?>" title="Home">Home</a></li>
        <li>Blogs</li>
      </ul>
    </div>
  </div>

  <div class="section bg-light">
    <div class="container">
      <div class="head-sec">
        <h2 class="tt fs-3">Recent <span>Blogs</span></h2>
        <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)) {

          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" title="<?= $blog_res['blogDname']; ?>" class="img-bx">
                <img src="<?= $blog_img; ?>" alt="<?= $blog_res['blogDname']; ?>" title="<?= $blog_res['blogDname']; ?>">
              </a>
              <div class="tx-bx">
                <h3 class="tt"><a href="<?= site_url; ?>/blog/<?= getValidFileName($blog_res['catName']); ?>.htm" title="<?= $blog_res['blogDname']; ?>"><?= $blog_res['blogDname']; ?></a></h3>
                <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>
  <?php include 'app_footer.php'; ?>
  <?php include 'app_bottom.php'; ?>
</body>

</html>