if ($bbuserinfo[usergroupid!=0) { $button=" "; } else { $button="<a href=\"application.url\"><img src=\"button.url\"></a>; }