<tr> <if condition="$post['field17']"> <td><div><B>Professions:</B> <if condition="$post['field17'] == 'Cook'"> <img src="http://fainte.com/forums/images/lotro/guardian.png" /> </if> </div></td> </if> </tr>