Normaal gezien zou ik het thema even kunnen uploaden, maar omdat het een commercieel thema is ga ik dat niet doen.
Hier is alvast wel een groot stuk code, maar
Code if ( $index ==1 ) { blocks( centre) ; }
vind ik er nergens in terug ...
Code function themeheader
( ) { global $user ,
$banners ,
$sitename ,
$slogan ,
$cookie ,
$prefix ;
cookiedecode
( $user ) ;
$username =
$cookie [ 1 ] ;
if ( $username ==
"" ) { $username =
"Anonymous" ;
} echo "<!----- PostNuke Theme Copyright BassFace ----->\n \n \n \n \n " .
"<body bgcolor=\" #DAE9F5\" text=\" #000000\" link=\" #363636\" vlink=\" #363636\" alink=\" #d5ae83\" leftmargin=\" 0\" topmargin=\" 0\" marginwidth=\" 0\" marginheight=\" 0\" >\n " ;
if ( $banners ) { include ( "banners.php" ) ;
} echo "<table cellpadding=\" 0\" cellspacing=\" 0\" width=\" 780\" border=\" 0\" align=\" center\" bgcolor=\" #93BEE2\" >\n " .
"<tr>\n " .
"<td bgcolor=\" #93BEE2\" >\n " .
"<img height=\" 15\" alt=\" \" hspace=\" 0\" src=\" themes/BabyBlue/images/corner-top-left.gif\" width=\" 15\" align=\" left\" >\n " .
"<a href=\" index.php\" ><img src=\" themes/BabyBlue/images/logo.gif\" align=\" left\" alt=\" " ._WELCOMETO.
" $sitename\" border=\" 0\" ></a></td>\n " .
"<td bgcolor=\" #93BEE2\" valign=\" top\" ><img height=\" 15\" alt=\" \" hspace=\" 0\" src=\" themes/BabyBlue/images/corner-top-right.gif\" width=\" 15\" align=\" right\" ></td>\n " .
"</tr></table>\n " ;
// Top Navigation Bar echo "<table cellpadding=\" 0\" cellspacing=\" 0\" width=\" 780\" border=\" 0\" align=\" center\" bgcolor=\" #336699\" >\n " .
"<tr>\n " .
"<td align=\" left\" width=\" 28%\" bgcolor=\" #93BEE2\" >&nbsp;</td>\n " .
"<TD WIDTH=\" 12%\" ALIGN=CENTER onclick=\" location.href='index.php'\" onmouseover=\" this.style.backgroundColor='#93BEE2';this.style.cursor='hand';\" onmouseout=\" this.style.backgroundColor='#336699';this.style.cursor='hand';\" ><A CLASS=\" BabyBluetopmenu\" HREF=\" index.php\" >Home</A></TD>\n " .
"<TD WIDTH=\" 12%\" ALIGN=CENTER onclick=\" location.href='modules.php?op=modload&name=Topics&file=index'\" onmouseover=\" this.style.backgroundColor='#93BEE2';this.style.cursor='hand';\" onmouseout=\" this.style.backgroundColor='#336699';this.style.cursor='hand';\" ><A CLASS=\" BabyBluetopmenu\" HREF=\" modules.php?op=modload&name=Topics&file=index\" >Onderwerpen</A></TD>\n " .
"<TD WIDTH=\" 12%\" ALIGN=CENTER onclick=\" location.href='modules.php?op=modload&name=Downloads&file=index'\" onmouseover=\" this.style.backgroundColor='#93BEE2';this.style.cursor='hand';\" onmouseout=\" this.style.backgroundColor='#336699';this.style.cursor='hand';\" ><A CLASS=\" BabyBluetopmenu\" HREF=\" modules.php?op=modload&name=Downloads&file=index\" >Downloads</A></TD>\n " .
"<TD WIDTH=\" 12%\" ALIGN=CENTER onclick=\" location.href='user.php'\" onmouseover=\" this.style.backgroundColor='#93BEE2';this.style.cursor='hand';\" onmouseout=\" this.style.backgroundColor='#336699';this.style.cursor='hand';\" ><A CLASS=\" BabyBluetopmenu\" HREF=\" user.php\" >Uw Account</A></TD>\n " .
"<TD WIDTH=\" 12%\" ALIGN=CENTER onclick=\" location.href='modules.php?op=modload&name=Submit_News&file=index'\" onmouseover=\" this.style.backgroundColor='#93BEE2';this.style.cursor='hand';\" onmouseout=\" this.style.backgroundColor='#336699';this.style.cursor='hand';\" ><A CLASS=\" BabyBluetopmenu\" HREF=\" modules.php?op=modload&name=Submit_News&file=index\" >Nieuws inzenden</A></TD>\n " .
"<TD WIDTH=\" 12%\" ALIGN=CENTER onclick=\" location.href='modules.php?op=modload&name=Top_List&file=index'\" onmouseover=\" this.style.backgroundColor='#93BEE2';this.style.cursor='hand';\" onmouseout=\" this.style.backgroundColor='#336699';this.style.cursor='hand';\" ><A CLASS=\" BabyBluetopmenu\" HREF=\" modules.php?op=modload&name=Top_List&file=index\" >Top Tien</A></TD>\n " .
"</tr>\n " .
"<tr>\n " .
"<td bgcolor=\" #336699\" colspan=\" 7\" ><IMG src=\" themes/BabyBlue/images/pixel.gif\" width=\" 1\" height=3 alt=\" \" border=\" 0\" hspace=\" 0\" ></td>\n " .
"</tr>\n " .
"</table>\n \n \n " // Date, Login & Search Area .
"<table cellpadding=\" 0\" cellspacing=\" 0\" width=\" 780\" border=\" 0\" align=\" center\" bgcolor=\" #93BEE2\" >\n " .
"<tr valign=\" middle\" bgcolor=\" #93BEE2\" >\n " .
"<td colspan=\" 5\" ><IMG src=\" themes/BabyBlue/images/pixel.gif\" width=\" 1\" height=5 alt=\" \" border=\" 0\" hspace=\" 0\" ></td>\n " .
"</tr>\n " // Date .
"<tr valign=\" middle\" bgcolor=\" #93BEE2\" >\n " .
"<td bgcolor=\" #93BEE2\" width=\" 300\" align=\" left\" valign=\" middle\" >\n " .
"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n " .
"<script type=\" text/javascript\" >\n \n " .
"<!-- // Array ofmonth Names\n " .
"var monthNames = new Array( \" Januari\" ,\" Februari\" ,\" Maart\" ,\" April\" ,\" Mei\" ,\" Juni\" ,\" Juli\" ,\" Augustus\" ,\" September\" ,\" Oktober\" ,\" November\" ,\" December\" );\n " .
"var now = new Date();\n " .
"thisYear = now.getYear();\n " .
"if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem\n " .
"document.write(monthNames[now.getMonth()] + \" \" + now.getDate() + \" , \" + thisYear);\n " .
"// -->\n \n " .
"</script>\n " .
"</td>\n " // User Login .
"<td bgcolor=\" #D8E8F5\" width=\" 15\" align=\" right\" valign=\" top\" ><img src=\" themes\B abyBlue\i mages\s earch-left-corner.gif\" width=\" 15\" height=\" 15\" alt=\" \" ></td>\n " ;
if ( $username ==
"Anonymous" ) { echo "<td bgcolor=\" #D8E8F5\" width=\" 380\" >\n " .
"<form action=\" user.php?module=NS-User\" method=\" post\" style=\" margin:0\" >\n " .
"&nbsp;&nbsp;Gebruikersnaam:\n " .
"<input type=\" text\" name=\" uname\" size=\" 7\" maxlength=\" 25\" >\n " .
"Paswoord:\n " .
"<input type=\" password\" name=\" pass\" size=\" 7\" maxlength=\" 20\" >\n " .
"<input type=\" hidden\" name=\" op\" value=\" login\" >\n " .
"<input type=\" submit\" value=\" inloggen\" >\n " .
"\n " .
"</form>\n " .
"</td>\n " ;
} else { echo "<td bgcolor=\" #D8E8F5\" width=\" 380\" >\n " .
"&nbsp;&nbsp;<b>Welkom $username!</b> &nbsp;<a href=\" user.php?module=NS-User&op=logout\" >uitloggen</a></td>" ;
} // Search echo "<td bgcolor=\" #D8E8F5\" width=\" 200\" align=\" right\" valign=\" middle\" >\n " // Search Form .
"<form action=\" modules.php\" method=\" post\" style=\" margin:0\" >\n " .
"<input type=\" hidden\" name=\" name\" value=\" Search\" >\n " .
"<input type=\" hidden\" name=\" file\" value=\" index\" >\n " .
"<input type=\" hidden\" name=\" op\" value=\" modload\" >\n " .
"<input type=\" hidden\" name=\" action\" value=\" search\" >\n " .
"<input type=\" hidden\" name=\" overview\" value=\" 1\" >\n " .
"<input type=\" hidden\" name=\" active_stories\" value=\" 1\" >\n " .
"<input type=\" hidden\" name=\" bool\" value=\" AND\" >\n " .
"<input type=\" hidden\" name=\" stories_cat\" value=\" \" >\n " .
"<input type=\" hidden\" name=\" stories_topics\" value=\" \" >\n " .
"<input NAME=\" q\" TYPE=\" text\" VALUE=\" \" SIZE=\" 15\" >&nbsp;\n " .
"<input type=\" submit\" value=\" Zoeken\" >&nbsp;&nbsp;\n " .
"</form>\n " .
"</td>\n " .
"</tr>\n " .
"</table>\n \n \n " .
"<table cellpadding=\" 0\" cellspacing=\" 0\" width=\" 780\" border=\" 0\" align=\" center\" >\n " .
"<tr>\n " .
"<td align=\" left\" valign=\" top\" width=\" 780\" >&nbsp;</td>\n " .
"</tr>\n " .
"</table>\n " // Begin of Main Content .
"<table width=\" 780\" cellpadding=\" 0\" cellspacing=\" 0\" border=\" 0\" align=\" center\" >\n " .
"<tr valign=\" top\" >\n " .
"<td width=\" 150\" >\n " ;
blocks
( left
) ;
echo "</td>\n " .
"<td width=\" 15\" align=\" left\" valign=\" top\" ><img src=\" themes/BabyBlue/images/pixel.gif\" width=\" 15\" height=\" 1\" border=\" 0\" alt=\" \" ></td>\n " .
"<td>\n " ;
} /************************************************************/ function themefooter
( ) { global $index ;
if ( $index ==
1 ) { echo "</td>\n " .
"<td><img src=\" themes/BabyBlue/images/pixel.gif\" width=\" 15\" height=\" 1\" border=\" 0\" alt=\" \" ></td>\n " .
"<td valign=\" top\" width=\" 150\" >\n " ;
blocks
( right
) ;
} echo "</td>\n " .
"</tr>\n " .
"<tr>\n " .
"</tr>\n " .
"</table>\n " .
"<br>" .
"<table width=\" 780\" cellpadding=\" 0\" cellspacing=\" 0\" border=\" 0\" bgcolor=\" #93BEE2\" align=\" center\" ><tr valign=\" top\" >\n " .
"<td><IMG alt=\" \" hspace=\" 0\" src=\" themes/BabyBlue/images/corner-top-left.gif\" width=\" 15\" height=\" 15\" align=\" left\" ></td>\n " .
"<td width=\" 100%\" >&nbsp;</td>\n " .
"<td><IMG alt=\" \" hspace=\" 0\" src=\" themes/BabyBlue/images/corner-top-right.gif\" width=\" 15\" height=\" 15\" align=\" right\" ></td>\n " .
"</tr><tr align=\" center\" >\n " .
"<td width=\" 100%\" colspan=\" 3\" >\n " ;
footmsg
( ) ;
echo "</td>\n " .
"</tr><tr>\n " .
"<td><IMG alt=\" \" hspace=\" 0\" src=\" themes/BabyBlue/images/corner-bottom-left.gif\" width=\" 15\" height=\" 15\" align=\" left\" ></td>\n " .
"<td width=\" 100%\" >&nbsp;</td>\n " .
"<td><IMG alt=\" \" hspace=\" 0\" src=\" themes/BabyBlue/images/corner-bottom-right.gif\" width=\" 15\" height=\" 15\" align=\" right\" ></td>\n " .
"</tr></table>\n " ;
} /************************************************************/
Reacties