$adminlogo=""; if($bbuserinfo[usergroupid]==##) { $adminlogo="<img src=\"put image here\">"; } else { $adminlogo=""; }