Вход Регистрация
Файл: content/themes/facebook/templates/discussion.tpl
Строк: 143
{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}/discussions">{$post.UserFirstName}
{$post.UserLastName}'s Discussions</a>
<div class="right">
{if $post.UserID == $userArray.UserID}
<a class="uiButton"
href="{$SITE_URL}/editdiscussion/edit/{$post.PostID}/">Edit
Discussion</a> {/if}
</div> </div>
<!-- App Header --> </div>
<div
class="centerPanelContent">
<div class="dataContainer"
id="{$post.ID}-{$post.PostType}-{$post.PostID}-{$post.UserID}"
style="border-bottom: 1px solid #3c3c3c;">
<!-- Vote Box -->
<div class="dataSideWrapper small">
<div class="voteBox doLikePost {if
$post.liked == 'Y'}active{/if}"><i
class="up"></i></div>
<div class="voteBox doDislikePost {if $post.liked ==
'N'}active{/if}"><i
class="down"></i></div>
</div> <!-- Vote Box -->
<!-- Post Data
--> <div class="dataContentWrapper
ml10">
<!-- Buttons & Titile -->
<div class="dataContent fs12 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 -->
<!-- Title -->
<strong>{$post.Title}</strong>
<!-- Title -->
</div> <!--
Buttons & Titile -->
<!-- UserName & Time -->
<div class="dataContent gray mb10">
By: <!--
User Name --> <span
class="relative showHoverCard" id="{$post.UserID}">
<a
href="{$SITE_URL}/{$post.UserName}">{$post.UserFirstName}
{$post.UserLastName}</a>
<!-- 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>
<!-- UserName & Time -->
<!-- Data -->
<div align="justify"
class="dataContent pt10 mb10 dataDiscussion"
style="border-top: 1px solid
#3c3c3c">{$post.Text}</div>
<!-- Data -->
</div> <!-- Post Data -->
<!-- Avatar
--> <div class="dataSideWrapper
medium ml10"> <a
href="{$SITE_URL}/{$post.UserName}"><img
src="{$SITE_URL}/{$post.UserAvatarPath}" /></a>
</div> <!--
Avatar -->
</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'}
Онлайн: 4
Реклама