| Current Path : /var/www/iplanru/data/www/i-plan.ru/modules/mod_zooitem/tmpl/ |
| Current File : /var/www/iplanru/data/www/i-plan.ru/modules/mod_zooitem/tmpl/list.php |
<?php
/**
* @package ZOO Item
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) YOOtheme GmbH
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
// include css
$zoo->document->addStylesheet('mod_zooitem:tmpl/list/style.css');
?>
<?php if (!empty($items)) : ?>
<?php if ($params->get('noindex', "")=="1") print "<!--noindex-->"; ?>
<ul class="zoo-item-list zoo-list">
<?php $i = 0; foreach ($items as $item) : ?>
<li><?php echo $renderer->render('item.'.$layout, compact('item', 'params')); ?></li>
<?php $i++; endforeach; ?>
</ul>
<?php if ($params->get('noindex', "")=="1") print "<!--/noindex-->"; ?>
<?php
$yulink=$params->get('yulink', "");
$yulinktext=$params->get('yulinktext', "");
if (!empty($yulink) and !empty($yulinktext))
{
echo '<p class="mod-bottom-link-wrap" style="text-align: '.$params->get('yulinkpos', "right").';">
<a class="mod-bottom-link" href="'.JRoute::_($yulink).'" >'.$yulinktext.'</a>
</p>';
}
?>
<?php else : ?>
<?php echo JText::_('COM_ZOO_NO_ITEMS_FOUND'); ?>
<?php endif;