What are the admin rights necessary for? Editing something, or viewing the page? If you're not allowed to even view the page without admin rights, I'd use header() to redirect the page someplace else immediately. . . not die(). Authorization checks should go way up in the script.
Same with the "referrer" type issue. If they aren't coming from where you want, redirect them, or show an error message and call exit()/die(). You don't need to show them anything at that point other than, "don't do this please."
You want to show us some code? Maybe we could quit grasping at straws, then...