<?php /* Smarty version 2.6.19, created on 2008-09-23 17:10:32
         compiled from article/comment.phtml */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'truncateex', 'article/comment.phtml', 9, false),)), $this); ?>
<?php echo $this->_tpl_vars['flag']; ?>

||||
<?php echo $this->_tpl_vars['message']; ?>

||||
<?php unset($this->_sections['CommentList']);
$this->_sections['CommentList']['name'] = 'CommentList';
$this->_sections['CommentList']['loop'] = is_array($_loop=$this->_tpl_vars['arrComments']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['CommentList']['show'] = true;
$this->_sections['CommentList']['max'] = $this->_sections['CommentList']['loop'];
$this->_sections['CommentList']['step'] = 1;
$this->_sections['CommentList']['start'] = $this->_sections['CommentList']['step'] > 0 ? 0 : $this->_sections['CommentList']['loop']-1;
if ($this->_sections['CommentList']['show']) {
    $this->_sections['CommentList']['total'] = $this->_sections['CommentList']['loop'];
    if ($this->_sections['CommentList']['total'] == 0)
        $this->_sections['CommentList']['show'] = false;
} else
    $this->_sections['CommentList']['total'] = 0;
if ($this->_sections['CommentList']['show']):

            for ($this->_sections['CommentList']['index'] = $this->_sections['CommentList']['start'], $this->_sections['CommentList']['iteration'] = 1;
                 $this->_sections['CommentList']['iteration'] <= $this->_sections['CommentList']['total'];
                 $this->_sections['CommentList']['index'] += $this->_sections['CommentList']['step'], $this->_sections['CommentList']['iteration']++):
$this->_sections['CommentList']['rownum'] = $this->_sections['CommentList']['iteration'];
$this->_sections['CommentList']['index_prev'] = $this->_sections['CommentList']['index'] - $this->_sections['CommentList']['step'];
$this->_sections['CommentList']['index_next'] = $this->_sections['CommentList']['index'] + $this->_sections['CommentList']['step'];
$this->_sections['CommentList']['first']      = ($this->_sections['CommentList']['iteration'] == 1);
$this->_sections['CommentList']['last']       = ($this->_sections['CommentList']['iteration'] == $this->_sections['CommentList']['total']);
?>
			 <div class="comcontent">
				 <div class="comleft"><a href="#">
				 <img style="text-align:center;margin-bottom:10px;" src="<?php echo $this->_tpl_vars['baseUrl']; ?>
/public/images/headimg/<?php if ($this->_tpl_vars['arrComments'][$this->_sections['CommentList']['index']]['headimg'] == ''): ?>default.gif<?php else: ?><?php echo $this->_tpl_vars['arrComments'][$this->_sections['CommentList']['index']]['headimg']; ?>
.png<?php endif; ?>"  alt="游客的头像"></a>
				 <p style="text-align:center;margin-top:10px;"><a href="#"><?php echo ((is_array($_tmp=$this->_tpl_vars['arrComments'][$this->_sections['CommentList']['index']]['username'])) ? $this->_run_mod_handler('truncateex', true, $_tmp, 10, '..', true) : smarty_modifier_truncateex($_tmp, 10, '..', true)); ?>
</a><br /></p>
				 </div>
				 <div class="comright">
	 				<div class="clear"></div>
		     		<div class="comtop"></div>
		     		<div class="comtext" style="color:green;text-align:right;"><?php echo $this->_sections['CommentList']['index']+1+$this->_tpl_vars['offsetnums']; ?>
#&nbsp;<div class="comment" style="text-align:left;"><p><?php echo $this->_tpl_vars['arrComments'][$this->_sections['CommentList']['index']]['content']; ?>
</p></div></div>
		     		<div class="combot"></div>
					<div class="clear"></div>
				</div>
				<div class="clear"></div>
				<div class="date" style="margin:30px 0px 30px 0px;">
				<span>
				<img src="<?php echo $this->_tpl_vars['baseUrl']; ?>
/public/images/author.png" alt="author">
				评论者:<?php echo $this->_tpl_vars['arrComments'][$this->_sections['CommentList']['index']]['username']; ?>

				<img src="<?php echo $this->_tpl_vars['baseUrl']; ?>
/public/images/date.png" alt="date">评论时间:<?php echo $this->_tpl_vars['arrComments'][$this->_sections['CommentList']['index']]['addtime']; ?>
| 
				<img src="<?php echo $this->_tpl_vars['baseUrl']; ?>
/public/images/filed.png" alt="filed">来自地区: 
				<a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
/" title="View all posts in Uncategorized" rel="category"><?php echo $this->_tpl_vars['arrComments'][$this->_sections['CommentList']['index']]['address']; ?>
</a></span>
			</div>
				<div class="clear"></div>
    		</div>
    	<?php endfor; else: ?>
		   <div><h3>对不起.暂时没有相关评论!</h3></div>
		<?php endif; ?>
 			<div class="postmetadata">
			<div id="pages"><?php echo $this->_tpl_vars['pageInfo']; ?>

			</div>	
		</div>
<div class="clear"></div>