/*--------------------------------------------+ | PHP-Fusion 6 - Content Management System | |---------------------------------------------| | author: Daniel Rynduch (Divine JazOOn) 2005 | | web: http://power.portal.of.pl | | email: jazoon@pieka.pl | |---------------------------------------------| | Released under the terms and conditions of | | the GNU General Public License (Version 2) | +--------------------------------------------*/ /*--------------------------------------------+ | Life for Music Theme for PHP-Fusion v6 | | based on Neon_V1 by me :) | |---------------------------------------------| | author: Divine JazOOn | | web: http://power.portal.of.pl | | http://jazoon.themes.of.pl | | email: jazoon@pieka.pl | |---------------------------------------------| | Released under the terms and conditions of | | the GNU General Public License (Version 2) | +--------------------------------------------*/ if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; } require_once INCLUDES."theme_functions_include.php"; /************************/ /* Theme Settings */ /************************/ $body_text = "#000000"; $body_bg = "#505050"; $theme_width = "95%"; $theme_width_l = "185"; $theme_width_r = "185"; function render_header($header_content) { include LOCALE.LOCALESET."forum/main.php"; global $theme_width,$settings; echo ""; echo ""; // Start banner code echo ""; // End banner code echo "
"; echo ""; echo ""; echo "
$header_content
n"; echo ""; echo ""; echo ""; echo ""; echo "
n"; $result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order"); if (dbrows($result) != 0) { $i = 0; while($data = dbarray($result)) { if (checkgroup($data['link_visibility'])) { if ($data['link_url']!="---") { if ($i != 0) { echo " ·n"; } else { echo "n"; } $link_target = ($data['link_window'] == "1" ? " target='_blank'" : ""); if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) { echo "".$data['link_name'].""; } else { echo "".$data['link_name'].""; } } $i++; } } } echo ($i == 0 ? " " : "")."
"; echo "
"; echo ""; echo ""; echo "
"; echo ""; } function render_footer($license=false) { global $theme_width,$locale,$settings; echo "n
n"; echo ""; echo "
"; echo "
"; tablebreak(); echo ""; echo "
"; echo ""; echo "
".stripslashes($settings['footer']).""; echo "".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."n" : $locale['141']."n"); echo "
n"; tablebreak(); echo ""; echo ""; echo "
"; echo ""; echo ""; echo "
"; if ($license == false) { echo "Powered by PHP-Fusion v".$settings['version']." © 2003-2005"; } echo " - Life for Music Theme by: Divine JazOOn
n"; echo "
"; } function render_news($subject, $news, $info) { global $locale; echo ""; echo ""; echo ""; echo ""; echo "
"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
$subject
$news

"; echo "
"; echo ""; echo ""; echo "
"; echo "
n"; } function render_article($subject, $article, $info) { global $locale; echo ""; echo ""; echo ""; echo ""; echo "
"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
$subject
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."

"; echo "
"; echo ""; echo ""; echo "
n"; } // Open table begins function opentable($title) { echo ""; echo ""; echo ""; echo ""; echo "
"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
$title
"; } // Close table end function closetable() { echo "
n"; } function openside($title) { echo ""; echo ""; echo ""; echo ""; echo "
"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
$title
"; } function closeside() { echo "
n"; tablebreak(); } function opensidex($title,$open="on") { $boxname = str_replace(" ", "", $title); $box_img = $open == "on" ? "off" : "on"; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
$title
"; echo "
n"; } function closesidex() { echo "
"; echo "
n"; tablebreak(); } // Table functions function tablebreak() { echo "
n"; }