x_del_admin_user.jsp
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:1k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

JavaScript

  1. <%@ page contentType="text/html;charset=gb2312"%>
  2. <%@include file="../include/checkadmin.jsp"%>
  3. <%@page import="java.sql.*"%>
  4. <%@include file="../include/db_conn.jsp"%>
  5. <%!String bak_keyword;%>
  6. <%!String bak_page;%>
  7. <%!String admin_id="0";%>
  8. <%
  9. bak_keyword=request.getParameter("keyword");
  10. bak_page=request.getParameter("page");
  11. String admin_id=request.getParameter("admin_id");
  12. sql="DELETE tbl_admin_user WHERE admin_id = '"+admin_id+"'";
  13. smt.executeUpdate(sql);
  14. %>
  15. <form name="frm_delnews" method="post" action="x_list_admin_user.jsp">
  16. <input type="hidden" name="keyword" value="<%=bak_keyword%>">
  17. <input type="hidden" name="page" value="<%=bak_page%>">
  18. </form>
  19. <script language="javascript">
  20.      document.frm_delnews.submit(); 
  21. </script>