Вход Регистрация
Файл: content/themes/facebook/templates/album.tpl
Строк: 196
{include file='headinclude.tpl'} {include file='header.tpl'} <!--
Commom [media post] JS --> {if $album.IsWall == 'Y'} <script
type="text/javascript"
src="{$SITE_URL}/js/core.media.js"></script> {else}
<script type="text/javascript"
src="{$SITE_URL}/js/core.post.js"></script> {/if} <!--
Commom [media post] JS --> {if !$userExist}{include
file='signup.bar.tpl'}{/if} <!-- Content --> <div
class="contentWrapper"> <div
class="content"> <div
class="pageContent"> {if
$saved}<div class="pr10 pl10"><div
class="highlightContianer">Changes
saved.</div></div>{/if} <!--
Media Header --> <div class="dataContainer
mediaGalleryHeader" id="{if $album.IsWall ==
'Y'}{$album.ID}-{$album.PostType}-1-{$album.UserID}{else}{$post.ID}-{$post.PostType}-{$post.PostID}-{$post.UserID}{/if}"
> <!-- Vote Box -->
<div class="dataSideWrapper small">
<div class="voteBox {if $album.Total > 0}doLikePost{/if} {if
$album.liked == 'Y'}active{/if}"><i
class="up"></i></div> <div
class="voteBox {if $album.Total > 0}doDislikePost{/if} {if
$album.liked == 'N'}active{/if}"><i
class="down"></i></div>
</div> <!-- Vote Box -->
<!-- Data --> <div
class="mediaContentWrapper ml10">
<!-- Butttons & Album Name -->
<div class="dataContent mb5">
{if $album.Total > 0}
<!-- Butttons --> <div
class="right"> <span
class="showflyHint" style="margin-right: -4px;">
<!-- flyHint -->
<div class="flyHintWrapper hidden">Media
View<i class="arrow"></i></div>
<!-- flyHint -->
<a {if $album.PostType ==
3}href="{$SITE_URL}/photo/{$album.firstNode}"{else}href="{$SITE_URL}/video/{$album.firstNode}"{/if}
class="uiDoButton"><img
src="{$SITE_URL}/content/themes/default/images/buttons/viewSrc.png"
/></a> </span>
<span class="showflyHint">
<!-- flyHint -->
<div class="flyHintWrapper hidden">Album View<i
class="arrow"></i></div>
<!-- flyHint -->
<span class="uiDoButton clicked"><img
src="{$SITE_URL}/content/themes/default/images/buttons/viewAlbum.png"
/></span> </span>
</div> <!--
Butttons --> {/if}
<!-- Album Name -->
<h3 class="inline">{$album.Title}</h3> <span
style="margin-bottom: -2px;" class="inline mr10
button-favorit {if $album.Total > 0}doFavorite{/if} {if
$album.favorited}active{/if}"></span>
<!-- Album Name -->
</div> <!-- Butttons & Album Name
--> <!-- UserName &
Time --> <div class="dataContent
fs11"> By: <a
href="{$SITE_URL}/{$album.UserName}">{$album.UserFirstName}
{$album.UserLastName}</a> (<a
href="{$SITE_URL}/{$album.UserName}/{$media}/albums/">{$media|capitalize}</a>)
- Updated <span class="timeago"
data-time="{$album.Time}"
title="{$album.Time|date_format:"%A, %B %e, %Y at %I:%M
%p"}"></span></a>{if $userExist &&
($album.UserID == $userArray.UserID || $userArray.UserGroup < 3)} ·
(<a
href="{$SITE_URL}/editalbum/{$media}/{$album.ID}/edit/">Edit
Album</a> · <a
href="{$SITE_URL}/editalbum/{$media}/{$album.ID}/add/">Add
{$media|capitalize}</a>){/if} </div>
<!-- UserName & Time -->
</div> <!-- Data -->
</div> <!-- Media Header -->
<!-- Media Gallery --> <div
class="mediaGallery mt10"> {if $album.Total
> 0} <table class="dataGrid
larg"> <tr>
{foreach $album.resources as $source}
<td> <div
class="dataContainer">
{if $album.PostType == '3'}
<!-- Photos App -->
<a href="{$SITE_URL}/photo/{$source.ID}"
class="uiMediaThumb">
<!-- Media Image -->
<i style="background-image:
url(&quot;{$source.Thumbnail}&quot;);"></i>
<!-- Media Image -->
</a>
<!-- Photos App -->
{elseif $album.PostType == '4'}
<!-- Videos App -->
<a href="{$SITE_URL}/video/{$source.ID}"
class="uiMediaThumb">
<!-- Media Image -->
<i class="videoThumbnail"
style="background-image:
url(&quot;{$source.Thumbnail}&quot;);"></i>
<i
class="plyrBtn"></i>
<!-- Media Image -->
</a> <!--
Videos App --> {/if}
</div>
</td> {if ($source@index+1)%5 ==
0}</tr><tr>{/if} {/foreach}
</tr> </table>
{else} <div
class="dataNullState">There are no {$media} in this
album</div> {/if} </div>
<!-- Media Gallery --> <!-- Album
Text --> <div
class="mediaFooter">{$album.Text}</div>
<!-- Album Text --> {if $album.Total >
0} <!-- Media Footer --> <table
class="mediaFooter"> <tr>
<!-- Comments System -->
<td class="mediaComments">
<!-- Comments System Header -->
<div class="dataContainer"
style="border-bottom: 1px solid #3c3c3c;">
{if $userExist}<div class="right"><span
class="uiButtonText addComment"><strong>Add a
Comment</strong></span></div>{/if}
<strong><span class="whoComment">{if
$album.Comments > 0}{$album.Comments}{else}No{/if}</span>
Comments</strong> </div>
<!-- Comments System Header -->
<!-- Add a Comment -->
<form class="postComment hidden">
<div class="dataContainer
postCommentWrapper"> <div
class="dataSideWrapper small"></div>
<div class="dataSideWrapper ml5">
<img
src="{$SITE_URL}/{$userArray.UserAvatarPathMedium}" />
</div>
<div class="dataContentWrapper medium ml10">
<div class="commentContent
mb5"> <textarea
class="uiTextArea addComment expand">Write a
comment...</textarea>
</div> <div
class="commentContent tright">
<input class="uiButton" type="submit"
value="Comment" />
<div class="hidden"><img
src="{$spinner.small}" /></div>
</div>
</div> </div>
</form> <!-- Add a
Comment -->
{if $album.prevComments > 0} <!--
View More --> <div
class="viewMore mt10 viewMoreComments"
id="{$album.prevComments}">
<div class="right hidden"><img
src="{$spinner.small}" /></div>
View previous comments
</div> <!-- View More -->
{/if}
{if $album.Comments > 0}
<ul id="streamComments" class="liveFeeds">
{foreach $album.comments as $comment}
{include file='ajax.comments.comment.tpl'
method='get'} {/foreach}
</ul> {else}
<ul id="streamComments"
class="liveFeeds"></ul>
{/if} </td>
<!-- Comments System -->
<!-- Side Panel -->
<td class="mediaSidePanel">
<!-- Statistics -->
<div class="sectionHeader media">
<strong>Statistics</strong>
</div> <div
class="sectionContainer">
<div class="sectionDetails">

<label>Like:</label><span>{$album.Likes}</span>
<span class="uiButtonText whoLikePost {if $album.Likes ==
0}hidden{/if}" id="{if $album.IsWall ==
'Y'}{$album.ID}-{$album.PostType}-1-{$album.UserID}{else}{$post.PostType}-{$post.PostID}-{$post.UserID}{/if}"
hits="{$album.Likes}">[?]</span><br />

<label>Dislike:</label><span>{$album.Dislikes}</span>
<span class="uiButtonText whoDislikePost {if $album.Dislikes ==
0}hidden{/if}" id="{if $album.IsWall ==
'Y'}{$album.ID}-{$album.PostType}-1-{$album.UserID}{else}{$post.PostType}-{$post.PostID}-{$post.UserID}{/if}"
hits="{$album.Dislikes}">[?]</span><br />
<label>Comments:</label><span
class="whoComment">{$album.Comments}</span><br
/>
<label>Favourites:</label><span>{$album.Favorits}</span>
<span class="uiButtonText whoFavoritePost {if $album.Favorits ==
0}hidden{/if}" id="{if $album.IsWall ==
'Y'}{$album.ID}-{$album.PostType}-1-{$album.UserID}{else}{$post.PostType}-{$post.PostID}-{$post.UserID}{/if}"
hits="{$album.Favorits}">[?]</span><br />
<label>Tools:</label>
<!-- Share Button -->
<span class="relative showShareButtons">
<span
class="uiButtonText">Share</span>
<div class="shareButtonsWrapper
hidden"> <div
class="shareButtons">
<a class="connect-facebook-vsmall" title="Share
this to your friends"
href="http://www.facebook.com/sharer/sharer.php?u={$SITE_URL}/album.php?id={$album.ID}%26m={if
$media == 'photos'}photos{else}videos{/if}"
target="_blank"></a> <a
class="connect-twitter-vsmall" title="Share this to your
followers"
href="http://twitter.com/intent/tweet?status={$SITE_URL}/album.php?id={$album.ID}%26m={if
$media == 'photos'}photos{else}videos{/if}"
target="_blank"></a>
</div> <div
class="shareButtonsArrow"></div>
</div>
</span> <!-- Share Button
--> </div>
</div> <!-- Statistics -->
</td>
<!-- Side Panel -->
</tr> </table>
<!-- Media Footer --> {/if}
</div> </div> </div> <!-- Content
--> {include file='footer.tpl'}
Онлайн: 1
Реклама