1234567891011121314151617181920212223242526272829303132333435 |
- <?
- if (!isset($db_hostname))
- {
- include 'auth.php';
- include 'problems.php';
- }
- foreach (array_keys($_REQUEST) as $var)
- {
- ${$var}=$_REQUEST[$var];
- //echo "<b>$var:</b> ${$var} <br>";
- }
- switch (intval($pnum)) {
- case 23:
- AcceptProblem($type, $comment);
- break;
- case 24:
- CheckProblem();
- break;
- case 25:
- ResolveProblemStart($id);
- break;
- case 26:
- EndProblem($id);
- break;
- case 27:
- ProblemsQuit($type);
- break;
- case 28:
- LoginChief($login, $p);
- break;
- }
- ?>
|