Вход Регистрация
Файл: content/themes/facebook/templates/question.tpl
Строк: 142
{include file='headinclude.tpl'} {include file='header.tpl'} <!--
Commom [post] JS --> <script type="text/javascript"
src="{$SITE_URL}/js/core.post.js"></script> <script
type="text/javascript"
src="{$SITE_URL}/js/page.question.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}/questions">{$post.UserFirstName}
{$post.UserLastName}'s Questions</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 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}/{$userArray.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 class="dataContent mb10">{$post.Text}</div>
<!-- Data -->
</div>
<!-- Post Data -->
<!-- Avatar --> <div
class="dataSideWrapper medium ml10">
<a href="{$SITE_URL}/{$userArray.UserName}"><img
src="{$SITE_URL}/{$post.UserAvatarPath}" /></a>
</div> <!--
Avatar -->
</div> <!--
Answers System -->
<!-- Answers System Header --> <div
class="dataContainer" style="border-bottom: 1px solid
#3c3c3c;"> {if $userExist}<div
class="right"><span class="uiButtonText
addAnswer"><strong>Add a
Answer</strong></span></div>{/if}
<strong>{if $post.Answers > 0}<span
class="whoAnswer">{$post.Answers}</span>{else}No{/if}
Answers</strong> </div>
<!-- Answers System Header -->
<!-- Add an Answer -->
<form class="postAnswer 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 an
answer...</textarea>
</div> <div
class="commentContent tright">
<input class="uiButton" type="submit"
value="Answer" />
<div class="hidden"><img
src="{$spinner.small}" /></div>
</div> </div>
</div>
</form> <!-- Add an Answer -->
{if $post.Answers > 0}
<ul id="streamAnswers"
class="liveFeeds"> {foreach
$post.answers as $answer} {include
file='ajax.answers.answer.tpl' method='get'}
{/foreach} </ul>
{else} <ul id="streamAnswers"
class="liveFeeds"></ul> {/if}
{if $post.viewmore}
<!-- View More -->
<div class="viewMore viewMoreAnswers"
id="{$systemSetting.MaxAnswers}">
<div class="right hidden"><img
src="{$spinner.small}" /></div>
View more answers </div>
<!-- View More -->
{/if} <!-- Answers
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'}
Онлайн: 1
Реклама