Exemplo n.º 1
0
//    along with this program.  If not, see http://www.gnu.org/licenses/
/*** start the session ***/
session_start();
include 'includes/authorize.php';
include 'controller.php';
include 'model.php';
$zone = $_GET['zone'];
$action = $_GET['action'];
switch ($zone) {
    case 'menu':
        switch ($action) {
            case 'activations':
                MenuController::activations();
                break;
            case 'events':
                MenuController::events();
                break;
            case 'logout':
                MenuController::logout();
                break;
            case 'about':
                MenuController::about();
                break;
            default:
                break;
        }
        break;
    case 'activations':
        switch ($action) {
            case 'delete':
                $id = $_GET['id'];