<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
define("THEME_WIDTH", "1000");
define("THEME_BULLET", "<strong>·</strong>");
function render_page($license=false) {
global $aidlink, $locale, $settings, $main_style;
//Header Start
echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' class='outer-border center'>\n<tr>\n";
echo "<td>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<tr><td class='header' width='100%'>";
echo "<tr><td height='275' background='".THEME."images/banner.png' align='center' valign='middle'>
<table width='1000' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td> </td>
<td width='220' align='center'>";
echo "</tr>\n</table>\n";
echo "</td>\n</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<table cellspacing='0' cellpadding='0' border='0' style='padding-top: 3px;' width='auto' align='center'>\n<tr>\n
<td align='left'>\n";
include INFUSIONS."deluxe_dropdown_menu/menu.php";
echo "</td>\n</tr>\n
</table>\n";
// Menu Ends
echo "<table align='center' cellspacing='0' cellpadding='0' width='1000' >
<tr>
<td>\n";
// Content
echo "<br /><table cellpadding='0' cellspacing='0' width='1000' class='$main_style' align='center'>\n<tr>\n";
echo "<td class='side-border-left' valign='top' width='19%'>".LEFT."</td>";
echo "<td class='main-bg' align='center' valign='top' width='80%' style='margin:5px'>".U_CENTER.CONTENT.L_CENTER."</td>";
echo "<td class='side-border-right' valign='top' width='1%'>".RIGHT."</td>";
echo "</tr>\n</table>\n";
echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'></td>
<td align='center' class='sideb' width='100%'></td>
<td align='right'></td>
</tr></table>\n";
//Footer
echo "</td></tr></table>";
echo "<center><table cellpadding='0' cellspacing='0' width='1000'height='300' background='".THEME."images/footer_bg.png'>\n<tr>\n";
echo "<td align='center' class='main-footer' style='color:#fff;'>".stripslashes($settings['footer']);
<br \><br \>Deze site is mogelijk gemaakt door Magic Media | Tommy Hermans & Joost Antonis<br /><br />Design created by: <a href='http://www.themoviehouse.nl/' target='_blank'>Tommy Hermans</a><br /></a>";
echo showcounter()."<br /><br />\n"; if (!$license) { echo showcopyright()."<br /><br /></font>\n"; }
echo "</td>\n";
echo "</tr>\n</table>\n</center>";
echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'></td>
<td align='center' class='sideb' width='100%'></td>
<td align='right'></td>
</tr></table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='scapmain-left'></td>\n";
echo "<td class='scapmain'>".$subject."</td>\n";
echo "<td class='scapmain-right'></td>\n";
echo "</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
echo "<td class='main-body middle-border'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer middle-border'>\n";
echo newsposter($info," ·").newsopts($info,"·").itemoptions("N",$info['news_id']);
echo "</td>\n";
echo "</tr>\n</table>\n";
echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'><img src='".THEME."/images/sideb-left.png' class='spacer'></td>
<td align='center' class='sideb' width='100%'></td>
<td align='right'><img src='".THEME."/images/sideb-right.png' class='spacer'></td>
</tr></table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
echo "<td class='scapmain-left'></td>\n";
echo "<td class='scapmain'>".$subject."</td>\n";
echo "<td class='scapmain-right'></td>\n";
echo "</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
echo "<td class='main-body middle-border'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer'>\n";
echo articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id']);
echo "</td>\n</tr>\n</table>\n";
echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'><img src='".THEME."/images/sideb-left.png' class='spacer'></td>
<td align='center' class='sideb' width='100%'></td>
<td align='right'><img src='".THEME."/images/sideb-right.png' class='spacer'></td>
</tr></table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='scapmain-left'></td>\n";
echo "<td class='scapmain'>".$title."</td>\n";
echo "<td class='scapmain-right'></td>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='main-body'>\n";
}
function closetable() {
echo "</td>\n";
echo "</tr>\n</table>\n";
echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'><img src='".THEME."/images/sideb-left.png' class='spacer'></td>
<td align='center' class='sideb' width='100%'></td>
<td align='right'><img src='".THEME."/images/sideb-right.png' class='spacer'></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%'>\n<tr>\n";
echo "<td class='scapmain-left'></td>\n";
echo "<td class='scapmain'>$title</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='sscapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
}
echo "<td class='scapmain-right'></td>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<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>\n</tr>\n</table>\n";
echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'><img src='".THEME."/images/sideb-left.png' class='spacer'></td>
<td align='center' class='sideb' width='100%'></td>
<td align='right'><img src='".THEME."/images/sideb-right.png' class='spacer'></td>
</tr></table>\n";
}
?>