//************************************************************************************************************************//
// Theme Name: zoneSilver Theme for PHP-Fusion 6.00
// Theme Design: by: PHP-Fusion Themes (http://phpfusion.org)
// version 2.0
//
// PHP-Fusion Themes and/or Lorkan is a Registered Organization and holds a copyright with CIPO
// Original Author of file: PHP-Fusion Themes [Shedrock]
// Developed by: PHP-Fusion Themes - Bringing Your Portal To Life
// Copyright © 2005 by PHP-Fusion Themes - All Rights Reserved
// ----------------------------------------------------------------------
// THEME MODIFICATION
// Users may alter or modify this theme at their own risk,
// but only for their own use. They may also hire PHP-Fusion Themes to modify their own copy of the theme.
// Although users may modify the code for their use,
// modified code may not be resold or distributed,
// without express written permission from PHP-Fusion Themes.
//
// DISPLAY OF COPYRIGHT NOTICES REQUIRED
// All copyright notices used within the scripts that the scripts generate,
// MUST remain intact. Furthermore, these notices must remain visible.
//
// SUPPORT
// PHP-Fusion Themes provides free support on all their theme designs.
// (includes consulting, troubleshooting and fixing problems).
// For Support, please visit us at: http://www.phpfusion.org/forum/viewforum.php?forum_id=2
//
// PHP-Fusion Themes is not liable for any products or services offered by means of the theme.
// The user must assume the entire risk of using the program.
//************************************************************************************************************************//
/************************/
/* Theme Settings */
/************************/
$body_text = "#7D3B00";
$body_bg = "#FBF9F7";
$theme_width = "900";
$theme_width_l = "185";
$theme_width_r = "185";
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) {
$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 "".ucwords(showdate($settings['subheaderdate'], time()))." | ";
echo " |
";
echo "";
echo " | ";
echo " | ";
echo " |
";
echo "";
echo " | ";
echo "";
echo " | ";
echo "\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "\n \n";
echo " | ";
echo " |
";
echo "";
echo " | ";
echo "";
echo " |
";
}
function render_news($subject, $news, $info) {
global $locale;
echo "";
echo "";
echo " | ";
echo " | ";
echo " | ";
echo "";
echo " | ";
echo " | ";
echo " ";
echo " | ";
echo "";
echo " | ";
echo " | ";
echo " |
|
";
}
function render_article($subject, $article, $info) {
global $locale;
echo "";
echo "";
echo " | ";
echo " | ";
echo " | ";
echo "";
echo " | ";
echo "";
echo "".($info['article_breaks'] == "y" ? nl2br($article) : $article)." | ";
echo "|
| ";
echo " ";
echo " | ";
echo "";
echo " | ";
echo " | ";
echo " |
|
";
}
// Open table begins
function opentable($title) {
echo "";
}
function openside($title) {
echo "";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "";
tablebreak();
}
// Table functions
function tablebreak() {
echo "\n";
}
?>