Quote:
<!-- Video Avatar Code -->
<if condition="in_array($post['usergroupid'], array(9,10)) AND $post[field12]">
<div class="smallfont">
<object width="150" height="123.5"><param name="movie" value="http://www.youtube.com/v/$post[field12]"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$post[field12]" type="application/x-shockwave-flash" wmode="transparent" width="150" height="123.5"></embed></object>
</div>
<else />
<!-- End Video Avatar Code -->
<if condition="$show['avatar']">
<!-- check for staff -->
<if condition="in_array($post[usergroupid], array(5,6,7))">
<!-- I am staff so do this -->
<td class="alt2">
<table cellpadding="4" cellspacing="0" border="0" width="190" height="120" align="center" background="images/$post[username]_avatar.gif" nowrap="nowrap" no-repeat>
<tr>
<td width="46%"> </td>
<td><img src="$post[avatarurl]" height="70" width="70" align="center"></td>
</tr>
</table>
</td>
<else />
<!-- I am not staff so do this -->
|
That is the start, I'll need a few more lines to see where to put the other </if> code