0){
Errors::display();
}
if ($GLOBALS['msg_counter'] > 0){
Messages::display();
}
if (isset($GLOBALS['extraScriptParams']['report-bug'])){
displayBugReportForm($GLOBALS['extraScriptParams']['report-bug']);
}
$GLOBALS['beginHTML'] = true;
if (!isset($_SESSION['valid-user'])){
if ($this->page == 'register-user'){
$this->_registerUser();
}else {
displayLogin();
}
}else {
?>
page) || checkResponsible()){
//Determine what page to display
switch ($this->page) {
case "welcome":
$this->_displayWelcome();
break;
case "home":
$this->_displayHome();
break;
case "reset-password":
$this->_resetPassword();
break;
case "display-article":
$this->_displayArticle();
break;
case "display-articles":
$this->_displayArticles();
break;
case "register-article":
$this->_registerArticle();
break;
case "edit-article":
$this->_editArticle();
break;
case "display-jobs":
$this->_displayJobs("NOW()");
break;
case "display-jobs-archive":
$this->_displayJobs("0000-00-00");
break;
case "display-job":
$this->_displayJob();
break;
case "register-job":
$this->_registerJob();
break;
case "edit-job":
$this->_editJob();
break;
case "display-barshifts":
$this->_displayBarShifts("NOW()");
break;
case "display-barshifts-calendar":
$this->_displayBarShiftsCalendar();
break;
case "display-barshift":
$this->_displayBarShift();
break;
case "register-barshift":
$this->_registerBarShift();
break;
case "edit-barshift":
$this->_editBarShift();
break;
case "display-divisions":
$this->_displayDivisions();
break;
case "display-division":
$this->_displayDivision();
break;
case "register-division":
$this->_registerDivision();
break;
case "edit-division":
$this->_editDivision();
break;
case "display-positions":
$this->_displayPositions("NOW()");
break;
case "display-positions-archive":
$this->_displayPositions("0000-00-00");
break;
case "display-position":
$this->_displayPosition();
break;
case "register-position":
$this->_registerPosition();
break;
case "edit-position":
$this->_editPosition();
break;
case "display-events":
$this->_displayEvents("NOW()");
break;
case "display-events-archive":
$this->_displayEvents("0000-00-00");
break;
case "display-events-calendar":
$this->_displayEventsCalendar();
break;
case "display-event":
$this->_displayEvent();
break;
case "register-event":
$this->_registerEvent();
break;
case "edit-event":
$this->_editEvent();
break;
case "display-concerts":
$this->_displayConcerts("NOW()");
break;
case "display-concerts-calendar":
$this->_displayConcertsCalendar();
break;
case "display-concert":
$this->_displayConcert();
break;
case "register-concert":
$this->_registerConcert();
break;
case "edit-concert":
$this->_editConcert();
break;
case "edit-concertreport":
$this->_editConcertReport();
break;
case "display-all-calendar":
$this->_displayAllCalendar();
break;
case "week-program":
$this->_displayWeekProgram();
break;
case "program-selection":
$this->_displayProgramSelection();
break;
case "edit-program-selection":
$this->_editProgramSelection();
break;
case "display-documents":
$this->_displayDocuments();
break;
case "upload-document":
$this->_uploadDocument();
break;
case "edit-document":
$this->_editDocument();
break;
case "display-groups":
$this->_displayGroups();
break;
case "register-group":
$this->_registerGroup();
break;
case "display-group":
case "edit-group":
$this->_editGroup();
break;
case "display-actions":
$this->_displayActions();
break;
case "register-action":
$this->_registerAction();
break;
case "display-action":
case "edit-action":
$this->_editAction();
break;
case "display-actiongrouprelationships":
$this->_displayActionGroupRelationships();
break;
case "register-actiongrouprelationship":
$this->_registerActionGroupRelationship();
break;
case "display-division-requests":
$this->_displayDivisionRequests();
break;
case "display-usergrouprelationships":
$this->_displayUserGroupRelationships();
break;
case "register-usergrouprelationship":
$this->_registerUserGroupRelationship();
break;
case "display-users":
$this->_displayUsers();
break;
case "display-user-expiries":
$this->_displayUserExpiries();
break;
case "display-users-study-place":
$this->_displayUsersStudyPlace();
break;
case "register-user-ea-update":
$this->_registerUserEAUpdate();
break;
case "register-membership-bankpayment":
$this->_registerUserMembershipBankpayment();
break;
case "register-user":
$this->_registerUser();
break;
case "display-current-user":
$this->_editUser(getCurrentUser());
break;
case "display-user":
case "edit-user":
$this->_editUser();
break;
case "change-username":
$this->_changeUsername();
break;
case "register-membership":
$this->_registerMembership();
break;
case "renew-membership":
$this->_renewMembership();
break;
case "register-membership-payex-confirm":
$this->_registerMembershipPayexConfirm();
break;
case "payex-form":
$this->_payexForm();
break;
case "register-documentcategory":
$this->_registerDocumentCategory();
break;
case "edit-documentcategory":
$this->_editDocumentCategory();
break;
case "register-eventcategory":
$this->_registerEventCategory();
break;
case "edit-eventcategory":
$this->_editEventCategory();
break;
case "register-jobcategory":
$this->_registerJobCategory();
break;
case "edit-jobcategory":
$this->_editJobCategory();
break;
case "display-product":
$this->_displayProduct();
break;
case "display-products":
case "register-product":
$this->_registerProduct();
break;
case "edit-product":
$this->_editProduct();
break;
case "display-bugreport":
$this->_displayBugReport();
break;
case "display-bugreports":
$this->_displayBugReports();
break;
case "display-webshop":
$this->_displayWebshop();
break;
case "display-sales":
$this->_displaySales();
break;
case "display-sales-item":
$this->_displaySalesItem();
break;
case "display-cart":
$this->_displayCart();
break;
case "display-carts":
$this->_displayCarts();
break;
case "cart-checkout":
$this->_cartCheckout();
break;
case "transaction-confirmation":
$this->_transactionConfirmation();
break;
case "display-sms-log":
$this->_displaySmsLog();
break;
case 'membership-sale':
$this->_membershipSale();
break;
case 'membercard-production':
$this->_membercardProduction();
break;
default:
$this->_displayHome();
}
} else {
$this->_displayAccessDenied();
}
}
?>