<% 
if(typeof guilds != 'undefined'){ 
if(guilds != false){
%>
<ul class="top-block guild">
	<li class="top-title">
		<span class="top-number">#</span> <span class="top-name"><%= App.lc.translate('Name').fetch() %></span> <span class="score"><%= App.lc.translate('Score').fetch() %></span>
	</li>
	<% for(var i=0; i<guilds.length; i++) { %>
	<li class="top-list">
		<span class="top-number"><%= i+1 %>. <img src="<%= base_url %>rankings/get_mark/<%= guilds[i].mark %>/16" style="border: 0;" /></span> <span class="top-name"><a href="<%= base_url %>guild/<%= bin2hex(guilds[i].name) %>/<%= server_selected %>"><%= guilds[i].name %></a></span> <span class="score"><span><%= guilds[i].score %></span>
	</li>
	<% } %>
</ul>
<% 
}
else{
%>
<div class="i_note"><%= App.lc.translate('No Guilds Found').fetch() %></div>
<%
}
} 
%>