Gripemaster
02-01-2006, 12:59 PM
It's not earth-shattering, but in my postbit, I have a div> next to my member's number of posts. (See attachment)
Here is my code in the postbit template:
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
</td>
<td width="100%"> </td>
<td valign="top" nowrap="nowrap">
<div class="smallfont">
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post[field7] != ''"><div>
State/Country Flag: <img src="images/state/$post[field7].gif" title="$post[field7]" align="center">
</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
$vbphrase[posts]: $post[posts]
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower] </if><div>$post[reputationdisplay]</div></if>
div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
Can someone please tell me what I did wrong and how I can get rid of that "div>"???
Thanks in advance! :)
Here is my code in the postbit template:
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
</td>
<td width="100%"> </td>
<td valign="top" nowrap="nowrap">
<div class="smallfont">
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post[field7] != ''"><div>
State/Country Flag: <img src="images/state/$post[field7].gif" title="$post[field7]" align="center">
</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
$vbphrase[posts]: $post[posts]
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower] </if><div>$post[reputationdisplay]</div></if>
div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
Can someone please tell me what I did wrong and how I can get rid of that "div>"???
Thanks in advance! :)