DatabaseMaintenance::Optimize($_POST["p_table"]); } else { if ($_POST[POST_INTERN_SERVER_ACTION] == INTERN_ACTION_SEND_RESOURCES) { require LIVEZILLA_PATH . "_lib/functions.internal.process.inc.php"; processUpdateReport(); processResources(); } else { if ($_POST[POST_INTERN_SERVER_ACTION] == INTERN_ACTION_REPORTS) { require LIVEZILLA_PATH . "_lib/functions.internal.process.inc.php"; require LIVEZILLA_PATH . "_lib/functions.internal.build.inc.php"; processUpdateReport(); buildReports(); } else { if ($_POST[POST_INTERN_SERVER_ACTION] == INTERN_ACTION_DATABASE_TEST) { require_once LIVEZILLA_PATH . "_lib/functions.internal.man.inc.php"; ServerManager::DatabaseTest(); } else { if ($_POST[POST_INTERN_SERVER_ACTION] == INTERN_ACTION_SEND_TEST_MAIL) { require_once LIVEZILLA_PATH . "_lib/functions.internal.man.inc.php"; ServerManager::SendTestMail(); } else { if ($_POST[POST_INTERN_SERVER_ACTION] == INTERN_ACTION_CREATE_TABLES) { require_once LIVEZILLA_PATH . "_lib/functions.internal.man.inc.php"; if (ServerManager::CreateTables()) { ServerManager::UpdateUserManagement($_POST[POST_INTERN_DATABASE_PREFIX], true); } } else { if ($_POST[POST_INTERN_SERVER_ACTION] == INTERN_ACTION_SET_MANAGEMENT) { require_once LIVEZILLA_PATH . "_lib/functions.internal.man.inc.php"; ServerManager::UpdateUserManagement(DB_PREFIX); } else {