if($bbuserinfo['usergroupid'] == 6) { $removeavalink = "<a href=\"member.php?action=removeava&userid=$post[userid]\">remove Avatar</a>"; } else { $removeavalink = ""; }
if($post['field7'] != 0 AND $bbuserinfo['usergroupid'] == 6) { $removeavalink = "<a href=\"member.php?action=removeava&userid=$post[userid]\">remove Avatar</a>"; } else { $removeavalink = ""; }