add_delete.jsp
资源名称:zyp.rar [点击查看]
上传用户:zdly666
上传日期:2022-08-09
资源大小:6511k
文件大小:1k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
- <%@ include file="conn.jsp"%>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <link rel="stylesheet" href="css.css" type="text/css">
- <title>删除</title>
- </head>
- <%
- if(session.getAttribute("adminname")==null)
- {response.sendRedirect("sorry.jsp");}
- %>
- <%
- String MessageID=new String(request.getParameter("id").getBytes("ISO-8859-1"));
- String condition="select * from users where id='"+MessageID+"'";
- rs=stmt.executeQuery(condition);
- rs.first();
- %>
- <body background="img/beijing.gif">
- <table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td>
- <form name="form1" method="POST" action="add_delete_operate.jsp?id=<%=MessageID%>">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td align="center">
- <input type="submit" name="Submit" value="确定删除" style="border:1 solid #BBB9B9;background:#ffffff" class="button"></td>
- </tr>
- </table>
- </form></td>
- </tr>
- </table>
- </body>
- </html>