Вход Регистрация
Файл: content/themes/facebook/templates/ajax.search.get.tpl
Строк: 62
<li class="hidden firstNode"
id="{$firstNode}"></li> {if $app == 'people'}
{foreach $results as $person} <li
class="feedItem"> <div
class="dataContainer">
<!-- Avatar --> <div class="dataSideWrapper
ml5"> <a
href="{$SITE_URL}/{$person.UserUserName}"><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="{$SITE_URL}/content/themes/default/images/buttons/spinner.gif"
/></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} {else}
{foreach $results as $post} <li
class="feedItem"> <div
class="dataContainer"
id="{$post.ID}-{$post.PostType}-{$post.PostID}-{$post.UserID}">
<!-- Vote Box -->
<div class="dataSideWrapper small">
<div class="voteBox doLikePost {if $post.liked ==
'Y'}active{/if}"><i
class="up"></i></div> <div
class="voteBox doDislikePost {if $post.liked ==
'N'}active{/if}"><i
class="down"></i></div>
</div> <!-- Vote Box -->
{if $post.PostType == 1} {include
file='ajax.posts.news.tpl' method='get'} {elseif
$post.PostType == 2} {include
file='ajax.posts.music.tpl' method='get'} {elseif
$post.PostType == 3} {include
file='ajax.posts.photos.tpl' method='get'} {elseif
$post.PostType == 4} {include
file='ajax.posts.videos.tpl' method='get'} {elseif
$post.PostType == 5} {include
file='ajax.posts.discussions.tpl' method='get'} {elseif
$post.PostType == 6} {include
file='ajax.posts.questions.tpl' method='get'} {elseif
$post.PostType == 7} {include
file='ajax.posts.polls.tpl' method='get'} {elseif
$post.PostType == 8} {include
file='ajax.posts.links.tpl' method='get'} {/if}
</div> </li> {/foreach}
{/if} <li class="hidden lastNode"
id="{$lastNode}"></li> <script>jQuery("span[class*=timeago]").timeago();</script>
Онлайн: 1
Реклама