Hi Olaf
Class I adapted to my needs, but I am constantly surprised by his good performance!
Here I found another solution in the forum from two years ago:
How Different show content based on user level?
The solution you gave is:
$ Obj = new Access_user;
if ($ obj-> get_access_level ()> 5) (
echo "<div>'re above level 5 </ div>";
Else ()
echo "You're <div> Below level 5 </ div>";
)
This works perfect!
Congratulations again for the Class Olaf!