/* Theme Settings */
$body_text = "#000000";
$body_bg = "#4B4B4B";
$theme_width = "797";
$theme_width_l = "170";
$theme_width_r = "170";
function render_header($header_content) {
global $theme_width,$settings;
echo "
";
echo "";
echo "";
echo "$header_content | ";
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 " •\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 ? " " : "")." | \n";
echo "".ucwords(showdate($settings['subheaderdate'], time()))."";
echo " ";
echo " | | ";
echo "";
echo "";
echo "";
echo "";
echo "";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "\n \n";
echo "";
echo "".stripslashes($settings['footer'])." | ";
echo "
| ";
echo "";
echo "";
echo "";
echo " ";
}
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";
}
// Open table begins
function opentable($title) {
echo "";
echo "";
echo " $title | ";
echo "";
echo "\n";
}
// Close table end
function closetable() {
echo " | \n";
}
function openside($title) {
echo "";
echo "";
echo " $title | ";
echo "";
}
function closeside() {
echo " | ";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "";
echo "";
echo " $title";
echo " | ";
echo "";
echo " \n";
}
function closesidex() {
echo " | ";
tablebreak();
}
// Table functions
function tablebreak() {
echo "\n";
}
?> |