{$friends=$userquery->get_pending_contacts(userid(),0)}
{lang code='Friends Requests'}
{if $friends} {foreach $friends as $friend} {if $friend} {if $friend@last}{$last=true}{else}{$last=false}{/if} {$block=get_template('friends_notifications_block','path')} {include file=$block friend=$friend last=$last} {/if} {/foreach} {else}
No friend requests
{/if}
Show all Requests