Parašė Neformal· 2008 Spa. 19 01:10:40
#1
Kaip reikia išimti šitas nuorodas ?
Štai kodas:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
$body_text = "#ffffff";
$theme_width = "995";
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink;
echo "<script src='".THEME."/grade.js' language='Javascript'></script>";
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='margin-top: -5px; margin-bottom: -5px; border-top: solid #000000 1px;'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td class='header' width='100%'>";
// Start banner code / Banerio kodas
echo "
<table align=center width=100% height=250 background=".THEME."images/header.jpg border=0 cellspacing=0 cellpadding=0>
<tr><td height=50 class='nuorodos' align=left style='padding-left:40px; padding-top:25px;'><br>";
echo "
<img src='".THEME."images/bullet.gif'> <a href=".BASEDIR."index.php>Namai</a><br>
<img src='".THEME."images/bullet.gif'> <a href=".BASEDIR."forum/index.php>Forumas</a><br>
<img src='".THEME."images/bullet.gif'> <a href=".BASEDIR."contact.php>Kontaktai</a><br>
<img src='".THEME."images/bullet.gif'> <a href=".BASEDIR."articles.php>Straipsniai</a><br>";
echo "</td></tr>
<tr></tr>
<tr><td height=31></td></tr>
</table>
";
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'><tr><td class='Linija'></td></tr></table>";
echo "</tr></table></td></tr></table>\n";
// End banner code / Banerio kodo pabaiga
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td class='sub-header'><table width='100%' border='0' cellpadding='0' cellspacing='0' style='background-color: #000000;'><tr>";
if (iMEMBER) {
echo"<td height='35' background='".THEME."images/linija.jpg' class='sub-header'><center>
<a href='http://anarchy08.xz.lt/edit_profile.php' target=''>Profilis</a> |
<a href='".BASEDIR."messages.php' class='side'>Þinutës [naujø: <b><span style='color:#ff0000'>".sprintf($msg_count)."</span></b>]</a>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo " | <a href='".ADMIN."index.php".$aidlink."' class='side'>Administracija</a>";
}
echo" | <a href='".BASEDIR."setuser.php?logout=yes' target='_blank'>Atsijungti</a></td>";
} else {
echo" <td height='35' background='".THEME."images/linija.jpg' class='sub-header' style='padding-top:1px;'><center>
<form name='loginform' method='post' action='".FUSION_SELF."'>
Vartotojas <input type='text' name='user_name' class='textbox' style='width:100px;filter:alpha(opacity=70)'>
Slaptaþodis <input type='password' name='user_pass' class='textbox' style='width:100px;filter:alpha(opacity=70)'>
<input type='submit' name='login' value='Prisijungti' class='button'>";
if ($settings['enable_registration']) {
echo " <a href=".BASEDIR."register.php>Registracija</a> | <a href=".BASEDIR."lostpassword.php>Priminti</a><center><br>\n";
}
echo"</div>\n";
}
echo "</td></tr></table></td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0'><tr>";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table width='100%'height='200' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='footer' align='center'>
<span style='color:black'>".stripslashes($settings['footer'])."<br><br><b><a href=http://nfsgaming.awarded.in/news.php><span style='color:white'>Aspire 2007</a></span></b>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table style='border: 1px solid #262626' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td background='".THEME."images/newspic.JPG' height='25' border='1'><font class='block-title' align=>$subject</font></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>$news</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'> ";
echo "<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>";
echo "<td height='24' align='right' class='news-footer'>";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a>";
echo "</td></tr></table></td></tr></table><br>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table style='border: 1px solid #000000' cellspacing='1' width='100%' cellpadding='1'><tr>";
echo "<td background='".THEME."images/newspic.JPG' height='25' border='1'><font class='block-title' FACE='Arial'><B><center>$subject</center></B></font></td>";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>";
echo "<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "<td height='24' align='right' class='news-footer'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
echo "</td></tr></table></td></tr></table>\n";
}
function render_video($subject, $video, $info) {
global $locale;
echo "<table style='border: 1px solid #000000' cellspacing='1' width='100%' cellpadding='1'><tr>";
echo "<td background='".THEME."images/newspic.JPG' height='35' border='1'><font class='block-title' FACE='Arial'><B><center>$subject</center></B></font></td>";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['video_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>";
echo "".$info['user_name']."</a> ";
echo "<td height='24' align='right' class='news-footer'>";
if ($info['video_allow_comments']) echo $info['video_comments'].$locale['043']." · ";
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table width='100%' height='20' cellpadding='1' cellspacing='1' style='border: 2px solid #262626' >";
echo "<tr><td background='".THEME."images/cellpic4.JPG' height='35' border='1'><center><font class='head-title' FACE='Arial'><B> $title</B></font></td></center>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td></tr></table>\n";
}
function openside($title) {
echo "<table style='border: 2px solid #262626' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td height='35' width='100%' background='".THEME."images/cellpic4.JPG' border='2'>";
echo "<center><font class='block-title' FACE='Arial'><B>$title</B></font></center>";
echo "</td></tr>";
echo "<tr><td class='side-body' width='100%'>";
}
function closeside() {
echo "</td></tr></table><table border='0' cellpadding='0' cellspacing='0' width='100%' height='10'>
<tr>
<td width='100%'></td>
</tr>
</table>";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table border='0' style='border: 2px solid #262626' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td height='35' width='100%' background='".THEME."images/cellpic4.JPG'>";
echo "<img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"><center><font class='block-title'>$title</font></center>";
echo "</td></tr>";
echo "<tr><td bgcolor='#191928' class='side-body'width='100%' '".THEME."images/back1.gif'>";
echo "<div id='box_$boxname'".($open=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='0'></td></tr></table>\n";
}
?>