<?php include 'include/header.php' ?>

<style>
    section.breadcrumb-outer:before {
        background: url(img/breadcrumbbg.jpg) no-repeat;
        background-position: center;
        animation: kbrns_zoomInOut 15s linear 0s infinite alternate;
        background-size: cover;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        content: ""
    }
</style>

<section class="breadcrumb-outer text-center">
    <div class="container">
        <div class="breadcrumb-content">
            <h2 class="white"> Blogs</h2>
            <nav aria-label="breadcrumb">
                <ul class="breadcrumb">
                    <li class="breadcrumb-item"><a href="#">Home</a></li>
                    <li class="breadcrumb-item active" aria-current="page">Blogs</li>
                </ul>
            </nav>
        </div>
    </div>
    <div class="overlay"></div>
</section>







<section class="blog">
    <div class="container">
        <div class="section-title">
            <h2><span>Featured</span> Post</h2>

        </div>
        <div class="row">
            <?php $result = sqlfetch("select * from offer ");
            if (count($result)) {
                foreach ($result as $pr_gal) {
            ?>
                    <div class="col-lg-4 col-md-12 col-12 mt-4">
                        <div class="grid" style="box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; padding:13px;">
                            <div class="grid-item">
                                <div class="grid-image">
                                    <a href="blog-single.php?id=<?php echo $pr_gal['id']; ?>">
                                        <img src="upload/<?php echo $pr_gal['photo']; ?>" alt="blog" style="height: 240px;" />
                                    </a>
                                </div>
                                <div class="gridblog-content">
                                    <div class="date mar-bottom-15"><i class="flaticon flaticon-calendar"></i> <?php echo $pr_gal['des1']; ?></div>
                                    <h3><a href="blog-single.php?id=<?php echo $pr_gal['id']; ?>"><?php echo $pr_gal['name']; ?></a></h3>
                                    <p><?php custom_echo($pr_gal['des'], 100); ?></p>
                                    <a href="blog-single.php?id=<?php echo $pr_gal['id']; ?>" class="biz-btn biz-btn1">Read More</a>
                                </div>
                            </div>
                        </div>
                    </div>
            <?php }
            } ?>
        </div>
    </div>
</section>






<?php include 'include/footer.php' ?>