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.

85 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="banner/deleteBannerByIds.action" method="post" id="myform" name="myform">
<table class="table table-border table-bordered table-bg">
<thead>
<tr>
<th scope="col" colspan="5">新闻分类列表</th>
</tr>
<tr class="text-c">
<th width="25"><input type="checkbox" name="" value=""></th>
<th>分类名称</th>
<th>创建日期</th>
<th>备注</th>
<th>操作</th>
</tr>
</thead>
<c:forEach items="${bannerList}" var="banner">
<tr class="text-c">
<td><input type="checkbox" value="${banner.bannerid}" name="bannerid"></td>
<td>${banner.bannername}</td>
<td>${banner.addtime}</td>
<td>${banner.memo}</td>
<td><a href="banner/getBannerById.action?id=${banner.bannerid}" title="编辑"><i class="Hui-iconfont">&#xe6df;</i></a>&nbsp;&nbsp;<a
href="banner/deleteBanner.action?id=${banner.bannerid}" 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>