Author
Message
ominae Regular Joined: Sep 16, 2008 Posts: 60
Posted:
Mon Aug 17, 2009 3:14 am
Hi there you have seen this a thousand times as i have myself
i know the usual fix and i have tryed that but the llines i am suposed to
change do not appaire in my theme.php file so i have drawn a blank
now i am askin for some help
tyhis is a link to my theme file that i should change
iff any one can spot what i need to change it owuld be a BIG
help many thanx guys
PS iff yu right click an save as on the link yu will get the file
thanx agen
Palbin Site Admin Joined: Mar 30, 2006 Posts: 2407 Location: Pennsylvania
Posted:
Mon Aug 17, 2009 5:39 am
ominae Regular Joined: Sep 16, 2008 Posts: 60
Posted:
Mon Aug 17, 2009 7:22 am
thr right blacks as in there not showing up at all
jakec Site Admin Joined: Feb 06, 2006 Posts: 3028 Location: United Kingdom
Posted:
Mon Aug 17, 2009 7:56 am
Have you tried adding the line of of code for the usual fix? Also is the theme supposed to support right blocks?
BTW the link above does not work for me.
ominae Regular Joined: Sep 16, 2008 Posts: 60
Posted:
Tue Aug 18, 2009 2:53 am
yes as i stated i trye the usual fix that code is not in this theme php file
okay the link is not working so here is the file code sorry it is a bit to read though
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($index==1 && !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 />";
}
?>
wHiTeHaT Involved Joined: Jul 18, 2004 Posts: 431 Location: Netherlands
Posted:
Tue Aug 18, 2009 9:44 am
This should work:
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 />";
}
?>
ominae Regular Joined: Sep 16, 2008 Posts: 60
Posted:
Wed Aug 19, 2009 1:30 am
Hey whitehat
many thanx dude that solved that problem Big thanx
to you man
glad there are always ppl arround that know more than
i haha makes my f*** ups easyer to fix
thanx agn
wHiTeHaT Involved Joined: Jul 18, 2004 Posts: 431 Location: Netherlands
Posted:
Wed Aug 19, 2009 9:31 am
glad i helped you... but that is the current usual fix lol.
janpirate New Member Joined: Aug 28, 2009 Posts: 1
Posted:
Fri Aug 28, 2009 11:10 am
tq guys
solve my probs too
View next topic
View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum