/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2006 |
| web: http://www.php-fusion.co.uk |
| email: nick@php-fusion.co.uk |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| BlackF Theme for PHP-Fusion v6 |
|---------------------------------------------|
| author: Fusion-MC - Flux © 2005-2006 |
| web: http://www.fusion-mc.pl |
| email: support@fusion-mc.pl |
+--------------------------------------------*/
$body_text = "#FFFFFF";
$body_bg = "grey";
$theme_width = "100%";
$theme_width_l = "170";
$theme_width_r = "170";
function render_header($header_content) {
global $theme_width,$settings;
echo "
";
echo "";
echo "";
echo "";
echo "";
echo " | ";
echo " ";
echo "";
echo "";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
echo "\n";
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " "; } 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 ? " " : "")." | \n";
echo "";
echo "";
echo "";
echo "";
echo " | | ";
echo "";
echo "";
echo "";
echo "";
echo "";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "\n \n";
echo "";
echo " ";
echo "";
echo "";
echo " |
| | \n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "";
echo " $subject | ";
echo " ";
echo "\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "";
echo " $subject | ";
echo " ";
echo "";
echo "";
echo "".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo " | ";
echo " | \n";
}
function opentable($title) {
echo "";
echo " $title | ";
echo " ";
echo "";
echo "\n";
}
function closetable() {
echo " | \n";
}
function openside($title) {
echo "";
echo "";
echo " $title ";
echo " | ";
echo "";
}
function closeside() {
echo " |
";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "";
echo "";
echo " $title";
echo " | ";
echo "";
echo " \n";
}
function closesidex() {
echo " | ";
tablebreak();
}
function tablebreak() {
echo "\n";
}
?> |