} if (isset($_GET["OpenVPNServerSessions"])) { openvpn_sesssions(); exit; } if (isset($_GET["openvpn-client-sesssions"])) { openvpn_client_sesssions(); exit; } if (isset($_GET["read-log"])) { read_log(); exit; } //roundcube if (isset($_GET["roundcube-restart"])) { RoundCube_restart(); exit; } if (isset($_GET["roundcube-install-sieverules"])) { RoundCube_sieverules(); exit; } if (isset($_GET["roundcube-install-calendar"])) { RoundCube_calendar(); exit; } if (isset($_GET["roundcube-sync"])) { RoundCube_sync(); exit; } //assp
if(isset($_GET["roundcubestatus"])){echo main_status();exit;} if(isset($_GET["roundcube-pluginv3-list"])){echo pluginv3_table();exit;} if(isset($_GET["enable-plugin"])){pluginv3_enable();exit;} if(isset($_GET["form1"])){form1_js();exit;} if(isset($_GET["form2"])){form2_js();exit;} if(isset($_GET["plugins"])){formplugins_js();exit;} if(isset($_GET["logslogs"])){echo main_rlogs_parse();exit;} if(isset($_GET["plugins-sieve"])){plugins_sieve_js();exit;} if(isset($_GET["plugin-sieve-popup"])){plugins_sieve_popup();exit;} if(isset($_GET["RoundCubeEnableSieve"])){plugins_sieve_save();exit;} if(isset($_GET["plugins-calendar"])){plugins_calendar_js();exit;} if(isset($_GET["plugin-calendar-popup"])){plugins_calendar_popup();exit;} if(isset($_GET["RoundCubeEnableCalendar"])){plugins_calendar_save();exit;} if(isset($_GET["roundcube-rebuild"])){RoundCube_restart();exit;} function ajax_pop(){ echo main_tabs(); } function form1_js(){ $page=CurrentPageName(); $tpl=new templates(); $title=$tpl->_ENGINE_parse_body('{webserver_parameters}'); echo "YahooWin2(600,'$page?form=form1','$title');"; } function form2_js(){ $page=CurrentPageName();