Файл: content/themes/facebook/templates/directory.get.people.tpl
Строк: 45
{foreach $people as $person}
<li
class="feedItem">
<div
class="dataContainer">
<!-- Avatar -->
<div
class="dataSideWrapper ml5">
<a
href="{$SITE_URL}/{$person.UserName}"><img
src="{$SITE_URL}/{$person.UserAvatarPathMedium}"
/></a>
</div>
<!-- Avatar -->
<!-- Data
-->
<div class="dataContentWrapper ml10
mr5">
<!-- Buttons & UserName -->
<div
class="dataContent mb5">
<!-- Buttons
-->
<div class="right ml5 mt10">
{if
$person.UserID != $userArray.UserID} {if $person.FollowingHim ==
true}
<input type="button" value="Unfollow"
class="uiButton doFollow" id="{$person.UserID}"
/>
{else}
<input type="button"
value="Follow" class="uiButton doFollow"
id="{$person.UserID}" />
{/if}
<div
class="hidden">
<img
src="{$spinner.small}"
/>
</div>
{/if}
</div>
<!-- Buttons
-->
<!-- User Name -->
<span class="relative
showHoverCard"
id="{$person.UserID}">
<strong>
<a
href="{$SITE_URL}/{$person.UserName}">{$person.UserFirstName}
{$person.UserLastName}</a>
</strong>
<!-- Hover
Card -->
<div class="hoverCardWrapper
hidden">
</div>
<!-- Hover Card
-->
</span>
<!-- User Name
-->
</div>
<!-- Buttons & UserName
-->
<!-- Biography -->
<div class="dataContent
gray
mb5">
{$person.UserBiography}
</div>
<!--
Biography -->
</div>
<!-- Data
-->
</div>
</li>
{/foreach}
<!-- Pagination
-->
<div>
<div
class="right">
{$pager}
</div>
</div>
<!--
Pagination -->