Popatrzcie mój problem polega na tym że robiłem sobie własnego thema najpierw na innym hostingu jako testowy :
http://jamniksst....l/news.php
Teraz natomiast chciałem dodać go do mojej oryginalnej strony :
http://jamnik_sst...l/news.php
I problem polega na tym że w oryginalnej wersji serwisu theme wyświetla sie inaczej nad tabela z newsami wogule(ort-->w ogóle) nie pokazuje sie tło otwierające panel oraz tytuł newsa nie jest kolorowany na fioletowy kolor powiedzcie mi co jest grane. bład jest w pliku Themes?? czy gdzieś indziej?? oto kod mojego thema :
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#000000";
$body_bg = "white";
$theme_width = "806";
$theme_width_l = "165";
$theme_width_r = "165";
echo "<center>
<table id='Table_01' width='807' height='501' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='11'>
<img src='".THEME."images/images/header_01.gif' width='806' height='21' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='21' alt=''></td>
</tr>
<tr>
<td>
<a href='http://jaszczow.orv.pl/'>
<img src='".THEME."images/images/header_02.gif' width='133' height='35' border='0' alt=''></a></td>
<td colspan='2'>
<a href='http://jamnik_sst.lua.pl/forum/index.php'>
<img src='".THEME."images/images/header_03.gif' width='135' height='35' border='0' alt=''></a></td>
<td colspan='3' rowspan='2'>
<a href='http://jamnik_sst.lua.pl/photogallery.php'>
<img src='".THEME."images/images/header_04.gif' width='136' height='39' border='0' alt=''></a></td>
<td rowspan='2'>
<a href='http://jamnik_sst.lua.pl/articles.php'>
<img src='".THEME."images/images/header_05.gif' width='137' height='39' border='0' alt=''></a></td>
<td colspan='2' rowspan='2'>
<a href='http://jamnik_sst.lua.pl/news_cats.php'>
<img src='".THEME."images/images/header_06.gif' width='133' height='39' border='0' alt=''></a></td>
<td colspan='2' rowspan='2'>
<a href='http://jamnik_sst.lua.pl/search.php'>
<img src='".THEME."images/images/header_07.gif' width='132' height='39' border='0' alt=''></a></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='35' alt=''></td>
</tr>
<tr>
<td colspan='3'>
<img src='".THEME."images/images/header_08.gif' width='268' height='4' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='4' alt=''></td>
</tr>
<tr>
<td colspan='11'>
<img src='".THEME."images/images/header_09.gif' width='806' height='204' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='204' alt=''></td>
</tr>
<tr>
<td colspan='11'>
<img src='".THEME."images/images/header_10.gif' width='806' height='34' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='34' alt=''></td>
</tr>
<tr>
<td colspan='2' rowspan='16'>
<img src='".THEME."images/images/header_11.gif' width='228' height='202' alt=''></td>
<td colspan='2'>
<img src='".THEME."images/images/header_12.gif' width='88' height='11' alt=''></td>
<td rowspan='16'>
<img src='".THEME."images/images/header_13.gif' width='19' height='202' alt=''></td>
<td colspan='2' rowspan='2'>
<img src='".THEME."images/images/header_14.gif' width='206' height='15' alt=''></td>
<td colspan='4' rowspan='2'>
<img src='".THEME."images/images/header_15.gif' width='265' height='15' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='11' alt=''></td>
</tr>
<tr>
<td colspan='2' rowspan='2'>
<a href='http://jaszczow.orv.pl/'>
<img src='".THEME."images/images/header_16.gif' width='88' height='31' border='0' alt=''></a></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='4' alt=''></td>
</tr>
<tr>";
echo "<td width='206' height='162' colspan='2' rowspan='11' background='".THEME."images/images/header_17.gif'>";
include THEME."newart.php";
echo "</td>
<td rowspan='13'>
<img src='".THEME."images/images/header_18.gif' width='22' height='185' alt=''></td>";
echo "<td width='231' height='162' colspan='2' rowspan='11' background='".THEME."images/images/header_19.gif'>";
include THEME."newpost.php";
echo "</td>
<td rowspan='14'>
<img src='".THEME."images/images/header_20.gif' width='12' height='187' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='27' alt=''></td>
</tr>
<tr>
<td colspan='2'>
<img src='".THEME."images/images/header_21.gif' width='88' height='8' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='8' alt=''></td>
</tr>
<tr>
<td colspan='2'>
<a href='http://jaszczow.orv.pl/'>
<img src='".THEME."images/images/header_22.gif' width='88' height='15' border='0' alt=''></a></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='15' alt=''></td>
</tr>
<tr>
<td colspan='2'>
<img src='".THEME."images/images/header_23.gif' width='88' height='6' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='6' alt=''></td>
</tr>
<tr>
<td colspan='2'>
<a href='http://jaszczow.orv.pl/'>
<img src='".THEME."images/images/header_24.gif' width='88' height='31' border='0' alt=''></a></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='31' alt=''></td>
</tr>
<tr>
<td colspan='2'>
<img src='".THEME."images/images/header_25.gif' width='88' height='7' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='7' alt=''></td>
</tr>
<tr>
<td colspan='2'>
<a href='http://jaszczow.orv.pl/'>
<img src='".THEME."images/images/header_26.gif' width='88' height='15' border='0' alt=''></a></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='15' alt=''></td>
</tr>
<tr>
<td colspan='2'>
<img src='".THEME."images/images/header_27.gif' width='88' height='7' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='7' alt=''></td>
</tr>
<tr>
<td colspan='2'>
<a href='http://jaszczow.orv.pl/'>
<img src='".THEME."images/images/header_28.gif' width='88' height='31' border='0' alt=''></a></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='31' alt=''></td>
</tr>
<tr>
<td colspan='2'>
<img src='".THEME."images/images/header_29.gif' width='88' height='7' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='7' alt=''></td>
</tr>
<tr>
<td colspan='2' rowspan='2'>
<a href='http://jaszczow.orv.pl/'>
<img src='".THEME."images/images/header_30.gif' width='88' height='15' border='0' alt=''></a></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='8' alt=''></td>
</tr>
<tr>
<td colspan='2' rowspan='3'>
<img src='".THEME."images/images/header_31.gif' width='206' height='25' alt=''></td>
<td colspan='2' rowspan='3'>
<img src='".THEME."images/images/header_32.gif' width='231' height='25' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='7' alt=''></td>
</tr>
<tr>
<td colspan='2' rowspan='2'>
<img src='".THEME."images/images/header_33.gif' width='88' height='18' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='16' alt=''></td>
</tr>
<tr>
<td>
<img src='".THEME."images/images/header_34.gif' width='22' height='2' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='1' height='2' alt=''></td>
</tr>
<tr>
<td>
<img src='".THEME."images/images/spacer.gif' width='133' height='1' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='95' height='1' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='40' height='1' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='48' height='1' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='19' height='1' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='69' height='1' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='137' height='1' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='22' height='1' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='111' height='1' alt=''></td>
<td>
<img src='".THEME."images/spacer.gif' width='120' height='1' alt=''></td>
<td>
<img src='".THEME."images/images/spacer.gif' width='12' height='1' alt=''></td>
<td></td>
</tr>
</table>
</center>";
function render_header($header_content) {
global $theme_width;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<table id='Table_01' width='806' height='90' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td rowspan='3'>
<img src='".THEME."images/stopka_01.gif' width='243' height='90' alt=''></td>
<td colspan='6'>
<img src='".THEME."images/stopka_02.gif' width='563' height='22' alt=''></td>
</tr>
<tr>
<td>
<a href='http://browsehappy.pl'>
<img src='".THEME."images/Untitled-2_03.gif' width='83' height='16' border='0' alt=''></a></td>
<td>
<img src='".THEME."images/stopka_04.gif' width='283' height='16' alt=''></td>
<td>
<a href='http://operapl.net/pobierz/opera/windows/intel/'>
<img src='".THEME."images/Untitled-2_05.gif' width='84' height='16' border='0' alt=''></a></td>
<td>
<img src='".THEME."images/stopka_06.gif' width='8' height='16' alt=''></td>
<td>
<a href='http://download.mozilla.org/?product=firefox-2.0.0.8&os=win&lang=pl'>
<img src='".THEME."images/Untitled-2_07.gif' width='83' height='16' border='0' alt=''></a></td>
<td>
<img src='".THEME."images/stopka_08.gif' width='22' height='16' alt=''></td>
</tr>
<tr>
<td colspan='6'>
<a href='http://www.php-fusion.co.uk/'>
<img src='".THEME."images/stopka_09.gif' width='563' height='52' border='0' alt=''></a>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'> $subject</td>
</tr>
<tr>
<td class='main-body'> $news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info," ·").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'> $subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td background='".THEME."images/hbc.jpg' height='33' class='scapmain'><center> $title</center></td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td background='".THEME."images/sbc.jpg' height='69' class='scapmain'><center><BR><BR>$title</center></td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Pozdrawiam i proszę o pomoc.
Edytowane przez Piotrek dnia 02.11.2007 22:59:54
|