Toggle navigation
Free!
AjaxNewsTicker
AjaxCountDown
Ajax Poll Script
php Infinite Scroll
Link Obfuscator
CSS Obfuscator
Scripts
Text Ad Script
Ajax Likes Script
pkShortURL
Fade-In Slideshow
Ajax Poll Admin
Ajax Poll DBV
HObfus
Support
Contact Us
Ask a pre-sales question
Submit a support ticket
Free estimate request form
AjaxNewsTicker
AjaxCountDown
php Infinite Scroll
Fade-In Slideshow
Text Ad Script
Link Obfuscator
CSS Obfuscator
HTML Obfuscator for PHP
Ajax Likes Script
pkShortURL
Ajax Poll Admin
Ajax Poll DBV
Ajax Poll Script
code to hide from non-admin
Posted by
Michele
2017-05-20
Thank you Tom, I solved with your info here as I did:
<? Php
If ($ this-> sys-> isAdmin ()) {
Echo 'Only admin can see this message!';
<? Php include (INC_SR_TOP_BAR);
}
>;
The 'Add / new' and 'delete' buttons are hidden if not admin.
→
Address Book Script
Re: code to hide from non-admin
Posted by
Tom
2017-05-21
Great!
→
Address Book Script
<? Php
If ($ this-> sys-> isAdmin ()) {
Echo 'Only admin can see this message!';
<? Php include (INC_SR_TOP_BAR);
}
>;
The 'Add / new' and 'delete' buttons are hidden if not admin.