student.html 2.0 KB
<include file="public@header" />
<style type="text/css">
	.pagination{display:inline-block;padding-left:0;border-radius:4px;margin-left: 30%}
	.pagination li{display:inline}
	.pagination li a,.pagination li span{position:relative;float:left;padding:6px 12px;line-height:1.42857143;color:#393D49;background:#fff;margin:0 0 0 8px;border:1px solid #eee}
	.pagination li a:hover{color:#fff;background:#1E9FFF}
	.pagination .active span{background:#1E9FFF;color:#fff}
</style>
</head>
<body>
<div class="wrap">
	<ul class="nav nav-tabs">
		<li class="active"><a href="{:url('index')}">列表管理</a></li>
		<!--<li><a href="{:url('add')}">添加</a></li>-->
	</ul>

	<form class="well form-inline margin-top-20" method="post" action="{:url('trainer')}">




		学员手机号:
		<input type="text" class="form-control" name="mobile" style="width: 200px;"
			   value="{$keyword|default=''}" placeholder="请输入手机号...">
		学员姓名:
		<input type="text" class="form-control" name="name" style="width: 200px;"
			   value="{$keyword|default=''}" placeholder="请输入姓名...">

		<input type="submit" class="btn btn-primary" value="搜索"/>
		<a class="btn btn-danger" href="{:url('index')}">清空</a>
	</form>
	<table class="table table-hover table-bordered table-list">
		<thead>
		<tr>
			<th width="50">ID</th>

			<th>预约ID</th>
			<th>学员名</th>
			<th>评论的教练</th>
			<th>留言内容</th>
			<th>修改时间</th>
			<th width="180">操作</th>

		</tr>
		</thead>
		<tbody>
		<foreach name="list" id="vo">
			<tr>
				<td>{$vo.id}</td>
				<td>{$vo.yuyue_id}</td>
				<td>{$vo.uid|id_name}</td>
				<td>{$vo.teach_id|id_name}</td>
				<td>{$vo.comment}</td>
				<td>{$vo.create_time|date="Y-m-d H:i:s",###}</td>
				<td>
					<!--<a href='{:url("edit", ["id" => "$vo[id]"]) }' >编辑</a>-->
					<a class="js-ajax-delete" href='{:url("del_student", ["id" => "$vo[id]"]) }' >删除</a>
				</td>
			</tr>
		</foreach>
		</tbody>
	</table>


</div>
<div class="pagination">
	{$page}
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>