Manage_File.jsp
资源名称:zyp.rar [点击查看]
上传用户:zdly666
上传日期:2022-08-09
资源大小:6511k
文件大小:2k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
- <%@ include file="conn.jsp"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <title>文件管理</title>
- <script language="javascript">
- function isok()
- {
- if(confirm("确认删除? 对应该专家的所有信息也将同时删除!"))
- {return true;}
- else
- {return false;}
- }
- </script>
- </head>
- <body background="img/beijing.gif">
- <jsp:include page="Menu.jsp" flush="true"/>
- <br>
- <table width="652" border="1" align="center">
- <tr>
- <td colspan="2"> <div align="center">标题 </div></td>
- <td width="79"><div align="center">日期</div></td>
- <td width="109"><div align="center">修改操作</div></td>
- <td width="126"><div align="center">删除操作</div></td>
- </tr>
- <%
- String FileSQL="select * from S_fileInfor order by file_id desc";
- rs=stmt.executeQuery(FileSQL);
- rs.beforeFirst();
- while(rs.next())
- {
- String File_ID=rs.getString("file_id");
- String File_Title=rs.getString("file_title");
- String File_Date=rs.getString("file_date");
- String File_Name=rs.getString("file_name");
- %>
- <tr>
- <td width="24"><div align="center"><%= File_ID %></div></td>
- <td width="280"><%= File_Title %></td>
- <td><%= File_Date %></td>
- <td><div align="center"><a href="Edit_file.jsp?id=<%= File_ID %>">修改</a></div></td>
- <td><div align="center"><a href="Operate_File.jsp?EditType=fileDel&id=<%= File_ID %>&file=<%=File_Name%>">删除</a></div></td>
- </tr>
- <% } %>
- </table>
- <p> <a href="picture1.jsp">返回个人相册</a> </p>
- </body>
- <%
- rs.close();
- rs=null;
- stmt.close();
- conn.close();
- %>
- </html>