<% 
if(typeof votereward != 'undefined'){ 
if(votereward != false){
%>
<ul class="top">
	<li>
	<div><span>#</span> <span class="nickname"><%= App.lc.translate('Name').fetch() %></span></div> 
	<div>
		<span><%= App.lc.translate('Total Votes').fetch() %></span> 
	</div>
	</li>
	<% for(var i=0; i<votereward.length; i++) { %>
	<li>
	<div><span><%= i+1 %>. <% if(config.voter.display_country == 1) { %><span class="f16"><span class="flag <%= votereward[i].country %>"></span></span><% } %></span> <span class="nickname"><a href="<%= base_url %>character/<%= bin2hex(votereward[i].name) %>/<%= server_selected %>"><%= votereward[i].name %></a></span></div> 
	<div>
		<span><%= votereward[i].totalvotes %></span> 
	</div>
	</li>
	<% } %>
</ul>
<% 
}
else{
%>
<div class="i_note"><%= App.lc.translate('No Players Found').fetch() %></div>
<%
}
} 
%>