Файловый менеджер - Редактировать - /var/www/iplanru/data/www/i-plan.ru/media/zoo/applications/product/templates/default/_category.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'); ?> <div class="category"> <?php if ($category) : ?> <?php $link = $this->app->route->category($category); ?> <?php if ($this->params->get('template.show_categories_titles')) : ?> <h2 class="title"> <a href="<?php echo $link; ?>" title="<?php echo $category->name; ?>"><?php echo $category->name; ?></a> <?php if ($this->params->get('template.show_categories_item_count')) : ?> <span>(<?php echo $category->totalItemCount(); ?>)</span> <?php endif; ?> </h2> <?php endif; ?> <?php if ($this->params->get('template.show_categories_descriptions') && $category->getParams()->get('content.teaser_description')) : ?> <div class="description"><?php echo $category->getParams()->get('content.teaser_description'); ?></div> <?php endif; ?> <?php if (($image = $category->getImage('content.teaser_image')) && $this->params->get('template.show_categories_images')) : ?> <a class="teaser-image" href="<?php echo $link; ?>" title="<?php echo $category->name; ?>"> <img src="<?php echo $image['src']; ?>" title="<?php echo $category->name; ?>" alt="<?php echo $category->name; ?>" <?php echo $image['width_height']; ?>/> </a> <?php endif; ?> <?php if ($this->params->get('template.show_sub_categories') && $category->getChildren()): ?> <p class="sub-categories"> <?php $children = array(); foreach ($category->getChildren() as $child) { if (!$child->totalItemCount() && !$this->params->get('config.show_empty_categories', false) ) continue; $link = $this->app->route->category($child); $item_count = ($this->params->get('template.show_sub_categories_item_count')) ? ' <span>('.$child->totalItemCount().')</span>' : ''; $children[] = '<a href="'.$link.'" title="'.$child->name.'">'.$child->name.'</a>'.$item_count; } echo implode(', ', $children); ?> </p> <?php endif; ?> <?php endif; ?> </div>
| ver. 1.4 |
Github
|
.
| PHP 5.4.45-1~dotdeb+6.1 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка