Witam!
Wchodzę sobie na stronę w IE i patrze nie ma paneli. Nie mam już pojęcia co może być przyczyną.
Strona: http://c.kud.pl/g...e/news.php
Aha dodam jeszcze że w FF wszystko działa jak należy.
Plik theme.php:
<?
// theme settings
$body_text = "#FFFFFF";
$body_bg = "#393939";
$theme_width = "1000";
$theme_width_l = "317";
$theme_width_r = "317";
function render_header($header_content) {
global $theme_width,$settings,$aidlink;
echo "
<div id=\"container\">
<table width=\"1000\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"left\">
<tr>
<td><table width=\"1000\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"left\">
<tr>
<td><img src=\"".THEME."images/gnt_v1_01.jpg\" width=\"453\" height=\"44\" /></td>
<td><img src=\"".THEME."images/gnt_v1_02.jpg\" width=\"241\" height=\"44\" /></td>
<td><a href=\"".BASEDIR."index.php\"><img src=\"".THEME."images/gnt_v1_03.jpg\" width=\"109\" height=\"44\" /></a></td>
<td><a href=\"".BASEDIR."viewpage.php?page_id=118\"><img src=\"".THEME."images/gnt_v1_04.jpg\" width=\"70\" height=\"44\" /></a></td>
<td><a href=\"".BASEDIR."viewpage.php?page_id=42\"><img src=\"".THEME."images/gnt_v1_05.jpg\" width=\"52\" height=\"44\" /></a></td>
<td><a href=\"".BASEDIR."contact.php\"><img src=\"".THEME."images/gnt_v1_06.jpg\" width=\"75\" height=\"44\" /></a></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src=\"".THEME."images/gnt_v1_07.jpg\" width=\"1000\" height=\"232\" /></td>
</tr>
<tr>
<td>
<table width=\"970\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"158\" align=\"center\">
<tr>
<td class=\"ad1\">
<script language='Javascript'>
writeJAB()
</script>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<br />
<table width=\"970\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"right\">
<tr>
<td width=\"100%\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"right\">
<tr>
<td>
<ul id=\"countrytabs\" class=\"shadetabs\">
<li><a href=\"#\" rel=\"country1\"><img src=\"".THEME."images/nast.png\"/></a></li>
<li><a href=\"#\" rel=\"country2\"><img src=\"".THEME."images/pop.png\"/></a></li>
</ul>
<div style=\"border:1px solid #fff; width:255px; margin-bottom: 1em; padding: 10px\">
<div id=\"country1\" class=\"tabcontent\">
<br />
<br />
<br />
<center>Czekamy na sezon ;)</center><br />
<br />
<br />
</div>
<div id=\"country2\" class=\"tabcontent\">
<br />
<br />
<br />
<center>Czekamy na sezon ;)</center><br />
<br />
<br />
</div>
</div>
<script type=\"text/javascript\">
var countries=new ddtabcontent(\"countrytabs\")
countries.setpersist(true)
countries.setselectedClassTarget(\"link\") //\"link\" or \"linkparent\"
countries.init()
</script>
</td>
<td valign=\"top\">
<table width=\"317\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"left\">
<tr>
<td class=\"panel_naglowek\">Wyniki Typera</td>
</tr>
<tr>
<td class=\"panel_tresc\">
<br />
<br />
<br />
<br />
<center>Czekamy na sezon ;)</center><br />
<br />
<br />
<br />
</td>
</tr>
<tr>
<td><img src=\"".THEME."images/gnt_v1_21.jpg\" width=\"317\" height=\"10\" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td>
<table width=\"317\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"right\">
<tr>
<td class=\"panel_naglowek\">Panel Logowania</td>
</tr>
<tr>
<td class=\"panel_tresc\">
";
if (iMEMBER) {
if ($userdata['user_avatar'] != "") {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td align='center' height='1%'>";
echo "<img border='0' alt=''src='".BASEDIR."images/avatars/".$userdata['user_avatar']."'></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo "</table></center>";
} else {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\" style=\"padding-left: 22px;\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td align='center' height='1%'>";
echo "<img src='".BASEDIR."images/avatars/noav.jpg' width='70' hight='70'></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo "</table></center>";
}
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<br><img src='".THEME."images/bullet.gif' > <a href='".BASEDIR."edit_profile.php' class='side'> Edytuj Profil</a><br>
<img src='".THEME."images/bullet.gif' > <a href='".BASEDIR."messages.php' class='side'> Wiadomo¶ci</a><br>
<img src='".THEME."images/bullet.gif' > <a href='".BASEDIR."members.php' class='side'> Użytkownicy</a><br>
<img src='".THEME."images/bullet.gif' > <a href='".BASEDIR."typer/index.php' class='side' target='_blank'><b>T Y P E R</b></a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' > <a href='".ADMIN."index.php$aidlink' class='side'> Administracja</a><br>
<br>\n";
}{echo "
<div style=\"text-align: left\"><img src='".THEME."images/bullet.gif' > <a href='".BASEDIR."index.php?logout=yes' class='side'>Wyloguj</a> <img src='".THEME."images/bullet.gif' ></div><br>\n";
if ($msg_count) echo "<br><center><b><a href='".BASEDIR."messages.php' class='side2'>".sprintf('Masz %u PW' , $msg_count)."</a></b></center>\n";
}
tablebreak();
} else {
echo "<div style=\"padding-left: 0px; padding-right: 0px; padding-top: 4px\" align=\"center\">".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
<input type='text' name='user_name' class='panellogowania_u' style='padding-left:25px; padding-top:7px;' value='Twój Login...' onBlur=\"if(this.value=='') this.value='Twój Login...';\" onFocus=\"if(this.value=='Twój Login...') this.value='';\" ><br><br>
<input type='password' name='user_pass' class='panellogowania_p' style='padding-left:25px; padding-top:7px;' value='Haslo' onBlur=\"if(this.value=='') this.value='Haslo';\" onFocus=\"if(this.value=='Haslo') this.value='';\" ><br><br>
<input type='submit' name='login' value=' ' class='loguj'>
<a href='".BASEDIR."register.php'><input type='button' name='login1' value=' ' class='rej'> </a>
<br>
</form>
\n";
/* if ($settings['enable_registration']) {
echo "<a href='".BASEDIR."lostpassword.php' class='side'><img src=\"".THEME."images/tut2_18.jpg\" width=\"62\" height=\"26\" border=\"0\" alt=\"[Rozmiar: 1183 bajtów]\"></a><br>\n";
} */
echo "
</div>\n";
}
echo "
</td>
</tr>
<tr>
<td><img src=\"".THEME."images/gnt_v1_21.jpg\" width=\"317\" height=\"10\" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<br />\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "
<table width=\"648\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"left\" style=\"padding-left:45px;\">
<tr>
<td>
<br>
<fieldset>
<legend>R e k l a m a</legend>
<br><br>
<center>R E K L A M A</center>
<br><br>
</fieldset><br><br><br>
</td>
</tr>
</table><br>\n";
echo "
<!--[if IE]>
<br><br><br><br><br><br><br><br><br><br>
<![endif]-->
\n
<table width=\"974\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td class=\"sponsorzy_druzyny\">
<br><br>
<div id=\"dropcontentsubject\"></div>
<div id=\"dropmsg0\" class=\"dropcontent\" subject=\"Sponsorzy generalni:\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td><a href=\"http://www.x3m.eu\" target=\"_blank\"><img src=\"".THEME.\"spo/x3m.jpg\" width=\"430\" height=\"120\"></img></a></td>
<td><a href=\"http://www.vetrex.pl\" target=\"_blank\"><img src=\"".THEME.\"spo/logo_vetrex2.jpg\" width=\"430\" height=\"120\"></img></a></td>
</tr>
</table>
</div>
<div id=\"dropmsg1\" class=\"dropcontent\" subject=\"Sponsorzy:\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><a href=\"http://www.tnt-travel.pl\" target=\"_blank\"><img src=\"".THEME.\"spo/tnt.jpg\" width=\"130\" height=\"60\"></img></a></td>
<td><a href=\"http://www.opax.pl\" target=\"_blank\"><img src=\"".THEME.\"spo/opax.png\"></img></a></td>
<td><a href=\"http://www.alarmsystem.com.pl/\" target=\"_blank\"><img src=\"".THEME.\"spo/alarm.png\"></img></a></td>
<td><a href=\"http://www.nowytarg.pl\" target=\"_blank\"><img src=\"".THEME.\"spo/miasto.png\" width=\"100\" height=\"130\"></img></a></td>
</tr>
</table>
</div>
<div id=\"dropmsg2\" class=\"dropcontent\" subject=\"Patronat medialny:\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\" style=\"text-align:center;\">
<tr>
<td class=\"ls\"><br><br><a href=\"http://www.gorale-nowytarg.pl/\" target=\"_blank\">http://www.gorale-nowytarg.pl<br></a></td>
</tr>
<tr>
<td class=\"ls\"><a href=\"http://www.floorball24.pl/\" target=\"_blank\">http://www.floorball24.pl<br></a></td>
</tr>
<tr>
<td class=\"ls\"><a href=\"http://www.podhale24.pl/\" target=\"_blank\">http://www.podhale24.pl<br></a></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<br /><br />
</td>
</tr>
<tr>
<td>
<table width=\"983\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td><img src=\"".THEME."images/gnt_v1_28.jpg\" width=\"222\" height=\"93\" /></td>
<td rowspan=\"4\" class=\"foot\">Unikalnych wizyt: ".$settings['counter']."</td>
<td rowspan=\"4\"><img src=\"".THEME."images/gnt_v1_30.jpg\" width=\"304\" height=\"243\" /></td>
</tr>
<tr>
<td><img src=\"".THEME."images/gnt_v1_31.jpg\" width=\"222\" height=\"50\" /></td>
</tr>
<tr>
<td><a href=\"http://www.php-fusion.co.uk/\" target=\"_blank\"><img src=\"".THEME."images/gnt_v1_32.jpg\" width=\"222\" height=\"49\" /></a></td>
</tr>
<tr>
<td><img src=\"".THEME."images/gnt_v1_33.jpg\" width=\"222\" height=\"51\" /></td>
</tr>
</table>
<table width=\"90%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"left\">
<tr>
<td>
<center>
<script language=javascript src=\"http://www.webstat.pl/jsb.php\"></script>
<script language=javascript>stats(document,screen,5156,6486);</script>
<noscript>
<a href=\"http://www.webstat.pl\">
<img width=1 height=1 border=0 src=\"http://www.webstat.pl/wsimg.php?w=5156&p=6486\"></a>
</noscript>
</center>
</td>
</tr>
</table>
</div>
<br />
";
}
function render_news($subject, $news, $info) {
global $locale;
echo "
<table width=\"603\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td class=\"news_naglowek\">$subject</td>
</tr>
<tr>
<td class=\"news_tresc\">$news</td>
</tr>
<tr>
<td class=\"news_info\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."</td><td align=\"right\">".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."
<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ·
".$info['news_reads'].$locale['044']."
<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>
</td>
<td></td>
</tr>
</table>
</td>
</tr>
</table><br>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr><td class='apanel-left'><img src='".THEME."images/blank.gif' width='7' height='37' alt='' style='display:block'></td>";
echo "<td width='100%' class='apanel-main'>$title</td>";
echo "<td class='apanel-right'><img src='".THEME."images/blank.gif' width='7' height='37' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='6' height='1' alt='' style='display:block'></td>";
echo "<td class='main-body'>\n";
}
function opentable($title) {
echo "<table width=\"603\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">
<tr>
<td class=\"news_naglowek\">$title</td>
</tr>
<tr>
<td class=\"news_tresc\"><br>\n";
}
function closetable() {
echo "</td>
</tr>
<tr>
<td class=\"closeside\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td></td>
<td></td>
</tr>
</table>
</td>
</tr>
</table><br>\n";
}
function openside($title) {
echo "<table width=\"317\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"left\">
<tr>
<td class=\"panel_naglowek\">$title</td>
</tr>
<tr>
<td class=\"panel_tresc\">\n";
}
function closeside() {
echo "</td>
</tr>
<tr>
<td><img src=\"".THEME."images/gnt_v1_21.jpg\" width=\"317\" height=\"10\" /></td>
</tr>
</table><br>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='7' height='37' alt='' style='display:block'></td>";
echo "<td class='panel-main'>$title</td>";
echo "<td align='right' class='panel-main'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='7' height='37' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='6' height='1' alt='' style='display:block'></td>";
echo "<td class='side-body'>";
echo "<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='6' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='6' height='9' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='9' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='6' height='9' alt='' style='display:block'></td>";
echo "</tr></table><br>\n";
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='5'>";
echo "</td></tr></table>\n";
}
?>
Edytowane przez Pieka dnia 20.08.2009 14:34:36
|