<if condition="$show['threadicons']"> <td class="alt1"><if condition="$show['threadicon']"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /><else /> </if></td> </if>