<?php echo $header; ?>
    <div class="container">
        <ul class="breadcrumb">
            <?php foreach ($breadcrumbs as $breadcrumb) { ?>
                <li><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a></li>
            <?php } ?>
        </ul>
        
        <div class="form-group">
            <?php echo $column_left; ?>
            <?php if ($column_left && $column_right) { ?>
                <?php $class = 'col-sm-6'; ?>
            <?php } elseif ($column_left || $column_right) { ?>
                <?php $class = 'col-sm-9'; ?>
            <?php } else { ?>
                <?php $class = 'col-sm-12'; ?>
            <?php } ?>
            
            <div id="content" class="<?php //echo $class; ?> twelve columns blog-article">
                <?php echo $content_top; ?>
                <h1><?php echo $heading_title; ?></h1>
                
                <div class="row7">
                    <?php if($articles) { ?>
                        <?php foreach($articles as $article) { ?>                            
                            <div class="form-group post">
                                <div class="article-title">
                                    <h3 class="teaser"><a href="<?php echo $article['href']; ?>"><?php echo ucwords($article['article_title']); ?></a><h3>
                                </div>
                                <div class="article-sub-title">
                                    <span class="article-date"><?php echo $article['date_added']; ?></span> |
                                    <span class="article-author"><a href="<?php echo $article['author_href']; ?>"><?php echo $article['author_name']; ?></a></span>
        							<?php if($article['allow_comment']) { ?>
                                    | <span class="article-comment"><a href="<?php echo $article['comment_href']; ?>#comment-section"><?php echo $article['total_comment']; ?></a></span>
        							<?php } ?>
        						</div>
                                <?php if($article['image']) { ?>
        							<?php if($article['featured_found']) { ?>
        								<div class="article-image">
        									<img src="<?php echo $article['image']; ?>" alt="<?php echo $article['article_title']; ?>" />
        								</div>
        							<?php } else { ?>
        								<div class="article-thumbnail-image">
        									<img src="<?php echo $article['image']; ?>" alt="<?php echo $article['article_title']; ?>" />
        									<span class="article-description">
        										<?php echo $article['description']; ?>
        									</span>
        								</div>
        							<?php } ?>
        						<?php } ?>

                                <div class="article-description">
        						    <p><?php echo $article['description']; ?></p>
        						</div>
                                
                                <div class="button_outer">
                                    <a class="button button_form" href="<?php echo $article['href']; ?>"><?php echo $button_continue_reading; ?></a>
                                </div>
                                
                                <?php if(!$article['featured_found']) { ?>
        							<div class="article-thumbnail-found"></div>
        						<?php } ?>                                
                            </div>
                        <?php } ?>
                        
                        <div class="row">
                            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-left"><?php echo $pagination; ?></div>
                            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-right"><?php echo $results; ?></div>
                        </div>
                           
                    <?php } else { ?>
                        <h3 class="text-center"><?php echo $text_no_found; ?></h3>
                    <?php } ?>
                </div>               
                
                <?php echo $content_bottom; ?>
            </div>            
            
            <?php echo $column_right; ?>
        </div>        
    </div>    
<?php echo $footer; ?>