Quote:
Originally Posted by Joe
If you use it like this if ($CURUSER ) {
test here
}
It will hide everything
or
if ($CUR USER['class'] >= UC_POWER_USER) {
$htmlout .=" shit here ";
}
This will make so you need to be a power user or above to see anything..
I hope it helps yeah But maybe Bigjoos can tell it better
|
You can also do this
PHP Code:
if ($CUR USER['class'] >= UC_POWER_USER) {
$htmlout .=" shit here ";
}
else{
?>
<h1>Everyone will see...</h1>
<?
}
?>