\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 { if($informant != "") { $boxstuff = "$informant "; } else { $boxstuff = "$anonymous "; } $boxstuff .= ""._WRITES." \"$thetext\" $notes\n"; echo "$boxstuff\n"; } } function themeheader() { global $slogan, $sitename, $banners; echo ""; echo "
\n"; if ($banners) { } echo "
\n"; $public_msg = public_message(); echo "$public_msg
"; echo "
\n"; echo "\n" ."\n" ."\n" .""; } echo "
\n"; blocks(left); echo " \n\n\n"; } function themefooter() { global $index; if ($index == 1) { echo " \n"; blocks(right); echo "
"; footmsg(); } function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) { global $anonymous, $tipath; $ThemeSel = get_theme(); if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) { $t_image = "themes/$ThemeSel/images/topics/$topicimage"; } else { $t_image = "$tipath$topicimage"; } echo "
\n"; echo "
\n"; echo "\"$topictext\"\n"; echo "$title
\n"; echo ""._POSTEDBY." "; formatAidHeader($aid); echo " "._ON." $time $timezone ($counter "._READS.")

\n"; if ("$aid" == "$informant") { echo "$thetext

\n"; } else { if ($informant != "") { $boxstuff = "$informant "; } else { $boxstuff = "$anonymous "; } $boxstuff .= ""._WRITES." \"$thetext\" $notes\n"; echo "$boxstuff

\n"; } echo "$morelink
\n"; echo "
\n"; echo "
\n"; echo "
\n\n\n"; } function themearticle($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) { global $admin, $sid, $tipath; $ThemeSel = get_theme(); if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) { $t_image = "themes/$ThemeSel/images/topics/$topicimage"; } else { $t_image = "$tipath$topicimage"; } echo "
\n"; echo "
\n"; echo "\"$topictext\"\n"; echo "$title\n"; if ($admin) { echo "   [ "._EDIT." | "._DELETE." ]
\n"; } else { echo "
\n"; } echo ""._POSTEDBY.""; formatAidHeader($aid); echo " "._ON." $datetime
\n"; if ($informant != "") { echo ""._CONTRIBUTEDBY." $informant

\n"; } else { echo ""._CONTRIBUTEDBY." $anonymous

\n"; } echo "$thetext

\n"; echo "
\n"; echo "
\n\n"; } function themesidebox($title, $content) { mt_srand((double)microtime()*1000000); $rcolor = mt_rand(1, 2); if ($rcolor == 1) { $tcolor = "#D2E8F8"; } elseif ($rcolor == 2) { $tcolor = "#D2E8F8"; } echo "\n"; echo "\n"; echo "
\n"; echo "
\n"; //echo "\"\"
\n"; echo "\"\"
$title\"\"
\n"; echo "\n"; echo "
\n"; echo "
\n"; echo "$content\n"; echo "
\n"; echo "\"\"
\n"; echo "
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "\n"; } ?>