print_cinemas()); }}; break; case 'mf': if(isset($_POST['edit_film']) || (isset($_GET['option']) && ($_GET['option'] == 'e'))) { $reply=AdminPanel::editFilm(); } else if(isset($_POST['delete_film']) || (isset($_GET['option']) && ($_GET['option'] == 'd'))) { $reply=AdminPanel::deleteFilm(); } else if(!isset($_GET['option']) || ($_GET['option'] == 'a')) { $reply=AdminPanel::addFilm(); $reply.= $template->print_fimls(); }; break; case 'mp': if(isset($_POST['edit_promotion']) || (isset($_GET['option']) && ($_GET['option'] == 'e'))) { $reply=AdminPanel::editPromotion(); } else if(isset($_POST['delete_promotion']) || (isset($_GET['option']) && ($_GET['option'] == 'd'))) { $reply=AdminPanel::deletePromotion(); } else if(!isset($_GET['option']) || ($_GET['option'] == 'a')) { $reply=AdminPanel::addPromotion(); $reply.=AdminPanel::print_promotions(); }; break; case 'mg': if(isset($_POST['edit_manager']) || (isset($_GET['option']) && ($_GET['option'] == 'e'))) { $reply=AdminPanel::editManager(); } else if(isset($_POST['delete_manager']) || (isset($_GET['option']) && ($_GET['option'] == 'd'))) { $reply=AdminPanel::deleteManager(); } else if(isset($_POST['add_manager']) || (isset($_GET['option']) && ($_GET['option'] == 'a'))) { $reply=AdminPanel::addManager(); } else { $reply=AdminPanel::print_managers(); $reply.=AdminPanel::showAddBotton(); }; break; case 'un': $reply=AdminPanel::see_like_user(); break; case 'ur': $reply=AdminPanel::see_like_registed_user(); break; case 'ag': $reply=AdminPanel::see_like_manager(); break; default: $reply=AdminPanel:: panel(); break; } } else{ $reply ='
'."\n"; } $section = '