| Current Path : /var/www/iplanru/data/www/i-plan.ru/media/zoo/applications/movie/templates/default/ |
| Current File : /var/www/iplanru/data/www/i-plan.ru/media/zoo/applications/movie/templates/default/alphaindex.php |
<?php
/**
* @package com_zoo
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) YOOtheme GmbH
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
// include assets css/js
if (strtolower(substr($GLOBALS['app']->getTemplate(), 0, 3)) != 'yoo') {
$this->app->document->addStylesheet('assets:css/reset.css');
}
$this->app->document->addStylesheet($this->template->resource.'assets/css/zoo.css');
$css_class = $this->application->getGroup().'-'.$this->template->name;
?>
<div id="yoo-zoo" class="yoo-zoo <?php echo $css_class; ?> <?php echo $css_class.'-alphaindex'; ?>">
<?php if ($this->params->get('template.show_alpha_index')) : ?>
<?php echo $this->partial('alphaindex'); ?>
<?php endif; ?>
<?php if ($this->params->get('template.show_title')) : ?>
<div class="details <?php echo 'alignment-'.$this->params->get('template.alignment'); ?>">
<h1 class="title"><?php echo JText::_('Movies starting with').' '.strtoupper($this->alpha_char); ?></h1>
</div>
<?php endif; ?>
<?php
// render categories
$has_categories = false;
if (!empty($this->selected_categories)) {
$has_categories = true;
echo $this->partial('categories');
}
?>
<?php
// render items
if (count($this->items)) {
echo $this->partial('items', compact('has_categories'));
}
?>
</div>