| Kurde nie jestem tu modem :|. 
 Masz gotowca:
 
 <?************************//* Theme Settings */
 /************************/
 
 $body_text = "#000000";
 $body_bg = "#71786A";
 $theme_width = "1024";
 $theme_width_l = "250";
 $theme_width_r = "250";
 
 function render_header($header_content) {
 
 global $theme_width,$settings;
 
 echo "<table class='bodyline' width='$theme_width' cellspacing='0' cellpadding='0' border='0'>";
 echo "<tr><td align='center' valign='top'>";
 echo "<table width='$theme_width' border='0' cellspacing='0' cellpadding='0'><tr>";
 echo "<td width='60%' background='".THEME."images/cellpic_bkg.jpg' height='110'><a href='".BASE."index.php'><center><img src='".THEME."images/banglo.jpg' border='0' alt='$sitename'></center></td>";
 echo "<td width='40%' background='".THEME."images/cellpic_bkg.jpg' height='110'>";
 echo "</td></tr></table>";
 echo "<table width='$theme_width' border='0' cellspacing='0' cellpadding='0'><tr>";
 echo "<td><table width='$theme_width' height='26' border='0' cellpadding='4' cellspacing='0' background='".THEME."images/cellpic_nav.gif'>";
 $result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order"smiley;
 if (dbrows($result) != 0) {
 echo "<td>\n";
 $i = 0;
 while($data = dbarray($result)) {
 if (checkgroup($data['link_visibility'])) {
 if ($data['link_url']!="---"smiley {
 if ($i != 0) { echo " r6;\n"; } else { echo "\n"; }
 $link_target = ($data['link_window'] == "1" ? " target='_blank'" : ""smiley;
 if (strstr($data['link_url'], "http://"smiley || strstr($data['link_url'], "https://"smiley) {
 echo "<a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
 } else {
 echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
 }
 }
 $i++;
 }
 }
 }
 echo ($i == 0 ? " " : ""smiley."</td>\n";
 echo "<td width='250' nowrap><div align='right'><font class='date'><b>".ucwords(showdate($settings['subheaderdate'], time()))."";
 echo " </b></font></div>";
 echo "</td></tr></table></td></tr></table>";
 echo "<table width='$theme_width' cellpadding='0' cellspacing='0' border='0' align='center'>";
 echo "</tr></table>";
 echo "<table width='$theme_width' cellpadding='0' cellspacing='0' border='0' align='center'>";
 echo "<tr valign='top'>";
 echo "<td valign='middle' align='right'>";
 echo "<table width='$theme_width' cellpadding='4' bgcolor='#8E9886' cellspacing='0' border='0'>";
 }
 
 function render_footer($license=false) {
 
 global $theme_width,$locale,$settings;
 
 echo "</tr>\n</table>\n";
 echo "<div align='center'>";
 echo "<table class='border1' cellpadding='3' cellspacing='0' width='$theme_width'>";
 echo "<tr><td align='center' >";
 echo "This site has had: <b>".$settings['counter']." </b>".($settings['counter'] == 1 ? $locale['140']."<br><br>\n" : $locale['141']."<br><br>\n"smiley;
 if ($license == false) {
 echo "Powered by <a target='_blank' href='http://www.php-fusion.co.uk'><img src='".THEME."images/fusion.gif' title='PHP-Fusion' style='vertical-align:middle;'></a> v".$settings['version']." © 2003-2005";
 }
 echo "| Battlefield by: <a target='_blank' href='http://phpfusion.org'><img title='PHP-Fusion Themes' src='".THEME."images/fthemes.gif' style='vertical-align:middle;'></a></td></tr><tr><td align='center'>";
 echo "<table border='1' cellspacing='0' style='border-collapse: collapse' bordercolor='#203906' width='70%'>";
 echo "</td></tr></table></td></tr></table></center></div><br> \n";
 }
 
 function render_news($subject, $news, $info) {
 
 global $locale;
 
 echo "<table border='0' style='border: 1px solid #63774F' cellspacing='1' width='100%' cellpadding='3'><tr>";
 echo "<td background='".THEME."images/cellpic_nav.gif' height='22'><img border='0' src='".THEME."images/panel_img.gif'> <font class='block-news'>$subject</font></td>";
 echo "</tr></table>";
 echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
 echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
 echo "<td class='main-body'>$news</td></tr></table>";
 echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
 echo "<td class='news-footer'> ";
 echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
 echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
 echo "<td height='24' align='right' class='news-footer'>";
 echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : ""smiley."";
 if ($info['news_allow_comments'])
 echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
 echo "".$info['news_reads'].$locale['044']." ";
 echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
 echo "</td></tr></table></td></tr></table>\n";
 }
 
 function render_article($subject, $article, $info) {
 
 global $locale;
 
 echo "<table border='0' style='border: 1px solid #63774F' cellspacing='1' width='100%' cellpadding='3'><tr>";
 echo "<td background='".THEME."images/cellpic_nav.gif' height='22'><img border='0' src='".THEME."images/panel_img.gif'> <font class='block-news'>$subject</font></td>";
 echo "</td></tr></table>";
 echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
 echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
 echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
 echo "</td></tr></table>";
 echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
 echo "<td class='news-footer'>";
 echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
 echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
 echo "<td height='22' align='right' class='news-footer'>";
 if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
 echo "".$info['article_reads'].$locale['044']." ";
 echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
 echo "</td></tr></table></td></tr></table>\n";
 }
 
 // Open table begins
 function opentable($title) {
 
 echo "<table width='$theme_width_l' cellpadding='2' cellspacing='1' style='border: 1px solid #63774F'>";
 echo "<tr><td background='".THEME."images/cellpic1.gif' bgcolor='#7E8E71' height='22'><font class='head-title'> $title</font></td>";
 echo "</tr></table>";
 echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
 echo "<td class='main-body'>\n";
 }
 
 // Close table end
 function closetable() {
 echo "</td></tr></table>\n";
 }
 
 function openside($title) {
 
 echo "<table border='0' style='border: 1px solid #63774F' cellspacing='1' width='$theme_width_l' cellpadding='3'><tr>";
 echo "<td height='22' width='100%' background='".THEME."images/cellpic1.gif'>";
 echo "<img border='0' src='".THEME."images/panel_img.gif'> <font class='block-title'>$title</font>";
 echo "</td></tr>";
 echo "<tr><td bgcolor='#ADB9A2' background='".THEME."images/back1.gif' class='side-body' width='100%'>";
 }
 
 function closeside() {
 echo "</td></tr></table>";
 tablebreak();
 }
 
 function opensidex($title,$open="on"smiley {
 $box_img = ($open=="on" ? "off" : "on"smiley;
 
 echo "<table border='0' style='border: 1px solid #63774F' cellspacing='1' width='$theme_width_l' cellpadding='3'><tr>";
 echo "<td height='22' width='100%' background='".THEME."images/cellpic1.gif'>";
 echo "<img align='left'onclick=\"javascript:flipBox('$title'smiley\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'>$title</font>";
 echo "</td></tr>";
 echo "<tr><td bgcolor='#ADB9A2' class='side-body'width='100%' '".THEME."images/back1.gif'>";
 echo "<div id='box_$title'".($open=="off" ? "style='display:none'" : ""smiley.">\n";
 }
 
 
 function closesidex() {
 
 echo "</div></td></tr></table>";
 tablebreak();
 }
 
 // Table functions
 function tablebreak() {
 echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
 }
 ?>
 
 Teraz ustawiasz $theme_width u góry i Ci si? normalnie przestawia.
 
    Nie pomagam na komunikatorach oraz PW! |