Po pierwsze wiem, że taki temat był, ale mi nadal wyskakuje błąd (po drugie trochę inny kod mam :/).
Więc proszę was o wstawienie tego kodu:
<object id="color" width="844" height="172"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
<param name="movie" value="menu.swf" />
<param name="quality" value="high" />
<param name="scale" value="noscale"/>
<param name="bgcolor" value="#FFFFFF" /><param name="wmode" value="transparent" /><embed name="color" src="menu.swf" quality="high" scale="noscale"
bgcolor="#FFFFFF" wmode="transparent" width="844" height="172"
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
Zamiast noramlnej nawigacji w pliku theme.php:
<?php
if (!defined("IN_FUSION")) {
header("Location: ../../index.php");
exit;
}
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#000000";
$body_bg = "#161616";
$theme_width = "100%";
$theme_width_l = "171";
$theme_width_r = "171";
function render_header($header_content) {
global $theme_width, $settings;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"".THEME."header/header_03.gif\">
<tr>
<td width=\"75\" height=\"58\" background=\"".THEME."header/header_01.gif\"> </td>
<td width=\"425\" height=\"58\" background=\"".THEME."header/header_02.gif\"> </td>
<td height=\"58\"> </td>
<td width=\"421\" height=\"58\" background=\"".THEME."header/header_04.gif\"> </td>
<td width=\"75\" height=\"58\" background=\"".THEME."header/header_05.gif\"> </td>
</tr>
<tr>
<td width=\"75\" height=\"212\" background=\"".THEME."header/header_06.gif\"> </td>
<td colspan=\"3\" valign=\"top\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"425\" height=\"181\" background=\"".THEME."header/leftlogo.jpg\"> </td>
<td> </td>
<td width=\"421\" background=\"".THEME."header/rightlogo.jpg\"> </td>
</tr>
</table></td>
<td width=\"75\" height=\"212\" valign=\"top\" background=\"".THEME."header/header_09.gif\"> </td>
</tr>
</table></td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"55\" background=\"".THEME."images/leftb.gif\"> </td>
[color=green]<td align=\"center\" bgcolor=\"#161616\">".showsublinks("·", "white")."</td>[/color]
<td width=\"55\" background=\"".THEME."images/rightb.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"55\" background=\"".THEME."images/leftb.gif\"> </td>
<td>\n";
}
function render_footer($license = false) {
global $theme_width, $locale, $settings;
echo "</td>
<td width=\"55\" background=\"".THEME."images/rightb.gif\"> </td>
</tr>
</table>
<div align=\"center\">
<table id=\"Table_01\" width=\"100%\" height=\"154\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td rowspan=\"5\">
<img src=\"".THEME."footer/footer_01.gif\" width=\"82\" height=\"154\" alt=\"\"></td>
<td>
<img src=\"".THEME."footer/footer_02.gif\" width=\"46\" height=\"15\" alt=\"\"></td>
<td rowspan=\"5\" width=\"50%\">
<img src=\"".THEME."footer/PNC4_RED_56.gif\" width=\"100%\" height=\"154\" alt=\"\"></td>
<td>
<img src=\"".THEME."footer/footer_05.gif\" width=\"677\" height=\"15\" alt=\"\"></td>
<td rowspan=\"5\" width=\"50%\">
<img src=\"".THEME."footer/footer_06.gif\" width=\"100%\" height=\"154\" alt=\"\"></td>
<td rowspan=\"5\">
<img src=\"".THEME."footer/footer_09.gif\" width=\"100\" height=\"154\" alt=\"\"></td>
</tr>
<tr>
<td>
<img src=\"".THEME."footer/footer_09-09.gif\" width=\"46\" height=\"22\" alt=\"\"></td>
<td rowspan=\"3\" background=\"".THEME."footer/footer_11.gif\" width=\"677\" height=\"87\" align=\"center\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr align=\"center\">
<td colspan=\"2\">".stripslashes($settings['footer'])."</td>
</tr>
<tr align=\"center\">
<td colspan=\"2\">FT-Blue Ported by: <a href='http://uctxs.com' class='white'>Fusion-Themes</a></td>
</tr>
<tr>
<td align=\"left\"><a href='http://www.php-fusion.co.uk' target='_blank' class='white'>PHP-Fusion</a></td>
<td align=\"right\"><a href='http://uctxs.com' target='_blank' class='white'>Fusion-Themes</a></td>
</tr>
<tr>
<td colspan=\"2\" align=\"center\"><strong>".$settings['counter']." </strong>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n")."</td>
</tr>
</table></td>
</tr>
<tr>
<td>
<a href=\"#\">
<img src=\"".THEME."footer/footer_11-11.gif\" width=\"46\" height=\"21\" alt=\"\" border=\"0\"></a></td>
</tr>
<tr>
<td>
<img src=\"".THEME."footer/footer_12.gif\" width=\"46\" height=\"44\" alt=\"\"></td>
</tr>
<tr>
<td>
<img src=\"".THEME."footer/footer_13.gif\" width=\"46\" height=\"52\" alt=\"\"></td>
<td>
<img src=\"".THEME."footer/footer_05-14.gif\" width=\"677\" height=\"52\" alt=\"\"></td>
</tr>
</table>
</div>n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/tl.gif\"> </td>
<td background=\"".THEME."pages/tm.gif\"> </td>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/tr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"17\" background=\"".THEME."pages/ml.gif\"> </td>
<td background=\"".THEME."images/bg.jpg\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td align=\"center\" class='panel-main'>$subject</td>
</tr>
<tr>
<td class='main-body'><div style='width:100%;vertical-align:top;'><hr>$news</div>
<div style='margin-top:5px'>
<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></div></td>
</tr>
</table></td>
<td width=\"17\" background=\"".THEME."pages/mr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/bl.gif\"> </td>
<td background=\"".THEME."pages/bm.gif\"> </td>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/br.gif\"> </td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/tl.gif\"> </td>
<td background=\"".THEME."pages/tm.gif\"> </td>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/tr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"17\" background=\"".THEME."pages/ml.gif\"> </td>
<td background=\"".THEME."images/bg.jpg\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td align=\"center\" class='panel-main'>$subject</td>
</tr>
<tr>
<td class='main-body'><div style='width:100%;vertical-align:top;'><hr>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>
<div style='margin-top:5px'>
<table width='100%' cellpadding='0' cellspacing='0'><tr>
<td class='infobar'>".articleposter($info)."</td><hr>
<td align='right' class='infobar2'>".openform("A", $info['article_id']).articleopts($info, "·").closeform("A", $info['article_id'])."</td></tr>
</table></div></td>
</tr>
</table></td>
<td width=\"17\" background=\"".THEME."pages/mr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/bl.gif\"> </td>
<td background=\"".THEME."pages/bm.gif\"> </td>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/br.gif\"> </td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/tl.gif\"> </td>
<td background=\"".THEME."pages/tm.gif\"> </td>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/tr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"17\" background=\"".THEME."pages/ml.gif\"> </td>
<td background=\"".THEME."images/bg.jpg\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td align=\"center\" class='panel-main'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table></td>
<td width=\"17\" background=\"".THEME."pages/mr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/bl.gif\"> </td>
<td background=\"".THEME."pages/bm.gif\"> </td>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/br.gif\"> </td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table width=\"171\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"171\" height=\"46\" align=\"center\" valign=\"middle\" background=\"".THEME."panels/bt.gif\">
<table width=\"90%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td height=\"25\" align=\"center\" class='panel-main'>$title</td>
</tr>
</table></td>
</tr>
<tr>
<td width=\"171\" align=\"center\" background=\"".THEME."panels/bm.gif\">
<table width=\"85%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table></td>
</tr>
<tr>
<td width=\"171\" height=\"29\" background=\"".THEME."panels/bb.gif\"> </td>
</tr>
</table><br>\n";
}
function opensidex($title, $open = "on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" :
"on";
echo "<table width=\"171\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"171\" height=\"46\" align=\"center\" valign=\"middle\" background=\"".THEME."panels/bt.gif\">
<table width=\"90%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td height=\"25\" align=\"center\" class='panel-main'>$title</td>
<td align='left' width='15' valign='top' style='padding-top: 3px;'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>
</tr>
</table></td>
</tr>
<tr>
<td width=\"171\" align=\"center\" background=\"".THEME."panels/bm.gif\">
<table width=\"85%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td class='side-body'>
<div id='box_$boxname'".($open == "off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div></td>
</tr>
</table></td>
</tr>
<tr>
<td width=\"171\" height=\"29\" background=\"".THEME."panels/bb.gif\"> </td>
</tr>
</table><br>\n";
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='5'>";
echo "</td></tr></table>\n";
}
?>
PW od moderatora:
- Zmiana nazwy tematu - Pieka 18.12 - 16:51
Edytowane przez Pieka dnia 18.12.2007 17:18:55
|