Exemple #1
0
    top($xml->getSubject("group"));
    echo '<p>' . $xml->getInfo("group") . '</p><br />';
    $count = 0;
    foreach ($group->errors() as $error) {
        echo " - " . $error . '<br />' . "\n";
        $count++;
    }
    if ($count > 0) {
        echo '<hr />';
    }
    $keys = $group->keys();
    if (isset($_GET["category_id"])) {
        $keys["category"] = $_GET["category_id"];
        $group->form($keys);
        echo '<hr />' . "\n";
        $group->printGroups($_GET["category_id"]);
    } else {
        echo "what is this madness?!?";
    }
} elseif (time() <= $xml->startTime()) {
    top();
    echo $xml->earlyMessage();
} else {
    top();
    echo $xml->lateMessage();
}
bottom();
function nextFile($id)
{
    header('Location: person.php?group_id=' . $id, true, 303);
}