EDIT:
well..., sole check inside php always work, assuming thats unique php that belongs only for the page & not common for other pages
just needs to check which globar var state your admin status.
as well, this way you can even redirect him from php with no template with something like:
You must first be a
registered member to view any code.
or
You must first be a
registered member to view any code.
One thing though, is the $show['admincplink'] i mentioned is global for TEMPLATE, not sure u can use it inside php code as well...
i was thinking about something like:
1. add to the template that shows the correct page you want:
You must first be a
registered member to view any code.
2. now about next line, i'm not so sure, so it needs checking verify the synatx is indeed correct, as usually i use it with no var assign & for vars i did used assign, i was using it with with fetch_template() function.
anyway i was thinking about something like this (into php code that goes with that template):
You must first be a
registered member to view any code.