Parašė airidas338· 2011 Rugs. 6 15:09:03
#1
Gal galit padet istaisyt virsu?
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_WIDTH", "948");
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings, $main_style;
//Header
echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' class='body' align='center'>\n<tr>\n";
echo "<td>\n";
//////////////////////////////////HEADERIS//////////////////////////////////
echo "
<table width='948' height='252' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='13' rowspan='2'>
<img src='".THEME."images/head/head_01.gif' width='297' height='21' alt=''></td>
<td colspan='5'>
<img src='".THEME."images/head/head_02.gif' width='650' height='9' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='1' height='9' alt=''></td>
</tr>
<tr>
<td colspan='3' rowspan='8'>
<img src='".THEME."images/head/head_03.gif' width='340' height='165' alt=''></td>
<td rowspan='7' background='".THEME."images/head/head_04.gif' width='301' height='137' alt='' style='padding-left:4px;'>";
echo"</td>
<td rowspan='12'>
<img src='".THEME."images/head/head_05.gif' width='5' height='242' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='1' height='12' alt=''></td>
</tr>
<tr>
<td colspan='2' rowspan='2'>
<img src='".THEME."images/head/head_06.gif' width='18' height='29' alt=''></td>
<td colspan='10' background='".THEME."images/head/head_07.gif' width='266' height='22' valign='middle' alt='' border='0'>";
echo"</td>
<td rowspan='2'>
<img src='".THEME."images/head/head_08.gif' width='13' height='29' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='1' height='22' alt=''></td>
</tr>
<tr>
<td colspan='10'>
<img src='".THEME."images/head/head_09.gif' width='266' height='7' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='1' height='7' alt=''></td>
</tr>
<tr>
<td colspan='13'>
<img src='".THEME."images/head/head_10.gif' width='297' height='15' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='1' height='15' alt=''></td>
</tr>
<tr>
<td colspan='6' rowspan='2'>
<img src='".THEME."images/head/head_11.gif' width='142' height='28' alt=''></td>
<td colspan='6' background='".THEME."images/head/head_12.gif' width='142' height='25' alt='' border='0'>";
echo"</td>
<td rowspan='5'>
<img src='".THEME."images/head/head_13.gif' width='13' height='152' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='1' height='25' alt=''></td>
</tr>
<tr>
<td colspan='6'>
<img src='".THEME."images/head/head_14.gif' width='142' height='3' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='1' height='3' alt=''></td>
</tr>
<tr>
<td rowspan='6'>
<img src='".THEME."images/head/head_15.gif' width='13' height='158' alt=''></td>
<td colspan='11' rowspan='2' background='".THEME."images/head/head_16.jpg' width='271' height='81' alt='' border='0'>";
echo"</td>
<td>
<img src='".THEME."images/head/spacer.gif' width='1' height='53' alt=''></td>
</tr>
<tr>
<td>
<img src='".THEME."images/head/head_17.gif' width='305' height='28' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='1' height='28' alt=''></td>
</tr>
<tr>
<td colspan='11'>
<img src='".THEME."images/head/head_18.gif' width='271' height='43' alt=''></td>
<td colspan='2'>
<img src='".THEME."images/head/head_19.gif' width='177' height='43' alt=''></td>
<td colspan='2' rowspan='2' background='".THEME."images/head/head_20.gif' width='468' height='60' alt=''>";
/////////////////////////////Reklama pradzia////
/////////////////////////////Reklama pabaiga////
echo"</td>
<td>
<img src='".THEME."images/head/spacer.gif' width='1' height='43' alt=''></td>
</tr>
<tr>
<td colspan='2' rowspan='3'>
<img src='".THEME."images/head/head_21.gif' width='11' height='34' alt=''></td>
<td rowspan='2'>
<a href='".BASEDIR."index.php'><img src='".THEME."images/head/head_22.gif' width='68' height='22' alt='' border='0'></a></td>
<td rowspan='3'>
<img src='".THEME."images/head/head_23.gif' width='6' height='34' alt=''></td>
<td colspan='2' rowspan='2'>
<a href='".BASEDIR."forum/'><img src='".THEME."images/head/head_24.gif' width='55' height='22' alt='' border='0'></a></td>
<td rowspan='3'>
<img src='".THEME."images/head/head_25.gif' width='3' height='34' alt=''></td>
<td rowspan='2'>
<a href='".BASEDIR."downloads.php'><img src='".THEME."images/head/head_26.gif' width='59' height='22' alt='' border='0'></a></td>
<td rowspan='3'>
<img src='".THEME."images/head/head_27.gif' width='3' height='34' alt=''></td>
<td rowspan='2'>
<a href='".BASEDIR."viewpage.php?page_id=1'><img src='".THEME."images/head/head_28.gif' width='62' height='22' alt='' border='0'></a></td>
<td rowspan='3'>
<img src='".THEME."images/head/head_29.gif' width='4' height='34' alt=''></td>
<td colspan='2' rowspan='2'>
<a href='".BASEDIR."contact.php'><img src='".THEME."images/head/head_30.gif' width='62' height='22' alt='' border='0'></a></td>
<td rowspan='3'>
<img src='".THEME."images/head/head_31.gif' width='128' height='34' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='1' height='17' alt=''></td>
</tr>
<tr>
<td colspan='2' rowspan='2'>
<img src='".THEME."images/head/head_32.gif' width='468' height='17' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='1' height='5' alt=''></td>
</tr>
<tr>
<td>
<img src='".THEME."images/head/head_33.gif' width='68' height='12' alt=''></td>
<td colspan='2'>
<img src='".THEME."images/head/head_34.gif' width='55' height='12' alt=''></td>
<td>
<img src='".THEME."images/head/head_35.gif' width='59' height='12' alt=''></td>
<td>
<img src='".THEME."images/head/head_36.gif' width='62' height='12' alt=''></td>
<td colspan='2'>
<img src='".THEME."images/head/head_37.gif' width='62' height='12' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='1' height='12' alt=''></td>
</tr>
<tr>
<td>
<img src='".THEME."images/head/spacer.gif' width='13' height='1' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='5' height='1' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='6' height='1' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='68' height='1' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='6' height='1' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='44' height='1' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='11' height='1' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='3' height='1' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='59' height='1' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='3' height='1' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='62' height='1' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='4' height='1' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='13' height='1' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='49' height='1' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='128' height='1' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='163' height='1' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='305' height='1' alt=''></td>
<td>
<img src='".THEME."images/head/spacer.gif' width='5' height='1' alt=''></td>
<td></td>
</tr>
</table>";
//////////////////////////////////HEADERIS END//////////////////////////////
echo "</td>\n</tr>\n</table>\n";
//Content
echo "<table align='center' cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' class='$main_style'>\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";
//Footer
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='footer' align='center'>
<tr align='center'>
<td align='left' height='105' valign='top'width='120'></td>
<td align='left' height='105' valign='top'width='300'>
".stripslashes($settings['footer'])."<br>
<b> </b> <a href=' ' target='_blank'> </a> <b> </b> <a href=' ' target='_blank'> </a>
<br>
</td>
<td height='105' valign='top' width='400' align='left' class='Backlink'>
<a href=' ' target='_blank'> </a> | <a href='#' target='_blank'>Backlink </a> | <a href='#' target='_blank'> </a>
<br><br>
</td>
</tr>
</table>";
echo "</td>\n</tr>\n</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table width='506' cellpadding='0' cellspacing='0' align='center'><tr>";
echo "<td width='506' class='cpan-title'>".$subject."</td>";
echo "</tr></table>";
echo "<table width='506' cellpadding='0' cellspacing='0' align='center'><tr>";
echo "<td class='cpan-body' width='506' cellpadding='0' cellspacing='0'>";
echo "".$news." <a href='news.php?readmore=".$info['news_id']."' style='font-size:9px; color:#ff7f00;'> *[Skaityti toliau]* </a>";
echo "</td>";
echo "</tr></table>";
echo "<table width='506' cellpadding='0' cellspacing='0' align='center'><tr>";
echo "<td class='cpan-close'><img src='".THEME."images/blank.gif' width='506' height='13' alt='' style='display:block'></td>";
echo "</tr></table><br>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='506' cellpadding='0' cellspacing='0' align='center'><tr>";
echo "<td width='506' class='cpan-title'> ".$subject." </td>";
echo "</tr></table>";
echo "<table width='506' cellpadding='0' cellspacing='0' align='center'><tr>";
echo "<td class='cpan-body' width='506' cellpadding='0' cellspacing='0'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>";
echo "</tr></table>";
echo "<table width='506' cellpadding='0' cellspacing='0' align='center'><tr>";
echo "<td class='cpan-close'><img src='".THEME."images/blank.gif' width='506' height='13' alt='' style='display:block'></td>";
echo "</tr></table><br>\n";
}
function opentable($title) {
echo "<table width='506' cellpadding='0' cellspacing='0' align='center'><tr>";
echo "<td width='506' class='cpan-title'>".$title."</td>";
echo "</tr></table>";
echo "<table width='506' cellpadding='0' cellspacing='0' align='center'><tr>";
echo "<td class='cpan-body' width='506' cellpadding='0' cellspacing='0'>";
}
function closetable() {
echo "</td>";
echo "</tr></table>";
echo "<table width='506' cellpadding='0' cellspacing='0' align='center'><tr>";
echo "<td class='cpan-close'><img src='".THEME."images/blank.gif' width='506' height='13' alt='' style='display:block'></td>";
echo "</tr></table><br>\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
//
echo "<table width='210' cellpadding='0' cellspacing='0'><tr>";
echo "<td width='100%' class='span-title'> ".$title." </td>";
echo "</tr></table>";
echo "<table width='210' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='span-body'>\n";
//
}
function closeside($collapse = false) {
global $panel_collapse;
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td class='span-close'><img src='".THEME."images/blank.gif' width='210' height='2' alt='' style='display:block'></td>";
echo "</tr></table><br>\n";
}
?>