Jump to content

Need Direction in Script


Xtremer360

Recommended Posts

I'd like to know the best way to go about doing this. I have two types of users for this script. Admins and non admins. Difficult yes I know. Anyway once a user logs in it checks my DB with the username the user logged in with to check what type of user they are and regardless of the type still sends them to the control panel however the difference is what options are available to them to see and use inside the control panel. I also want to know how what is the best way to make these functions so that it just brings up the right thing on the right side of the window.

 

Untitled.jpg

 

Now if you were to click on bio it would open us its function and put this in the right side.

 

bio.jpg

Link to comment
https://forums.phpfreaks.com/topic/135611-need-direction-in-script/
Share on other sites

are you meaning like

if($userlevel=='admin')
{
load admin cp functions/list
}else{
load normal cp functions/list
}

 

that would be the easiest way except adjust it for your values of course. sounds too simple but from what i read, thats how i understood the question.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.