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.
|
|
|
|
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
|
|
|
|
<%@page import="util.Info"%>
|
|
|
|
|
<%@page import="dao.CommDAO"%>
|
|
|
|
|
<%@page import="util.PageManager"%>
|
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
|
|
|
|
|
<title><3E><><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE></title>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
<%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String id="";
|
|
|
|
|
String tablename=request.getParameter("tablename");
|
|
|
|
|
String lb=request.getParameter("lb");
|
|
|
|
|
String[] values = request.getParameterValues("pldel");
|
|
|
|
|
if(values!=null)
|
|
|
|
|
{
|
|
|
|
|
for(int i=0;i<values.length;i++)
|
|
|
|
|
{
|
|
|
|
|
id=id+values[i]+",";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
id=id.substring(0,id.length()-1);
|
|
|
|
|
|
|
|
|
|
String sql="delete from "+tablename+" where id in ("+id+")";
|
|
|
|
|
//out.print(sql);
|
|
|
|
|
new CommDAO().commOper(sql);
|
|
|
|
|
out.print("<script>alert('ɾ<><C9BE><EFBFBD>ɹ<EFBFBD>!!');location.href='xinwentongzhi_list.jsp?lb="+lb+"';</script>");
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
out.print("<script>alert('<27>Բ<EFBFBD><D4B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB>ѡ<EFBFBD><D1A1><EFBFBD>κ<EFBFBD>Ҫɾ<D2AA><C9BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!!');location.href='xinwentongzhi_list.jsp?lb="+lb+"';</script>");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
%>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
|