uawdijnntqw1x1x1
IP : 216.73.216.155
Hostname : vm5018.vps.agava.net
Kernel : Linux vm5018.vps.agava.net 3.10.0-1127.8.2.vz7.151.14 #1 SMP Tue Jun 9 12:58:54 MSK 2020 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
var
/
www
/
iplanru
/
data
/
.
/
mod-tmp
/
..
/
www
/
.
/
i-plan.ru
/
components
/
com_zoo
/
partials
/
_comments.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'); // add js and css $this->app->document->addScript('libraries:jquery/plugins/cookie/jquery-cookie.js'); $this->app->document->addScript('assets:js/comment.js'); $this->app->document->addStylesheet('assets:css/comments.css'); // css classes $css[] = 'level1'; $css[] = $params->get('max_depth', 5) > 1 ? 'nested' : null; $css[] = $params->get('registered_users_only') && $active_author->isGuest() ? 'no-response' : null; ?> <div id="comments"> <?php if ($count = count($comments)-1) : ?> <h3 class="comments-meta"><?php echo JText::_('Comments').' ('.$count.')'; ?></h3> <ul class="<?php echo implode("\n", $css); ?>"> <?php foreach ($comments[0]->getChildren() as $comment) { echo $this->partial('comment', array('level' => 1, 'comment' => $comment, 'author' => $comment->getAuthor(), 'params' => $params)); } ?> </ul> <?php endif; ?> <?php if($item->isCommentsEnabled()) : echo $this->partial('respond', compact('active_author', 'params', 'item', 'captcha')); endif; ?> </div> <script type="text/javascript"> jQuery(function($) { $('#comments').Comment({ cookiePrefix: '<?php echo CommentHelper::COOKIE_PREFIX; ?>', cookieLifetime: '<?php echo CommentHelper::COOKIE_LIFETIME; ?>', msgCancel: '<?php echo JText::_('Cancel'); ?>' }); }); </script>
/var/www/iplanru/data/./mod-tmp/../www/./i-plan.ru/components/com_zoo/partials/_comments.php