dr_brown
Chevereto Member
I need to set conditions to show a div block for unregistered users. And for the registered do not show anything. But I have not found the construction of
CHV \ Login :: is not LoggedUser ()
What function describes unregistered users?
How to do without else ??
CHV \ Login :: is not LoggedUser ()
What function describes unregistered users?
PHP:
<?php
if (CHV\Login::isLoggedUser()) {
?>
<div class="margin-10">do not show anything</div>
<?php
}else{
?>
<div class="margin-10">show what you need</div>
<?php
}
?>
How to do without else ??