Файл: content/themes/facebook/templates/directory.get.posts.tpl
Строк: 21
{foreach $posts as $post}
<li class="feedItem">
<div class="dataContainer"
id="{$post.ID}-{$post.PostType}-{$post.PostID}-{$post.UserID}">
<!-- Vote Box -->
<div
class="dataSideWrapper small">
<div
title="Like this post" class="voteBox doLikePost {if
$post.liked == 'Y'}active{/if}"><i
class="up"></i></div>
<div
title="Dislike this post" 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}
<!--
Pagination -->
<div><div
class="right">{$pager}</div></div>
<!--
Pagination
-->
<script>jQuery("span[class*=timeago]").timeago();</script>