Exercice page done with submission and confirmation

This commit is contained in:
Li Chen 2013-11-05 02:53:48 +01:00
parent 42c31a9315
commit 0f18ed8dcf
7 changed files with 60 additions and 5 deletions

View file

@ -50,7 +50,7 @@ else if ($n && $p[0] == SALT_USER)
{
$connected = true;
if ($n <= 1)
$page = require("team/home.php");
$page = require("team/home.php");
else
{
$TEAM = $p[1];
@ -70,6 +70,10 @@ else if ($n && $p[0] == SALT_USER)
case "summary/":
$page = require("team/summary.php");
break;
case "confirmation":
$page = require("team/confirmation.php");
break;
}
// SALT/$team/$theme
@ -82,6 +86,11 @@ else if ($n && $p[0] == SALT_USER)
$EXERCICE = $p[3];
$page = require("team/exercice.php");
}
else if ($n == 5)
{
if ($p[4] == "submission")
$page = require("team/submission.php");
}
}
}
}