allFiles1.jsp~16~
资源名称:bangong.rar [点击查看]
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:1k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=GBK" import="officeol.mc.tools.*,control.Textcontrol.*" %>
- <%request.setCharacterEncoding("GBK"); %>
- <html>
- <head>
- <title>
- allFiles1
- </title>
- </head>
- <body bgcolor="#ffffff"><br />
- <h4 align="center">
- 文件管理
- </h4>
- <%
- String ud = (String)session.getAttribute("UD");
- String udid = (String)session.getAttribute("UDID");
- String un = (String)session.getAttribute("UN");
- String uid = (String)session.getAttribute("UID");
- String pp = (String)session.getAttribute("POPE");
- String login = (String)session.getAttribute("LOGIN");
- if(pp.equals("all")){//全局权限
- DBConn dbc = new DBConn();
- String udd = "select deparname,id from deparment";
- String[][] bm = dbc.getArray(udd);
- if(bm == null){
- out.print("没有部门!");
- }else{
- out.print(" 请选择要部门:<br />");
- for(int i = 0; i < bm.length; i++){
- %>
- <a href="allFiles.jsp?depp=<%=bm[i][1] %>"><%=bm[i][0] %></a><br /><br />
- <%
- }
- }
- }else{
- out.print("你没有权限!");
- }
- %>
- </body>
- </html>