mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Refactor some line
This commit is contained in:
parent
1ada2317fd
commit
98b1d854f9
@ -64,12 +64,12 @@ $errors = array();
|
||||
/**
|
||||
* @var OTS_Account $account_logged
|
||||
*/
|
||||
$recovery_key = $account_logged->getCustomField('key');
|
||||
if(!$account_logged->isPremium())
|
||||
$account_status = '<b><span style="color: red">Free Account</span></b>';
|
||||
else
|
||||
$account_status = '<b><span style="color: green">Premium Account, ' . ($freePremium ? 'Unlimited' : $account_logged->getPremDays() . ' days left') . '</span></b>';
|
||||
|
||||
$recovery_key = $account_logged->getCustomField('key');
|
||||
if(empty($recovery_key))
|
||||
$account_registered = '<b><span style="color: red">No</span></b>';
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user