Charlie98902
01-11-2010, 09:47 PM
I am using this code but seem to can't get it to close right. Any help would be great.
<vb:if condition="$show['reputation']">
<div>
<vb:if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span><br /></vb:if>
<span id="repdisplay_$post[postid]_$post[userid]">$vbphrase[reputation]: <vb:if condition="$post[showreputation]"><font color=<vb:if condition="$post[reputation]>0">"green"<else /><vb:if condition="$post[reputation]<0">"red"<else />"gray"</vb:if></vb:if> title="$post[username] $post[level]"><b>$post[reputation]</b></font><else />hidden</vb:if
</div>
</vb:if>
The original code didn't have the vb:if but just the if and that won't work obviously.
<vb:if condition="$show['reputation']">
<div>
<vb:if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span><br /></vb:if>
<span id="repdisplay_$post[postid]_$post[userid]">$vbphrase[reputation]: <vb:if condition="$post[showreputation]"><font color=<vb:if condition="$post[reputation]>0">"green"<else /><vb:if condition="$post[reputation]<0">"red"<else />"gray"</vb:if></vb:if> title="$post[username] $post[level]"><b>$post[reputation]</b></font><else />hidden</vb:if
</div>
</vb:if>
The original code didn't have the vb:if but just the if and that won't work obviously.