Xtremer360 Posted December 5, 2008 Share Posted December 5, 2008 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. Now if you were to click on bio it would open us its function and put this in the right side. Link to comment https://forums.phpfreaks.com/topic/135611-need-direction-in-script/ Share on other sites More sharing options...
balistic Posted December 5, 2008 Share Posted December 5, 2008 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. Link to comment https://forums.phpfreaks.com/topic/135611-need-direction-in-script/#findComment-706536 Share on other sites More sharing options...
Xtremer360 Posted December 5, 2008 Author Share Posted December 5, 2008 Well I'm wondering if I can get someone to do one of my small functions that way I can see how they made mine specifically for my layout to fit in the other side and then I'll use that to do the others. Link to comment https://forums.phpfreaks.com/topic/135611-need-direction-in-script/#findComment-706539 Share on other sites More sharing options...
balistic Posted December 5, 2008 Share Posted December 5, 2008 we dont know the type of functions are reffering to, as for positioning its more to do with your layout... Link to comment https://forums.phpfreaks.com/topic/135611-need-direction-in-script/#findComment-706544 Share on other sites More sharing options...
Xtremer360 Posted December 5, 2008 Author Share Posted December 5, 2008 What do you mean? Link to comment https://forums.phpfreaks.com/topic/135611-need-direction-in-script/#findComment-706786 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.