<?php 
include_once("include/main.inc.php");
$blog_res = mysqli_query($dbconn, "select * from blog_tbl");
?>


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

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Blog - Bluestar Sanitary Industries Pvt. Ltd.</title>
    <meta name="keywords" content="Blog - Bluestar Sanitary Industries Pvt. Ltd." >
    <meta name="description" content="Blog - Bluestar Sanitary Industries Pvt. Ltd." >
    <?php include "app_top.php"; ?>
</head>

<body>

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

    <section class="heading_banner" style="background-image: url(<?=theme_url;?>/images/blog-banner.jpg)">
        <div class="container">
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 text-center">
                    <h1 class="cat_title">Our Blog</h1>
                    <div class="clearfix"></div>
                    <div class="cat_title2">Make Your Homelife Gorgeous</div>
                </div>
            </div>
        </div>
    </section>

    <div class="inner_breadcrumb hidden_xs">
        <div class="container">
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                    <ul class="breadcrumb">
                        <li><a href="<?=site_url;?>" title="Home">Home</a></li>
                        <li class="active">Our Blog</li>
                    </ul>
                </div>
            </div>
        </div>
    </div>


    <section class="blog_page">
        <div class="container">
            <h2 class="title_2">Our Blog</h2>
            <div class="clearfix"></div>
            <div class="row">

            <?php while ($blog_sql = mysqli_fetch_array($blog_res)) { ?>
                <div class="col-xxl-4 col-xl-4 col-lg-4 col-md-6 col-sm-6 col-12">
                    <div class="single-post2 wow fadeInLeft" data-wow-delay=".3s">
                        <div class="blog-thumb2">
                          
                            <a href="<?=site_url;?>/blog/<?=getValidFileName($blog_sql['catName']);?>.htm" title="<?php echo $blog_sql['blogDname'];?>"> <img src="<?= getImage($blog_sql['catImage'], 376, 376, $blog_sql['catName'], "/uploaded-files/blog/images/"); ?>" title="<?php echo $blog_sql['blogDname'];?>" alt="<?php echo $blog_sql['blogDname'];?>"> </a>
                        </div>
                        <div class="blog-content2">
                            <div class="b-meta">
                                <div class="meta-info">
                                    <ul>
                                        <li><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                                                <path d="M10.854 7.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708 0z" />
                                                <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z" />
                                            </svg> 22th July 2022</li>

                                    </ul>
                                </div>
                            </div>
                            <h4 class="blog__title"><a href="<?=site_url;?>/blog/<?=getValidFileName($blog_sql['catName']);?>.htm" title="<?php echo $blog_sql['blogDname'];?>"><?php echo $blog_sql['blogDname'];?></a></h4>

                            <p class="blog__desc"><?php echo html_entity_decode($blog_sql['pageDescription']); ?></p> 
                          
                           
                        </div>
                    </div>

                      
            </div>

            <?php } ?> 
            
            </div>
  
        </div>
       
    </section>

    <?php include "app_testimonials.php"; ?>
    <!-- <?php include "app_clients.php"; ?> -->
    <?php include "app_faq.php"; ?>

    <?php include "app_footer.php"; ?>
    <?php include "app_bottom.php"; ?>
</body>

</html>