i w articles.php rozciąga mi szablon tak

można się jakoś pozbyć tego kawałka ??
link do tej strony: http://www.eclipy.yoyo.pl/articles.php?topic=12
kod functions inc.php
Kod: Zaznacz cały
<?
// ==================================================
// UWAGA! ta skorka jest rekomendowana do przerobek
// jako wzor przez autora systemu jPORTAL
// ==================================================
$color[1] = '#D1D7DC'; // kolor uzytkownika
$color[2] = '#ECEFF0'; // kolor uzytkownika
$color[3] = $theme; // zawiera nazwe katalogu theme'a
$color[4] = '#F8f8f8'; // kolor uzytkownika
$color[5] = '#262626'; // 1 kolor listy (forum, panel admina, itp.)
$color[6] = '#262626'; // naglowek listy (opis kolumn na forum itp.)
$color[7] = '#C1E63D'; // kolor czcionki naglowkow listy
$color[8] = '#262626'; // 2 kolor listy (forum, panel admina, itp.)
$color[9] = '#666666'; // kolor drobnych podpisow np. w katalogu stron
# =======================
# poczatek strony (do bannera)
# =======================
function header_open()
{
global $color;
echo '
<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<TD>
<a href="index.php"><IMG SRC="theme/'.$color[3].'/gfx/index_02.gif"
=287 HEIGHT=87 BORDER="0"></a></TD>
<TD>
<IMG SRC="theme/'.$color[3].'/gfx/index_03.gif" WIDTH=38 HEIGHT=87 BORDER="0"></TD>
<TD>
<a href="index.php"><IMG SRC="theme/'.$color[3].'/gfx/index_04.gif" WIDTH=76 HEIGHT=87 BORDER="0"></a></TD>
<TD>
<a href="articles.php"><IMG SRC="theme/'.$color[3].'/gfx/index_05.gif" WIDTH=77 HEIGHT=87 BORDER="0"></a></TD>
<TD>
<a href="download.php"><IMG SRC="theme/'.$color[3].'/gfx/index_06.gif" WIDTH=76 HEIGHT=87 BORDER="0"></a></TD>
<TD>
<a href="reklama.php"><IMG SRC="theme/'.$color[3].'/gfx/index_07.gif" WIDTH=76 HEIGHT=87 BORDER="0"></a></TD>
<TD>
<a href="linki.php"><IMG SRC="theme/'.$color[3].'/gfx/index_08.gif" WIDTH=83 HEIGHT=87 BORDER="0"></a></TD>
</tr>
</table>
';
}
function header_close()
{
global $color, $f_author;
echo '
<center>
<table width="713" cellspacing="0" cellpadding="0" border="0">
<tr>
<td background="theme/'.$color[3].'/gfx/belka_cala.gif" class="belka_up" height="37">';
include("imieniny.php");
echo'</td>
</tr>
<tr>
<td>
<div style="padding-left: 20px;"><img src="theme/'.$color[3].'/gfx/reklama.gif"></div>
<div align="center" style="padding-left: 10px;">
';
include("bilboard.php");
echo'</div></td>
</tr>
</table></center>
';
}
#
#
#
function left_menu_open() {
global $color;
echo '
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>';
}
function left_menu_close() {
global $color;
echo '
</td>
</tr>
</table>';
}
function right_menu_open() {
global $color;
echo '
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
';
}
function right_menu_close() {
global $color;
echo '
</td>
</tr>
</table>';
}
#==============================
# tytul lewego okienka menu
#==============================
function left_menu_title_open()
{
global $color;
echo '<table style="margin-bottom: 8px;" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="177" height="41" class="uni_03" style="font-weight: bold;" background="theme/'.$color[3].'/gfx/belka_menu.gif" align="center">';
}
function left_menu_title_close()
{
global $color;
echo '</td>
</tr>
<tr>
<td colspan="2" class="block">
';
}
#==============================
# end: tytul lewego okienka menu
#==============================
#==============================
# tresc lewego okienka menu
#==============================
function left_menu_text_open() {}
function left_menu_text_close()
{
global $color;
echo '
</td>
</tr>
</table>';
}
#==============================
# end: tresc lewego okienka menu
#==============================
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
#==============================
# tytul prawego okienka menu
#==============================
function right_menu_title_open()
{
global $color;
echo '<table style="margin-bottom: 8px;" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="177" height="41" class="uni_03" style="font-weight: bold;" background="theme/'.$color[3].'/gfx/belka_menu.gif" align="center">';
}
function right_menu_title_close()
{
global $color;
echo '</td>
</tr>
<tr>
<td colspan="2" class="block">
';
}
function right_menu_text_open() {}
function right_menu_text_close()
{
global $color;
echo '
</td>
</tr>
</table>';
}
/******************************************************************************/
function main_title_open()
{
global $color;
echo '<table width="480" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="480" height="41" background="theme/'.$color[3].'/gfx/belka_news.gif" class="uni_03" style="font-weight: bold;" align="center">';
}
function main_title_close()
{
global $color;
echo '</td>
</tr>
<tr>
';
}
function main_text_open()
{
echo '<td class="text" colspan="2">';
}
function main_text_close($poster=0, $date=0, $comment=0, $comment_num=0, $print=0)
{
global $color;
$print = '<a href="'.$print.'"><img SRC="theme/'.$color[3].'/gfx/print.gif" border="0" align="absmiddle"></a>';
if($comment<>'')
$comment = '<a href="'.$comment.'">komentarz['.$comment_num.']</a> | ';
if($portal<>'0' AND $date<>0)
{
echo '
</td>
<tr>
<td colspan="2" class="block" align="right" style="padding-top: 5px;">'.$comment.$print.' </td>
</tr>';
}
echo '
</td>
</tr>
</table>
<br>';
}
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
#==============================
# tytul okienka main'a NM
#==============================
function mn_title_open()
{
global $color;
echo '<table width="491" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="491" height="41" class="uni_01" style="font-weight: bold;" align="center">';
}
function mn_title_close()
{
global $color;
echo '</td>
</tr>
<tr>
';
}
function mn_text_open()
{
echo '<td class="text" colspan="2">';
}
function mn_text_close($poster=0, $date=0, $comment=0, $comment_num=0, $print=0) {
global $color;
$print = '<a href="'.$print.'"><img SRC="theme/'.$color[3].'/gfx/print.gif" border="0" align="absmiddle"></a>';
if($comment<>'')
$comment = '<a href="'.$comment.'">komentarz['.$comment_num.']</a> | ';
if($portal<>'0' AND $date<>0) {
echo '</td>
</tr>
<td><img SRC="theme/'.$color[3].'/gfx/separ.gif" width="1" height="1"></td>
</tr>
<tr>
<td width="100%" class="block" align="right" background="theme/'.$color[3].'/gfx/menu_bg.gif">'.$comment.$print.' </TD>
</tr>
';
}
echo '
</td>
</tr>
</table>
<br>';
}
# podpisy do newsow
function news_theme($mod, $title, $icon, $text, $poster, $textcd, $date, $comment, $comment_num, $print, $send)
{
global $color;
if($mod=='list')
{
if($textcd<>'') $textcd = '<a href="'.$textcd.'">więcej</a> | '; else $textcd = '';
}
else
{
if($textcd<>'') $text = '<font color="#C1E63D">'.$text.'</font><br><br>'.$textcd;
}
if($icon<>'') $text = '<img src="'.$icon.'" align="right">'.$text;
$send = '<a href="'.$send.'" title="wy¶lij znajomemu"><img SRC="theme/'.$color[3].'/gfx/mail.gif" border="0" align="absmiddle"></a> ';
$print = '<a href="'.$print.'" title="wersja do druku" target="_blank"><img SRC="theme/'.$color[3].'/gfx/print.gif" border="0" align="absmiddle"></a>';
$comment = '<a href="'.$comment.'">komentarz['.$comment_num.']</a>';
echo '<table style="margin-bottom: 9px;" width="491" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="491" height="41" class="uni_03" style="font-weight: bold;" background="theme/'.$color[3].'/gfx/belka_news.gif" align="center" class="uni_01"><b>'.$title.'</b> '.substr($date, 20).'</td>
</tr>
<tr>
<td class="text" colspan="2">';
echo $text;
if($mod=='more') unset($textcd);
if($mod<>'err')
{
echo '</td>
</tr>
<tr>
<td colspan="2" style="padding: 2px;"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="uni_01">'.$poster.' | '.date('d.m.Y', strtotime(substr($date, 0, 10))).'</td>
<td class="uni_01" align="right">'.$textcd.$comment.' | '.$print.' '.$send.'</td>
</tr>
</table></td>
</tr>';
}
echo '
</td>
</tr>
</table>';
}
function art_theme($title, $text, $poster, $date, $comment, $comment_num, $print, $more, $opened)
{
global $color;
$more = '<a href="'.$more.'">pokaż</a>';
$print = '<a href="'.$print.'" title="wersja do druku" target="_blank"><img SRC="theme/'.$color[3].'/gfx/print.gif" border="0" align="absmiddle"></a>';
$comment = '<a href="'.$comment.'">komentarz['.$comment_num.']</a>';
echo '<tr>
<td>
<table style="margin-top: 5px;" width="491" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="title"><b>'.$title.'</b></td>
</tr>
<tr>
<td class="title">'.$text.'</td>
</tr>';
if($mod<>'err')
{
echo '
<tr>
<td colspan="2">
<table style="margin-top: 5px;" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="title">odsłon: '.$opened.'</td>
<td class="title" align="right">'.$more.' | '.$comment.' | '.$print.'</td>
</tr>
</table>
</td>
</tr>';
}
echo '
</table>
<br>
</td>
</tr>
';
}
#==============================
# end: tresc okienka main'a
#==============================
# stopka z copyright
function footer($footer1, $footer2, $time='') {
global $color;
echo '
<table align="center" width="760" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="right" class="uni_01" style="font-size: 10px">'.round($time, 3).' | '.$footer2.'</td>
</tr>
</table>
';
}
# ===================================
# funkcje listowania (pliki downloadu, arty itp.)
# ===================================
function list_open() {
global $color;
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">';
}
function list_close() {
global $color;
echo '</table>';
}
# otworzenie elementu listy
function list_body_open($title="", $text="", $others="")
{
global $color;
echo '
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="title"><b>'.$title.'</b></td>
</tr>
<tr>
<td class="title" style="text-align: justify;">'.$text.'</td>
</tr>';
if($others<>'')
{
echo '
<tr>
<td class="title" align="right" style="padding-top: 5px;">'.$others.'</td>
</tr>
';
}
echo '</table>
<br>
</td>
</tr>
';
}