Hello basic the title says it all.
I want to enable the chat at the http://www.invest-hyip.com
I insert the php code a little bit changed for the smarty. Thats the code i inserted in header.tpl between
<header> and </header>
{php}
$ses=null;
if(!function_exists("freichatx_get_hash")){
function freichatx_get_hash($ses){
if(is_file("/home/orloxgr/public_html/freichat/hardcode.php")){
require "/home/orloxgr/public_html/freichat/hardcode.php";
$temp_id = $ses . $uid;
return md5($temp_id);
}
else
{
echo "<script>alert('module freichatx says: hardcode.php file not
found!');</script>";
}
return 0;
}
}
{/php}
{literal}
<script type="text/javascript" language="javascipt" src="http://invest-hyip.com/freichat/client/main.php?id=<?php%20echo%20%24ses;?>&xhash=<?php%20echo%20freichatx_get_hash(%24ses);%20?>"></script>
{/literal}{literal}
<link rel="stylesheet" href="http://invest-hyip.com/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css">
{/literal}
What I get is always "Getting list of online users ...."
From administer i can see the user table
The debug gives me these:
March 1, 2013, 4:30 pm: main.php loaded
March 1, 2013, 4:30 pm: Wrong method defined!
March 1, 2013, 4:30 pm: main.php loaded
March 1, 2013, 4:30 pm: Wrong method defined!
Any help well be greatly apreciated