<!DOCTYPE html>
<html>
	<?php echo $this->fetch('head.html'); ?>
	<link href="/static/emo/emo.css" rel="stylesheet" />
	<style>
		.chat-img {
			width: 100px;
		}

		.chat-video {
			width: 150px;
		}
	</style>
	<body>
		<?php echo $this->fetch('sblog_chat/nav.html'); ?>
		<div class="main-body">
			<table class="tbs">
				<thead>
					<tr>
						<td>id</td>
						<td>userid</td>

						<td>content</td>
						<td style="width: 150px;">操作</td>
					</tr>
					</tr>
				</thead> <?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']):
?>
				<tr>
					<td><?php echo $this->_var['c']['id']; ?></td>
					<td><?php echo $this->_var['c']['userid']; ?></td>

					<td><?php echo $this->_var['c']['content']; ?></td>
					<td><a href="javascript:;" class="js-delete" url="moduleadmin.php?m=sblog_chat&a=delete&ajax=1&id=<?php echo $this->_var['c']['id']; ?>">删除</a></td>
				</tr>
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
			</table>
			<div><?php echo $this->_var['pagelist']; ?></div>
		</div>
		<?php echo $this->fetch('footer.html'); ?>
	</body>
</html>
