license['updateExpires_date'];
$timeleft = $service->license['updateExpires'] - time();
if ($timeleft < 172800) // 2 days
{
$exptag = ($timeleft < 0) ? 'Expired' : 'Expiring soon';
$updexpdate .= '' . $exptag . '';
}
$features = '';
$feature = $service->license['feature'] & 11; // 1011
if ($feature == 1) {
$features = ' (LSCache Standard)';
}
elseif ($feature == 9) {
$features = ' (LiteMage Starter)';
}
elseif ($feature == 11) {
$features = ' (LiteMage Standard)';
}
elseif ($feature == 3) {
$features = ' (LiteMage Unlimited)';
}
echo $service->license['type'] . $features . ' | '
. $service->license['serial'] . ' | '
. $service->license['expires_date'] . ' | '
. $updexpdate . ' | '
. 'Validate License';
?>
|