Use this code:
JReviews 2
<?php if($this->Access->isAdmin()):?>
// Everything here will be available only to admins
<?php endif;?>
JReviews 3
<?php if($this->auth->admin):?>
// Everything here will be available only to admins
<?php endif;?>
Use this code:
JReviews 2
<?php if($this->Access->isAdmin()):?>
// Everything here will be available only to admins
<?php endif;?>
JReviews 3
<?php if($this->auth->admin):?>
// Everything here will be available only to admins
<?php endif;?>