Your IP : 172.28.240.42


Current Path : /var/www/html/clients/rebirth.e-nk.ru/templates/skin/developer-jquery/
Upload File :
Current File : /var/www/html/clients/rebirth.e-nk.ru/templates/skin/developer-jquery/comment_list.tpl

<div class="comments comment-list">
	{foreach from=$aComments item=oComment}
		{assign var="oUser" value=$oComment->getUser()}
		{assign var="oTopic" value=$oComment->getTarget()}
		{assign var="oBlog" value=$oTopic->getBlog()}
		
		
		<div class="comment">
			<div class="comment-inner">
				<div class="path">
					<a href="{$oBlog->getUrlFull()}" class="blog-name">{$oBlog->getTitle()|escape:'html'}</a> &rarr;
					<a href="{$oTopic->getUrl()}">{$oTopic->getTitle()|escape:'html'}</a>
					<a href="{$oTopic->getUrl()}#comments">{$oTopic->getCountComment()}</a>
				</div>
			
			
				<ul class="info">
					<li class="avatar"><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="avatar" /></a></li>
					<li class="username"><a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a></li>
					<li class="date">{date_format date=$oComment->getDate()}</li>
					<li><a href="{if $oConfig->GetValue('module.comment.nested_per_page')}{router page='comments'}{else}{$oTopic->getUrl()}#comment{/if}{$oComment->getId()}">#</a></li> 				
					<li class="voting {if $oComment->getRating()>0}positive{elseif $oComment->getRating()<0}negative{/if} {if !$oUserCurrent || $oComment->getUserId()==$oUserCurrent->getId() ||  strtotime($oComment->getDate())<$smarty.now-$oConfig->GetValue('acl.vote.comment.limit_time')}guest{/if}   {if $oVote} voted {if $oVote->getDirection()>0}plus{else}minus{/if}{/if}  ">
						<span class="total">{if $oComment->getRating()>0}+{/if}{$oComment->getRating()}</span>
					</li>
				</ul>		
						
						
				<div class="content">						
					{if $oComment->isBad()}
						<div style="color: #aaa;">{$oComment->getText()}</div>						
					{else}
						{$oComment->getText()}
					{/if}		
				</div>
			</div>
		</div>
	{/foreach}	
</div>

{include file='paging.tpl' aPaging="$aPaging"}