if (preg_match("/(post|edit|dele|move)/",$fo_exec)) { list($fo_show,$fo_list)=write_to_db($fo_exec,$fo_on,$fo_title,$fo_text,$fo_show,$fo_list); } $fo_pids=find_pid_path($fo_list); $fo_depth=0; echo "
Most recent postings
"; show_latest_headlines(3); echo "All discussions"; if ($_SESSION['userlevel']==3&&$fo_show>0&&!tree_is_parent(0,$fo_show,'id','pid','messages',$conn)) echo " [adopt $fo_show]"; echo "
\n"; show_headlines(0); if ($fo_list==0) { if ($fo_act=="post"&&$fo_on==0) show_form("post",0); else echo "\n"; } ?>