Parašė Nepas· 2009 Lie. 23 11:07:21
#5
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#555555";
$body_bg = "#ffffff";
$theme_width = "969";
$theme_width_l = "213";
$theme_width_r = "213";
function render_header($header_content) {
global $theme_width;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' height='214'>
<tr>
<td colspan='9'>
<img border='0' src='".THEME."images/multiplayers_01.gif' width='969' height='214' alt=''></td>
<td>
<img border='0' src='".THEME."images/spacer.gif' width='1' height='214' alt=''></td>
</tr>
<tr>
<td>
<img border='0' src='".THEME."images/multiplayers_02.gif' width='74' height='61' alt=''></td>
<td colspan='2'>
<a href='".BASEDIR."index.php'><img border='0' src='".THEME."images/multiplayers_03.gif' width='133' height='61' alt=''></a></td>
<td>
<a href='".BASEDIR."forum/index.php'><img border='0' src='".THEME."images/multiplayers_04.gif' width='135' height='61' alt=''></a></td>
<td>
<a href='".BASEDIR."downloads.php'><img border='0' src='".THEME."images/multiplayers_05.gif' width='134' height='61' alt=''></a></td>
<td>
<a href='".BASEDIR."articles.php'><img border='0' src='".THEME."images/multiplayers_06.gif' width='132' height='61' alt=''></a></td>
<td>
<a href='".BASEDIR."photogallery.php'><img border='0' src='".THEME."images/multiplayers_07.gif' width='135' height='61' alt=''></a></td>
<td>
<a href='".BASEDIR."contact.php'><img border='0' src='".THEME."images/multiplayers_08.gif' width='136' height='61' alt=''></a></td>
<td>
<img border='0' src='".THEME."images/multiplayers_09.gif' width='90' height='61' alt=''></td>
<td>
<img border='0' src='".THEME."images/spacer.gif' width='1' height='61' alt=''></td>
</tr>
<tr>
<td colspan='2' rowspan='2'>
<img border='0' src='".THEME."images/multiplayers_10.gif' width='123' height='58' alt=''></td>
<td colspan='4' rowspan='2'>
<img border='0' src='".THEME."images/multiplayers_11.gif' width='485' height='58' alt=''></td>
<td colspan='2' rowspan='2'>
<img border='0' src='".THEME."images/multiplayers_12.gif' width='271' height='58' alt=''></td>
<td>
<img border='0' src='".THEME."images/multiplayers_13.gif' width='90' height='36' alt=''></td>
<td>
<img border='0' src='".THEME."images/spacer.gif' width='1' height='36' alt=''></td>
</tr>
<tr>
<td rowspan='2'>
<img border='0' src='".THEME."images/multiplayers_14.gif' width='90' height='52' alt=''></td>
<td>
<img border='0' src='".THEME."images/spacer.gif' width='1' height='22' alt=''></td>
</tr>
<tr>
<td colspan='8'>
<img border='0' src='".THEME."images/multiplayers_15.gif' width='879' height='30' alt=''></td>
<td>
<img border='0' src='".THEME."images/spacer.gif' width='1' height='30' alt=''></td>
</tr>
<tr>
<td>
<img border='0' src='".THEME."images/spacer.gif' width='74' height='1' alt=''></td>
<td>
<img border='0' src='".THEME."images/spacer.gif' width='49' height='1' alt=''></td>
<td>
<img border='0' src='".THEME."images/spacer.gif' width='84' height='1' alt=''></td>
<td>
<img border='0' src='".THEME."images/spacer.gif' width='135' height='1' alt=''></td>
<td>
<img border='0' src='".THEME."images/spacer.gif' width='134' height='1' alt=''></td>
<td>
<img border='0' src='".THEME."images/spacer.gif' width='132' height='1' alt=''></td>
<td>
<img border='0' src='".THEME."images/spacer.gif' width='135' height='1' alt=''></td>
<td>
<img border='0' src='".THEME."images/spacer.gif' width='136' height='1' alt=''></td>
<td>
<img border='0' src='".THEME."images/spacer.gif' width='90' height='1' alt=''></td>
<td></td>
</tr>
</table>\n";
echo "<table align='center' cellpadding='0' cellspacing='0' width='$theme_width'>\n<tr>
<br><br>
</table>\n";
echo "<table align='center' cellpadding='0' cellspacing='0' width='$theme_width'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table align='center' cellpadding='0' cellspacing='0' width='969'>
<tr>
<td align='center' class='footer'>".stripslashes($settings['footer'])."<br>\n";
echo showcounter()."<br>
Dizainas: Zabello
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<br><br>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info,"<br>").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info,"<br>").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td></tr><tr>
<td><img border='0' src='".THEME."images/scapmain_footer.jpg'></td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
šita pamegink
Redagavo Nepas· 2009 Lie. 23 11:07:31