Code <?php
if (!defined("IN_FUSION")) { die("Access Denied") }
define("THEME_BULLET", "<img class='bullet' src='".THEME."img/bullet.gif' alt='->' />")
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $locale, $main_style, $settings, $userdata;
echo " <div id='full-page'>
<table cellpadding='0' cellspacing='0' border='0' width='100%'><tr><td>
<table cellpadding='0' cellspacing='0' width='100%' id='userbar'><tr><td>
<object type='application/x-shockwave-flash' data='".THEME."images/digital_clock.swf' width='250' height='40'>
<param name='movie' value='".THEME."images/digital_clock.swf' /><param name='wmode' value='transparent' />
</object></td><td>\n";
if (iMEMBER){
echo "<div class='floatR'>".$locale['global_035']." ".$userdata['user_name']."</div>\n";
}else{
echo "<div class='floatR'><ul><li><a href='".BASEDIR."login.php'>".$locale['global_104']."</a></li>
".($settings['enable_registration']? "<li> | <a href='".BASEDIR."register.php'>".$locale['global_107']."</a></li>\n" : "")
echo"</ul></div>\n";
}
echo "</td></tr></table>\n";
if ($settings['sitebanner1']) {echo"<table cellpadding='0' cellspacing='0' border='0' id='banner' width='100%'><tr><td>
<div>".stripslashes($settings['sitebanner1'])."</div></td></tr></table>\n";}
echo "<table cellpadding='0' cellspacing='0' border='0' width='100%' id='p-bkg'><tr><td>
<table cellpadding='0' cellspacing='0' border='0' width='100%' id='logostrip'><tr>
<td><div id='logo'><a href='".$settings['siteurl']."'><img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' style='border: 0;' /></a></div></td>
</tr></table>
<table cellpadding='0' cellspacing='0' border='0' width='100%' id='navibkg'><tr><td><center><div id='navi'>".showsublinks(" ")."</div></center></td></tr></table>
<table cellpadding='0' cellspacing='0' width='100%' class='main-page $main_style'><tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo"<td class='main-body' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>\n";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo"</tr></table>
<table cellpadding='0' cellspacing='0' border='0' width='100%' id='footer'><tr>
<td>".stripslashes($settings['footer'])
if (!$license) { echo "<br /><br />\n".showcopyright() }
echo" <br /> Theme by <a href='http://mangee.net'>Mangee</a>
</td></tr></table>
<table cellpadding='0' cellspacing='0' border='0' width='100%' class='spacer'><tr><td><div>".stripslashes($settings['sitebanner2'])."</div></td></tr></table>
<table cellpadding='0' cellspacing='0' border='0' width='100%' id='subfooter'><tr>
<td><div>".sprintf($locale['global_172'], substr((get_microtime() - START_TIME),0,4))."</div>
<div class=''>".showcounter()."</div>
</td></tr></table>
</td></tr></table></td></tr></table></div>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='blocks-left'></td>
<td class='blocks'>".$subject."</td>
<td class='blocks-right'></td>
</tr></table>
<table width='100%' cellpadding='0' cellspacing='0'><tr>
<td class='side-body'>".$news."</td>
</tr><tr>
<td class='news-footer middle-border center'>\n";
echo newsposter($info," ·").newsopts($info,"·").itemoptions("N",$info['news_id'])
echo "</td></tr></table>
<table cellpadding='0' cellspacing='0' width='100%' class='blocks-b spacer'><tr>
<td><div class='blocksb'></div></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='blocks-left'></td>
<td class='blocks'>".$subject."</td>
<td class='blocks-right'></td>
</tr></table>
<table width='100%' cellpadding='0' cellspacing='0'><tr>
<td class='side-body'>".($info['article_breaks']== "y" ? nl2br($article) : $article)."</td>
</tr><tr>
<td class='news-footer center'>\n";
echo articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id'])
echo "</td></tr></table>
<table cellpadding='0' cellspacing='0' width='100%' class='blocks-b spacer'><tr>
<td><div class='blocksb'></div></td></tr></table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='blocks-left'></td>
<td class='blocks'>".$title."</td>
<td class='blocks-right'></td>
</tr></table>
<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='side-body'>\n";
}
function closetable() {
echo "</td></tr></table>
<table cellpadding='0' cellspacing='0' width='100%' class='blocks-b spacer'><tr>
<td><div class='blocksb'></div></td></tr></table>\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='blocks-left'></td>
<td class='blocks'>$title</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title)
echo "<td class='blocks-right'>".panelbutton($state, $boxname)."</td>\n";
}
echo "<td class='blocks-right'></td>
</tr></table>
<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname) }
}
function closeside() {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td></tr></table>
<table cellpadding='0' cellspacing='0' width='100%' class='blocks-b spacer'><tr>
<td><div class='blocksb'></div></td>
</tr></table>\n";
}
?>
Bearbeitet von Septron am 07. Juli 2015 02:37
|