Štai theme.php jeigu negaila padėkite nes pas mane kažkodėl neveikią:
<?php
/************************/
/* Settings/Nustatymai */
/************************/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "1000";
$theme_width_l = "190";
$theme_width_r = "190";
function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink;
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' bgcolor='#ffffff' cellpadding='0' style='border-right: solid #cccccc 1px; border-left: solid #cccccc 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='1000'>";
// Start banner code / Banerio kodas
echo "<table width='100%' cellspacing='0' cellpadding='0' style='border-right: solid 0px; border-left: solid 0px;'>";
echo "<tr><td height='260' background='logo.png'".THEME."http://ecounters.wu.lt/themes/euregame/images/logo.png' align='right' valign='middle'>
<table width='0' border='0' cellspacing='0' cellpadding='0' bgcolor='#ffffff'>
<td> </td>
<td align='center'>";
echo "</td>
";
echo "</tr></table></td></tr></table>\n";
// End banner code / Banerio kodo pabaiga
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' bgcolor='#ffffff'>
<a href='".BASEDIR."members.php'><span class='white' bgcolor='#ffffff'><b><h7> Vartotojø: <span style='color:#FF0000' bgcolor='#ffffff'>".number_format(dbcount("(user_id)", "users", "user_status<='1'"))."</h7></span></a></td>";
if ($settings['admin_activation'] == "1") echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['015'].dbcount("(user_id)", "users", "user_status='2'")."\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#ffffff'>";
if (iMEMBER) {
$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>
<td>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
}
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#ffffff'>
<td align='right'><a href='".ADMIN."index.php".$aidlink."'> <img src='eg1.gif'alt='Administracija'></a>
<a href='".BASEDIR."messages.php'><img src='http://eurogame.xz.lt/themes/eurogame/nav/sms.gif'alt='Žinutės'></a>
<a href='".BASEDIR."edit_profile.php'><img src='http://eurogame.xz.lt/themes/eurogame/nav/anketa.gif'alt='Anketa'></a>";
} else {
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0' bgcolor='#ffffff' align='center'><form name='loginform' method='post' action='".FUSION_SELF."'>
<span style='color:#000000' bgcolor='#ffffff'>
<input type='text' name='user_name' value='Pseudonimas' class='textbox' style='width:100px;filter:alpha(opacity=60' value1=''>
<span style='color:#000000' bgcolor='#ffffff'>
<input type='password' name='user_pass' class='textbox' style='width:100px;filter:alpha(opacity=60)'>
<input type='submit' name='login' style='border:1px solid #ff0000' bgcolor='#ffffff' value='Prisijungti' class='button'>
<input type='checkbox' name='remember_me' value='y'><span class='small'><span style='color:#000000' bgcolor='#ffffff'> </span> <a href=".BASEDIR."register.php><span style='color:#000000' bgcolor='#ffffff'> [ <span style='color:#FF0000'><strong>Registracija </strong><span style='color:#000000'> ] </a></span>";
}
echo "<center><table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
</b><tr>
<img alt src='eurogame/eg.gif' width='1000' height='15'><br><img alt src='themes/eurogame/eg1.gif' width='1000' height='15'><table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
<td width='40'></td><b><center>
<td width='25' valign='top'><center><a href='index.php'><h5><strong>Pagrindinis</h5></a></td>
<td width='25' valign='top'><a href='/serveriai'><strong><h5>Serveriai</h5></td>
<td width='25' valign='top'><a href='/forum/index.php'><strong><h5>Forumas</h5></td>
<td width='25' valign='top'><a href='".BASEDIR."downloads.php'><strong><h5>Siuntiniai</h5></td>
<td width='25' valign='top'><a href='".BASEDIR."articles.php'><strong><h5>Straipsniai</h5></td>
<td width='25' valign='top'><a href='".BASEDIR."komanda.php'><strong><h5>Personalas</h5></td>
<td width='25' valign='top'><a href='".BASEDIR."turnyrai.php'><strong><h5>Turnyrai</h5></td>
<td width='25'></td></center>
</tr>
</table>";
echo "<table width='100%' cellpadding='0' bgcolor='#ffffff' cellspacing='0' border='0'><tr>";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
if ($license == false) {
}
echo "<table width='100%' cellpadding='0' bgcolor='#ffffff' cellspacing='0' border='0'><tr><br>";
echo "<br><a><img src='images/dugnas.gif'></img></a>";
echo "<br><table cellSpacing='0' cellPadding='0' width='100%' border='0' background='".THEME."images/footer.gif' style='border-right: solid #b5b5b5 0px; border-left: solid #b5b5b5 0px;'>";
echo "<td width='20%' height='36' class='white' align='center'>";
echo "<b>Varikliukas:PHP-Fusion Tema Redagavo:Infinity`</b>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<a href='news.php?readmore=".$info['news_id']."'><table bgcolor='#ABA8A0' border='0' style='border: 0px solid #DFDFDF' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td class='panel2'><a href='news.php?readmore=".$info['news_id']."'><b> ".$subject." </b></a></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border2'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-body'>$news</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'> ";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'><b>".$info['user_name']."</b></a> | ";
echo "".$locale['041'].showdate("shortdate", $info['news_date'])." </td>";
echo "<td height='24' align='right' class='news-footer'>";
if ($info['news_allow_comments'])
echo "[ <b><span style='color:#235765'>Perskaitė: <span style='color:#FF0000'>" .$info['news_reads'].$locale['']."</span> ]";
echo "[ <a href='news.php?readmore=".$info['news_id']. "'><b> ".$locale['']. "Komentarų:</a><span style='color:#FF0000'> ".$info['news_comments']."</b></span> ]";
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table bgcolor='#ABA8A0' border='0' style='border: 0px solid #DFDFDF' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td class='panel2'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border2'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-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 "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'><b>".$info['user_name']."</b></a> | ";
echo "".$locale['041'].showdate("shortdate", $info['article_date'])."</td>";
echo "<td height='24' align='right' class='news-footer'>";
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table bgcolor='#ABA8A0' border='0' width='100%' cellpadding='2' cellspacing='0' style='border: 1px solid #DFDFDF'>";
echo "<tr><td class='panel'>";
echo "$title</td></tr>";
echo "<tr><td class='main-body' width='100%'>";
}
// Close table end
function closetable() {
echo "<table border='0' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td height='12' width='100%'></td></tr></table>";
echo "</td></tr></table>";
}
function openside($title) {
echo "<table bgcolor='#ABA8A0' border='0' style='border: 1px solid #DFDFDF' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td width='100%' class='panel'>";
echo "$title</td></tr>";
echo "<tr><td class='side-body' width='100%'>";
}
function closeside() {
echo "<table border='0' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td height='12' width='100%'></td></tr></table>";
echo "</td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table bgcolor='#ABA8A0' border='0' style='border: 1px solid #DFDFDF' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td width='100%' class='panel'>";
echo "<img align='right' onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'>$title</td></tr>";
echo "<tr><td class='side-body' width='100%'>";
echo "<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "<table border='0' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td height='12' width='100%'></td></tr></table>";
echo "</td></tr></table>";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='5'></td></tr></table>\n";
}
?>
http://www.dviratis.ipp.lt |