| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Old Sites/rescommittee/modules/mod_raxo_allmode/tmpl/ |
Upload File : |
<?php
/**
* =============================================================
* RAXO All-mode PRO J3.0 - Template
* -------------------------------------------------------------
* @package RAXO All-mode PRO
* @subpackage All-mode Pagination Template
* @copyright Copyright (C) 2009-2013 RAXO Group
* @license GNU General Public License v2.0
* http://www.gnu.org/licenses/gpl-2.0.html
* @link http://raxo.org
* =============================================================
*/
// no direct access
defined('_JEXEC') or die;
// add CSS
JHtml::stylesheet('modules/mod_raxo_allmode/tmpl/allmode-pagination/allmode-pagination.css');
// add JS
JHtml::_('jquery.framework');
JHtml::script('modules/mod_raxo_allmode/tmpl/allmode-pagination/allmode-pagination.js');
?>
<div id="allmode-id<?php echo $module->id; ?>" class="allmode-itemsbox">
<ul class="allmode-items">
<?php // All-mode Items Output
foreach ($list as $item) {
$img_space = intval($params->get('image_width'));
if ($item->image && $img_space) {
$img_space = $img_space + 14;
$img_space = 'style="padding-left: '.$img_space.'px"';
} else {
$img_space = null;
}
?>
<li class="allmode-item">
<?php if ($item->image) { ?>
<div class="allmode-img"><?php echo $item->image; ?></div>
<?php } ?>
<div class="allmode-right" <?php echo @$img_space; ?>>
<?php if ($item->date || $item->category) { ?>
<div class="allmode-info">
<?php if ($item->date) { ?>
<span class="allmode-date"><?php echo $item->date; ?></span>
<?php } ?>
<?php if ($item->category) { ?>
<span class="allmode-category"><?php echo $item->category; ?></span>
<?php } ?>
</div>
<?php } ?>
<?php if ($item->title) { ?>
<h4 class="allmode-title"><a href="<?php echo $item->link; ?>"><?php echo $item->title; ?></a></h4>
<?php } ?>
<?php if ($item->text) { ?>
<div class="allmode-text"><?php echo $item->text; ?>
<?php if ($item->readmore) { ?>
<span class="allmode-readmore"><?php echo $item->readmore; ?></span>
<?php } ?>
</div>
<?php } ?>
<?php if ($item->author || $item->hits || $item->rating_value || $item->comments_count) { ?>
<div class="allmode-details">
<?php if ($item->author) { ?>
<span class="allmode-author" title="Author"><?php echo $item->author; ?></span>
<?php } ?>
<?php if ($item->hits) { ?>
<span class="allmode-hits" title="Hits"><?php echo $item->hits; ?></span>
<?php } ?>
<?php if ($item->rating_value) { ?>
<span class="allmode-rating" title="Rating"><?php echo $item->rating_value; ?></span>
<?php } ?>
<?php if ($item->comments_count) { ?>
<span class="allmode-comments" title="Comments"><a href="<?php echo $item->comments_link; ?>"><?php echo $item->comments_count; ?></a></span>
<?php } ?>
</div>
<?php } ?>
</div>
</li>
<?php } ?>
</ul>
<?php if (count($list) > 10) { ?>
<div class="allmode-pagenav"></div>
<?php } ?>
</div>
<script type="text/javascript">
jQuery(document).ready(function($){
$('#allmode-id<?php echo $module->id; ?>').pajinate({
items_per_page : 10,
nav_label_prev : 'Προηγούμενη',
nav_label_next : 'Επόμενη'
});
});
</script>