Parašė aivariokas48· 2012 Rugp. 2 00:08:19
#2
Man rodos Teip.
<div class='quote'><?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_WIDTH", "1000");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings, $main_style;
// TopServ.Lt Tema
// Kodavimas: <a href='http://www.nstudio.lt' target='_blank'><span style='color:005C5B'>www.nstudio.lt</span></a>
//Headeris
echo "<table align='center' cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' class='outer-border'>\n<tr>\n";
echo "<td>\n";
echo "<table cellpadding='0' cellspacing='0' width='1000' align='center'>\n<tr>\n";
echo "</td></tr>\n<tr>\n";
echo "<td align='center'><img src='".THEME."images/header_01.png'></td>";
echo "<td align='center' class='reklama'>\n";
//Reklamos pradþia
echo "<br><a href='skype:topserv.lt?chat'><img src='".THEME."images/468x60.gif' border='0'></a>";
//Reklamos pabaiga
echo "</td>\n</tr>\n";
echo "<tr><td colspan='2'><center><img src='".THEME."images/header_03.png' border='0' usemap='#Meniu'>
<map name='Meniu'>
<area coords='43,8,118,20' href='".BASEDIR."shoutcast.php'>
<area coords='139,8,174,20' href='".BASEDIR."vps.php'>
<area coords='193,8,216,20' href='".BASEDIR."cs.php'>
<area coords='240,8,277,20' href='".BASEDIR."css.php'>
<area coords='300,8,353,20' href='".BASEDIR."samp.php'>
<area coords='373,8,440,20' href='".BASEDIR."domenai.php'>
<area coords='460,8,538,20' href='".BASEDIR."hostingas.php'>
<area coords='558,8,626,20' href='".BASEDIR."taisykles.php'>
<area coords='647,8,720,20' href='".BASEDIR."kontaktai.php'>
</map></center>";
echo "</td>\n</tr>\n</table><br>\n";
//Turinys
echo "<table cellpadding='0' cellspacing='0' width='1000' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top' width='160'>".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' width='160'>".RIGHT."</td>"; }
echo "</tr></table>\n";
//Footeris
echo "<table cellpadding='0' cellspacing='0' width='995' align='center'>\n<tr>\n";
echo "<td><img src='".THEME."images/tarpas.png'></td></tr><tr>";
echo "<td width='995' height='33' background='".THEME."images/footer.png'>\n";
echo " <span class='txt'>Sprendimas:</span><a target='new' href='http://nstudio.lt' target='_blank'> <b><span class='txt'>nStudio</b></a> <span class='txt'> <b> </b> Visos teisës saugomos © TOPSERV.LT 2010, Kopijuoti grieþtai draudþiama!";
echo "</td>\n";
echo "</tr>\n";
echo "</table>\n</td>\n</tr>\n</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='478'>\n<tr>\n";
echo "<td width='334' height='33' class='capmain2'>".$subject."</td><td background='".THEME."images/table_01n2.png' width='149' height='33'> <span style='font-family:tahoma; font-weight:normal; font-size: 9px; color:#eae7e7'><b>Paraðë:</b> ".$info['user_name']."</span></td>\n";
echo "</tr>\n<tr>\n";
echo "<td colspan='2' class='main-body'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "</tr>\n</table>\n<img src='".THEME."images/table_03.png'><br><br>\n";
}
function render_article($subject, $article, $info) {
echo "<table cellpadding='0' cellspacing='0' width='478'>\n<tr>\n";
echo "<td width='478' height='33' class='capmain'>".$subject."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
echo "</tr>\n<tr>\n";
echo "</tr>\n</table>\n<img src='".THEME."images/table_03.png'><br><br>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='478'>\n<tr>\n";
echo "<td width='478' height='33' class='capmain'>".$title."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>\n";
}
function closetable() {
echo "</td>\n</tr>\n</table><img src='".THEME."images/table_03.png'><br><br>\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table cellpadding='0' cellspacing='0' width='252' class='border'>\n<tr>\n";
echo "<td class='scapmain' width='252' height='33'><center>".$title."</center></td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>\n";
}
echo "<tr><td><img src='".THEME."images/panel_01d.png'></td></tr></tr>\n<tr>\n";
echo "<td".($collapse == true ? " colspan='2'" : "")." class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside($collapse = false) {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>\n</tr>\n</table><img src='".THEME."images/panel_03.png'><br><br>\n";
}
?></div>
Jeigu vistiek yra, rašyk.