Beispiel #1
0
$IDToBeUpgradedFromMini = panelRequestManager::getIDToBeUpgradedFromMini();
$IDForAddonSuite = panelRequestManager::getIDForAddonSuite();
$priceForSuiteUpgradedFromMini = panelRequestManager::getPriceForSuiteUpgradedFromMini();
$priceForAddonSuite = panelRequestManager::getPriceForAddonSuite();
$addonSuiteLimitExceededIllegally = json_encode(Reg::get('addonSuiteLimitExceededIllegally'));
$mainJson = json_encode(panelRequestManager::getSitesUpdates());
$toolTipData = json_encode(panelRequestManager::getUserHelp());
$favourites = json_encode(panelRequestManager::getFavourites());
$sitesData = json_encode(panelRequestManager::getSites());
$sitesListData = json_encode(panelRequestManager::getSitesList());
$groupData = json_encode(panelRequestManager::getGroupsSites());
$updateAvailable = json_encode(checkUpdate(false, false));
$updateAvailableNotify = json_encode(panelRequestManager::isUpdateHideNotify());
$totalSettings = json_encode(array("data" => panelRequestManager::requiredData(array("getSettingsAll" => 1))));
$fixedNotifications = json_encode(getNotifications(true));
$cronFrequency = json_encode(getRealSystemCronRunningFrequency());
$clientUpdatesAvailable = json_encode(panelRequestManager::getClientUpdateAvailableSiteIDs());
$purchasedAddons = json_encode(Reg::get('purchasedAddons'));
$allAddonsBought = json_encode(Reg::get('addonDetails'));
//$allAddonsBought = json_encode(Reg::get('activeAddons'));
//$allAddonsBought = json_encode(Reg::get('allPurchasedAddonsNameAndSlug'));
$multiUserAllowAccess = json_encode(panelRequestManager::requiredData(array("multiUserAllowAccess" => 1)));
//for notification center html
$notifCenterData = json_encode(panelRequestManager::requiredData(array("updateNotificationContent" => 1)));
$min = '.min';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="//www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex">
Beispiel #2
0
function getSystemCronRunningFrequency()
{
    $freq = getRealSystemCronRunningFrequency();
    if ($freq > 0 && $freq <= 6) {
        //5 min system cron
        return 5;
    } elseif ($freq > 6) {
        return 20;
    }
    return 0;
}