uawdijnntqw1x1x1
IP : 216.73.216.219
Hostname : webm015.cluster127.gra.hosting.ovh.net
Kernel : Linux webm015.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
pteabiscqq
/
www
/
modules
/
mod_k2_comments
/
mod_k2_comments.php
/
/
<?php /** * @version 2.11 (rolling release) * @package K2 * @author JoomlaWorks https://www.joomlaworks.net * @copyright Copyright (c) 2009 - 2024 JoomlaWorks Ltd. All rights reserved. * @license GNU/GPL: https://gnu.org/licenses/gpl.html */ // no direct access defined('_JEXEC') or die; if (K2_JVERSION != '15') { $language = JFactory::getLanguage(); $language->load('com_k2.dates', JPATH_ADMINISTRATOR, null, true); } require_once(dirname(__FILE__).'/helper.php'); // Params $moduleclass_sfx = $params->get('moduleclass_sfx', ''); $module_usage = $params->get('module_usage', '0'); $commentAvatarWidthSelect = $params->get('commentAvatarWidthSelect', 'custom'); $commentAvatarWidth = $params->get('commentAvatarWidth', 50); $commenterAvatarWidthSelect = $params->get('commenterAvatarWidthSelect', 'custom'); $commenterAvatarWidth = $params->get('commenterAvatarWidth', 50); // Get component params $componentParams = JComponentHelper::getParams('com_k2'); // User avatar for latest comments if ($commentAvatarWidthSelect == 'inherit') { $lcAvatarWidth = $componentParams->get('commenterImgWidth'); } else { $lcAvatarWidth = $commentAvatarWidth; } // User avatar for top commenters if ($commenterAvatarWidthSelect == 'inherit') { $tcAvatarWidth = $componentParams->get('commenterImgWidth'); } else { $tcAvatarWidth = $commenterAvatarWidth; } switch ($module_usage) { case '0': $comments = modK2CommentsHelper::getLatestComments($params); require(JModuleHelper::getLayoutPath('mod_k2_comments', 'comments')); break; case '1': $commenters = modK2CommentsHelper::getTopCommenters($params); require(JModuleHelper::getLayoutPath('mod_k2_comments', 'commenters')); break; }
/home/pteabiscqq/www/modules/mod_k2_comments/mod_k2_comments.php