You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
3.5 KiB

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="check_logstate.jsp"></jsp:include>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!doctype html>
<html lang="zh_CN">
<head>
<base href="<%=basePath%>" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>欢迎使用后台管理系统</title>
<link rel="stylesheet" type="text/css" href="h-ui/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="h-ui/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="h-ui/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="h-ui/h-ui.admin/css/style.css" />
<script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="h-ui/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="h-ui/h-ui.admin/js/H-ui.admin.js"></script>
</head>
<body>
<nav class="breadcrumb">
<i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span>网站用户管理 <span class="c-gray en">&gt;</span> 网站用户列表 <a
class="btn btn-success radius r" style="line-height: 1.6em; margin-top: 3px" href="javascript:location.replace(location.href);"
title="刷新"> <i class="Hui-iconfont">&#xe68f;</i></a>
</nav>
<div class="page-container">
<div class="cl pd-5 bg-1 bk-gray mt-20">
<span class="l"><a href="javascript:;" onclick="datadel()" class="btn btn-danger radius"><i class="Hui-iconfont">&#xe6e2;</i>批量删除</a>
</span>
</div>
<form action="users/deleteUsersByIds.action" method="post" id="myform" name="myform">
<table class="table table-border table-bordered table-bg">
<thead>
<tr>
<th scope="col" colspan="9">网站用户列表</th>
</tr>
<tr class="text-c">
<th width="25"><input type="checkbox" name="" value=""></th>
<th>用户名</th>
<th>姓名</th>
<th>性别</th>
<th>出生日期</th>
<th>联系方式</th>
<th>注册日期</th>
<th>操作</th>
</tr>
</thead>
<c:forEach items="${usersList}" var="users">
<tr class="text-c">
<td><input type="checkbox" value="${users.usersid}" name="usersid"></td>
<td>${users.username}</td>
<td>${users.realname}</td>
<td>${users.sex}</td>
<td>${users.birthday}</td>
<td>${users.contact}</td>
<td>${users.regdate}</td>
<td><a href="users/deleteUsers.action?id=${users.usersid}" onclick="{if(confirm('确定要删除吗?')){return true;}return false;}"
title="删除"><i class="Hui-iconfont">&#xe6e2;</i></a></td>
</tr>
</c:forEach>
</table>
</form>
<div class="cl pd-5 bg-1 bk-gray mt-20">
<span class="r">${html } </span>
</div>
</div>
<script type="text/javascript" src="lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="lib/laypage/1.2/laypage.js"></script>
<script type="text/javascript">
/*批量删除*/
function datadel() {
if (confirm('确定要删除吗?')) {
document.myform.submit();
}
}
/*打开新窗口*/
function show_detail(title, url, w, h) {
layer_show(title, url, w, h);
}
</script>
</body>
</html>