2007/3/1 21:59
mouacy
Not too shy to talk
Posts: 138
Since: 2002/11/2
<?php$xoopsOption['pagetype'] = "user";include "../mainfile.php";include "../header.php";if (empty($xoopsModuleConfig['anonpost']) && !is_object($xoopsUser)) { redirect_header("../index.php", 0, _NOPERM); exit();}$user_name = $xoopsUser->getVar("uname");//phpfreechat script beginsrequire_once dirname(__FILE__)."/src/phpfreechat.class.php";$params = array();$params["nick"] = $user_name;$params["serverid"] = $_SESSION['chat_serverid'];$chat = new phpFreeChat( $params );$chat->printJavascript();$chat->printStyle();$chat->printChat();//include XOOPS footerinclude "../footer.php";?>
$params["serverid"] = $_SESSION['chat_serverid'];
2007/3/1 22:29
zyspec
Module Developer
Posts: 1095
Since: 2004/9/21
<?php global $xoopsConfig; $xoopsOption['pagetype'] = "user"; include "../mainfile.php"; include "../header.php"; if (empty($xoopsModuleConfig['anonpost']) && !is_object($xoopsUser)) { redirect_header("../index.php", 0, _NOPERM); exit(); } $user_name = $xoopsUser->getVar("uname"); //phpfreechat script begins require_once dirname(__FILE__)."/src/phpfreechat.class.php"; $params = array(); $params["nick"] = $user_name; $params["serverid"] = $xoopsConfig['session_name']; $chat = new phpFreeChat( $params ); $chat->printJavascript(); $chat->printStyle(); $chat->printChat(); //include XOOPS footer include "../footer.php"; ?>
2007/4/19 12:59
manfraid
Just popping in
Posts: 1
Since: 2007/4/19
2010/12/12 11:14
marin
Posts: 19
Since: 2003/1/29
2010/12/20 19:45
Advanced Search