{include file='header.tpl'} {* $Id: user_friends.tpl 8 2009-01-11 06:02:53Z john $ *}


{* JAVASCRIPT FOR CREATING SUGGESTION BOX *} {literal} {/literal} {* DISPLAY MESSAGE IF NO FRIENDS *} {if $total_friends == 0} {* DISPLAY MESSAGE IF NO SEARCHED FRIENDS *} {if $search != ""}
{lang_print id=905}
{* DISPLAY MESSAGE IF NO FRIENDS ON LIST *} {else}
{lang_print id=904}
{/if} {* DISPLAY FRIENDS *} {else} {* JAVASCRIPT FOR CHANGING FRIEND MENU OPTION *} {literal} {/literal}
{* DISPLAY PAGINATION MENU IF APPLICABLE *} {if $maxpage > 1}
{if $p != 1}« ‹{else}« ‹{/if} | {foreach from=$for item=foo} {$foo} {/foreach} | {if $p != $maxpage}› »{else}› »{/if}
{if $p_start == $p_end} {lang_sprintf id=184 1=$p_start 2=$total_friends} {else} {lang_sprintf id=185 1=$p_start 2=$p_end 3=$total_friends} {/if}
Go to Page:
{/if}
{section name=friend_loop loop=$friends} {* LOOP THROUGH FRIENDS *} {/section}
Actions
user_info.user_username)}'> {assign var="profilepicture" value=$friends[friend_loop]->user_photo("./images/nophoto.png")} {$friends[friend_loop]->userprofiledot($profilepicture, "90px")}
{if $show_details != 0} {lang_print id=908}
{/if}

{* DISPLAY PAGINATION MENU IF APPLICABLE *} {if $maxpage > 1}
{if $p != 1}« ‹{else}« ‹{/if} | {foreach from=$for item=foo} {$foo} {/foreach} | {if $p != $maxpage}› »{else}› »{/if}
{if $p_start == $p_end} {lang_sprintf id=184 1=$p_start 2=$total_friends} {else} {lang_sprintf id=185 1=$p_start 2=$p_end 3=$total_friends} {/if}
Go to Page:
{/if} {/if} {include file='footer.tpl'}