Файл: content/themes/facebook/templates/track.tpl
Строк: 145
{include file='headinclude.tpl'}
{include file='header.tpl'}
<!--
Commom [post] JS -->
<script type="text/javascript"
src="{$SITE_URL}/js/core.post.js"></script>
<!--
Commom [post] JS -->
{if !$userExist}{include
file='signup.bar.tpl'}{/if}
<!-- Content -->
<div
class="contentWrapper">
<div
class="content">
<table
class="mainContent">
<tr>
<!-- Left Panel -->
<td
class="leftPanel">
{include
file='appsmenu.tpl'}
</td>
<!--
Left Panel -->
<!-- Center Panel
-->
<td class="centerPanel">
<div
class="centerPanelHeader">
<!-- App Header -->
<div
class="appHeaderWrapper">
<a
href="{$SITE_URL}/{$userArray.UserName}/music">{$post.UserFirstName}
{$post.UserLastName}'s Music</a>
</div>
<!-- App Header -->
</div>
<div class="centerPanelContent">
<div
class="dataContainer"
id="0-{$post.PostType}-{$post.PostID}-{$post.UserID}"
style="border-bottom: 1px solid #3c3c3c;">
<!-- 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 -->
<!-- Avatar -->
<div class="dataSideWrapper
ml5">
<a
href="{$SITE_URL}/{$post.UserName}"><img
src="{$SITE_URL}/{$post.UserAvatarPath}" /></a>
</div>
<!--
Avatar -->
<!-- Post Data -->
<div
class="dataContentWrapper medium ml10">
<!-- Buttons & UserName
& Time -->
<div
class="dataContent mb5">
<!-- Buttons -->
<div class="dataButtons hidden">
{if $post.UserID == $userArray.UserID
|| $userArray.UserGroup < 3}
<div class="right">
<div class="{if $userArray.UserGroup <
3}button-edit{else}button-close{/if} doRemovePost"></div>
</div>
<div class="left">
<div class="button-favorit
doFavorite {if $post.favorited == true}active{/if}"></div>
</div>
{else}
<div class="button-favorit doFavorite {if $post.favorited ==
true}active{/if}"></div>
{/if}
</div>
<!-- Buttons -->
<!-- User Name -->
<span class="relative
showHoverCard" id="{$post.UserID}">
<strong><a
href="{$SITE_URL}/{$post.UserName}">{$post.UserFirstName}
{$post.UserLastName}</a></strong>
<!-- Hover Card -->
<div class="hoverCardWrapper hidden"><div
class="hoverCard"><div
class="hoverCardHeader">Loading</div></div><div
class="hoverCardArrow"></div></div>
<!-- Hover Card -->
</span>
<!--
User Name -->
<!-- Time -->
<span class="timeago gray" data-time="{$post.Time}"
title="{$post.Time|date_format:"%A, %B %e, %Y at %I:%M
%p"}"></span>
<!-- Time -->
</div>
<!--
Buttons & UserName & Time -->
<!-- Data -->
<div class="dataContent
mb10">{$post.Text}</div>
<div class="dataContent mb10">
<object height="81" width="100%">
<param name="movie"
value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F{$post.Source}&show_comments=false&auto_play=false&color=85DEFF"></param>
<param name="allowscriptaccess"
value="always"></param> <embed
allowscriptaccess="always" height="81"
src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F{$post.Source}&show_comments=false&auto_play=false&color=85DEFF"
type="application/x-shockwave-flash"
width="100%"></embed> </object>
</div>
<!-- Data
-->
</div>
<!-- Post Data -->
</div>
<!-- Comments System -->
<!-- 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
$post.Comments > 0}{$post.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 $post.prevComments > 0}
<!-- View More
-->
<div class="viewMore mt10
viewMoreComments" id="{$post.prevComments}">
<div class="right hidden"><img
src="{$spinner.small}" /></div>
View previous comments
</div>
<!-- View More -->
{/if}
{if $post.Comments > 0}
<ul
id="streamComments" class="liveFeeds">
{foreach $post.comments as $comment}
{include file='ajax.comments.comment.tpl' method='get'}
{/foreach}
</ul>
{else}
<ul id="streamComments"
class="liveFeeds"></ul>
{/if}
<!-- Comments System
-->
</div>
</td>
<!-- Center Panel -->
<!-- Right Panel -->
<td
class="rightPanel">
<!-- Share -->
{include file='rp.share.tpl'
margin='28'}
<!-- Share -->
<!-- Statistics -->
{include file='rp.statistics.tpl'}
<!-- Statistics
-->
<!-- Sponsored Ads
-->
{include file='rp.sponsored.tpl' margin='10'}
<!-- Sponsored Ads -->
</td>
<!-- Right Panel -->
</tr>
</table>
</div>
</div>
<!-- Content -->
{include
file='footer.tpl' footerType = 'narrow'}