Przedszkolak
Postów: 26
Data rejestracji: 20.05.2007 09:02
|
Witam. Zmieniłem skórkę na stronie na Diablo i klikając na dany artykuł otwiera się on owszem, ale wydaje się być pusty. Są tylko komentarze.. Jak wezmę edytuj artykuł to cały tekst jest widoczny, po zatwierdzeniu jednak znowu nie wyświetla się...
Byłbym wdzięczny, jeżeli ktoś pomógł mi to naprawić, ewentualnie nakierował na błąd.
Adres http://www.whklan...
Theme:
<?php
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2007 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Nuke Conversion for PHP-Fusion v6 |
|---------------------------------------------|
| author: Fusion-Themes - UCTXs © 2007 |
| web: http://fusion-themes.com |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
if (!defined("IN_FUSION")) {
header("Location: ../../index.php");
exit;
}
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#000000";
$body_bg = "#40546E";
$theme_width = "100%";
$theme_width_l = "41";
$theme_width_r = "41";
function render_header($header_content) {
global $theme_width,$settings;
echo"<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
echo"<!--DWLayoutTable-->";
echo"<tr> ";
echo"<td width=\"100%\" height=\"240\" valign=\"top\"><table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"".THEME."images/htmm.jpg\">";
echo"<!--DWLayoutTable-->";
echo"<tr> ";
echo"<td width=\"63\" height=\"240\" valign=\"top\"><img src=\"".THEME."images/htl.jpg\" width=\"101\" height=\"240\"></td>";
echo"<td width=\"100%\" align=\"center\" valign=\"top\">";
echo"<img src=\"".THEME."images/banner.gif\">";
echo"<td width=\"105\" valign=\"top\"><img src=\"".THEME."images/htr.jpg\" width=\"105\" height=\"240\"></td>";
echo"</tr>";
echo"</table></td>";
echo"</tr>";
echo"<tr> ";
echo"<td height=\"72\" valign=\"top\"><table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"".THEME."images/hbmm.jpg\">";
echo"<!--DWLayoutTable-->";
echo"<tr> ";
echo"<td width=\"193\" height=\"72\" valign=\"top\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"387\" height=\"72\">";
echo"<param name=\"movie\" value=\"".THEME."images/hbl.swf\">";
echo"<param name=\"quality\" value=\"high\">";
echo"<embed src=\"".THEME."images/hbl.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"387\" height=\"72\"></embed></object></td>";
echo"<td width=\"100%\" align=\"center\" valign=\"top\"><img src=\"".THEME."images/hbm.jpg\" width=\"48\" height=\"72\"></td>";
echo"<td width=\"397\" valign=\"top\"><table width=\"396\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"".THEME."images/hbr.jpg\">";
echo"<!--DWLayoutTable-->";
echo"<tr> ";
echo"<td width=\"37\" height=\"15\"></td>";
echo"<td width=\"294\"></td>";
echo"<td width=\"65\"></td>";
echo"</tr>";
echo"<tr>";
echo"<td height=\"19\"></td>";
echo"<td align=\"right\" valign=\"top\"> <marquee>";
echo"<font color=\"#666666\">Witamy na stronie klanu WH Klan PL!</font> ";
echo"</marquee> ";
echo"<td></td>";
echo"</tr>";
echo"<tr>";
echo"<td height=\"38\"></td>";
echo"<td> </td>";
echo"<td></td>";
echo"</tr>";
echo"</table></td>";
echo"</tr>";
echo"</table></td>";
echo"</tr>";
echo"</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"10\" background=\"".THEME."images/left.jpg\"> </td>
<td>\n";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</td>
<td width=\"10\" background=\"".THEME."images/right.jpg\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"".THEME."images/ftmm.jpg\">";
echo"<tr>";
echo"<td width=\"248\" height=\"168\" valign=\"top\"><table width=\"248\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"".THEME."images/fl.jpg\">";
echo"<tr>";
echo"<td width=\"50\" height=\"38\"> </td>";
echo"<td width=\"133\"> </td>";
echo"<td width=\"65\"> </td>";
echo"</tr>";
echo"<tr>";
echo"<td height=\"94\"> </td>";
echo"<td valign=\"center\"><marquee behavior='scroll' align='center' valign='bottom' direction='up' height='60' scrollamount='1' scrolldelay='1' onmouseover='this.stop()' onmouseout='this.start()'>87.230.57.114:27966</td>";
echo"<td> </td>";
echo"</tr>";
echo"<tr>";
echo"<td height=\"36\"> </td>";
echo"<td> </td>";
echo"<td> </td>";
echo"</tr>";
echo"</table></td>";
echo"<td width=\"100%\" align=\"center\" valign=\"top\"><img src=\"".THEME."images/fm.jpg\" width=\"336\" height=\"168\">";
echo "<center>Powered by <a target='_blank' href='http://www.php-fusion.co.uk'>PHP-Fusion</a> | Ported by <a target='_blank' href='http://fusion-themes.com'>Fusion-Themes</a></center><br><center><font class='visits'><b>".$settings['counter']." </b>Unique Visits</font></center>";
echo "</td>";
echo"<td width=\"248\" valign=\"top\"><table width=\"248\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"".THEME."images/fr.jpg\">";
echo"<tr>";
echo"<td width=\"67\" height=\"24\"> </td>";
echo"<td width=\"126\"> </td>";
echo"<td width=\"55\"> </td>";
echo"</tr>";
echo"<tr>";
echo"<td height=\"106\"> </td>";
echo"<td valign=\"center\"><marquee behavior='scroll' align='center' valign='bottom' direction='down' height='60' scrollamount='1' scrolldelay='1' onmouseover='this.stop()' onmouseout='this.start()'>WH KLAN PL</td>";
echo"<td> </td>";
echo"</tr>";
echo"<tr>";
echo"<td height=\"38\"> </td>";
echo"<td> </td>";
echo"<td> </td>";
echo"</tr>";
echo"</table></td>";
echo"</tr>";
echo"</table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo"<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
echo"<!--DWLayoutTable-->";
echo"<tr> ";
echo"<td height=\"50\" colspan=\"2\" valign=\"top\"><img src=\"".THEME."images/ttl.jpg\" width=\"34\" height=\"50\"></td>";
echo"<td width=\"100%\" valign=\"top\" background=\"".THEME."images/ttm.jpg\"><img name=\"tm\" src=\"".THEME."images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>";
echo"<td colspan=\"2\" valign=\"top\"><img src=\"".THEME."images/ttr.jpg\" width=\"34\" height=\"50\"></td>";
echo"</tr>";
echo"<tr> ";
echo"<td width=\"24\" height=\"29\" valign=\"top\" background=\"".THEME."images/tl.jpg\"><img name=\"left\" src=\"".THEME."images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>";
echo"<td colspan=\"3\" valign=\"top\" bgcolor=\"#252525\"><center>$subject</center><br>$news<br><table width='100%' cellpadding='0' cellspacing='0'><tr>
<td class='infobar'>".newsposter($info)."</td><hr><td align='right' class='infobar2'>".openform("N", $info['news_id']).newsopts($info, "·").closeform("N", $info['news_id'])."</td></tr>
</table</td>";
echo"<td width=\"24\" valign=\"top\" background=\"".THEME."images/tr.jpg\"><img name=\"right\" src=\"".THEME."images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>";
echo"</tr>";
echo"<tr> ";
echo"<td height=\"46\" colspan=\"2\" valign=\"top\"><img src=\"".THEME."images/tbl.jpg\" width=\"34\" height=\"46\"></td>";
echo"<td valign=\"top\" background=\"".THEME."images/tbm.jpg\"><img name=\"btm\" src=\"".THEME."images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>";
echo"<td colspan=\"2\" valign=\"top\"><img src=\"".THEME."images/tbr.jpg\" width=\"34\" height=\"46\"></td>";
echo"</tr>";
echo"<tr> ";
echo"<td height=\"0\"></td>";
echo"<td width=\"10\"></td>";
echo"<td></td>";
echo"<td width=\"10\"></td>";
echo"<td></td>";
echo"</tr>";
echo"<tr> ";
echo"<td height=\"1\"><img src=\"spacer.gif\" alt=\"\" width=\"24\" height=\"1\"></td>";
echo"<td><img src=\"spacer.gif\" alt=\"\" width=\"10\" height=\"1\"></td>";
echo"<td></td>";
echo"<td><img src=\"spacer.gif\" alt=\"\" width=\"10\" height=\"1\"></td>";
echo"<td><img src=\"spacer.gif\" alt=\"\" width=\"24\" height=\"1\"></td>";
echo"</tr>";
echo"</table>";
}
function render_article($subject, $article, $info) {
global $locale;
echo"<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
echo"<!--DWLayoutTable-->";
echo"<tr> ";
echo"<td height=\"50\" colspan=\"2\" valign=\"top\"><img src=\"".THEME."images/ttl.jpg\" width=\"34\" height=\"50\"></td>";
echo"<td width=\"100%\" valign=\"top\" background=\"".THEME."images/ttm.jpg\"><img name=\"tm\" src=\"".THEME."images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>";
echo"<td colspan=\"2\" valign=\"top\"><img src=\"".THEME."images/ttr.jpg\" width=\"34\" height=\"50\"></td>";
echo"</tr>";
echo"<tr> ";
echo"<td width=\"24\" height=\"29\" valign=\"top\" background=\"".THEME."images/tl.jpg\"><img name=\"left\" src=\"".THEME."images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>";
echo"<td colspan=\"3\" valign=\"top\" bgcolor=\"#252525\"><center>$subject</center><br>$news<br><table width='100%' cellpadding='0' cellspacing='0'><tr>
<td class='infobar'>".newsposter($info).openform("N",$info['news_id']).newsopts($info,"·").closeform("N",$info['news_id'])."</td><hr>
</tr>
</table></td>";
echo"<td width=\"24\" valign=\"top\" background=\"".THEME."images/tr.jpg\"><img name=\"right\" src=\"".THEME."images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>";
echo"</tr>";
echo"<tr> ";
echo"<td height=\"46\" colspan=\"2\" valign=\"top\"><img src=\"".THEME."images/tbl.jpg\" width=\"34\" height=\"46\"></td>";
echo"<td valign=\"top\" background=\"".THEME."images/tbm.jpg\"><img name=\"btm\" src=\"".THEME."images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>";
echo"<td colspan=\"2\" valign=\"top\"><img src=\"".THEME."images/tbr.jpg\" width=\"34\" height=\"46\"></td>";
echo"</tr>";
echo"<tr> ";
echo"<td height=\"0\"></td>";
echo"<td width=\"10\"></td>";
echo"<td></td>";
echo"<td width=\"10\"></td>";
echo"<td></td>";
echo"</tr>";
echo"<tr> ";
echo"<td height=\"1\"><img src=\"spacer.gif\" alt=\"\" width=\"24\" height=\"1\"></td>";
echo"<td><img src=\"spacer.gif\" alt=\"\" width=\"10\" height=\"1\"></td>";
echo"<td></td>";
echo"<td><img src=\"spacer.gif\" alt=\"\" width=\"10\" height=\"1\"></td>";
echo"<td><img src=\"spacer.gif\" alt=\"\" width=\"24\" height=\"1\"></td>";
echo"</tr>";
echo"</table>";
}
function render_premier($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td class='side-caption'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='infobar'><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['premier_date'])."
</td>
<td align='right' class='infobar'>\n";
if ($info['premier_allow_comments']) echo $info['premier_comments'].$locale['043']." ·\n";
echo $info['premier_reads'].$locale['044']."
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_movie($subject, $movie, $info) {
global $locale;
include LOCALE.LOCALESET."movies.php";
opentable($subject);
echo "<div align='center'><table cellpadding='0' cellspacing='0' style='border-collapse: collapse; background-color:#;' width='100%' class='border'>";
$r = substr($movie, -3, 3);
if ($r=="wmv") {
echo "<div align='center'>";
echo "<br><br><embed src='$movie' flashvars='gcode=482CD697' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/' width='400' height='350' autostart='1' showcontrols='1' showstatusbar='1' showdisplay='0' autorewind='0' enablecontextmenu='0'></embed><br><br>";
}elseif ($r=="mpg") {
echo "<div align='center'>";
echo "<br><br><embed src='$movie' flashvars='gcode=482CD697' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/' width='400' height='350' autostart='1' showcontrols='1' showstatusbar='1' showdisplay='0' autorewind='0' enablecontextmenu='0'></embed><br><br>";
}elseif ($r=="avi") {
echo "<div align='center'>";
echo "<br><br><embed src='$movie' flashvars='gcode=482CD697' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/' width='400' height='350' autostart='1' showcontrols='1' showstatusbar='1' showdisplay='0' autorewind='0' enablecontextmenu='0'></embed><br><br>";
}elseif ($r=="swf") {
echo "<div align='center'>";
echo"<br><br><OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'codebase='http://download.macromedia.com/pub/shckwave/cabs/flash/swflash.cab#version=5,0,0,0' WIDTH='550' HEIGHT='400' id='grmovie' name='grmovie'>
<PARAM NAME=movie VALUE='$movie'>
<param name='menu' value='false'>
<param name='quality' value='high'>
<param name='FlashVars' value='gcode=482CD697'>
<embed src='$movie' flashvars='gcode=482CD697' menu=false quality=high WIDTH='550' HEIGHT='400' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' id='grmovie' name='grmovie'></embed></object><br><br>";
}elseif ($r=="mp3") {
echo "<div align='center'>";
echo "<br><br><embed src='$movie' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/ ' autostart='1' showcontrols='1' showstatusbar='1' showdisplay='0' autorewind='0' enablecontextmenu='0' height='70' width='300'></embed><br><br>";
}elseif ($r=="wma") {
echo "<div align='center'>";
echo "<br><br><embed src='$movie' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/ ' autostart='1' showcontrols='1' showstatusbar='1' showdisplay='0' autorewind='0' enablecontextmenu='0' height='70' width='300'></embed><br><br>";
}elseif ($r=="mov") {
echo "<div align='center'>";
echo "<br><br><embed type='video/quicktime' src='$movie' controller='true' target='myself' pluginspage='http://www.apple.com/quicktime/download/' loop='FALSE' autoplay='true' border='1' height='380' width='460'></embed><br><br>";
}elseif ($r=="txt") {
echo "<div align='left'><br><br>";
$buff = nl2br(file_get_contents($movie));
echo $buff."</div><br><br>";
}else{
echo "<div align='center'>";
echo "<br><br><embed src='$movie' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' height='372' width='416'><br><br>";
}
echo "</div></table></div>";
closetable();
}
function render_game($subject, $game, $info) {
global $locale;
include LOCALE.LOCALESET."games.php";
echo "<div align='center'><table cellpadding='0' cellspacing='0' style='border-collapse: collapse; background-color:#;' width='100%' class='border'>
<tr>
<td class='side-caption'>$subject</td>
</tr>
<td width='637'><span style='color: #fff; font-weight: bolder; font-size: 12px;'></span> <span style='color: #6d9501; font-size: 12px; font-weight: bolder;'></span><br><br>
<div align='center'>
<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' WIDTH='550' HEIGHT='400' id='grgame' name='grgame'>
<PARAM NAME=movie VALUE='$game'>
<param name='menu' value='false'>
<param name='quality' value='high'>
<param name='FlashVars' value='gcode=482CD697'>
<embed src='$game' flashvars='gcode=482CD697' menu=false quality=high WIDTH='550' HEIGHT='400' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' id='grgame' name='grgame'></embed>
</object>
</div><br><br>
<div align='center' style='font-size: 14px;'><a href='javascript:history.go(-1)' title='Wstecz'><img src='".IMAGES."up/powrot.gif' border='0' height='35' alt='Powrót'></a></div></td>
</tr>
<td align='right' class='infobar'>\n";
if ($info['game_allow_comments']) echo $info['game_comments'].$locale['043']." ·\n";
echo "".$locale['407']." ".$info['game_reads']." ".$locale['406']."
</td>
</table></div>";
}
function opentable($title) {
echo"<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
echo"<!--DWLayoutTable-->";
echo"<tr> ";
echo"<td height=\"50\" colspan=\"2\" valign=\"top\"><img src=\"".THEME."images/ttl.jpg\" width=\"34\" height=\"50\"></td>";
echo"<td width=\"100%\" valign=\"top\" background=\"".THEME."images/ttm.jpg\"><img name=\"tm\" src=\"".THEME."images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>";
echo"<td colspan=\"2\" valign=\"top\"><img src=\"".THEME."images/ttr.jpg\" width=\"34\" height=\"50\"></td>";
echo"</tr>";
echo"<tr> ";
echo"<td width=\"24\" height=\"29\" valign=\"top\" background=\"".THEME."images/tl.jpg\"><img name=\"left\" src=\"".THEME."images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>";
echo"<td colspan=\"3\" valign=\"top\" bgcolor=\"#252525\" class=\"panel-main\"><center>$title</center>";
}
function closetable() {
echo"</td>";
echo"<td width=\"24\" valign=\"top\" background=\"".THEME."images/tr.jpg\"><img name=\"right\" src=\"".THEME."images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>";
echo"</tr>";
echo"<tr> ";
echo"<td height=\"46\" colspan=\"2\" valign=\"top\"><img src=\"".THEME."images/tbl.jpg\" width=\"34\" height=\"46\"></td>";
echo"<td valign=\"top\" background=\"".THEME."images/tbm.jpg\"><img name=\"btm\" src=\"".THEME."images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>";
echo"<td colspan=\"2\" valign=\"top\"><img src=\"".THEME."images/tbr.jpg\" width=\"34\" height=\"46\"></td>";
echo"</tr>";
echo"<tr> ";
echo"<td height=\"0\"></td>";
echo"<td width=\"10\"></td>";
echo"<td></td>";
echo"<td width=\"10\"></td>";
echo"<td></td>";
echo"</tr>";
echo"<tr> ";
echo"<td height=\"1\"><img src=\"spacer.gif\" alt=\"\" width=\"24\" height=\"1\"></td>";
echo"<td><img src=\"spacer.gif\" alt=\"\" width=\"10\" height=\"1\"></td>";
echo"<td></td>";
echo"<td><img src=\"spacer.gif\" alt=\"\" width=\"10\" height=\"1\"></td>";
echo"<td><img src=\"spacer.gif\" alt=\"\" width=\"24\" height=\"1\"></td>";
echo"</tr>";
echo"</table>";
}
function openside($title) {
echo"<table align=\"center\" width=\"153\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"".THEME."images/bm.jpg\">";
echo"<!--DWLayoutTable-->";
echo"<tr> ";
echo"<td height=\"72\" colspan=\"3\" valign=\"top\"><table width=\"183\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"".THEME."images/bt.jpg\">";
echo"<!--DWLayoutTable-->";
echo"<tr> ";
echo"<td width=\"183\" height=\"18\"></td>";
echo"</tr>";
echo"<tr>";
echo"<td height=\"34\" align=\"center\" valign=\"bottom\"><font color=\"#8A0000\" face=\"Arial, Helvetica, sans-serif\"><strong>$title</strong></font></td>";
echo"</tr>";
echo"<tr>";
echo"<td height=\"20\"> </td>";
echo"</tr>";
echo"</table></td>";
echo"</tr>";
echo"<tr> ";
echo"<td width=\"22\" height=\"102\"> </td>";
echo"<td width=\"140\" valign=\"top\">";
}
function openside1($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body1'>\n";
}
function closeside() {
echo"</td>";
echo"<td width=\"21\"> </td>";
echo"</tr>";
echo"<tr> ";
echo"<td height=\"64\" colspan=\"3\" valign=\"top\"><img src=\"".THEME."images/bb.jpg\" width=\"183\" height=\"64\"></td>";
echo"</tr>";
echo"</table>";
}
function openside0($obrazek, $title) {
$obrazek="<IMG SRC='".THEME."images/$obrazek'>";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$obrazek $title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo"<table align=\"center\" width=\"153\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"".THEME."images/bm.jpg\">";
echo"<!--DWLayoutTable-->";
echo"<tr> ";
echo"<td height=\"72\" colspan=\"3\" valign=\"top\"><table width=\"183\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"".THEME."images/bt.jpg\">";
echo"<!--DWLayoutTable-->";
echo"<tr> ";
echo"<td width=\"183\" height=\"18\"></td>";
echo"</tr>";
echo"<tr>";
echo"<td height=\"34\" align=\"center\" valign=\"bottom\"><font color=\"#8A0000\" face=\"Arial, Helvetica, sans-serif\"><strong>$title</strong></font></td>";
echo"</tr>";
echo"<tr>";
echo"<td height=\"20\"> </td>";
echo"</tr>";
echo"</table></td>";
echo"</tr>";
echo"<tr> ";
echo"<td width=\"22\" height=\"102\"> </td>";
echo"<td width=\"140\" valign=\"top\">";
}
function closesidex() {
echo"</td>";
echo"<td width=\"21\"> </td>";
echo"</tr>";
echo"<tr> ";
echo"<td height=\"64\" colspan=\"3\" valign=\"top\"><img src=\"".THEME."images/bb.jpg\" width=\"183\" height=\"64\"></td>";
echo"</tr>";
echo"</table>";
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='5'>";
echo "</td></tr></table>\n";
}
?>
|
Bywalec
Postów: 915 Pomógł: 41
Data rejestracji: 12.03.2006 07:28
|
zamien swoja funkcje render_article na ta poprawiona
function render_article($subject, $article, $info) {
global $locale;
echo"<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
echo"<!--DWLayoutTable-->";
echo"<tr> ";
echo"<td height=\"50\" colspan=\"2\" valign=\"top\"><img src=\"".THEME."images/ttl.jpg\" width=\"34\" height=\"50\"></td>";
echo"<td width=\"100%\" valign=\"top\" background=\"".THEME."images/ttm.jpg\"><img name=\"tm\" src=\"".THEME."images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>";
echo"<td colspan=\"2\" valign=\"top\"><img src=\"".THEME."images/ttr.jpg\" width=\"34\" height=\"50\"></td>";
echo"</tr>";
echo"<tr> ";
echo"<td width=\"24\" height=\"29\" valign=\"top\" background=\"".THEME."images/tl.jpg\"><img name=\"left\" src=\"".THEME."images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>";
echo"<td colspan=\"3\" valign=\"top\" bgcolor=\"#252525\"><center>$subject</center><br>$article<br><table width='100%' cellpadding='0' cellspacing='0'><tr>
<td class='infobar'>".newsposter($info).openform("N",$info['news_id']).newsopts($info,"·").closeform("N",$info['news_id'])."</td><hr>
</tr>
</table></td>";
echo"<td width=\"24\" valign=\"top\" background=\"".THEME."images/tr.jpg\"><img name=\"right\" src=\"".THEME."images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>";
echo"</tr>";
echo"<tr> ";
echo"<td height=\"46\" colspan=\"2\" valign=\"top\"><img src=\"".THEME."images/tbl.jpg\" width=\"34\" height=\"46\"></td>";
echo"<td valign=\"top\" background=\"".THEME."images/tbm.jpg\"><img name=\"btm\" src=\"".THEME."images/spacer.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>";
echo"<td colspan=\"2\" valign=\"top\"><img src=\"".THEME."images/tbr.jpg\" width=\"34\" height=\"46\"></td>";
echo"</tr>";
echo"<tr> ";
echo"<td height=\"0\"></td>";
echo"<td width=\"10\"></td>";
echo"<td></td>";
echo"<td width=\"10\"></td>";
echo"<td></td>";
echo"</tr>";
echo"<tr> ";
echo"<td height=\"1\"><img src=\"spacer.gif\" alt=\"\" width=\"24\" height=\"1\"></td>";
echo"<td><img src=\"spacer.gif\" alt=\"\" width=\"10\" height=\"1\"></td>";
echo"<td></td>";
echo"<td><img src=\"spacer.gif\" alt=\"\" width=\"10\" height=\"1\"></td>";
echo"<td><img src=\"spacer.gif\" alt=\"\" width=\"24\" height=\"1\"></td>";
echo"</tr>";
echo"</table>";
}
byl blad w nazwie zmiennej
Pozdro!!
PS - to theme wymaga duzych poprawek !! konkretnie chodzi mi o konstrukcje tabel
Edytowane przez slawekneo dnia 29.04.2008 18:07:08
|