. //////////////////////////////////////////////////////////////////////////////// // Last modified 05/aug/2012 by cassio@ime.usp.br require('header.php'); if (isset($_POST["message"]) && isset($_POST["problem"]) && isset($_POST["Submit"]) && is_numeric($_POST["problem"])) { if ($_POST["confirmation"] == "confirm") { $param['contest']=$_SESSION["usertable"]["contestnumber"]; $param['site']=$_SESSION["usertable"]["usersitenumber"]; $param['user']= $_SESSION["usertable"]["usernumber"]; $param['problem'] = htmlspecialchars($_POST["problem"]); $param['question'] = htmlspecialchars($_POST["message"]); DBNewClar($param); } ForceLoad("clar.php"); } $_SESSION["popuptime"] = time(); ?>
\n"; // echo " \n"; echo " \n"; echo " \n"; // echo " \n"; if ($clar[$i]["question"] == "") $clar[$i]["question"] = " "; echo " \n"; if (trim($clar[$i]["answer"]) == "") $clar[$i]["answer"] = "Not answered yet"; echo " \n"; echo " \n"; } echo "
Time Problem Question Answer
" . $clar[$i]["number"] . "" . dateconvminutes($clar[$i]["timestamp"]) . "" . $clar[$i]["problem"] . "" . $clar[$i]["status"] . ""; // echo "
" . $clar[$i]["question"] . "
"; echo " \n"; echo "
"; // echo "
" . $clar[$i]["answer"] . "
"; echo " \n"; echo "
"; if (count($clar) == 0) echo "
NO CLARIFICATIONS AVAILABLE
"; ?>

To submit a clarification, just fill in the following fields
Problem:
Clarification: