<span style="color:red">$loggedin[buddymark]</span>
<if condition="$loggedin[buddymark]"><span style="color:red">$loggedin[buddymark]</span></if>