Code: Select all
function themeheader() {
global $banners, $sitename;
echo "<body bgcolor=\"#000000\" text=\"#000000\" link=\"0000ff\">"
."<br>";
ads(0);
echo "<br>";
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\" align=\"center\">\n"
."<tr><td width=\"100%\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\">\n"
."<tr><td width=\"100%\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"840\">\n"
."<tr><td width=\"100%\" height=\"88\" bgcolor=\"#000000\">\n"
."<table border=0 width=100% cellpadding=0 cellspacing=0><tr><td align=\"left\"><img border=\"0\" src=\"themes/AJP/images/AJPLogo.jpg\"></td><td align=\"center\"><img border=\"0\" src=\"themes/AJP/images/logocentre.jpg\"></td><td align=\"right\"><a href=\"index.php\"><img border=\"0\" src=\"themes/AJP/images/logo.jpg\" alt=\"Welcome to $sitename!\" hspace=\"20\"></a></td></tr></table></td></tr>\n"
."<tr><td width=\"100%\" bgcolor=\"#000000\" height=\"19\" valign=\"bottom\">\n"
."<a href=\"index.php\"><img border=\"0\" src=\"themes/AJP/images/home.gif\" width=\"140\" height=\"18\"></a>"
."<a href=\"modules.php?name=Your_Account\"><img border=\"0\" src=\"themes/AJP/images/account.gif\" width=\"140\" height=\"18\"></a>"
."<a href=\"modules.php?name=Downloads\"><img border=\"0\" src=\"themes/AJP/images/downloads.gif\" width=\"140\" height=\"18\"></a>"
."<a href=\"modules.php?name=Submit_News\"><img border=\"0\" src=\"themes/AJP/images/submit.gif\" width=\"140\" height=\"18\"></a>"
."<a href=\"modules.php?name=Topics\"><img border=\"0\" src=\"themes/AJP/images/topics.gif\" width=\"140\" height=\"18\"></a>"
."<a href=\"modules.php?name=Top\"><img border=\"0\" src=\"themes/AJP/images/top10.gif\" width=\"140\" height=\"18\"></a>"
."</td></tr><tr><td width=\"100%\" height=\"10\" bgcolor=\"#FF0000\">\n"
."</td></tr></table>\n"
."</td></tr><tr><td width=\"100%\"><table width='100%' cellspacing='0' cellpadding='0' border='0'><tr><td bgcolor='#FF0000'>\n";
$public_msg = public_message();
echo "$public_msg<br>";
echo "</td></tr></table><table width=\"840\" cellpadding=\"0\" bgcolor=\"FF0000\" cellspacing=\"0\" border=\"0\">\n"
."<tr valign=\"top\">\n"
."<td><img src=\"themes/AJP/images/pixel.gif\" width=\"6\" height=\"1\" border=\"0\" alt=\"\"></td>\n"
."<td width=\"138\" bgcolor=\"FF0000\" valign=\"top\">\n";
blocks(left);
echo "</td><td><img src=\"themes/AJP/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
}Code: Select all
."<a href=\"index.php\"><img border=\"0\" src=\"themes/AJP/images/home.gif\" width=\"140\" height=\"18\"></a>"
."<a href=\"modules.php?name=Your_Account\"><img border=\"0\" src=\"themes/AJP/images/account.gif\" width=\"140\" height=\"18\"></a>"
."<a href=\"modules.php?name=Downloads\"><img border=\"0\" src=\"themes/AJP/images/downloads.gif\" width=\"140\" height=\"18\"></a>"
."<a href=\"modules.php?name=Submit_News\"><img border=\"0\" src=\"themes/AJP/images/submit.gif\" width=\"140\" height=\"18\"></a>"
."<a href=\"modules.php?name=Topics\"><img border=\"0\" src=\"themes/AJP/images/topics.gif\" width=\"140\" height=\"18\"></a>"
."<a href=\"modules.php?name=Top\"><img border=\"0\" src=\"themes/AJP/images/top10.gif\" width=\"140\" height=\"18\"></a>"I've found a JS that allows me to do it but i'm not sure howto integrate it into the PHP.
Could someone help?
Adam