Exemplo n.º 1
0
/**
 * Outputs the form for editing event participants, by setting their participant status
 */
function edit_participants()
{
    View::linkToBack('manage_events');
    if (isset($_GET['eventID']) && is_numeric($_GET['eventID'])) {
        $eventID = mysql_real_escape_string($_GET['eventID']);
        $event = EventDatabaseManager::getEvent($eventID);
        $participants = EventDatabaseManager::getParticipantsList($eventID);
        View::outputParticipantsList($participants, $event);
    }
}