ok now i have my header.php like thi
<?php /*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2011 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: header.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
require_once INCLUDES."output_handling_include.php";
require_once INCLUDES."header_includes.php";
require_once THEME."theme.php";
require_once THEMES."templates/render_functions.php";
if(!isset($userdata['user_id'])){
$ses=0;
}
else{
$ses=$userdata['user_id'];
}
if(!function_exists("freichatx_get_hash")){
function freichatx_get_hash($ses){
if(is_file(THEMES."../freichat/arg.php")){
require THEMES."../freichat/arg.php";
$temp_id = $ses . $uid;
return md5($temp_id);
}
else
{
echo '<script>alert("module freichatx says: arg.php file not found!");';
}
return 0;
}
}
echo '<script type="text/javascript" language="javascipt" src="http://icegrid.org/freichat/client/main.php?id='.%24ses.'&xhash='.freichatx_get_hash(%24ses).'">
</script>'; echo '<link rel="stylesheet" href="http://icegrid.org/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css">';
echo "
\n<title>".$settings['sitename']."</title>\n";
echo "<meta http-equiv="Content-Type" content='text/html; charset=".$locale[' charset>\n";
echo "<meta name="description" content='".$settings[' description>\n";
echo "<meta name="keywords" content='".$settings[' keywords>\n";
echo "<link rel="stylesheet" href="%22.THEME.%22styles.css" type="text/css" media="screen">\n";
if (file_exists(IMAGES."favicon.ico")) { echo "<link rel="shortcut icon" href="%22.IMAGES.%22favicon.ico" type="image/x-icon">\n"; }
if (function_exists("get_head_tags")) { echo get_head_tags(); }
echo "<script type="text/javascript" src="%22.INCLUDES.%22jquery/jquery.js"></script>\n";
echo "<script type="text/javascript" src="%22.INCLUDES.%22jscript.js"></script>\n";
echo "\n\n";
require_once THEMES."templates/panels.php";
ob_start();
?>
Anythink that i am dooing wrong?
ok now i have my header.php like thi
&lt;?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2011 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: header.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
require_once INCLUDES."output_handling_include.php";
require_once INCLUDES."header_includes.php";
require_once THEME."theme.php";
require_once THEMES."templates/render_functions.php";
if(!isset($userdata['user_id'])){
$ses=0;
}
else{
$ses=$userdata['user_id'];
}
if(!function_exists("freichatx_get_hash")){
function freichatx_get_hash($ses){
if(is_file(THEMES."../freichat/arg.php")){
require THEMES."../freichat/arg.php";
$temp_id = $ses . $uid;
return md5($temp_id);
}
else
{
echo '&lt;script&gt;alert("module freichatx says: arg.php file not found!");&lt;/script&gt;';
}
return 0;
}
}
echo '&lt;script type="text/javascript" language="javascipt"
src="http://icegrid.org/freichat/client/main.php?id='.$ses.'&xhash='.freichatx_get_hash($ses).'"&gt;
&lt;/script&gt;'; echo '&lt;link rel="stylesheet" href="http://icegrid.org/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css"&gt;';
echo "&lt;head&gt;\n&lt;title&gt;".$settings['sitename']."&lt;/title&gt;\n";
echo "&lt;meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."' /&gt;\n";
echo "&lt;meta name='description' content='".$settings['description']."' /&gt;\n";
echo "&lt;meta name='keywords' content='".$settings['keywords']."' /&gt;\n";
echo "&lt;link rel='stylesheet' href='".THEME."styles.css' type='text/css' media='screen' /&gt;\n";
if (file_exists(IMAGES."favicon.ico")) { echo "&lt;link rel='shortcut icon' href='".IMAGES."favicon.ico' type='image/x-icon' /&gt;\n"; }
if (function_exists("get_head_tags")) { echo get_head_tags(); }
echo "&lt;script type='text/javascript' src='".INCLUDES."jquery/jquery.js'&gt;&lt;/script&gt;\n";
echo "&lt;script type='text/javascript' src='".INCLUDES."jscript.js'&gt;&lt;/script&gt;\n";
echo "&lt;/head&gt;\n&lt;body&gt;\n";
require_once THEMES."templates/panels.php";
ob_start();
?&gt;
Anythink that i am dooing wrong?