<?php session_start(); include_once 'ressources/class.sieve.inc'; if (isset($_GET["index"])) { sieve_index(); exit; } if (isset($_GET["sieve-enable-rule"])) { sieve_enable_rule(); exit; } if (isset($_GET["sieve-disable-rules"])) { sieve_disable_rules(); exit; } if (isset($_GET["sieve-rule"])) { sieve_rule(); exit; } if (isset($_GET["sieve-edit-rule"])) { sieve_rule_form(); exit; } if (isset($_GET["sieve-edit-filter"])) { sieve_edit_filter(); exit; } if (isset($_GET["sieve-edit-action"])) { sieve_edit_action(); exit;
<?php session_start(); include_once('ressources/class.sieve.inc'); if(isset($_GET["index"])){sieve_index();exit;} if(isset($_GET["sieve-enable-rule"])){sieve_enable_rule();exit;} if(isset($_GET["sieve-disable-rules"])){sieve_disable_rules();exit;} if(isset($_GET["sieve-rule"])){sieve_rule();exit;} if(isset($_GET["sieve-edit-rule"])){sieve_rule_form();exit;} if(isset($_GET["sieve-edit-filter"])){sieve_edit_filter();exit;} if(isset($_GET["sieve-edit-action"])){sieve_edit_action();exit;} if(isset($_GET["sieve-save-action"])){sieve_save_action();exit;} if(isset($_GET["sieve-delete-action"])){sieve_delete_action();exit;} if(isset($_GET["sieve-delete-condition"])){sieve_delete_condition();exit;} if(isset($_GET["change-condition-form"])){sieve_rule_conditions_form();exit;} if(isset($_GET["change-action-form"])){sieve_rule_actions_form();exit;} if(isset($_GET["change-resumes"])){echo sieve_rule_resumer($_GET["change-resumes"],$_GET["uid"]);exit;} if(isset($_GET["sieve-delete-master-rule"])){sieve_delete_master_rule();exit;} if(isset($_GET["sieve-add-master-rule"])){sieve_add_master_rule();exit;} if(isset($_GET["sieve-delete-rulename"])){sieve_delete_rule();exit;} if(isset($_GET["sieve-add-master-name"])){sieve_add_rulename();exit;} js(); function js(){ $tpl=new templates(); if(!isset($_GET["uid"])){$uid=$_SESSION["uid"];}else{ $users=new usersMenus();