| Current Path : /var/www/iplanru/data/www/i-plan.ru/media/zoo/applications/blog/templates/warp6/ |
| Current File : /var/www/iplanru/data/www/i-plan.ru/media/zoo/applications/blog/templates/warp6/item.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
$this->app->document->addStylesheet($this->template->resource.'assets/css/style.css');
$css_class = $this->application->getGroup().'-'.$this->template->name;
?>
<div id="system" class="yoo-zoo <?php echo $css_class; ?> <?php echo $css_class.'-'.$this->item->alias; ?>">
<?php if ($this->renderer->pathExists('item/'.$this->item->type)) : ?>
<?php echo $this->renderer->render('item.'.$this->item->type.'.full', array('view' => $this, 'item' => $this->item)); ?>
<?php else : ?>
<article class="item">
<?php echo $this->renderer->render('item.full', array('view' => $this, 'item' => $this->item)); ?>
<?php echo $this->app->comment->renderComments($this, $this->item); ?>
</article>
<?php endif; ?>
</div>