Пример #1
0
     showInstallDBForm();
     break;
 case "upgradedb":
     showUpgradeDBForm();
     break;
 case "cleardb":
     showClearDBForm();
     break;
 case "backupdb":
     showBackupDBForm();
     break;
 case "restoredb":
     showRestoreDBForm();
     break;
 case "serverinfo":
     showServerInfo();
     break;
 case "mapinfo":
     showMapInfo();
     break;
 case "validateranks":
     showValidateRanksForm();
     break;
 case "checkawards":
     showCheckAwardsForm();
     break;
 case "importlogs":
     showImportLogsForm();
     break;
 default:
     showLoginForm();
Пример #2
0
function license_management_page()
{
    echo '<div class="wrap">';
    echo '<h2>License Manager</h2>';
    $site_url = network_site_url('/');
    $lic = new LicenseManager($site_url, YOUR_VERIFICATION_SECRET_KEY, CREATION_SECRET_KEY);
    handleButtonClicks($lic);
    echo activateForm();
    echo deactivateForm();
    echo checkForm();
    echo createForm();
    echo '<p>' . getSavedData() . '</p><hr/>';
    showServerInfo();
    echo '</div>';
}