<?php echo $header; ?>
<div class="container isl-promotions islpr-page islpr-promo-all th-isl-<?php echo $theme; ?> <?php echo $theme == 'journal2' ? 'j-container' : ''; ?>" <?php echo $theme == 'journal2' ? 'id="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="row">
    <?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; ?>">
      <?php echo $content_top; ?>

      <h1 class="<?php echo $theme == 'journal2' ? 'heading-title' : ''; ?>"><?php echo $heading_title; ?></h1>

      <?php if ($setting['page']['banner']) { ?>
        <img class="islpr-page-banner img-responsive" src="image/<?php echo $setting['page']['banner']; ?>" alt="<?php echo $heading_title; ?>">
      <?php } ?>

      <div class="islpr-page-message"><?php echo $page_content ?></div>

      <div class="islpr-banner-wrapper islpr-banner-space">
        <?php foreach ($promotions as $promo) { ?>
          <?php if (!$promo['design_module_banner']) { continue; } ?>

          <div class="islpr-banner-item">
            <a href="<?php echo $promo['page_url']; ?>" title="<?php echo $promo['title']; ?>">
              <img class="islpr-module-banner img-responsive" src="image/<?php echo $promo['design_module_banner']; ?>" alt="<?php echo $promo['title']; ?>">
            </a>
          </div>
        <?php } ?>
      </div>

<?php if (!empty($custom_css)) { ?>
<style>
  <?php echo $custom_css; ?>
</style>
<?php } ?>

      <?php echo $content_bottom; ?>
    </div>

    <?php echo $column_right; ?></div>
</div>
<?php echo $footer; ?>
