 | ');
if($lastOnServer === $id)
echo('You were on this server last time: ');
echo('SERVER: '.strtoupper($domain).' '.$desc.' | ');
if(!$pExist)
{
echo('no existing profile | ');
}
else
{
$newUser = !getUserExistInExt($database, $player_id);
if(!$newUser){
$loginDate = getUserLoginDate($database, $player_id);
$questPoints = getUserQuestPoints($database, $player_id);
$totalLogins = getUserTotalLogins($database, $player_id);
$subbed = getUserSubbed($database, $player_id);
}
else
{
$loginDate = time();
$questPoints = 0;
$totalLogins = 0;
$subbed = false;
}
echo('');
if($subbed)
echo('ACTIVE SUBSCRIPTION');
else
echo('Not Subscribed');
$lastOn = 0.00;
$current_time = time();
$difference = $current_time - $loginDate;
$lastOn = $difference/86400;
echo(' Quest Points: '.$questPoints.' pts ');
echo('Times Online: '.$totalLogins.' ');
echo('Last On: '.number_format((float)$lastOn, 2, '.', '').' days ago ');
echo(' | ');
}
echo(''.$num_on.' players online now | '.$join.' |