<%if {userid}>0%>
<%if {config.allowsearchfriendbyusername}==1%> <%if {action}==""%><%/if%> <%/if%>
<%/if%>