x_del_admin_user.jsp
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:1k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- <%@ page contentType="text/html;charset=gb2312"%>
- <%@include file="../include/checkadmin.jsp"%>
- <%@page import="java.sql.*"%>
- <%@include file="../include/db_conn.jsp"%>
- <%!String bak_keyword;%>
- <%!String bak_page;%>
- <%!String admin_id="0";%>
- <%
- bak_keyword=request.getParameter("keyword");
- bak_page=request.getParameter("page");
- String admin_id=request.getParameter("admin_id");
- sql="DELETE tbl_admin_user WHERE admin_id = '"+admin_id+"'";
- smt.executeUpdate(sql);
- %>
- <form name="frm_delnews" method="post" action="x_list_admin_user.jsp">
- <input type="hidden" name="keyword" value="<%=bak_keyword%>">
- <input type="hidden" name="page" value="<%=bak_page%>">
- </form>
- <script language="javascript">
- document.frm_delnews.submit();
- </script>