Code:
<?php
/************************************************************/
/* HORDE THEME FOR PHP-NUKE */
/************************************************************/
/************************************************************/
/* Theme Colors Definition */
/************************************************************/
$bgcolor1 = "#131313";
$bgcolor2 = "#131313";
$bgcolor3 ="#131313";
$bgcolor4 = "#131313";
$textcolor1 = "#FFFFFF";
$textcolor2 = "#FFFFFF";
/************************************************************/
/* OpenTable Functions */
/************************************************************/
function OpenTable() {
global $bgcolor1, $bgcolor2;
echo "<table align=\"center\" width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td width=\"15\" height=\"19\"><img src=\"themes/WoW_Horde/images/tables/tables_01.gif\" alt=\"\" width=\"15\" height=\"19\" /></td>\n";
echo " <td style=\"background-image: url(themes/WoW_Horde/images/tables/tables_02.gif)\"><img src=\"themes/WoW_Horde/images/spacer.gif\" alt=\"\" width=\"1\" height=\"1\"></td>\n";
echo " <td width=\"15\" height=\"19\"><img src=\"themes/WoW_Horde/images/tables/tables_03.gif\" alt=\"\" width=\"15\" height=\"19\" /></td>\n";
echo " </tr>\n";
echo " </table>\n";
echo " <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td width=\"10\" style=\"background-image: url(themes/WoW_Horde/images/tables/tables_04.gif)\"><img src=\"themes/WoW_Horde/images/spacer.gif\" alt=\"\" width=\"1\" height=\"1\" /></td>\n";
echo " <td style=\"background-color: #000000;\">";
}
function OpenTable2() {
global $bgcolor1, $bgcolor2;
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" align=\"center\"><tr><td class=extras>\n";
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"8\" ><tr><td>\n";
}
function CloseTable() {
global $theme_name;
echo "</td>\n";
echo " <td width=\"10\" style=\"background-image: url(themes/WoW_Horde/images/tables/tables_06.gif)\"><img src=\"themes/WoW_Horde/images/spacer.gif\" alt=\"\" width=\"1\" height=\"1\" /></td>\n";
echo " </tr>\n";
echo " </table>\n";
echo " <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td width=\"15\" height=\"19\"><img src=\"themes/WoW_Horde/images/tables/tables_07.gif\" alt=\"\" width=\"15\" height=\"19\" /></td>\n";
echo " <td style=\"background-image: url(themes/WoW_Horde/images/tables/tables_08.gif)\"><img src=\"themes/WoW_Horde/images/spacer.gif\" alt=\"\" width=\"1\" height=\"1\"></td>\n";
echo " <td width=\"15\" height=\"19\"><img src=\"themes/WoW_Horde/images/tables/tables_09.gif\" alt=\"\" width=\"15\" height=\"19\" /></td>\n";
echo " </tr>\n";
echo " </table>\n";
echo " </td>\n";
echo " </tr>\n";
echo "</table>";
}
function CloseTable2() {
echo "</td></tr></table></td></tr></table>\n";
}
/************************************************************/
/* Function themeheader() */
/************************************************************/
function themeheader() {
global $user, $cookie, $prefix, $sitekey, $db, $name, $banners, $user_prefix, $userinfo, $admin, $admin_file;
echo "<style type=\"text/css\">
.navtext {
width:370px;
font-size:8pt;
font-family:verdana;
border-width:1px;
border-style:solid;
border-color:#bc0004;
layer-background-color:#bc0004;
background-color:#000000;
color:white;
}
</style>\n";
echo "<body>\n";
echo "<script type=\"text/javascript\" src=\"themes/WoW_Horde/style/prototype.js\"></script>\n";
echo "<script type=\"text/javascript\" src=\"themes/WoW_Horde/style/scriptaculous.js?load=effects\"></script>\n";
echo "<script type=\"text/javascript\" src=\"themes/WoW_Horde/style/lightbox.js\"></script>\n";
echo "<script type=\"text/javascript\" src=\"themes/WoW_Horde/style/alttxt.js\"></script>\n";
echo "<div id=\"navtxt\" class=\"navtext\" style=\"visibility:hidden; position:absolute; top:0px; left:-400px; z-index:10000; padding:6px\"></div>\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td>\n";
echo " <img src=\"themes/WoW_Horde/images/hd/header-top_01.gif\" width=\"102\" height=\"57\" alt=\"\"></td>\n";
echo " <td style=\"width: 50%; background-image: url(themes/WoW_Horde/images/hd/header-top_lhstretch.gif)\" height=\"57\"></td>\n";
echo " <td>\n";
echo " <img src=\"themes/WoW_Horde/images/hd/header-top_04.gif\" width=\"345\" height=\"57\" alt=\"\"></td>\n";
echo " <td style=\"width: 50%; background-image: url(themes/WoW_Horde/images/hd/header-top_rhstretch.gif)\" height=\"57\"></td>\n";
echo " <td>\n";
echo " <img src=\"themes/WoW_Horde/images/hd/header-top_07.gif\" width=\"102\" height=\"57\" alt=\"\"></td>\n";
echo " </tr>\n";
echo "</table>\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td>\n";
echo " <img src=\"themes/WoW_Horde/images/hd/header_01.gif\" width=\"202\" height=\"144\" alt=\"\"></td>\n";
echo " <td>\n";
echo " <img src=\"themes/WoW_Horde/images/hd/logo.png\" width=\"566\" height=\"144\" alt=\"\"></td>\n";
echo " <td style=\"width: 100%; background-image: url(themes/WoW_Horde/images/hd/header_stretch.gif)\" height=\"144\"></td>\n";
echo " <td>\n";
echo " <img src=\"themes/WoW_Horde/images/hd/header_04.gif\" width=\"210\" height=\"144\" alt=\"\"></td>\n";
echo " </tr>\n";
echo "</table>\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td>\n";
echo " <img src=\"themes/WoW_Horde/images/hd/headerlwr_01.gif\" width=\"115\" height=\"23\" alt=\"\"></td>\n";
echo " <td style=\"width: 100%; background-image: url(themes/WoW_Horde/images/hd/headerlwr_lhstretch.gif)\" height=\"23\"></td>\n";
echo " <td>\n";
echo " <img src=\"themes/WoW_Horde/images/hd/headerlwr_03.gif\" width=\"128\" height=\"23\" alt=\"\"></td>\n";
echo " </tr>\n";
echo "</table>\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td>\n";
echo " <img src=\"themes/WoW_Horde/images/hd/headernav_01.gif\" width=\"63\" height=\"45\" alt=\"\"></td>\n";
echo " <td style=\"width: 50%; background-image: url(themes/WoW_Horde/images/hd/headernav_lhstretch.gif)\" height=\"45\"></td>\n";
//FLASH: Nav-Menu
echo " <td valign=\"top\">\n";
echo " <object type=\"application/x-shockwave-flash\" data=\"themes/WoW_Horde/images/FLASH/nav-menu.swf?link1=index.php&link1text=HOME&link2=modules.php%3Fname%3DForums&link2text=FORUMS&link3=modules.php%3Fname%3DDownloads&link3text=FILES&link4=modules.php%3Fname%3DWeb_Links&link4text=LINKS&link5=modules.php%3Fname%3DYour_Account&link5text=ACCOUNT\" width=\"675\" height=\"45\">\n";
echo " <param name=\"wmode\" value=\"transparent\" />\n";
echo " <param name=\"bgcolor\" value=\"#000000\" />\n";
echo " <param name=\"quality\" value=\"high\" />\n";
echo " <param name=\"movie\" value=\"themes/WoW_Horde/images/FLASH/nav-menu.swf?link1=index.php&link1text=HOME&link2=modules.php%3Fname%3DForums&link2text=FORUMS&link3=modules.php%3Fname%3DDownloads&link3text=FILES&link4=modules.php%3Fname%3DWeb_Links&link4text=LINKS&link5=modules.php%3Fname%3DYour_Account&link5text=ACCOUNT\" quality=\"high\" wmode=\"transparent\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"675\" height=\"45\" />\n";
echo "</object>\n";
echo "</td>\n";
echo " <td style=\"width: 50%; background-image: url(themes/WoW_Horde/images/hd/headernav_rhstretch.gif)\" height=\"45\"></td>\n";
echo " <td>\n";
echo " <img src=\"themes/WoW_Horde/images/hd/headernav_03.gif\" width=\"63\" height=\"45\" alt=\"\"></td>\n";
echo " </tr>\n";
echo "</table>\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td>\n";
echo " <img src=\"themes/WoW_Horde/images/hd/headerlwr2_01.gif\" width=\"81\" height=\"68\" alt=\"\"></td>\n";
echo " <td style=\"width: 50%; background-image: url(themes/WoW_Horde/images/hd/headerlwr2_lhstretch.gif)\" height=\"68\"></td>\n";
echo " <td>\n";
echo " <img src=\"themes/WoW_Horde/images/hd/headerlwr2_03.gif\" width=\"205\" height=\"68\" alt=\"\"></td>\n";
echo " <td style=\"width: 50%; background-image: url(themes/WoW_Horde/images/hd/headerlwr2_rhstretch.gif)\" height=\"68\"></td>\n";
echo " <td>\n";
echo " <img src=\"themes/WoW_Horde/images/hd/headerlwr2_05.gif\" width=\"84\" height=\"68\" alt=\"\"></td>\n";
echo " </tr>\n";
echo "</table>\n";
echo "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\">\n";
echo " <tr valign=\"top\">\n";
echo " <td style=\"width: 64px; background-image: url(themes/WoW_Horde/images/leftside.jpg)\" valign=\"top\"><img src=\"themes/WoW_Horde/images/spacer.gif\" width=\"64\" height=\"75\" border=\"0\" alt=\"\" /></td>\n";
echo " <td valign=\"top\">\n";
blocks('left');
echo " </td>\n";
echo " <td style=\"width: 5px;\" valign =\"top\"><img src=\"themes/WoW_Horde/images/spacer.gif\" alt=\"\" width=\"5\" height=\"1\" border=\"0\" /></td>\n";
echo " <td width=\"100%\">\n";
}
/************************************************************/
/* Function themefooter() */
/************************************************************/
function themefooter() {
global $index, $user, $cookie, $banners, $prefix, $db, $admin, $nukeurl,$foot1, $foot2, $foot3, $foot4, $copyright, $totaltime;
$footer_message = "$foot1<br>$foot2<br>$foot3<br>$copyright<br>$totaltime";
if (defined('INDEX_FILE') && !defined('ADMIN_FILE')) {
echo "</td>\n";
echo " <td style=\"width: 5px;\" valign=\"top\"><img src=\"themes/WoW_Horde/images/spacer.gif\" alt=\"\" width=\"5\" height=\"1\" /></td>\n";
echo " <td style=\"width: 222px;\" valign=\"top\">\n";
blocks('right');
}
echo " </td>\n";
echo " <td style=\"width: 64px; background-image: url(themes/WoW_Horde/images/rightside.jpg)\" valign=\"top\"><img src=\"themes/WoW_Horde/images/spacer.gif\" alt=\"\" width=\"64\" height=\"75\" /></td>\n";
echo " </tr>\n";
echo "</table>\n\n\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td>\n";
echo " <img src=\"themes/WoW_Horde/images/ft/footertop_01.gif\" width=\"249\" height=\"57\" alt=\"\"></td>\n";
echo " <td style=\"width: 100%; background-image: url(themes/WoW_Horde/images/ft/footertop_lhstretch.gif)\" height=\"57\"></td>\n";
echo " <td>\n";
echo " <img src=\"themes/WoW_Horde/images/ft/footertop_03.gif\" width=\"195\" height=\"57\" alt=\"\"></td>\n";
echo " </tr>\n";
echo "</table>\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td>\n";
echo " <img src=\"themes/WoW_Horde/images/ft/footer_01.gif\" width=\"250\" height=\"99\" alt=\"\"></td>\n";
echo " <td style=\"width: 50%; background-image: url(themes/WoW_Horde/images/ft/footer_lhstretch.gif)\" height=\"99\"></td>\n";
//ADVERTISE/COPYRIGHT: DO NOT REMOVE, EDIT, MODIFY, OR DELETE, MUST STAY INTACT
echo " <td style=\"width: 476px; background-image: url(themes/WoW_Horde/images/ft/copyrightsbg.gif)\" height=\"99\" />\n";
echo "<div style=\"padding-top:4px;\"><center><marquee id=\"marquee\" behavior=\"scroll\" direction=\"up\" scrollamount=\"1\" scrolldelay= \"90\" width=\"476\" height=\"76\" onmouseover='this.stop()' onmouseout='this.start()'><font color=\"#e2e2e2\" class=\"ftr\" size=\"2\"><strong><center>";
echo $footer_message;
echo"<br /><br />
WoW Horde Theme<br /> Copyright © 2008-2009 <a href=\"http://phpnuke-theme.com\" title=\"phpnuke theme\">PHPNuke Theme</a> All Rights Reserved.<br /><br />WarCraft Renders/Images<br />Copyright © 2008 of <a href=\"http://www.blizzard.com\">Blizzard Entertainment Co.</a></center></strong></center></div></strong></font></marquee></td>\n";
echo " <td style=\"width: 50%; background-image: url(themes/WoW_Horde/images/ft/footer_rhstretch.gif)\" height=\"99\"></td>\n";
echo " <td>\n";
echo " <img src=\"themes/WoW_Horde/images/ft/footer_03.gif\" width=\"250\" height=\"99\" alt=\"\"></td>\n";
echo " </tr>\n";
echo "</table>\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td>\n";
echo " <img src=\"themes/WoW_Horde/images/ft/footerlwr_01.gif\" width=\"169\" height=\"57\" alt=\"\"></td>\n";
echo " <td style=\"width: 50%; background-image: url(themes/WoW_Horde/images/ft/footerlwr_lhstretch.gif)\" height=\"57\"></td>\n";
echo " <td>\n";
echo " <a href=\"http://phpnuke-theme.com\" target=\"_blank\" title=\"phpnuke theme\"><img src=\"themes/WoW_Horde/images/ft/ftcopyright.gif\" width=\"374\" height=\"57\" border=\"0\"></a></td>\n";
echo " <td style=\"width: 50%; background-image: url(themes/WoW_Horde/images/ft/footerlwr_rhstretch.gif)\" height=\"57\"></td>\n";
echo " <td>\n";
echo " <img src=\"themes/WoW_Horde/images/ft/footerlwr_03.gif\" width=\"169\" height=\"57\" alt=\"\"></td>\n";
echo " </tr>\n";
echo "</table>\n";
}
/************************************************************/
/* Function themeindex() */
/* This function format the stories on the Homepage */
/************************************************************/
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath, $sid;
$ThemeSel = get_theme();
if(!empty($topicimage)) {
if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
$t_image = "themes/$ThemeSel/images/topics/$topicimage";
} else {
$t_image = "$tipath$topicimage";
}
$topic_img = "<td width=\"25%\" align=\"center\" class=\"extra\"><a href=\"modules.php?name=News&new_topic=".$topic."\"><img src=\"".$t_image."\" border=\"0\" alt=\"$topictext\" title=\"$topictext\" /></a></td>";
} else {
$topic_img = "";
}
if (!empty($notes)) {
$notes = "<br /><br /><strong>"._NOTE."</strong> $notes\n";
} else {
$notes = "";
}
$content = '';
if ($aid == $informant) {
$content = "$thetext$notes\n";
} else {
if(defined('WRITES')) {
if(!empty($informant)) {
if(is_array($informant)) {
$content = "<a href=\"modules.php?name=Your_Account&op=userinfo&username=$informant[0]\">$informant[1]</a> ";
} else {
$content = "<a href=\"modules.php?name=Your_Account&op=userinfo&username=$informant\">$informant</a> ";
}
} else {
$content = "$anonymous ";
}
$content .= _WRITES." \"$thetext\"$notes\n";
} else {
$content .= "$thetext$notes\n";
}
}
$posted = _POSTEDBY." ";
$posted .= get_author($aid);
$posted .= " "._ON." $time ";
$datetime = substr($morelink, 0, strpos($morelink, "|") - strlen($morelink));
$morelink = substr($morelink, strlen($datetime) + 2);
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td><table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td width=\"88\"><img src=\"themes/WoW_Horde/images/story/story_01.gif\" height=\"61\" alt=\"\"></td>\n";
echo " <td height=\"61\" style=\"width: 100%; background-image: url(themes/WoW_Horde/images/story/story_02.gif)\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td><font class=\"storytitle\"><div style=\"padding-top:21px; padding-left:6px;\"><strong>$title</strong></div></font></td>\n";
echo " </tr>\n";
echo "</table></td>\n";
echo " <td width=\"98\"><img src=\"themes/WoW_Horde/images/story/story_03.gif\" height=\"61\" alt=\"\"></td>\n";
echo " </tr>\n";
echo "</table>\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td style=\"width: 34px; background-image: url(themes/WoW_Horde/images/story/story_04.gif)\"></td>\n";
echo " <td bgcolor=\"#20140C\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " $topic_img\n";
echo " <td width=\"75%\" class=\"content\" valign=\"top\">$content</td>\n";
echo " </tr>\n";
echo "</table></td>\n";
echo " <td style=\"width: 33px; background-image: url(themes/WoW_Horde/images/story/story_06.gif)\"></td>\n";
echo " </tr>\n";
echo "</table>\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td width=\"93\"><img src=\"themes/WoW_Horde/images/story/story_07.gif\" width=\"93\" height=\"88\" alt=\"\"></td>\n";
echo " <td height=\"88\" style=\"width: 100%; background-image: url(themes/WoW_Horde/images/story/story_08.gif)\"><hr><div style=\"padding-bottom:4px;\" align=\"right\">$posted<br /></div><div style=\"padding-bottom:8px;\" align=\"right\">$datetime $topictext | $morelink</div></td>\n";
echo " <td width=\"99\"><img src=\"themes/WoW_Horde/images/story/story_09.gif\" width=\"99\" height=\"88\" alt=\"\"></td>\n";
echo " </tr>\n";
echo "</table>\n";
echo " </td>\n";
echo " </tr>\n";
echo "</table><br />";
}
/************************************************************/
/* Function themearticle() */
/************************************************************/
function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
global $admin, $sid, $tipath;
$ThemeSel = get_theme();
if(!empty($topicimage)) {
if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
$t_image = "themes/$ThemeSel/images/topics/$topicimage";
} else {
$t_image = "$tipath$topicimage";
}
$topic_img = "<td width=\"25%\" align=\"center\" class=\"extra\"><a href=\"modules.php?name=News&new_topic=".$topic."\"><img src=\"".$t_image."\" border=\"0\" alt=\"$topictext\" title=\"$topictext\" /></a></td>";
} else {
$topic_img = "";
}
$posted = _POSTEDON." $datetime "._BY." ";
$posted .= get_author($aid);
if (!empty($notes)) {
$notes = "<br /><br /><strong>"._NOTE."</strong> <i>$notes</i>\n";
} else {
$notes = "";
}
$content = '';
if ($aid == $informant) {
$content = "$thetext$notes\n";
} else {
if(defined('WRITES')) {
if(!empty($informant)) {
if(is_array($informant)) {
$content = "<a href=\"modules.php?name=Your_Account&op=userinfo&username=$informant[0]\">$informant[1]</a> ";
} else {
$content = "<a href=\"modules.php?name=Your_Account&op=userinfo&username=$informant\">$informant</a> ";
}
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
} else {
$content .= "$thetext$notes\n";
}
}
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td><table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td width=\"88\"><img src=\"themes/WoW_Horde/images/story/story_01.gif\" height=\"61\" alt=\"\"></td>\n";
echo " <td height=\"61\" style=\"width: 100%; background-image: url(themes/WoW_Horde/images/story/story_02.gif)\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td><font class=\"storytitle\"><div style=\"padding-top:21px; padding-left:6px;\"><strong>$title</strong></div></font></td>\n";
echo " </tr>\n";
echo "</table></td>\n";
echo " <td width=\"98\"><img src=\"themes/WoW_Horde/images/story/story_03.gif\" height=\"61\" alt=\"\"></td>\n";
echo " </tr>\n";
echo "</table>\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td style=\"width: 34px; background-image: url(themes/WoW_Horde/images/story/story_04.gif)\"></td>\n";
echo " <td bgcolor=\"#20140C\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " $topic_img\n";
echo " <td width=\"75%\" class=\"content\" valign=\"top\">$content</td>\n";
echo " </tr>\n";
echo "</table></td>\n";
echo " <td style=\"width: 33px; background-image: url(themes/WoW_Horde/images/story/story_06.gif)\"></td>\n";
echo " </tr>\n";
echo "</table>\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td width=\"93\"><img src=\"themes/WoW_Horde/images/story/story_07.gif\" width=\"93\" height=\"88\" alt=\"\"></td>\n";
echo " <td height=\"88\" style=\"width: 100%; background-image: url(themes/WoW_Horde/images/story/story_08.gif)\"><hr><div style=\"padding-bottom:4px;\" align=\"center\">$posted<br /></div></td>\n";
echo " <td width=\"99\"><img src=\"themes/WoW_Horde/images/story/story_09.gif\" width=\"99\" height=\"88\" alt=\"\"></td>\n";
echo " </tr>\n";
echo "</table>\n";
echo " </td>\n";
echo " </tr>\n";
echo "</table><br />";
}
/**********************************************************/
/* Function themesidebox() */
/**********************************************************/
function themesidebox($title, $content) {
echo "<table width=\"222\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td><table width=\"222\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td bgcolor=\"#000000\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td width=\"222\" height=\"61\" style=\"background-image: url(themes/WoW_Horde/images/blocks/blocks_01.gif)\"><div style=\"padding-top:22px;\" align=\"center\"><font class=\"blocktitle\">$title</font></div></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td style=\"background-image: url(themes/WoW_Horde/images/blocks/blocks_02.gif)\"><table width=\"72%\" align=\"center\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td>$content</td>\n";
echo " </tr>\n";
echo " </table></td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td height=\"58\" width=\"222\"><img src=\"themes/WoW_Horde/images/blocks/blocks_03.gif\" border=\"0\" alt=\"\"></td>\n";
echo " </tr>\n";
echo " </table></td>\n";
echo " </tr>\n";
echo " </table></td>\n";
echo " </tr>\n";
echo "</table>\n";
echo "</td>\n";
echo " </tr>\n";
echo "</table><br />";
}
?>
|