<!-- START - TEST FOR AVATAR HACK --> <if condition="$show['avatar']"> <!-- ADMIN --> <if condition="$post[usergroupid]==6"> <!-- I am an admin so do this --> <td class="alt2"> <table cellpadding="5" cellspacing="0" border="0" width="150" height="70" align="center"> <tr> <td background="$stylevar[imgdir_misc]/badge6.png" nowrap="nowrap" no-repeat><img src="$post[avatarurl]" height="56" width="56" align="right"></td> </tr> </table> </td> <!-- ADMIN --> <else /> <!-- MODERATOR --> <if condition="$post[usergroupid]==7 "> <td class="alt2"> <table cellpadding="5" cellspacing="0" border="0" width="150" height="70" align="center"> <tr> <td background="$stylevar[imgdir_misc]/badge7.png" nowrap="nowrap" no-repeat><img src="$post[avatarurl]" height="56" width="56" align="right"></td> </tr> </table> </td> <!-- MODERATOR --> <else /> <!-- SUPER MODERATOR --> <if condition="$post[usergroupid]==5 "> <td class="alt2"> <table cellpadding="5" cellspacing="0" border="0" width="150" height="70" align="center"> <tr> <td background="$stylevar[imgdir_misc]/badge5.png" nowrap="nowrap" no-repeat><img src="$post[avatarurl]" height="56" width="56" align="right"></td> </tr> </table> </td> <!-- SUPER MODERATOR --> <else /> <!-- CODER --> <if condition="$post[usergroupid]==10 "> <td class="alt2"> <table cellpadding="5" cellspacing="0" border="0" width="150" height="70" align="center"> <tr> <td background="$stylevar[imgdir_misc]/badge10.png" nowrap="nowrap" no-repeat><img src="$post[avatarurl]" height="56" width="56" align="right"></td> </tr> </table> </td> <!-- CODER --> <else /> <!-- TRANSLATOR --> <if condition="$post[usergroupid]==9 "> <td class="alt2"> <table cellpadding="5" cellspacing="0" border="0" width="150" height="70" align="center"> <tr> <td background="$stylevar[imgdir_misc]/badge9.png" nowrap="nowrap" no-repeat><img src="$post[avatarurl]" height="56" width="56" align="right"></td> </tr> </table> </td> <!-- TRANSLATOR --> <else /> <!-- NO GROUP --> <td class="alt2"> <a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a> </td> <!-- NO GROUP --> </if> </if> </if> </if> </if> </if> <!-- END - TEST FOR AVATAR HACK -->