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.
86 lines
3.4 KiB
86 lines
3.4 KiB
2 years ago
|
<%@ 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"></i> 首页 <span class="c-gray en">></span>用户评论管理 <span class="c-gray en">></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"></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"></i>批量删除</a>
|
||
|
</span>
|
||
|
</div>
|
||
|
<form action="topic/deleteTopicByIds.action" method="post" id="myform" name="myform">
|
||
|
<table class="table table-border table-bordered table-bg">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th scope="col" colspan="6">用户评论列表</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>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<c:forEach items="${topicList}" var="topic">
|
||
|
<tr class="text-c">
|
||
|
<td><input type="checkbox" value="${topic.topicid}" name="topicid"></td>
|
||
|
<td>${topic.username}</td>
|
||
|
<td>${topic.title}</td>
|
||
|
<td>${topic.contents}</td>
|
||
|
<td>${topic.addtime}</td>
|
||
|
<td><a href="topic/deleteTopic.action?id=${topic.topicid}" onclick="{if(confirm('确定要删除吗?')){return true;}return false;}"
|
||
|
title="删除"><i class="Hui-iconfont"></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>
|
||
|
|