thank you. i have been doing it like below as a temporary fix which does not let a lower class view a higher classes details or somebody of the same class details because my staff was demoting higher and getting themselves automatically demoted for some reason but when i want to change my settings or another owners then i have to use phpadmin and that is the only drawback that i see. is there anything to change in admin-modtasks.php?
this here is what i use and is here only as an example. it is better if you use nightmare's code
if ($CURUSER["class"] <= $user["class"]){
show_error_msg("Error","You do not have right to edit this account.",1);
}
begin_frame("Staff Only Information");