// theme settings $body_text = "#ffffff"; $body_bg = "#000000"; $theme_width = "880"; $theme_width_l = "175"; $theme_width_r = "180"; function render_header($header_content) { global $theme_width,$settings,$locale; 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 $settings,$locale; echo "\n
\n"; echo "
".stripslashes($settings['footer'])."
\n"; } function render_news($subject, $news, $info) { global $locale; echo "
$subject
".$locale['040']."".$info['user_name']." ".$locale['041'].showdate("longdate", $info['news_date'])."
$news
\n"; } function render_article($subject, $article, $info) { global $locale; echo "
$subject
".$locale['040']."".$info['user_name']." ".$locale['041'].showdate("longdate", $info['article_date'])."
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
\n"; } function opentable($title) { echo "
$title
\n"; } function closetable() { echo "
\n"; } function openside($title) { echo "
$title
\n"; } function closeside() { echo "
\n"; } function opensidex($title,$open="on") { if($open=="on"){$box_img="off";}else{$box_img="on";} echo "
$title
\n"; } function closesidex() { echo "
\n"; } function tablebreak() { echo "
\n"; } ?>