Файл: content/themes/facebook/templates/ajax.search.media.tpl
Строк: 14
<table class="dataGrid">
<tr>
{foreach
$results as $media}
<td>
<div
class="dataContainer">
{if $app == "photos"}
<!-- Photos
App -->
<a
href="{$SITE_URL}/photo/{$media.ID}"
class="uiMediaThumb">
<!--
Media Image -->
<i
style="background-image:
url("{$media.Thumbnail}");"></i>
<!-- Media Image -->
</a>
<!-- Photos App -->
{elseif $app == "videos"}
<!--
Videos App -->
<a
href="{$SITE_URL}/video/{$media.ID}"
class="uiMediaThumb">
<!--
Media Image -->
<i
class="videoThumbnail" style="background-image:
url("{$media.Thumbnail}");"></i>
<i class="plyrBtn"></i>
<!-- Media Image -->
</a>
<!-- Videos App -->
{/if}
</div>
</td>
{if ($media@index+1)%3 == 0}</tr><tr>{/if}
{/foreach}
</tr>
</table>
<!-- Pagination
-->
<div class="appsFooter gray">
<div
class="right">{$pager}</div>
</div>
<!--
Pagination -->