No pude hacerlo, cuando lo hago me aparece la página en blanco, este es mi theme.php , solo la parte de function themeheader :
function themeheader() {
global $user, $cookie, $prefix, $total_time, $start_time, $dbi, $sitekey;
cookiedecode($user);
mt_srand ((double)microtime()*1000000);
$maxran = 1000000;
$random_num = mt_rand(0, $maxran);
$datekey = date("F j"
;
$rcode = hexdec(md5($_SERVER[HTTP_USER_AGENT] . $sitekey . $random_num . $datekey));
$code = substr($rcode, 2, 6);
$username = $cookie[1];
if ($username == ""
{
$username = "Anonymous";
}
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$end_time = $mtime;
$total_time = ($end_time - $start_time);
$total_time = "".substr($total_time,0,5)." "._SECONDS."";
$public_msg = public_message();
echo "$public_msg";
if ($username == "Anonymous"
{
$theuser = "<form action=\"modules.php?name=Your_Account\" method=\"post\"> <input type=\"text\" name=\"username\" value=\"username\" onFocus=\"if(this.value=='username')this.value='';\" value style=\"width:75;height:18;FONT-SIZE: 10px;\"> <input type=\"password\" name=\"user_password\" value=\"password\" onFocus=\"if(this.value=='password')this.value='';\" value style=\"width:75;height:18;FONT-SIZE: 10px;\"><input type=\"hidden\" name=\"random_num\" value=\"$random_num\"><input type=\"hidden\" name=\"gfx_check\" value=\"$code\"><input type=\"hidden\" name=\"op\" value=\"login\"> <input type=\"image\" value=\"login\" src=\"themes/RVHRadio/images/Submit.gif\" border=\"0\"></td></form>\n";
} else {
$theuser = "<font size=\"1\" face=\"arial\" color=#DDDDDD><b> Welcome $username</b></font>";
}
include("themes/XenonSconner/header.html"
;
echo "<table width=\"100%\" align=center cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\n"
."<tr>\n"
."<TD WIDTH=\"51\" HEIGHT=\"100%\" valign=top background=\"themes/XenonSconner/images/left_bar.gif\"><IMG SRC=\"themes/XenonSconner/images/left_bar.gif\" WIDTH=\"51\" HEIGHT=\"10\"></TD>\n"
."<TD WIDTH=\"170\" HEIGHT=\"100%\" valign=top bgcolor=#CBCBCB>\n";
if (($name=='Forums') OR ($name=='Private_Messages') OR ($name=='Members_List') OR ($name=='gallery')) {
} else {
blocks(left);
}
echo "</TD>\n"
."<TD WIDTH=\"100%\" valign=top bgcolor=#CCCCCC>\n";
}
Ayuda porfavor..