<?php include_once("include/main.inc.php");

$blogData = blogData();
$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 - <?=COMPANY_NAME;?></title>
    <meta name="keywords" content="Blog - <?=COMPANY_NAME;?>" />
    <meta name="description" content="Blog - <?=COMPANY_NAME;?>" />
    <?php include 'components/top_header.php';?>
</head>

<body>
    <div class="webpulse-main-wrapper">
        <!-- Header -->
        <?php include 'components/header.php';?>
        <div 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">
                        <h1 class="cat_title">Our Blog</h1>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
        </div>
        <div 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 class="active">Our Blog</li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <section class="blog_page">
            <div class="container">
                <div class="row">
                    <div class="col-lg-9 col-md-12">
                        <div class="blog_left">
                            <h2 class="bg-title">Our Blog</h2>
                            <div class="clearfix"></div>
                            <div class="row">

                            <?php  foreach($blogData as $blogVal)
                       {
                           ?>
                                <div class="col-md-6 col-lg-6 col-sm-6 col-xs-12">
                                    <div class="row">
                                        <div class="col-md-12">
                                                <div class="blog_grid">
                                                    <a href="<?=SITE_URL_PATH;?>/blog/<?=getValidFileName($blogVal['catName']);?>.htm" title="<?=$blogVal['catName'];?>">
                                                        <div class="image">
	<img class="img-responsive" src="<?=getImage($blogVal['catImage'], 404, 280, $blogVal['catName'],"/uploaded-files/blog/images/");?>"  alt="<?php echo $blogVal['blogDname'];?>" title="<?php echo $blogVal['blogDname'];?>">
	
	</div>
                                                    </a>
                                                    <div class="article_title ">
                                                        <hr class="article_line">
                                                        <h3 class="blog-title text-limit-100px"><a href="<?=SITE_URL_PATH;?>/blog/<?=getValidFileName($blogVal['catName']);?>.htm" title="<?=$blogVal['catName'];?>"><?=$blogVal['blogDname'];?></a></h3>
                                                        <span class="article_category_name">
                                                            <a href="<?=SITE_URL_PATH;?>/blog/<?=getValidFileName($blogVal['catName']);?>.htm" title="<?=$blogVal['catName'];?>"><span>Latest Blog</span></a>
                                                        </span>
                                                    </div>
                                                </div>
                                          
                                        </div>
                                    </div>
                                </div>

                               <?php } ?>

                            </div>

                            


                        </div>
                    </div>

                    <div class="col-lg-3 col-md-6 col-lg-pull-9">
                        <div class="left_sidebar">
                            <?php include 'components/quick_contact.php';?>
                        </div>
                        <div class="left_sidebar">
                            <?php include 'components/product_list.php';?>
                        </div>
                    </div>
                </div>
            </div>
        </section>

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

</html>