if($post[username]==$bbuserinfo[username]) { $reportedit="report.gif"; } else { $reportedit="edit.gif"; }