| 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
/**
* =============================================================
* @package RAXO Default Module Layout
* -------------------------------------------------------------
* @copyright Copyright (C) 2009-2017 RAXO Group
* @link https://www.raxo.org
* @license GNU General Public License v2.0
* http://www.gnu.org/licenses/gpl-2.0.html
* =============================================================
*/
// no direct access
defined('_JEXEC') or die;
// add layout CSS
JHtml::stylesheet('modules/mod_raxo_allmode/tmpl/allmode-default/allmode-default.css');
?>
<?php if ($toplist) { ?>
<div class="allmode-topbox">
<?php // All-mode TOP Items Output
foreach ($toplist as $item) { ?>
<div class="allmode-topitem<?php
if ($item->category_id) echo " allmode-category-id". $item->category_id;
if ($item->featured) echo " allmode-featured";
?>">
<?php if ($item->image) { ?>
<div class="allmode-img"><?php echo $item->image; ?></div>
<?php } ?>
<?php if ($item->date || $item->hits || $item->comments_count || $item->rating) { ?>
<div class="allmode-details">
<?php if ($item->date) { ?>
<span class="allmode-date"><?php echo $item->date; ?></span>
<?php } ?>
<?php if ($item->hits) { ?>
<span class="allmode-hits"><?php echo $item->hits; ?></span>
<?php } ?>
<?php if ($item->comments_count) { ?>
<span class="allmode-comments"><a href="<?php echo $item->comments_link; ?>"><?php echo $item->comments_count; ?></a></span>
<?php } ?>
<?php if ($item->rating) { ?>
<span class="allmode-rating" title="<?php echo @$item->rating_value; ?>"><?php echo $item->rating; ?></span>
<?php } ?>
</div>
<?php } ?>
<?php if ($item->title) { ?>
<h3 class="allmode-title"><a href="<?php echo $item->link; ?>"><?php echo $item->title; ?></a></h3>
<?php } ?>
<?php if ($item->category || $item->author) { ?>
<div class="allmode-info">
<?php if ($item->category) { ?>
in <span class="allmode-category"><?php echo $item->category; ?></span>
<?php } ?>
<?php if ($item->author) { ?>
by <span class="allmode-author"><?php echo $item->author; ?></span>
<?php } ?>
</div>
<?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 } ?>
</div>
<?php } ?>
</div>
<?php } ?>
<?php if ($list) { ?>
<div class="allmode-itemsbox">
<?php // All-mode Items Output
foreach ($list as $item) { ?>
<div class="allmode-item<?php
if ($item->category_id) echo " allmode-category-id". $item->category_id;
if ($item->featured) echo " allmode-featured";
?>">
<?php if ($item->image) { ?>
<div class="allmode-img"><?php echo $item->image; ?></div>
<?php } ?>
<?php if ($item->date || $item->hits || $item->comments_count || $item->rating) { ?>
<div class="allmode-details">
<?php if ($item->date) { ?>
<span class="allmode-date"><?php echo $item->date; ?></span>
<?php } ?>
<?php if ($item->hits) { ?>
<span class="allmode-hits"><?php echo $item->hits; ?></span>
<?php } ?>
<?php if ($item->comments_count) { ?>
<span class="allmode-comments"><a href="<?php echo $item->comments_link; ?>"><?php echo $item->comments_count; ?></a></span>
<?php } ?>
<?php if ($item->rating) { ?>
<span class="allmode-rating" title="<?php echo @$item->rating_value; ?>"><?php echo $item->rating; ?></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->category || $item->author) { ?>
<div class="allmode-info">
<?php if ($item->category) { ?>
in <span class="allmode-category"><?php echo $item->category; ?></span>
<?php } ?>
<?php if ($item->author) { ?>
by <span class="allmode-author"><?php echo $item->author; ?></span>
<?php } ?>
</div>
<?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 } ?>
</div>
<?php } ?>
</div>
<?php } ?>