{if defined('PHPFOX_IS_ADMIN_SEARCH')}
{phrase var='user.member_search'}
{phrase var='user.search'}:
{filter key='keyword'}
{phrase var='user.within'}: {filter key='type'}

{pager}
{phrase var='user.members'}
{foreach from=$aUsers name=users key=iKey item=aUser} {if !Phpfox::getParam('user.randomize_featured_members') && isset($bShowFeatured) && $bShowFeatured == 1} {/if} {/foreach}
{phrase var='user.user_id'} {phrase var='user.photo'} {phrase var='user.display_name'} {phrase var='user.email_address'} {phrase var='user.group'} {phrase var='user.last_activity'}
{if $aUser.user_group_id == ADMIN_USER_ID && Phpfox::getUserBy('user_group_id') != ADMIN_USER_ID} {else} {/if} {img theme='misc/bullet_arrow_down.png' alt=''} #{$aUser.user_id} {img user=$aUser suffix='_50_square' max_width=50 max_height=50} {$aUser|user} {if (isset($aUser.pendingMail) && $aUser.pendingMail != '')} {$aUser.pendingMail} {else} {$aUser.email} {/if}{if isset($aUser.unverified) && $aUser.unverified > 0} {phrase var='user.verify'}{/if} {if ($aUser.status_id == 1)}
{phrase var='user.pending_email_verification'}
{/if} {if Phpfox::getParam('user.approve_users') && $aUser.view_id == '1'} {phrase var='user.pending_approval'} {elseif $aUser.view_id == '2'} {phrase var='user.not_approved'} {else} {$aUser.user_group_title|convert} {/if}
{if $aUser.last_activity > 0} {$aUser.last_activity|date:'core.profile_time_stamps'} {/if} {if !empty($aUser.last_ip_address)} {/if}
{pager} {else} {if Phpfox::isMobile()}
{/if} {if count($aUsers)} {foreach from=$aUsers name=users item=aUser} {if Phpfox::getParam('user.user_browse_display_results_default') == 'name_photo_detail'}
{$aUser|user:'':'':50|split:20}
{if !empty($aUser.gender) && Phpfox::getUserGroupParam('' . $aUser.user_group_id . '', 'user.can_edit_gender_setting')} {$aUser.gender|gender}
{/if} {if Phpfox::getUserGroupParam('' . $aUser.user_group_id . '', 'user.can_edit_dob')} {if !empty($aUser.birthday) && $aUser.dob_setting != '3'} {if $aUser.dob_setting == '4'} {$aUser.month} {$aUser.day}, {$aUser.year}
{else} {if $aUser.dob_setting == '1'} {$aUser.month} {$aUser.day} {elseif $aUser.dob_setting == '2'} {$aUser.birthday|age} {else} {$aUser.month} {$aUser.day}, {$aUser.year} {/if}
{/if} {/if} {/if} {if !empty($aUser.country_iso)} {if !empty($aUser.city_location)}{$aUser.city_location|clean} » {/if}{if !empty($aUser.country_child_id)}{$aUser.country_child_id|location_child} » {/if}{$aUser.country_iso|location}
{/if} {if Phpfox::isModule('rate') && Phpfox::getParam('profile.can_rate_on_users_profile') && $aUser.total_score > 0} {phrase var='user.total_score_out_of_10' total_score=$aUser.total_score|round} {/if} {if Phpfox::isModule('friend')} {if $aUser.mutual_friends > 0} {/if} {if Phpfox::isUser() && Phpfox::isModule('friend') && !$aUser.is_friend && $aUser.is_friend_request} {phrase var='profile.pending_friend_request'} {else} {if Phpfox::isUser() && Phpfox::isModule('friend') && !$aUser.is_friend && Phpfox::getUserId() != $aUser.user_id && (!isset($aUser.user_is_blocked) )}
{img theme='misc/friend_added.png' class='v_middle'} {phrase var='user.add_friend'}
{/if} {/if} {/if}
{img user=$aUser suffix='_100_square' max_width=100 max_height=100 class='js_mp_fix_width'}
{else}
{img user=$aUser suffix='_100_square' max_width=100 max_height=100 class='js_mp_fix_width'}
{$aUser|user:'':'':50} {if Phpfox::isModule('friend')} {if $aUser.mutual_friends > 0} {/if} {if Phpfox::isUser() && Phpfox::isModule('friend') && !$aUser.is_friend && $aUser.is_friend_request}
{phrase var='profile.pending_friend_request'}
{else} {if Phpfox::isUser() && Phpfox::isModule('friend') && !$aUser.is_friend && Phpfox::getUserId() != $aUser.user_id}
{img theme='misc/friend_added.png' class='v_middle'} {phrase var='user.add_friend'}
{/if} {/if} {/if}
{if (!Phpfox::isMobile() && is_int($phpfox.iteration.users / 4)) || (Phpfox::isMobile() && is_int($phpfox.iteration.users / 2))}
{/if} {/if} {/foreach}
{if !PHPFOX_IS_AJAX}
{/if} {pager} {else}
{if $sView == 'online'} {phrase var='user.there_are_no_members_online'} {elseif $sView == 'top'} {phrase var='user.no_top_members_found'} {elseif $sView == 'featured'} {phrase var='user.no_featured_members'} {else} {if isset($aCallback.no_member_message)} {$aCallback.no_member_message} {else} {phrase var='user.unable_to_find_any_members_with_the_current_browse_criteria'} {/if} {/if}
{/if} {/if}