Here is a list of links. People with different roles will see different links:

example code: <ul>
<li><?=anchor('', 'home')?></li>
<?php if (isAdmin()) { ?>
<li><?=anchor('admin', 'admin page')?></li>
<?php } ?>
<?php if (isValidUser()) { ?>
<li><?=anchor($this->config->item('FAL_changePassword_uri'), 'change password')?></li>
<?php } else { ?>
<li><?=anchor($this->config->item('FAL_register_uri'), 'please register')?></li>
<?php } ?>
</ul>


back to the list