if (!isset($db_hostname))
{
include 'auth.php';
include 'problems.php';
}
foreach (array_keys($_REQUEST) as $var)
{
${$var}=$_REQUEST[$var];
//echo "$var: ${$var}
";
}
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;
}
?>