exit; } if (isset($_GET["softwares-available"])) { software_available(); exit; } if (isset($_GET["remove-app-js"])) { remove_app_js(); exit; } if (isset($_POST["remove-app-perform"])) { remove_app_perform(); exit; } if (isset($_GET["RefreshMysqlSetup"])) { RefreshMysqlSetup(); exit; } if (posix_getuid() != 0) { main_page(); } function events_js() { $page = CurrentPageName(); $tpl = new templates(); $title = $tpl->_ENGINE_parse_body("{events}::{{$_GET["CODE_NAME"]}}"); echo "YahooWin5(770,'{$page}?events-list=yes&CODE_NAME={$_GET["CODE_NAME"]}','{$title}');"; } function remove_app_js() { $page = CurrentPageName();
if($_GET["script"]=="mysql_enabled"){echo js_mysql_enabled();exit;} if($_GET["script"]=="mysql_save_account"){echo js_mysql_save_account();exit;} if(isset($_GET["install_app"])){install_app();exit;} if(isset($_GET["InstallLogs"])){GetLogsStatus();exit;} if(isset($_GET["TestConnection-js"])){TestConnection_js();exit;} if(isset($_GET["testConnection"])){testConnection();exit;} if(isset($_GET["remove"])){remove();exit;} if(isset($_GET["uninstall_app"])){remove_perform();exit;} if(isset($_GET["remove-refresh"])){remove_refresh();exit;} if(isset($_GET["ui-samba"])){install_remove_services();exit;} if(isset($_GET["clear"])){clear();exit;} if(isset($_GET["SynSysPackages"])){SynSysPackages();exit;} if(isset($_GET["softwares-available"])){software_available();exit;} if(isset($_GET["remove-app-js"])){remove_app_js();exit;} if(isset($_POST["remove-app-perform"])){remove_app_perform();exit;} if(isset($_GET["RefreshMysqlSetup"])){RefreshMysqlSetup();exit;} if(posix_getuid()<>0){main_page();} function events_js(){ $page=CurrentPageName(); $tpl=new templates(); $title=$tpl->_ENGINE_parse_body("{events}::{{$_GET["CODE_NAME"]}}"); echo "YahooWin5(770,'$page?events-list=yes&CODE_NAME={$_GET["CODE_NAME"]}','$title');"; } function remove_app_js(){ $page=CurrentPageName(); $tpl=new templates(); $t=time();