·"); //bullet image
$enable_colour_switcher = true; //true=enable colour switcher | false=disable colour switcher
$enable_fontsize_switcher = true; //true=enable fontsize switcher | false=disable fontsize switcher
$enable_column_switcher = true; //true=enable column switcher | false=disable column switcher
//Theme Settings /
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
require_once THEMES."templates/switcher.php";
$colour_switcher = new Switcher("select", "colour", "gif", "blue", "switcherbutton");
if(!$enable_colour_switcher){
$colour_switcher->disable();
}
$column_switcher = new Switcher("select", "columns", "gif", "both", "switcherbutton");
if(!$enable_column_switcher){
$column_switcher->disable();
}
$fontsize_switcher = new Switcher("increment", "fontsize", "gif", 1, "switcherbutton", "", true, array("step" => 0.1, "max" => 1.5));
if(!$enable_fontsize_switcher){
$fontsize_switcher->disable();
}
redirect_img_dir(THEME."forum", THEME."forum/".$colour_switcher->selected);
set_image("pollbar", THEME."images/panelcap_bg.jpg");
function get_head_tags(){
global $colour_switcher, $fontsize_switcher, $column_switcher;
echo $colour_switcher->makeHeadTag();
echo $column_switcher->makeHeadTag();
echo "";
echo "";
}
function render_page($license=false) {
global $aidlink, $locale, $settings, $colour_switcher, $fontsize_switcher, $column_switcher, $main_style;
echo "
";
}
function render_news($subject, $news, $info) {
global $locale;
opentable($subject);
echo "
".$news."
\n";
closetable();
}
function render_article($subject, $article, $info) {
global $locale;
opentable($subject);
echo "
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
\n";
closetable();
}
function opentable($title) {
echo "\n
$title
\n";
}
function closetable() {
echo "
\n";
}
$panel_collapse = true;
function openside($title, $collapse = false, $state = "on") {
static $box_id = 0; $box_id++;
global $panel_collapse, $p_data; $panel_collapse = $collapse;
if($p_data['panel_filename'] == "css_navigation_panel"){
$panel_collapse = false;
echo "
";
}else{
echo "
".($collapse ? panelbutton($state,$box_id) : "")."$title
\n\t".($collapse ? panelstate($state, $box_id) : "");
}
}
function closeside() {
global $panel_collapse, $p_data;
echo ($panel_collapse ? "\t
" : "")."\n
\n";
if($p_data['panel_filename'] == "css_navigation_panel"){
echo "
";
}
}
?>