{extends "../@listView.xml"} {var perPage = 6} {* Why 6? Check User::_abstractRelationGenerator *} {var act = $_GET["act"] ?? "friends"} {if $act == "incoming"} {var iterator = iterator_to_array($user->getFollowers($page))} {var count = $user->getFollowersCount()} {elseif $act == "outcoming"} {var iterator = iterator_to_array($user->getSubscriptions($page))} {var count = $user->getSubscriptionsCount()} {else} {var iterator = iterator_to_array($user->getFriends($page))} {var count = $user->getFriendsCount()} {/if} {block title} {if $act == "incoming"} {_"incoming_req"} {elseif $act == "outcoming"} {_"outcoming_req"} {else} {_"friends"} {/if} {/block} {block header} {$user->getCanonicalName()} » {if $act == "incoming"} {_"incoming_req"} {elseif $act == "outcoming"} {_"outcoming_req"} {else} {_"friends"} {/if} {/block} {block tabs}
{/block} {* BEGIN ELEMENTS DESCRIPTION *} {block link|strip|stripHtml} {$x->getURL()} {/block} {block preview} {/block} {block name} {$x->getCanonicalName()} {/block} {block description}{_"gender"}: | {$x->isFemale() ? "женский" : "мужской"} |
{_"relationship"}: | {var $marialStatus = $x->getMaritalStatus()}{_"relationship_$marialStatus"} |
{_"registration_date"}: | {$x->getRegistrationTime()} |