Ok I found it.
Open your
theme.php
Replace the entire function themeheader with this
Code:
/************************************************************/
/* Function themeheader() */
/* */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks */
/* function for left side with: blocks(left); */
/************************************************************/
function themeheader() {
global $user, $banners, $sitename, $slogan, $cookie, $prefix, $dbi, $topicname, $topicimage, $topictext, $topic, $topicid, $toplist;
cookiedecode($user);
$username = $cookie[1];
if ($username == "") {
$username = "Anonymous";
}
echo "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
echo "<body bgcolor=\"#FF5555\" text=\"#000000\" link=\"#363636\" vlink=\"#363636\" alink=\"#d5ae83\">";
if ($banners == 1) {
include("banners.php");
}
$topics_list = "<select name=\"new_topic\" onChange='submit()'>\n";
$topics_list .= "<option value=\"\">All Topics</option>\n";
$toplist = sql_query("select topicid, topictext, topicname from ".$prefix."_topics order by topicid", $dbi);
while(list($topicid, $topictext, $topicname) = sql_fetch_row($toplist, $dbi)) {
if ($topicid==$topic) { $sel = "selected "; }
$topics_list .= "<option $sel value=\"$topicid\">$topicname</option>\n";
$sel = "";
}
if ($username == "Anonymous") {
$theuser = "&&<a href=\"modules.php?name=Your_Account&op=new_user\">Create an account";
} else {
$theuser = "&&Welcome $username!";
}
$public_msg = public_message();
$tmpl_file = "themes/Orange/header.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
blocks(left);
$tmpl_file = "themes/Orange/left_center.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}
mikem