Main::launchWrongUserPwd(); echo '<script>document.location.href ="?uc=admin"</script>'; } } else { echo '<script>document.location.href ="?uc=admin"</script>'; } } } catch (\Exception $e) { Main::setFlashMessage($e->getMessage(), "error"); } break; case 'voirInscription': $listIns = MInscription::getInscriptionsJeunePublic(); $listPlan = MPlanning::getPlanningsJeunePublic(); $listSpec = MSpectacle::getSpectaclesSaisonCouranteJeunePublic(); $listSean = MSeance::getSeancesJeunePublic(); $listChoix = MChoix::getChoixs(); $listJauge = MPlanning::getJaugeRestanteJeunePublic(); $enfant = MInscription::getNbEnfantsInscription(); require_once ROOT . 'views/kiosqueadmin/JeunePublic/v_Inscription.php'; break; case 'voirInscriptionCL': $listIns = MInscription::getInscriptionsCollegeLycee(); $listPlan = MPlanning::getPlanningsCollegeLycee(); $listSpec = MSpectacle::getSpectaclesSaisonCouranteCollegeLycee(); $listSean = MSeance::getSeancesCollegeLycee(); $listChoix = MChoix::getChoixs(); $listJauge = MPlanning::getJaugeRestanteCollegeLycee(); require_once ROOT . 'views/kiosqueadmin/CollegeLycee/v_Inscription.php'; break; case 'voirSpectacle':