<!DOCTYPE html>
<html>
	<?php echo $this->fetch('head.html'); ?>
	<body class="bg-ef">
<div class="tabs-border">
	<a class="item active" href="<?php echo $this->_var['appadmin']; ?>?m=sblog_blog_comment">评论列表</a>
	
</div>
<div class="main-body">
	<?php $_from = $this->_var['list']; if (!is_array($_from) && !is_object($_from)) { $_from=array();}; $this->push_vars('', 'c');if (count($_from)):
    foreach ($_from AS $this->_var['c']):
?>
	<div class="sglist-item mgb-5 js-item">
		<div class="sglist-desc mgb-5"><?php echo $this->_var['c']['content']; ?></div>
		<div class="flex flex-ai-center">
			<div class="flex-1"><?php echo $this->_var['c']['nickname']; ?></div>
			<div class="mgr-10 cl3 f12"><?php echo $this->_var['c']['createtime']; ?></div>
			<div class="<?php if ($this->_var['c']['status'] == 1): ?>yes<?php else: ?>no<?php endif; ?> js-toggle-status mgr-10" url="/moduleadmin.php?m=sblog_blog_comment&a=status&id=<?php echo $this->_var['c']['id']; ?>&ajax=1" ></div>
			<a href="javascript:;" class="cl-danger iconfont pointer icon-delete js-delete" url="/moduleadmin.php?m=sblog_blog_comment&a=delete&ajax=1&id=<?php echo $this->_var['c']['id']; ?>">删除</a>
		</div>
	</div>
	<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  
<div><?php echo $this->_var['pagelist']; ?></div>
</div> 
<?php echo $this->fetch('footer.html'); ?>
 
</body>
</html>