This code will show Admins the ban option (red) for non-banned members and the lift ban option (green) for banned members.
Code:
<if condition="$bbuserinfo[usergroupid]== <Admins>">
<if condition="$post[usergroupid] == <Banned Users>">
<tr>
<td class="vbmenu_option">
<span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/banning.php?do=liftban&userid=$post[userid]','liftban','width=575,height=375,scrollbars=yes')" style="color:green;">Lift Ban on $post[username]</span>
</td>
</tr>
<else />
<tr>
<td class="vbmenu_option">
<span onmouseover="this.style.cursor='hand';" onClick="window.open('modcp/banning.php?do=banuser&userid=$post[userid]','ban','width=575,height=375,scrollbars=yes')" style="color:red;">Ban $post[username]</span>
</td>
</tr>
</if>
</if>