cafko. Potrebujem pomoct. Mam new web zacinam s php.
http://teamgaming.xf.cz/news.php a potrebujem tu odstranit ten flesh na tej zbrani. Na servery mam nahraty inny obrazok a aj tak sa dava henten. Asik to roby ten flesh. Pomoze mi niekto??? Ak ano daj icq abo e-mail tam ti to poslem
Abo tu je kod:
Kód:
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<img class='bullet' src='".THEME."images/bullet.gif' alt='->' />");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $locale, $main_style, $settings, $userdata;
echo " <div id='full-page'>
<table cellpadding='0' cellspacing='0' border='0' width='100%' class='p-bkg center'><tr><td>\n";
if ($settings['sitebanner1']) {echo"<table cellpadding='0' cellspacing='0' border='0' id='banner' width='100%'><tr><td>
<div>".stripslashes($settings['sitebanner1'])."</div></td></tr></table>\n";}
echo "<table cellpadding='0' cellspacing='0' border='0' width='1000' class='center'><tr><td rowspan='2'>
<object type='application/x-shockwave-flash' data='".THEME."images/logo.swf' width='825' height='386'>
<param name='movie' value='".THEME."images/logo.swf' /><param name='wmode' value='transparent' /></object>
</td><td><img src='".THEME."images/header_02.jpg' width='175' height='30' alt='' /></td>
</tr><tr><td class='nav-pad'><div id='navi'>".showsublinks(" ")."</div></td></tr>
<tr><td colspan='2'><img src='".THEME."images/header_03.jpg' width='1000' height='15' alt='' /></td>
</tr></table>
<table cellpadding='0' cellspacing='0' border='0' width='1000' id='userbar' class='center'><tr><td height='50'><div class='floatL'>".USER_IP."</div></td><td>\n";
if (iMEMBER){
echo "<div class='floatR'>".$locale['global_035']." ".$userdata['user_name']."</div>\n";
}else{
echo "<div class='floatR'><ul><li><a href='".BASEDIR."login.php'>".$locale['global_104']."</a></li>
".($settings['enable_registration'] ? "<li> | <a href='".BASEDIR."register.php'>".$locale['global_107']."</a></li>\n" : "");
echo"</ul></div>\n";
}
echo "</td></tr></table>
<table cellpadding='0' cellspacing='0' width='100%' class='main-page $main_style'><tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo"<td class='main-body' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>\n";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr></table>
<table cellpadding='0' cellspacing='0' border='0' width='1000' class='center'><tr><td class='floatL'><img src='".THEME."images/css-icon.png' width='160' height='160' alt='' /></td>
<td id='footer'>".stripslashes($settings['footer']);
if (!$license) { echo "".showcopyright(); }
echo" <br /> Theme conversion by <a href='http://mangee.net'>Mangee</a><br />Theme designed by <a href='http://psd-resources.de/'>Stafis/v1r00z</a>
</td></tr></table>
<table cellpadding='0' cellspacing='0' border='0' width='100%' class='spacer'><tr><td><div>".stripslashes($settings['sitebanner2'])."</div></td></tr></table>
<table cellpadding='0' cellspacing='0' border='0' width='1000' id='subfooter'><tr>
<td><div class=''>".sprintf($locale['global_172'], substr((get_microtime() - START_TIME),0,4))."</div>
<div class=''>".showcounter()."</div>
</td></tr></table>
</td></tr></table></div>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='T-L'></td>
<td class='T-C'>".$subject."</td>
<td class='T-R'></td>
</tr></table>
<table width='100%' cellpadding='0' cellspacing='0'><tr>
<td class='T-body'>".$news."</td>
</tr><tr>
<td class='news-footer middle-border center'>\n";
echo newsposter($info," ·").newsopts($info,"·").itemoptions("N",$info['news_id']);
echo "</td></tr></table>
<table cellpadding='0' cellspacing='0' width='100%' class='t-bbkg spacer'><tr>
<td class='T-LB'></td>
<td class='T-CB'> </td>
<td class='T-RB'></td>
</tr></table>\n";
}
function render_article($subject, $article, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='T-L'></td>
<td class='T-C'>".$subject."</td>
<td class='T-R'></td>
</tr></table>
<table width='100%' cellpadding='0' cellspacing='0'><tr>
<td class='T-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>
</tr><tr>
<td class='news-footer center'>\n";
echo articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id']);
echo "</td></tr></table>
<table cellpadding='0' cellspacing='0' width='100%' class='t-bbkg spacer'><tr>
<td class='T-LB'></td>
<td class='T-CB'> </td>
<td class='T-RB'></td>
</tr></table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='T-L'></td>
<td class='T-C'>$title</td>
<td class='T-R'></td>
</tr></table>
<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='T-body'>\n";
}
function closetable() {
echo "</td></tr></table>
<table cellpadding='0' cellspacing='0' width='100%' class='t-bbkg spacer'><tr>
<td class='T-LB'></td>
<td class='T-CB'> </td>
<td class='T-RB'></td>
</tr></table>\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='T-L'></td>
<td class='T-C'>$title</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='T-R'>".panelbutton($state, $boxname)."</td>\n";
}
echo "<td class='T-R'></td>
</tr></table>
<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='T-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside() {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td></tr></table>
<table cellpadding='0' cellspacing='0' width='100%' class='t-bbkg spacer'><tr>
<td class='T-LB'></td>
<td class='T-RB'></td></tr></table>\n";
}
?>