<?php
defined('_JEXEC') or die;
?>

<!--COMPONENT common -->

<?php
$view = new DesignerContent($this, $this->params);

$pageHeading = $view->pageHeading;
$this->articleTemplate = 'article_2';

ob_start();
?>

<div class=" bd-blog bd-no-margins <?php echo $this->pageclass_sfx; ?>" itemscope itemtype="http://schema.org/Blog"  >
    <div class="bd-container-inner">

<?php
$pagination_list = array();
if ($this->params->def('show_pagination', 2) == 1
    || ($this->params->get('show_pagination') == 2
        && $this->pagination->get('pages.total') > 1))
{
    $GLOBALS['theme_settings']['active_paginator'] = 'specific';
    $pagination_list = $this->pagination->getPagesLinks();
}
?>
<?php $str = 'col-lg-1 col-md-1 col-sm-1 col-xs-1'; ?>

<?php $leadingcount = 0; ?>
<?php if (!empty($this->lead_items)) : ?>
    <div class=" bd-grid-5 bd-margins">
      <div class="container-fluid">
        <div class="separated-grid row">
        <?php
            $leadingItemClass = preg_replace('/col-(lg|md|sm|xs)-\d+/', 'col-$1-' . 12, $str);
        ?>
        <?php foreach ($this->lead_items as $item) : ?>
            <div class="<?php echo $leadingItemClass; ?>" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
                <div class="bd-griditem-30">
                <?php
                    $this->item = $item;
                    echo $this->loadTemplate('item');
                ?>
                </div>
            </div>
            <?php $leadingcount++; ?>
        <?php endforeach; ?>
            </div>
        </div>
    </div>
<?php endif; ?>

<?php
$introcount = count($this->intro_items);
$counter = 0;
?>
<?php if (!empty($this->intro_items)) : ?>
    <div class=" bd-grid-5 bd-margins">
      <div class="container-fluid">
        <div class="separated-grid row">
    <?php foreach ($this->intro_items as $key => $item) : ?>
        <?php
            $key = ($key - $leadingcount) + 1;
            $rowcount = (((int)$key - 1) % (int)$this->columns) + 1;
            $row = $counter / $this->columns;
            $counter++;
        ?>
        <?php
            
            $itemClass = 'separated-item-30 col-lg-4 col-md-4 col-sm-12 col-xs-12 ';
            $mergedModes = '3' . '3' . '1' . '1';
            if ('' === $mergedModes) {
                $itemClass = $itemClass . preg_replace('/col-(lg|md|sm|xs)-\d+/', 'col-$1-' . round(12 / min(12, max(1, $this->columns))), $str);
            }
        ?>
        <div class="<?php echo $itemClass; ?>" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
            <div class="bd-griditem-30">
        <?php
            $this->item = $item;
            echo $this->loadTemplate('item');
        ?>
            </div>
        </div>
    <?php endforeach; ?>
            </div>
        </div>
    </div>
<?php endif; ?>
<?php if (count($pagination_list) > 0) : ?>
    <div class=" bd-blogpagination-1">
        <?php
            echo renderTemplateFromIncludes('pagination_list_render_1', array($pagination_list));
        ?>
    </div>
<?php endif; ?>
    </div>
</div>

<?php
echo ob_get_clean();
?>
<!--COMPONENT common /-->
<?php
defined('_JEXEC') or die;
?>

<!--COMPONENT blog_2 -->

<?php
$view = new DesignerContent($this, $this->params);

$pageHeading = $view->pageHeading;
$this->articleTemplate = 'article_7';

ob_start();
?>
<div class="bd-containereffect-9 container-effect container ">
<div class=" bd-blog-2  <?php echo $this->pageclass_sfx; ?>" itemscope itemtype="http://schema.org/Blog" /**/style="display:none"/**/ >
    <div class="bd-container-inner">

<?php
$pagination_list = array();
if ($this->params->def('show_pagination', 2) == 1
    || ($this->params->get('show_pagination') == 2
        && $this->pagination->get('pages.total') > 1))
{
    $GLOBALS['theme_settings']['active_paginator'] = 'specific';
    $pagination_list = $this->pagination->getPagesLinks();
}
?>
<?php $str = 'col-lg-1 col-md-1 col-sm-1 col-xs-1'; ?>

<?php $leadingcount = 0; ?>
<?php if (!empty($this->lead_items)) : ?>
    <div class=" bd-grid-1 bd-margins">
      <div class="container-fluid">
        <div class="separated-grid row">
        <?php
            $leadingItemClass = preg_replace('/col-(lg|md|sm|xs)-\d+/', 'col-$1-' . 12, $str);
        ?>
        <?php foreach ($this->lead_items as $item) : ?>
            <div class="<?php echo $leadingItemClass; ?>" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
                <div class="bd-griditem-7">
                <?php
                    $this->item = $item;
                    echo $this->loadTemplate('item');
                ?>
                </div>
            </div>
            <?php $leadingcount++; ?>
        <?php endforeach; ?>
            </div>
        </div>
    </div>
<?php endif; ?>

<?php
$introcount = count($this->intro_items);
$counter = 0;
?>
<?php if (!empty($this->intro_items)) : ?>
    <div class=" bd-grid-1 bd-margins">
      <div class="container-fluid">
        <div class="separated-grid row">
    <?php foreach ($this->intro_items as $key => $item) : ?>
        <?php
            $key = ($key - $leadingcount) + 1;
            $rowcount = (((int)$key - 1) % (int)$this->columns) + 1;
            $row = $counter / $this->columns;
            $counter++;
        ?>
        <?php
            
            $itemClass = 'separated-item-7 col-lg-4 col-md-4 col-sm-12 col-xs-12 ';
            $mergedModes = '3' . '3' . '1' . '1';
            if ('' === $mergedModes) {
                $itemClass = $itemClass . preg_replace('/col-(lg|md|sm|xs)-\d+/', 'col-$1-' . round(12 / min(12, max(1, $this->columns))), $str);
            }
        ?>
        <div class="<?php echo $itemClass; ?>" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
            <div class="bd-griditem-7">
        <?php
            $this->item = $item;
            echo $this->loadTemplate('item');
        ?>
            </div>
        </div>
    <?php endforeach; ?>
            </div>
        </div>
    </div>
<?php endif; ?>
<?php if (count($pagination_list) > 0) : ?>
    <div class=" bd-blogpagination-6">
        <?php
            echo renderTemplateFromIncludes('pagination_list_render_6', array($pagination_list));
        ?>
    </div>
<?php endif; ?>
    </div>
</div>
</div>
<?php
echo ob_get_clean();
?>
<!--COMPONENT blog_2 /-->
<?php
defined('_JEXEC') or die;
?>

<!--COMPONENT blog_5 -->

<?php
$view = new DesignerContent($this, $this->params);

$pageHeading = $view->pageHeading;
$this->articleTemplate = 'article_4';

ob_start();
?>

<div class=" bd-blog-5 bd-no-margins <?php echo $this->pageclass_sfx; ?>" itemscope itemtype="http://schema.org/Blog" /**/style="display:none"/**/ >
    <div class="bd-container-inner">

<?php
$pagination_list = array();
if ($this->params->def('show_pagination', 2) == 1
    || ($this->params->get('show_pagination') == 2
        && $this->pagination->get('pages.total') > 1))
{
    $GLOBALS['theme_settings']['active_paginator'] = 'specific';
    $pagination_list = $this->pagination->getPagesLinks();
}
?>
<?php $str = 'col-lg-1 col-md-1 col-sm-1 col-xs-1'; ?>

<?php $leadingcount = 0; ?>
<?php if (!empty($this->lead_items)) : ?>
    <div class=" bd-grid-7 bd-margins">
      <div class="container-fluid">
        <div class="separated-grid row">
        <?php
            $leadingItemClass = preg_replace('/col-(lg|md|sm|xs)-\d+/', 'col-$1-' . 12, $str);
        ?>
        <?php foreach ($this->lead_items as $item) : ?>
            <div class="<?php echo $leadingItemClass; ?>" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
                <div class="bd-griditem-46">
                <?php
                    $this->item = $item;
                    echo $this->loadTemplate('item');
                ?>
                </div>
            </div>
            <?php $leadingcount++; ?>
        <?php endforeach; ?>
            </div>
        </div>
    </div>
<?php endif; ?>

<?php
$introcount = count($this->intro_items);
$counter = 0;
?>
<?php if (!empty($this->intro_items)) : ?>
    <div class=" bd-grid-7 bd-margins">
      <div class="container-fluid">
        <div class="separated-grid row">
    <?php foreach ($this->intro_items as $key => $item) : ?>
        <?php
            $key = ($key - $leadingcount) + 1;
            $rowcount = (((int)$key - 1) % (int)$this->columns) + 1;
            $row = $counter / $this->columns;
            $counter++;
        ?>
        <?php
            
            $itemClass = 'separated-item-46 col-md-12 ';
            $mergedModes = '' . '1' . '' . '';
            if ('' === $mergedModes) {
                $itemClass = $itemClass . preg_replace('/col-(lg|md|sm|xs)-\d+/', 'col-$1-' . round(12 / min(12, max(1, $this->columns))), $str);
            }
        ?>
        <div class="<?php echo $itemClass; ?>" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
            <div class="bd-griditem-46">
        <?php
            $this->item = $item;
            echo $this->loadTemplate('item');
        ?>
            </div>
        </div>
    <?php endforeach; ?>
            </div>
        </div>
    </div>
<?php endif; ?>
<?php if (count($pagination_list) > 0) : ?>
    <div class=" bd-blogpagination-3">
        <?php
            echo renderTemplateFromIncludes('pagination_list_render_3', array($pagination_list));
        ?>
    </div>
<?php endif; ?>
    </div>
</div>

<?php
echo ob_get_clean();
?>
<!--COMPONENT blog_5 /-->
<?php
defined('_JEXEC') or die;
?>

<!--COMPONENT blog_3 -->

<?php
$view = new DesignerContent($this, $this->params);

$pageHeading = $view->pageHeading;
$this->articleTemplate = 'article_3';

ob_start();
?>

<div class=" bd-blog-3 bd-no-margins <?php echo $this->pageclass_sfx; ?>" itemscope itemtype="http://schema.org/Blog" /**/style="display:none"/**/ >
    <div class="bd-container-inner">

    <?php if ($pageHeading) : ?>
        <h1 class=" bd-container-18 bd-tagstyles"><?php echo $pageHeading; ?></h1>
    <?php endif; ?>
<?php
$pagination_list = array();
if ($this->params->def('show_pagination', 2) == 1
    || ($this->params->get('show_pagination') == 2
        && $this->pagination->get('pages.total') > 1))
{
    $GLOBALS['theme_settings']['active_paginator'] = 'specific';
    $pagination_list = $this->pagination->getPagesLinks();
}
?>
<?php $str = 'col-lg-1 col-md-1 col-sm-1 col-xs-1'; ?>

<?php $leadingcount = 0; ?>
<?php if (!empty($this->lead_items)) : ?>
    <div class=" bd-grid-6 bd-margins">
      <div class="container-fluid">
        <div class="separated-grid row">
        <?php
            $leadingItemClass = preg_replace('/col-(lg|md|sm|xs)-\d+/', 'col-$1-' . 12, $str);
        ?>
        <?php foreach ($this->lead_items as $item) : ?>
            <div class="<?php echo $leadingItemClass; ?>" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
                <div class="bd-griditem-38">
                <?php
                    $this->item = $item;
                    echo $this->loadTemplate('item');
                ?>
                </div>
            </div>
            <?php $leadingcount++; ?>
        <?php endforeach; ?>
            </div>
        </div>
    </div>
<?php endif; ?>

<?php
$introcount = count($this->intro_items);
$counter = 0;
?>
<?php if (!empty($this->intro_items)) : ?>
    <div class=" bd-grid-6 bd-margins">
      <div class="container-fluid">
        <div class="separated-grid row">
    <?php foreach ($this->intro_items as $key => $item) : ?>
        <?php
            $key = ($key - $leadingcount) + 1;
            $rowcount = (((int)$key - 1) % (int)$this->columns) + 1;
            $row = $counter / $this->columns;
            $counter++;
        ?>
        <?php
            
            $itemClass = 'separated-item-38 col-md-12 ';
            $mergedModes = '' . '1' . '' . '';
            if ('' === $mergedModes) {
                $itemClass = $itemClass . preg_replace('/col-(lg|md|sm|xs)-\d+/', 'col-$1-' . round(12 / min(12, max(1, $this->columns))), $str);
            }
        ?>
        <div class="<?php echo $itemClass; ?>" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
            <div class="bd-griditem-38">
        <?php
            $this->item = $item;
            echo $this->loadTemplate('item');
        ?>
            </div>
        </div>
    <?php endforeach; ?>
            </div>
        </div>
    </div>
<?php endif; ?>
<?php if (count($pagination_list) > 0) : ?>
    <div class=" bd-blogpagination-2">
        <?php
            echo renderTemplateFromIncludes('pagination_list_render_2', array($pagination_list));
        ?>
    </div>
<?php endif; ?>
    </div>
</div>

<?php
echo ob_get_clean();
?>
<!--COMPONENT blog_3 /-->
<?php
defined('_JEXEC') or die;
?>

<!--COMPONENT blog_7 -->

<?php
$view = new DesignerContent($this, $this->params);

$pageHeading = $view->pageHeading;
$this->articleTemplate = 'article_5';

ob_start();
?>

<div class=" bd-blog-7 <?php echo $this->pageclass_sfx; ?>" itemscope itemtype="http://schema.org/Blog" /**/style="display:none"/**/ >
    <div class="bd-container-inner">

    <?php if ($pageHeading) : ?>
        <h1 class=" bd-container-24 bd-tagstyles"><?php echo $pageHeading; ?></h1>
    <?php endif; ?>
<?php
$pagination_list = array();
if ($this->params->def('show_pagination', 2) == 1
    || ($this->params->get('show_pagination') == 2
        && $this->pagination->get('pages.total') > 1))
{
    $GLOBALS['theme_settings']['active_paginator'] = 'specific';
    $pagination_list = $this->pagination->getPagesLinks();
}
?>
<?php $str = 'col-lg-1 col-md-1 col-sm-1 col-xs-1'; ?>

<?php $leadingcount = 0; ?>
<?php if (!empty($this->lead_items)) : ?>
    <div class=" bd-grid-8 bd-margins">
      <div class="container-fluid">
        <div class="separated-grid row">
        <?php
            $leadingItemClass = preg_replace('/col-(lg|md|sm|xs)-\d+/', 'col-$1-' . 12, $str);
        ?>
        <?php foreach ($this->lead_items as $item) : ?>
            <div class="<?php echo $leadingItemClass; ?>" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
                <div class="bd-griditem-12">
                <?php
                    $this->item = $item;
                    echo $this->loadTemplate('item');
                ?>
                </div>
            </div>
            <?php $leadingcount++; ?>
        <?php endforeach; ?>
            </div>
        </div>
    </div>
<?php endif; ?>

<?php
$introcount = count($this->intro_items);
$counter = 0;
?>
<?php if (!empty($this->intro_items)) : ?>
    <div class=" bd-grid-8 bd-margins">
      <div class="container-fluid">
        <div class="separated-grid row">
    <?php foreach ($this->intro_items as $key => $item) : ?>
        <?php
            $key = ($key - $leadingcount) + 1;
            $rowcount = (((int)$key - 1) % (int)$this->columns) + 1;
            $row = $counter / $this->columns;
            $counter++;
        ?>
        <?php
            
            $itemClass = 'separated-item-12 col-md-12 ';
            $mergedModes = '' . '1' . '' . '';
            if ('' === $mergedModes) {
                $itemClass = $itemClass . preg_replace('/col-(lg|md|sm|xs)-\d+/', 'col-$1-' . round(12 / min(12, max(1, $this->columns))), $str);
            }
        ?>
        <div class="<?php echo $itemClass; ?>" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
            <div class="bd-griditem-12">
        <?php
            $this->item = $item;
            echo $this->loadTemplate('item');
        ?>
            </div>
        </div>
    <?php endforeach; ?>
            </div>
        </div>
    </div>
<?php endif; ?>
<?php if (count($pagination_list) > 0) : ?>
    <div class=" bd-blogpagination-4">
        <?php
            echo renderTemplateFromIncludes('pagination_list_render_4', array($pagination_list));
        ?>
    </div>
<?php endif; ?>
    </div>
</div>

<?php
echo ob_get_clean();
?>
<!--COMPONENT blog_7 /-->
<?php
defined('_JEXEC') or die;
?>

<!--COMPONENT blog_8 -->

<?php
$view = new DesignerContent($this, $this->params);

$pageHeading = $view->pageHeading;
$this->articleTemplate = 'article_6';

ob_start();
?>

<div class=" bd-blog-8 <?php echo $this->pageclass_sfx; ?>" itemscope itemtype="http://schema.org/Blog" /**/style="display:none"/**/ >
    <div class="bd-container-inner">

    <?php if ($pageHeading) : ?>
        <h1 class=" bd-container-27 bd-tagstyles"><?php echo $pageHeading; ?></h1>
    <?php endif; ?>
<?php
$pagination_list = array();
if ($this->params->def('show_pagination', 2) == 1
    || ($this->params->get('show_pagination') == 2
        && $this->pagination->get('pages.total') > 1))
{
    $GLOBALS['theme_settings']['active_paginator'] = 'specific';
    $pagination_list = $this->pagination->getPagesLinks();
}
?>
<?php $str = 'col-lg-1 col-md-1 col-sm-1 col-xs-1'; ?>

<?php $leadingcount = 0; ?>
<?php if (!empty($this->lead_items)) : ?>
    <div class=" bd-grid-9 bd-margins">
      <div class="container-fluid">
        <div class="separated-grid row">
        <?php
            $leadingItemClass = preg_replace('/col-(lg|md|sm|xs)-\d+/', 'col-$1-' . 12, $str);
        ?>
        <?php foreach ($this->lead_items as $item) : ?>
            <div class="<?php echo $leadingItemClass; ?>" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
                <div class="bd-griditem-23">
                <?php
                    $this->item = $item;
                    echo $this->loadTemplate('item');
                ?>
                </div>
            </div>
            <?php $leadingcount++; ?>
        <?php endforeach; ?>
            </div>
        </div>
    </div>
<?php endif; ?>

<?php
$introcount = count($this->intro_items);
$counter = 0;
?>
<?php if (!empty($this->intro_items)) : ?>
    <div class=" bd-grid-9 bd-margins">
      <div class="container-fluid">
        <div class="separated-grid row">
    <?php foreach ($this->intro_items as $key => $item) : ?>
        <?php
            $key = ($key - $leadingcount) + 1;
            $rowcount = (((int)$key - 1) % (int)$this->columns) + 1;
            $row = $counter / $this->columns;
            $counter++;
        ?>
        <?php
            
            $itemClass = 'separated-item-23 col-md-12 ';
            $mergedModes = '' . '1' . '' . '';
            if ('' === $mergedModes) {
                $itemClass = $itemClass . preg_replace('/col-(lg|md|sm|xs)-\d+/', 'col-$1-' . round(12 / min(12, max(1, $this->columns))), $str);
            }
        ?>
        <div class="<?php echo $itemClass; ?>" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
            <div class="bd-griditem-23">
        <?php
            $this->item = $item;
            echo $this->loadTemplate('item');
        ?>
            </div>
        </div>
    <?php endforeach; ?>
            </div>
        </div>
    </div>
<?php endif; ?>
<?php if (count($pagination_list) > 0) : ?>
    <div class=" bd-blogpagination-5">
        <?php
            echo renderTemplateFromIncludes('pagination_list_render_5', array($pagination_list));
        ?>
    </div>
<?php endif; ?>
    </div>
</div>

<?php
echo ob_get_clean();
?>
<!--COMPONENT blog_8 /-->