<?php 
include_once("include/main.inc.php");
$blog_title = $_GET['blo_id'];
$blog_title = str_replace('-',' ',$blog_title);
$blog_data = blogDataByName($blog_title);
$blog_name = $blog_data['catName'];
$blogDname = $blog_data['blogDname'];
$blogDate = $blog_data['blogDate'];
$catImage = $blog_data['catImage'];
$blogDate = string_date($blogDate);
$blog_written = $blog_data['blog_written'];
$catDesc = $blog_data['catDesc'];
$catDesc1 = $blog_data['catDesc1'];
$current_page = "blogs";
?>





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

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title><?=$blog_name;?></title>
    <meta name="keywords" content="<?=$blog_name;?>" />
    <meta name="description" content="<?=$blog_name;?>" />
    <?php include 'components/top_header.php';?>
</head>

<body>
    <div class="webpulse-main-wrapper">
        <!-- Header -->
        <?php include 'components/header.php';?>



        <!-- Heading Banner -->
        <section class="heading_banner" style="background-image: url(<?=SITE_URL_PATH;?>/designer/images/blog/blog.jpg)">
            <div class="container">
                <div class="row">
                    <div class="col-lg-12 text-center">
                        <div class="cat_title"><?=$blogDname;?></div>
                        <div class="clearfix"></div>
                        <div class="cat_title2">We Are Available For You</div>
                    </div>
                </div>
            </div>
        </section>

        <!-- Breadcrumb -->
        <section class="inner_breadcrumb hidden-xs">
            <div class="container">
                <div class="row">
                    <div class="col-lg-12">
                        <ul class="breadcrumb">
                            <li><a href="<?=SITE_URL_PATH;?>" title="Home">Home</a></li>
                            <li><a href="<?=SITE_URL_PATH;?>" title="Blog">Blog</a></li>
                            <li class="active"><?=$blogDname;?></li>
                        </ul>
                    </div>
                </div>
            </div>
        </section>


        <section class="blog_page">
            <div class="container">
                <div class="row">
                    <div class="col-lg-9 col-md-12">
                        <div class="blog_left blog_details">
                            <h2><?=$blogDname;?></h2>
                            <ul>
                                <li><i class="fa fa-user"></i> By: <?=$blog_written;?></li>
                                <li><i class="fa fa-clock-o"></i> <?=$blogDate;?></li>
                            </ul>


                            
                            
                            
                            <div class="blog_details1">
                                <img class="img-responsive" src="<?=getImage($catImage, 848, 240, $blog_name,"/uploaded-files/blog/images/");?>" alt="<?=$blogDname;?>" title="<?=$blogDname;?>">
                                
                                     
                                <?=html_entity_decode($catDesc1);?>
                                

                                </div>


                                <div class="clearfix"></div>
                                <div class="you_may">Related Blog</div>
                                <div class="row">

                                    <div class="col-md-4 col-lg-4 col-sm-4 col-xs-12">
                                        <div class="row">
                                            <div class="col-md-12">
                                                <aricle>
                                                    <div class="recent_blog">
                                                        <a href="blog-details.html">
                                                            <div class="image"><img class="img-responsive"
                                                                    src="designer/images/blog/blog/new1.jpg"></div>
                                                        </a>
                                                        <div class="article_title ">
                                                            <hr class="article_line">
                                                            <h3 class="text-limit-100px"><a
                                                                    href="jblog-details.html">Design Trends 2019: All
                                                                    The Home Decor Trends To Covet In The Coming
                                                                    Season</a></h3>
                                                            <span class="article_category_name">
                                                                <a href="blog-details.html"><span>Latest Blog</span></a>
                                                            </span>
                                                        </div>
                                                    </div>
                                                </aricle>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="col-md-4 col-lg-4 col-sm-4 col-xs-12">
                                        <div class="row">
                                            <div class="col-md-12">
                                                <aricle>
                                                    <div class="recent_blog">
                                                        <a href="blog-details.html">
                                                            <div class="image"><img class="img-responsive"
                                                                    src="designer/images/blog/blog/new2.jpg"></div>
                                                        </a>
                                                        <div class="article_title ">
                                                            <hr class="article_line">
                                                            <h3 class="text-limit-100px"><a
                                                                    href="blog-details.html">Design Trends 2019: All The
                                                                    Home Decor Trends To Covet In The Coming Season</a>
                                                            </h3>
                                                            <span class="article_category_name">
                                                                <a href="blog-details.html"><span>Blog</span></a>
                                                            </span>
                                                        </div>
                                                    </div>
                                                </aricle>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="col-md-4 col-lg-4 col-sm-4 col-xs-12">
                                        <div class="row">
                                            <div class="col-md-12">
                                                <aricle>
                                                    <div class="recent_blog">
                                                        <a href="blog-details.html">
                                                            <div class="image"><img class="img-responsive"
                                                                    src="designer/images/blog/blog/new3.jpg"></div>
                                                        </a>
                                                        <div class="article_title ">
                                                            <hr class="article_line">
                                                            <h3 class="text-limit-100px"><a
                                                                    href="blog-details.html">Design Trends 2019: All The
                                                                    Home Decor Trends To Covet In The Coming Season</a>
                                                            </h3>
                                                            <span class="article_category_name">
                                                                <a href="blog-details.html"><span>News</span></a>
                                                            </span>
                                                        </div>
                                                    </div>
                                                </aricle>
                                            </div>
                                        </div>
                                    </div>


                                </div>



                            </div>
                        </div>
                    </div>



                    <div class="col-lg-3 col-md-12">
                        <div class="left_sidebar">
                            <div class="left_title1">Popular Post</div>
                            <div class="right_news">
                                <a href="javascript:void()">
                                    <div class="image">
                                        <img src="designer/images/blog/blog/new1.jpg">
                                    </div>
                                </a>
                                <h3><a href="javascript:void()">Design Trends 2019: All The Home Decor Trends To Covet
                                        In The Coming Season</a></h3>
                            </div>

                            <div class="right_news">
                                <a href="javascript:void()">
                                    <div class="image">
                                        <img src="designer/images/blog/blog/new1.jpg">
                                    </div>
                                </a>
                                <h3><a href="javascript:void()">Design Trends 2019: All The Home Decor Trends To Covet
                                        In The Coming Season</a></h3>
                            </div>


                            <div class="right_news">
                                <a href="javascript:void()">
                                    <div class="image">
                                        <img src="designer/images/blog/blog/new1.jpg">
                                    </div>
                                </a>
                                <h3><a href="javascript:void()">Design Trends 2019: All The Home Decor Trends To Covet
                                        In The Coming Season</a></h3>
                            </div>


                            <div class="right_news">
                                <a href="javascript:void()">
                                    <div class="image">
                                        <img src="designer/images/blog/blog/new1.jpg">
                                    </div>
                                </a>
                                <h3><a href="javascript:void()">Design Trends 2019: All The Home Decor Trends To Covet
                                        In The Coming Season</a></h3>
                            </div>



                            <div class="left_sidebar">
                            <?php include 'components/product_list.php';?>
                        </div>
                        </div>

                    </div>
                </div>
            </div>
        </section>


         
        <?php include 'components/testimonial.php';?>



        <!-- Footer -->
        <?php include 'components/footer.php';?>
    </div>
    <?php include 'components/bottom_footer.php';?>
</body>

</html>