Sveiki, susiiduriau su viena problema, ir neiseina man jos isspresti, stai foto:
kas nasuprato tai reikia slideshow ir prisijungima pakelti auksciau ir navigacija pakelt kaip pazymeta
stai theme.php
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<span class='bullet'>·</span>");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $theme_width,$userdata,$settings,$locale,$data,$db_prefix,$lookup,$msg_count,$aidlink;
// BG
echo "<div id='bg'><img src='".THEME."images/body/bg.png' width='100%' height='100%'/></div>";
// Header ir Eteris
echo "<table cellpadding='0' cellspacing='0' width='1100px' align='center' class='rodymas'>\n<tr>\n";
echo "<td class='logo' rowspan='5'></td>\n";
echo "<td class='virsus'></td>\n";
echo "<td class='desine' rowspan='5'></td>\n";
echo "</tr><tr>\n";
// Navigacija
echo "<table cellpadding='0' cellspacing='0' width='628px' align='center' class='rodymas'>\n<tr>\n";
echo "<td class='nav'>
<a href='http://mcland.lt/news.php'>Pagrindinis  </a>
<a href='http://mcland.lt/forum/index.php'>Forumas  </a>
<a href='http://78.62.172.159:8123/'>Zemelapis;  </a>
<a href='http://mcland.lt/komandos.php'>Muzika;  </a>
<a href='http://mcland.lt/e-parduotuve.php'>Topai </a>
<a href='http://mcland.lt/taisykles.php'>Taisykles </a>
</td>
</table>\n";
echo "<table cellspacing='0' cellpadding='0' border='0' height='5px'><tr></tr></table>";
// Slide ir Prisijungimas
echo "<table cellspacing='0' cellpadding='0' width='1059px' border='0' align='center' class='rodymas'><tr>";
echo "<td>
<table cellspacing='0' cellpadding='0' border='0' width='703px'><tr>
<td height='2px'></td></tr><tr>
<td class='slider' width='703px' heigh='149px'>";
include "failai/slide/img.php";
echo "</td>
</tr></table>
</td>";
echo "<td width='3px'></td>";
echo "<td>
<table cellspacing='0' cellpadding='0' border='0' width='353px'><tr>
<td class='login-up'></td></tr><tr>
<td class='login-body'>";
if(iMEMBER) {
$avatar = !empty($userdata['user_avatar']) ? IMAGES."avatars/".$userdata['user_avatar'] : THEME."images/noimage.gif";
echo "<table border='0' cellspacing='0' cellpadding='0' class='user-panel'><tr>
<td><img src='$avatar' width='70' height='70' align='left' style='padding:0 5px 0 7px;'/>
<td><a class='user-panel' href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'>Mano profilis</a><br />
<a class='user-panel' href='".BASEDIR."edit_profile.php'>Redaguoti profilį</a><br />
<a class='user-panel' href='".BASEDIR."members.php'>Narių sąrašas</a><br />
<a class='user-panel' href='".BASEDIR."setuser.php?logout=yes'>Atsijungti</a><br />";
if (iADMIN) echo "<a href='".ADMIN."index.php".$aidlink."' class='side'>Administracija</a><br /></td>\n";
echo "</tr></td></table>";
} else {
echo "<table border='0' cellspacing='0' cellpadding='0' align='center'><tr>
<form name='loginform' method='post' action='news.php'>
<td><input type='text' name='user_name' class='laukelis' style='padding-left: 5px;padding-right:5px;' /></td>
<td width='15px'></td>
<td rowspan='3'><input type='submit' name='login' value='' class='login-button' /></td>
</tr><tr>
<td height='6px'></td>
</tr><tr>
<td><input type='password' name='user_pass' class='laukelis' style='padding-left: 5px;padding-right:5px;'/></td>
</form>
</tr></table><br>
<table border='0' cellspacing='0' cellpadding='0' align='center' style='color: #fff;'><tr>
<td><span style='font-size:10px;font-family:tahoma;font-weight:bold;'>Dar neesi narys ? <a href='/register.php'><font color='#fff'>Registruokis</font></a>
Pamiršai slaptažodį ? <a href='/lostpassword.php'><font color='#fff'>Prisimink</font></a></span></td>
</tr></table>";
}
echo "</td></tr><tr>
<td class='login-down'></td>
</tr></table>
</td>";
echo "</tr></table>";
echo "<table cellspacing='0' cellpadding='0' border='0' height='6px'><tr></tr></table>";
// Content
echo "<table cellpadding='0' cellspacing='0' width='1058px' class='content' align='center'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
echo "<table cellspacing='0' cellpadding='0' border='0' height='3px'><tr></tr></table>";
// Footer
echo "<table cellpadding='0' cellspacing='0' width='1058px' class='footer' align='center'>\n<tr>\n";
echo "<td align='left' valign='top'>
<table cellspacing='0' cellpadding='0' border='0' style='padding-left: 10px;padding-top: 5px;color:#fff;'><tr>
<td>
<font color='#0090ff'></font><br />
<div><center></center></div>
Sprendimas: <a href='skype:valdas3968?chat'><font color='#0090ff'>NikeAir`</font></a> </a><br />
</td>
</tr></table>
</td>\n";
echo "<td align='right' valign='top'>
<table cellspacing='0' cellpadding='0' border='0' style='padding-right: 10px;padding-top: 2px;'><tr>
<td><a href='http://hlsw.lt'><img src='http://hlsw.lt/themes/hlsw_2/images/header/reklama.png' width='468' height='60' border=0'></a></td>
</tr></table>
</td>\n";
echo "</tr>\n</table>";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'>".$subject." <a href='".BASEDIR."news.php?readmore=".$info['news_id']."'><font color='#0084ff'>[SKAITYTI TOLIAU]</font></a></td>\n";
echo "</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
echo "<td class='main-body'>
<table cellpadding='0' cellspacing='0'><tr>
<td>".$news."</td>
</tr><tr>
<td>
<span style='padding-left: 15px;text-transform: uppercase;'>
".$info['user_name']."
".showdate("shortdate", $info['news_date'])."
Peržiūros: [ ".$info['news_reads']." ]
Komentarai: [ ".$info['news_comments']." ]
</span>
</td>
</tr></table>
</td>\n";
echo "</tr>\n</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td width='100%' class='capmain'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='article-body'><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>";
echo "<div style='margin-top:5px'>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><br>";
echo "<td class='infobar2'>".articleposter($info," ·")."</td>";
echo "<td align='right' class='infobar2'>";
echo articleopts($info,"·").itemoptions("A",$info['article_id']);
echo "</td></tr></table></div></td>";
echo "</tr></table><br>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<td width='100%' class='capmain'>$title</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='table-body'><br>\n";
}
function closetable() {
echo "</td></tr></table><br>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td width='100%' class='scapmain'>$title</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='side-body'><br>\n";
}
function closeside() {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td></tr>";
echo "</table><br>\n";
}
?>
Dekoju is anksto
|