{if $bSimpleView && $bIsOwner}
[ {language text="edit_favorites"} ]
{/if}
{messages block='Favorites'} {if 'added' == $sPerformed} {if $bSuccess} {else} {/if} {elseif 'deleted' == $sPerformed} {if $bSuccess} {else}
{language text="no_such_member"}

{/if} {elseif $aFavorites} {language text="global_pager" fromRow=$aPaging.fromRow toRow=$aPaging.toRow totalRows=$aPaging.totalRows } {include file="$sRootPath/_blocks/pager.html"} {foreach from=$aFavorites item=aFavorite name=favorites} {if $smarty.foreach.favorites.iteration % $iRowSize == 0} {/if} {/foreach} {if $smarty.foreach.favorites.total % $iRowSize != 0} {/if}
{Account::Avatar sUser=$aFavorite.user iSize=75 class="pic1" onmouseover="this.className='pic2';" onmouseout="this.className='pic1';return nd();"} {if $bIsOwner} {/if}
 
{include file="$sRootPath/_blocks/pager.html"} {else}
{language text="there_are_no_favorite_peo"}
{/if}