// theme settings $body_text = "#a1a1a1"; $body_bg = "#000000"; $theme_width = "840"; $theme_width_l = "180"; $theme_width_r = "180"; function render_header($header_content) { global $theme_width,$settings,$locale; echo ""; echo "
\n"; echo "\n
\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 ? " " : "")."".ucwords(showdate("%A, %B %d, %Y", time()))."
\n"; echo "\n\n"; } function render_footer($license=false) { global $theme_width,$settings,$locale; echo "\n
\n"; echo "
".stripslashes($settings['footer'])."
\n

".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."

\n" : $locale['141']."
\n"); if ($license == false) {echo "Engine: PHP-Fusion v".$settings['version']." © 2006
\n";} echo "KV Gothic Theme by Xardas

"; echo "
\n"; } function render_news($subject, $news, $info) { global $locale; echo "
[color=green][b][/b][/color]
$subject
".$locale['040']."".$info['user_name']." ".$locale['041'].showdate("longdate", $info['news_date'])."
$news
\n"; } function render_article($subject, $article, $info) { global $locale; echo "
[color=green][b][/b][/color]
$subject
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
\n"; } function opentable($title) { echo "
[color=green][b][/b][/color]
$title
\n"; } function closetable() { echo "
\n"; } function openside($title) { echo " [color=green][b][/b][/color]
$title
\n"; } function closeside() { echo "
\n"; } function opensidex($title,$open="on") { if($open=="on"){$box_img="off";}else{$box_img="on";} echo " [color=green][b][/b][/color]
$title
\n"; } function closesidex() { echo "
\n"; } function tablebreak() { echo "
\n"; } ?>