exit; } if (isset($_GET["script"])) { popup_script(); exit; } if (isset($_GET["popup"])) { popup(); exit; } if (isset($_GET["remote_imap_server"])) { add_account(); exit; } if (isset($_GET["imapsynclist"])) { imapsynclist(); exit; } if (isset($_GET["imapSyncDelete"])) { imapSyncDelete(); exit; } if (isset($_GET["AddForm"])) { add_popup(); exit; } if (isset($_GET["events"])) { events(); exit; } if (isset($_GET["schedule"])) {
include_once('ressources/class.user.inc'); include_once('ressources/class.cron.inc'); if((isset($_GET["uid"])) && (!isset($_GET["userid"]))){$_GET["userid"]=$_GET["uid"];} if(!permissions()){ $tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["script"])){popup_script();exit;} if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["remote_imap_server"])){add_account();exit;} if(isset($_GET["imapsynclist"])){imapsynclist();exit;} if(isset($_GET["imapSyncDelete"])){imapSyncDelete();exit;} if(isset($_GET["AddForm"])){add_popup();exit;} if(isset($_GET["events"])){events();exit;} if(isset($_GET["schedule"])){schedule();exit;} if(isset($_GET["imapsync_save_schedule"])){schedule_save();exit;} if(isset($_GET["imapRun"])){imapRun();exit;} if(isset($_GET["imapStop"])){imapStop();exit;} if(isset($_GET["toolbox"])){toolbox();exit;} if(isset($_GET["imapsync-folders"])){folders_sync_form();exit;} if(isset($_GET["folder-to-sync"])){folders_sync_add();exit;} if(isset($_GET["folder-to-sync-del"])){folders_sync_del();exit;} if(isset($_GET["imapsync-adv"])){adv_options_form();exit;} if(isset($_GET["syncinternaldate"])){adv_options_save();exit;} js();