<main class="page-header-1 section-contact bg-dots">
                <div class="container">
                    <div class="row">
                        <div class="col-md-3"></div>
                        <div class="col-md-12 col-sm-3 text-center">
                            <div class="section-contact-info text-center">
                                <div class="title-hr inline-block"></div>
                                <h1>Blogs</h1>
                            </div>
                        </div>
                    </div>
                </div>
            </main>



            <div class="content">
                <div>
                    <section>
                        <div class="section-news text-center">
                            <img alt="" src="images/demo-banner.jpg">
                        </div>
                    </section>
                </div>
                <div>
                    <section class="section-news section">
                        <div class="container">
                            <div class="grid-container">
                            <?php if($blog_list){?>
			                    <?php foreach ($blog_list as  $blog) {?>
                                <div class="news-item">
                                    <img alt="<?=$blog['title']?>" src="<?=base_url('public/uploads/'.$blog['photo_image'])?>">
                                    <div class="news-hover">
                                        <div class="hover-border">
                                            <div></div>
                                        </div>
                                        <div class="content">
                                            <div class="time"><?=date('M jS, Y', strtotime($blog['publish_date']))?></div>
                                            <h3 class="news-title"> <?=$blog['title']?></h3>
                                        </div>
                                        <a class="read-more" href="<?=base_url('blog/detail/'.$blog['blog_url'])?>">Continue</a>
                                    </div>
                                </div>
                                
                                <?php }} ?>
                            </div>
                        </div>
                    </section>
                </div>
            </div>