Przedszkolak
Postów: 14
Data rejestracji: 02.02.2005 10:57
|
Witam
bardzo prosze o pomoc co moze byc przyczyna pojawienia sie dziwnych znaczków na stronie. zrzut ekranu w zalacznikach.
bardzo prosze o pomoc.
Jak to usunąć zeby zobaczyc właściwą stronę.
jest to strona szkoły do której jako admin mam tylko dostep ja.
jest tam dyzo informacji wiec szkoda mi robic caly portal od nowa.:(:(:(
Znalazłem na podlądzie źródła strony taki kod:
<SCRIPT LANGUAGE="javascript">
function show_hide(msg_id){
msg_id.style.display=msg_id.style.display=='none' ? '' : 'none'
}
</SCRIPT><?
// theme settings
$theme_width_l = "192";
$theme_width_r = "192";
function render_header($header_content)
{
echo '<body background="'.THEME.'images/fonds.jpg">';
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0" background="'.THEME.'images/cell.gif"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"> </td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.jpg"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>';
echo $header_content;
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="26" height="13" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="26" height="13" alt="wotc, ogl" title="wotc, ogl"></td></tr></table><BR>';
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0" background="'.THEME.'images/cell.gif"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"> </td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.jpg"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>';
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_visibility<='".iUSER."' AND link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
echo "<td class='white-header'>\n";
$i = 1;
while($data = dbarray($result)) {
if ($data['link_url']!="---") {
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."' class='white'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."' class='white'>".$data['link_name']."</a>";
}
}
if ($i != dbrows($result)) { echo " ·\n"; } else { echo "\n"; } $i++;
}
}
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="26" height="13" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="26" height="13"></td></tr></table><br>';
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false)
{
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr><hr>
<td class='white-header'>
".stripslashes($GLOBALS['settings']['footer'])."
</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='full-header'><hr>
".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."<br>\n" : $locale['141']."<br>\n");
if ($license == false)
{
echo "Powered by <a href='http://www.php-fusion.co.uk' class='foot'>PHP-Fusion</a> v".$settings['version']." © 2003-2005<br><br>\n";
}
echo "</td>\n</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info)
{
global $locale;
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"> </td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.jpg"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>';
echo "<div style='width:100%;vertical-align:top;'>$news</div>
<div class='news-footer'><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['news_date'])."
".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."
<a href='news.php?readmore=".$info['news_id']."'>";
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']."
<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>
</div>";
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="26" height="13" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="26" height="13" alt="wotc, ogl" title="wotc, ogl"></td></tr></table><BR>';
}
function render_article($subject, $article, $info)
{
global $locale;
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"> </td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.jpg"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>';
echo "<div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>
<div class='news-footer'><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['article_date'])."";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
echo "".$info['article_reads'].$locale['044']."
<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>
</div>";
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="26" height="13" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="26" height="13" alt="wotc, ogl" title="wotc, ogl"></td></tr></table><BR>';
}
function opentable($title)
{
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"> </td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.jpg"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>';
echo "<B>$title</B><BR>";
}
function closetable()
{
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="26" height="13" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="26" height="13" alt="wotc, ogl" title="wotc, ogl"></td></tr></table><BR>';
}
function openside($title)
{
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"> </td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.jpg"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td class="sbody">';
echo "<B><center>$title</center></B>";
}
function closeside()
{
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="26" height="13" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="26" height="13" alt="wotc, ogl" title="wotc, ogl"></td></tr></table><BR>';
}
function opensidex($title,$open="on")
{
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="5"><img src="'.THEME.'images/frame_top_left.gif" alt="dnd, d&d" title="dnd, d&d"></td><td valign="top" background="'.THEME.'images/frame_top_mid.gif" class="maina"> </td><td width="5"><img src="'.THEME.'images/frame_top_right.gif" alt="dungeons and dragons" title="dungeon and dragon"></td></tr><tr><td background="'.THEME.'images/frame_left.gif"> </td><td align="center" valign="middle" background="'.THEME.'images/cell.jpg"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>';
echo "<B><center>$title</center></B>";
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='scapmain' align='right'>
<img onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'>
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sbody'>
<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex()
{
echo "</div>
</td>
</tr>
</table>\n";
echo '</td></tr></table></td><td background="'.THEME.'images/frame_right.gif"> </td></tr><tr><td height="4"><img src="'.THEME.'images/frame_foot_left.gif" width="26" height="13" alt="isa, dnd.rpg.info.pl" title="isa, dnd.rpg.info.pl"></td><td height="4" background="'.THEME.'images/frame_foot_mid.gif"></td><td height="4"><img src="'.THEME.'images/frame_foot_right.gif" width="26" height="13" alt="wotc, ogl" title="wotc, ogl"></td></tr></table><BR>';
}
function tablebreak() {
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Strona Gimnazjum w Otmuchowie</title>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-2'>
<meta name='description' content='Strona Gimnazjum w Otmuchowie'>
<meta name='keywords' content='Otmuchów, Otmuchow, Ottmahau, Gimnazjum, Czysta Odra, Młodziez, Opole, Nysa, Jezioro Otmuchowskie, '>
<link rel='stylesheet' href='themes/OldPaper/styles.css' type='text/css'>
<script type='text/javascript' src='includes/jscript.js'></script>
<script type='text/javascript' src='infusions/info_panel/javascript/gpe.js' language='Javascript'></script>
</head>
<body bgcolor='' text='' oncontextmenu='return false'>
<font color=ff0000>
Fatal error: Call to undefined function: render_header() in /home/virtual/domains/wodip.opole.pl/F/g_otmuchow/www/html5/subheader.php on line 49
</font>
dardolin dodał/a następującą grafikę:
Edytowane przez Pieka dnia 01.03.2010 23:46:46
|