示例#1
0
    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"])) {
示例#2
0
if($_GET["main"]=="samba-stables"){samba_stables_available();exit;}

if(isset($_GET["software-list-by-family"])){software_available_family();exit;}

if(isset($_GET["software-list"])){software_list_by_family();exit;}

if(isset($_GET["main-start"])){echo popup_main();exit;}

if(isset($_GET["mysqlstatus"])){echo mysql_status();exit;}
if(isset($_GET["main"])){echo mysql_main_switch();exit;}
if(isset($_GET["mysqlenable"])){echo mysql_enable();exit;}
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(){