Spade

Mini Shell

Directory:~$ /home/lmsyaran/public_html/joomla4/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/public_html/joomla4/mod_chatters.php.tar

home/lmsyaran/public_html/j3/modules/mod_chatters/mod_chatters.php000064400000001376151157370600021465
0ustar00<?php

// No direct access
defined('_JEXEC') or die;


// Include the syndicate functions only once
require_once dirname(__FILE__) . '/helper.php';
$userid= JFactory::getUser()->get('id','0');


$document = JFactory::getDocument();
$document->addStyleSheet('modules/mod_chatters/css/style.css');
//$document->addScript('modules/mod_chatters/js/main.js');


$chatters = ModChattersHelper::getChatters($params,$userid)[0];
$comment = ModChattersHelper::getChatters($params,$userid)[1];
$group = ModChattersHelper::getChatters($params,$userid)[2];
$messageCount = ModChattersHelper::getChatters($params,$userid)[3];
$lastMessage = ModChattersHelper::getChatters($params,$userid)[4];

require
JModuleHelper::getLayoutPath('mod_chatters','default');