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
/
www
/
iplan.5018.vps.agava.net
/
.
/
modules
/
mod_zoocomment
/
mod_zoocomment.php
/
/
<?php /** * @package ZOO Comment * @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'); // load config require_once(JPATH_ADMINISTRATOR.'/components/com_zoo/config.php'); // get app $zoo = App::getInstance('zoo'); // load zoo frontend language file $zoo->system->language->load('com_zoo'); // register module path $zoo->path->register(dirname(__FILE__), 'mod_zoocomment'); // set max characters $zoo->set('commentsmodule.max_characters', 140); // init vars $application = $zoo->table->application->get($params->get('application', 0)); // is application ? if (empty($application)) { return null; } // set one or multiple categories $category = $params->get('category', 0); if ($params->get('subcategories')) { $categories = $application->getCategoryTree(true); if (isset($categories[$category])) { $category = array_merge(array($category), array_keys($categories[$category]->getChildren(true))); } } // get latest comments $comments = $zoo->table->comment->getLatestComments($application, $category, $params->get('count', 10)); // load template if (!empty($comments)) { include(JModuleHelper::getLayoutPath('mod_zoocomment', $params->get('theme', 'list'))); }
/var/www/iplanru/data/www/iplan.5018.vps.agava.net/./modules/mod_zoocomment/mod_zoocomment.php