if ($bbuserinfo[userid]!=0) { $avatarurl=getavatarurl($bbuserinfo[userid]); if ($avatarurl=='') { $avatarurl='images/avatars/noavatar.gif'; } $avatarimage='<a href="member.php?s='.$session[sessionhash].'&action=editavatar"><img src="'.$avatarurl.'" border="0">'; } else { $avatarimage='<a href="register.php?s='.$session[sessionhash].'&action=signup"><img src="images/avatars/guestavatar.gif" border="0"></a>'; }
$permissions=getpermissions(); if (!$permissions['canview']) { show_nopermission(); }
Show Your Support