{include file="$gentemplates/$header_tpl"}
	<h2>{$lang.section.club_users} {$lang.club.in_category} {$club_name}</h2>
	{*if $form.err}
		<p>*&nbsp;{$form.err}</p>
	{/if*}
	{if $links_top}
	<div style="display:table;width:100%;">
		{strip}
		<div style="float:right;padding: 0 0 15px;">
			<div class="b-page-n">
				{foreach item=item from=$links_top name=links}			
					{if $smarty.foreach.links.first}
						{$lang.general.showing}&nbsp;{$current_page}&nbsp;{$lang.general.of}&nbsp;{$num_page}&nbsp;
					{/if}
					{if $item.previous_page eq 1}
						<a href="{$item.link}" class="back-page-act" id="back-page-act_top" alt="{$lang.general.back}" title="{$lang.general.back}">&nbsp;</a>
					{elseif $item.previous_page eq 2}
						<a href="javascript: void(0);" class="back">&nbsp;</a>
					{/if}
					{if $item.next_page eq 1}
						<a href="{$item.link}" class="next-page-act" id="next-page-act_top" alt="{$lang.general.next}" title="{$lang.general.next}">&nbsp;</a>
					{elseif $item.next_page eq 2}
						<a href="javascript: void(0);" class="next">&nbsp;</a>
					{/if}
				{/foreach}
			</div>
		</div>
		{/strip}
	</div>
	{/if}
		
	<div class="club_content" style="display:table;width:100%;">
		{foreach name=user key=key item=item from=$search_res}
		<div style="display:table;width:100%;">
			<div class="float_left" style="width:115px;">
				<a class="imgcanvas_container" href="{$item.profile_link}"><img src="{$item.icon_path}" class="icon imgcanvas" alt=""></a>
			</div>
			<div class="float_left" style="width:{if $form.show_users_comments eq '1'}214{else}604{/if}px;">
				<p style="overflow:hidden;">
					<a class="float_left" href="{$item.profile_link}">{$item.fname} {$item.sname}</a>
					<span class="float_left">&nbsp;&nbsp;</span>
					<span class="float_left status{if $item.status eq $lang.status.on}_link{else}_text{/if}">{$item.status}</span>
				</p>
				{if $item.club_leader eq 1}<p>{$lang.club.club_leader}</p>{/if}
				{if $item.location}<span class="float_left">{$item.location|truncate:35}</span><br />{/if}				
				<span class="float_left">{$item.age} {$lang.home_page.ans}</span><br/>
				<span class="text_hidden">{$item.photo_count} {$lang.users.upload_1}</span>	<br/>				
											
				{if $form.show_users_group_str eq '1'}								
					<span>{$item.group}</span>		<br/>		
				{/if}
				<span class="text_hidden">
					{$lang.users.gender_search}&nbsp;
					{if $item.user_subtypes}{$item.user_subtypes}&nbsp;({$item.user_type})
					{else}{$item.user_type}
					{/if} 
					{$lang.users.from} {$item.age_min} {$lang.users.to} {$item.age_max}
				</span>				<br/>
				{if $form.show_users_connection_str eq '1'}
					<span class="float_left">{$header_s.last_connection}: </span>
					<span class="float_left">&nbsp;</span>
					<span class="float_left">{$item.last_login}</span><div>&nbsp;</div>
				{/if}<p></p>
			</div>				
			{if $form.show_users_comments eq '1'}
				<div class="float_left" style="width:390px;">
					{$item.annonce}
				</div>
			{/if}
		</div>	
		{/foreach}
	</div>
    <div class="search_link">
		<div class="sorting-long">
			<div class="b-page-n">	
				{foreach item=item from=$links_bottom}
					{if $item.first_page eq 1}
						<a href="{$item.link}" class="first-page-act">&nbsp;</a>
					{elseif $item.first_page eq 2}
						<a href="javascript: void(0);" class="first-page">&nbsp;</a>
					{/if}
					
					{if $item.previous_page eq 1}
						<a href="{$item.link}" class="back-page-act" id="back-page-act_bottom" alt="{$lang.default_select.back}" title="{$lang.default_select.back}">&nbsp;</a>
					{elseif $item.previous_page eq 2}
						<a href="javascript: void(0);" class="back">&nbsp;</a>
					{/if}
					
					{if $item.selected}
						<a href="javascript: void(0);" class="act-page">{$item.name}</a>
					{else}
						<a href="{$item.link}">{$item.name}</a>
					{/if}
					
					{if $item.delimiter}
						{$item.delimiter}
					{/if}
					
					{if $item.next_page eq 1}
						<a href="{$item.link}" class="next-page-act" id="next-page-act_bottom" alt="{$lang.default_select.next}" title="{$lang.default_select.next}">&nbsp;</a>
					{elseif $item.next_page eq 2}
						<a href="javascript: void(0);" class="next">&nbsp;</a>
					{/if}
						
					{if $item.last_page eq 1}
						<a href="{$item.link}" class="last-page-act">&nbsp;</a>
					{elseif $item.last_page eq 2}
						<a href="javascript: void(0);" class="last-page">&nbsp;</a>
					{/if}	
				{/foreach}
			</div>
		</div>
	</div>

  
{include file="$gentemplates/$footer_tpl"}