<?php include 'include/header.php' ?>
<?php
$sql_gal = sqlfetch("select * from offer where actstat=1 and id='" . $_GET['id'] . "'");
if (count($sql_gal))
    foreach ($sql_gal as $pr_gal) {
    }
?>

<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"><?php echo $pr_gal['name']; ?> </li>
                </ul>
            </nav>
        </div>
    </div>
    <div class="overlay"></div>
</section>










<section class="blogmain">
    <div class="container">
        <div class="row">
            <div class="col-lg-8 col-12">
                <div class="blog-single">
                    <div class="blog-image">
                        <img src="upload/<?php echo $pr_gal['photo']; ?> " alt="image" />
                    </div>
                    <div class="blog-content mar-bottom-30">
                        <h3 class="blog-title"><a href="#"><?php echo $pr_gal['name']; ?> </a></h3>
                        <div class="para-content pad-bottom-20">
                            <span><a href="#"><i class="fa fa-comment"></i> <?php echo $pr_gal['des1']; ?></a></span>
                        </div>
                        <p>
                            <?php echo $pr_gal['des']; ?>

                        </p>
                    </div>


                </div>
            </div>

            <!-- sidebar starts -->
            <div class="col-lg-4 col-12 pad-left-30">
                <div class="blog-sidebar">
                    <div class="blog-search mar-bottom-30">
                        <input type="search" name="search" class="search" placeholder="keyword find here" />
                        <a href="#" class="biz-btn biz-btn1"><i class="fa fa-search"></i></a>
                    </div>

                    <div class="sidebar-item">
                        <h3>All Categories</h3>
                        <ul class="sidebar-category">
                            <?php

                            $sub_cat = sqlfetch("SELECT * FROM category ");
                            if (count($sub_cat)) {
                                foreach ($sub_cat as $subcat) {

                            ?>

                                    <li><a href="#"><?php echo $subcat['name']; ?></a></li>

                            <?php
                                }
                            }
                            ?>
                        </ul>
                    </div>



                    <div class="sidebar-item">
                        <h3>Tags</h3>
                        <ul class="sidebar-tags">
                            <li><a href="#">Tour</a></li>
                            <li><a href="#">Rental</a></li>
                            <li><a href="#">City</a></li>
                            <li><a href="#">Yatch</a></li>
                            <li><a href="#">Activity</a></li>
                            <li><a href="#">Museum</a></li>
                            <li><a href="#">Beauty</a></li>
                            <li><a href="#">Classic</a></li>
                            <li><a href="#">Creative</a></li>
                            <li><a href="#">Designs</a></li>
                            <li><a href="#">Featured</a></li>
                            <li><a href="#">Free Style</a></li>
                            <li><a href="#">Programs</a></li>
                            <li><a href="#">Travel</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>




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