AlexxNica
WebDev
I'd like to know, how can i change the access to the admin panel (GESIOR ACC MAKER)
I already tried changing this line:
to this:
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:
but didn't work
I want it: to show the account and password of the first account created.
Can someone help ??
I already tried changing this line:
Code:
if($group_id_of_acc_logged >= $config['site']['access_admin_panel']) {
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;
}
?>
I want it: to show the account and password of the first account created.
Can someone help ??
Last edited: