clarocque Posted March 7, 2004 Share Posted March 7, 2004 (edited) I need to hack a code that shows and image or button if the user logged into the admin panel is a top admin (id 1) I need something like this: if (the admin logged in is from admin_group_id ='1') { echos' bla...bla..bla... But I have no ides where or what the admin variables would be. I have Admin With Access Levels 2.1 Author: Zaenal Muttaqin Updated for MS2 by Seth Lake installed. Thanks for any help - anone ? Edited March 7, 2004 by clarocque Quote osC Contributions I have published. Note: Some I only provided minor changes, updates or additions! Link to comment Share on other sites More sharing options...
clarocque Posted March 7, 2004 Author Share Posted March 7, 2004 Direguard - I was able to get it: if ($login_id == '1') for that admin ID .... Quote osC Contributions I have published. Note: Some I only provided minor changes, updates or additions! Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.