<?php
/*
 * ------------------------------------------------------------------------
 * JA Mono Template
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
 * @license - Copyrighted Commercial Software
 * Author: J.O.O.M Solutions Co., Ltd
 * Websites:  http://www.joomlart.com -  http://www.joomlancers.com
 * This file may not be redistributed in whole or significant part.
 * ------------------------------------------------------------------------
*/
defined('_JEXEC') or die;
use Joomla\CMS\Layout\LayoutHelper;

$params = $displayData['params'];
$item = $displayData['item'];
$topInfo = $displayData['topInfo'];
$icons = $displayData['icons'];
$view = $displayData['view'];
$imageBg = $displayData['imageBg'];
$event = $displayData['event'];
?>
<div class="ja-masthead blend-masthead <?php echo $imageBg != ''?'has-bg':''; ?>" style="background-image:url(<?php echo $imageBg ?>);">
    <div class="ja-masthead-detail">
        <div class="box-inner <?php echo $params->get('show_category')?'has-category':'no-category';?>">
            <?php if ($params->get('show_title')) : ?>
            <?php echo LayoutHelper::render('joomla.content.item_title', array('item' => $item, 'params' => $params)); ?>
            <?php endif; ?>

            <?php echo LayoutHelper::render('joomla.content.info_block', array('item' => $item, 'params' => $params, 'position' => 'above')); ?>

            <?php echo $item->event->afterDisplayTitle; ?>
            <!-- Aside -->
            <?php if ($icons) : ?>
            <aside class="article-aside clearfix">
                <?php if ($icons): ?>
                <?php echo LayoutHelper::render('joomla.content.icons', array('item' => $item, 'params' => $params, 'print' => isset($view->print) ? $view->print : null)); ?>
                <?php endif; ?>
            </aside>
            <?php endif; ?>

            <!-- //Aside -->
            <?php if (!empty($item->pagination) && $item->pagination && $item->paginationposition && $item->paginationrelative):
            echo $item->pagination;
            endif; ?>
        </div>
    </div>
</div>