\n"; echo "
\n"; } function CloseTable() { echo "
\n"; } function OpenTable2() { global $bgcolor1, $bgcolor2; echo "
\n"; echo "
\n"; } function CloseTable2() { echo "
\n"; } /************************************************************/ /* Function themeheader() */ /************************************************************/ function themeheader() { global $banners; echo "\n" ."\n" ."
\n" ."\n" ."\n" ."
"; if ($banners) { include("banners.php"); } echo "

"; $public_msg = public_message(); echo "
$public_msg
"; echo "\n" ."
"; blocks(left); echo ""; } /************************************************************/ /* Function themefooter() */ /************************************************************/ function themefooter() { global $index; if ($index == 1) { echo ""; blocks(right); } else { echo "
"; } echo "

\n" ."
"; footmsg(); echo "
"; } /************************************************************/ /* Function FormatStory() */ /************************************************************/ function FormatStory($thetext, $notes, $aid, $informant) { global $anonymous; if ($notes != "") { $notes = "

"._NOTE." $notes\n"; } else { $notes = ""; } if ("$aid" == "$informant") { echo "$thetext$notes\n"; } else { if($informant != "") { $boxstuff = "$informant "; } else { $boxstuff = "$anonymous "; } $boxstuff .= ""._WRITES." \"$thetext\"$notes\n"; echo "$boxstuff\n"; } } /************************************************************/ /* Function themeindex() */ /************************************************************/ function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) { global $anonymous, $tipath; echo "
\n" ."$title
\n" ."\"$topictext\""; FormatStory($thetext, $notes, $aid, $informant); echo"
$morelink
\n" .""._POSTEDBY." "; formatAidHeader($aid); echo " "._ON." $time $timezone ($counter "._READS.")
\n" ."

\n"; } /************************************************************/ /* Function themearticle() */ /************************************************************/ function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) { global $admin, $sid, $tipath; echo "\n" ."
\n" ."$title

\n" ."\"$topictext\""; FormatStory($thetext, $notes="", $aid, $informant); echo "

"._POSTEDBY." "; formatAidHeader($aid); echo "
\n" ."
"; } /************************************************************/ /* Function themesidebox() */ /************************************************************/ function themesidebox($title, $content) { echo "\n" ."\n" ."
\n" ."  $title
$content\n" ."

"; } ?>