• 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!

Changing access to the admin panel

AlexxNica

WebDev
Joined
Nov 13, 2008
Messages
12
Reaction score
0
Location
Curitiba, Paraná - Brazil
I'd like to know, how can i change the access to the admin panel (GESIOR ACC MAKER)

I already tried changing this line:
Code:
if($group_id_of_acc_logged >= $config['site']['access_admin_panel']) {
to this:
Code:
if($rlname_of_acc_logged == "RLNAME") {

but didn't work

I want it: if the real name of the account logged is RLNAME, the account can access admin panel, and the shop admin.


Other Question: How can i create a command line to show the account and password of the first ID in accounts table?
I tried:
Code:
<?PHP
{
  $account = $account_logged->getCustomField('name');
  $main_content .= '<br><br><b><font color="green">Account: </font></b>'.$account;
}
{
  $password = $account_logged->getCustomField('password');
  $main_content .= '<br><br><b><font color="green">Password: </font></b>'.$password;
}
?>
but didn't work

I want it: to show the account and password of the first account created.

Can someone help ??
 
Last edited:
Back
Top