• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Help with VIP Status

cassiokk

New Member
Joined
Dec 28, 2010
Messages
32
Reaction score
0
Hi, i am with problems in Account Management.

xxxxxx.png

OMG, i was just buying 10 days vip :O
HELP
 
search this line in accountmanager.php

$account_vip = $account_logged->getPlayerVip_time() ? '<b><font color="green"> Vip Account, '

then post this line with 3 lines down here!
 
i dont have this line

i have this:

$account_vip = $account_logged->getPlayerVipDays() ? '<b><font color="green"> '.$account_logged->getPlayervipdays().' Days left </font></b>' : '<b><font color="red">Not Vip Account</font></b>';
$account_email_new_time = $account_logged->getCustomField("email_new_time");
if($account_email_new_time > 1)
$account_email_new = $account_logged->getCustomField("email_new");
 
Code:
/* VIP STATUS */
			if($config['site']['show_vip_status'])
			{
           		 $id = $player->getCustomField("id");
         		   $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD WIDTH=10%>Vip Status:</TD>';
					$vip = $SQL->query('SELECT vipdays FROM accounts WHERE id='.$account->getId())->fetch();
         		   if(!$vip['vipdays']) {
        		    $main_content .= '<TD><font color="red"><B>NOT VIP</B></font></TD></TR>';
        		    }
        		    else
       			     {
       		          $main_content .= '<TD><font color="green"><B>VIP</B></font></TD></TR>';
          		  }
				if(is_int($rn / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $rn++;
				 }
 
Back
Top