Файл: content/themes/facebook/templates/ajax.media.albums.tpl
Строк: 32
<table class="dataGrid">
<tr>
{foreach
$albums as $album}
<td>
<div
class="dataContainer">
<a href="{$SITE_URL}/albums/{$app}/{$album.ID}"
class="uiAlbumThumb mb10">
<span
class="uiAlbumThumbWrap">
{if $app ==
'photos'}
<i {if $album.ThumbnailID ==
0}class="videoThumbnail" style="background-image:
url("{$SITE_URL}/content/themes/default/images/misc/no_thumbnail.jpg");"{else}style="background-image:
url("{$album.Thumbnail}");"{/if}></i>
{else}
<i
class="videoThumbnail" {if $album.ThumbnailID ==
0}style="background-image:
url("{$SITE_URL}/content/themes/default/images/misc/no_thumbnail.jpg");"{else}style="background-image:
url("{$album.Thumbnail}");"{/if}></i>
{/if}
</span>
{if $app == 'videos'}
<i
class="plyrBtn"></i>
{/if}
</a>
<div class="uiMediaInfo"
style="width: 159px;">
<span
class="title"><a
href="{$SITE_URL}/albums/{$app}/{$album.ID}"
title="{$album.Title}">{$album.Title|truncate:25}</a></span><br
/>
<span
class="description">{$album.Total} {$app}</span>
<i class="arrow"></i>
</div>
</div>
</td>
{if ($album@index+1)%3 ==
0}</tr><tr>{/if}
{/foreach}
</tr>
</table>