06-19-2017, 02:45 PM
for logged in :
<pre></pre>
also check if admin
<pre>
Code:
$user->isLoggedIn()){
your content if logged in
}else{
your content not logged in
}
also check if admin
Code:
if(checkMenu(2,$user->data()->id)) { your content }