\n"; echo "
\n"; } function OpenTable2() { global $bgcolor1, $bgcolor2; echo "
\n"; echo "
\n"; } function CloseTable() { echo "
\n"; } function CloseTable2() { echo "
\n"; } function FormatStory($thetext, $notes, $aid, $informant) { global $anonymous; if ($notes != "") { $notes = ""._NOTE."$notes\n"; } else { $notes = ""; } if ("$aid" == "$informant") { echo "$thetext
$notes\n"; } else { $boxstuff .= "$thetext

$notes\n"; echo "$boxstuff\n"; } } function themeheader() { global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $sepcolor, $sitename, $slogan, $thename, $banners; echo "

"; if ($banners) { include("banners.php"); } echo " "; echo formatTimestamp(GetUserTime(strftime("%Y-%m-%d %H:%M:%S", time()))); echo "
\"\"
"; include("themes/$thename/top_links.php"); echo "
\"\"
"._SEARCH."   
\"\"
"; if ($index == 1) { echo "
"; blocks(left); echo " "; } if ($index == 0) { echo " "; } } function themefooter() { global $index, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $thename, $sepcolor; if ($index == 1) { echo " "; blocks(right); echo "
"; } if ($index == 0) { echo "
"; } echo "
\"\"
"; include("themes/$thename/bottom_links.php"); echo "
\"\"
"; footmsg(); echo "
\"\"
"; } function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) { global $tipath, $anonymous, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $thename, $sepcolor; if ($informant == "") { $informant = $anonymous; } echo "
\"\"
$title
"._POSTEDBY.": $informant "._ON." $time $timezone
\"\"
\"$topictext\" "; FormatStory($thetext, $notes, $aid, $informant); echo "
\"\"
("._READS.": $counter times) $morelink
\"\"
"; } function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) { global $admin, $sid, $tipath, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $thename, $sepcolor; echo "
\"\"
$title
"._POSTEDBY.": $informant
\"\"
"; if ($admin) { echo "

   [ "._EDIT." | "._DELETE." ]


"; } echo ""; FormatStory($thetext, $notes, $aid, $informant); echo "
"; } function themesidebox($block) { global $bgcolor1, $thename; echo "
\"\"
\"\"
$block[content]
"; } ?>