gxArticle.jsp~16~
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:1k
源码类别:

OA系统

开发平台:

Java

  1. <%@ page contentType="text/html; charset=GBK" import="java.sql.*,java.lang.*,officeol.mc.tools.*" %>
  2. <%request.setCharacterEncoding("gbk");%>
  3. <html>
  4. <head>
  5. <title>
  6. 天津市河东区经济贸易委员会内部办公网
  7. </title>
  8. </head>
  9. <body bgcolor="#ffffff"><br />
  10. <h4 align="center">共享日志查看页面</h4>
  11. <%
  12. String ud = (String)session.getAttribute("UD");
  13. String udid = (String)session.getAttribute("UDID");
  14. String un = (String)session.getAttribute("UN");
  15. String uid = (String)session.getAttribute("UID");
  16. String pp = (String)session.getAttribute("POPE");
  17. String login = (String)session.getAttribute("LOGIN");
  18. if(login!=null){
  19. DBConn dbc = new DBConn();
  20. String udd = "select deparname,dnmd5 from deparment";
  21. String[][] bm = dbc.getArray(udd);
  22. %>
  23.   <a href="editArticleView.jsp">多部门编辑文章查看</a><br /><br />
  24. <%
  25. if(bm == null){
  26.   out.print("没有部门!");
  27. }else{
  28.   out.print("请选择要部门:<br />");
  29.   for(int i = 0; i < bm.length; i++){
  30.     %>
  31.     <a href="gxArticleView.jsp?bm=<%=bm[i][1] %>"><%=bm[i][0] %></a><br /><br />
  32.     <%
  33.     }
  34.   }
  35. }else{
  36.   response.sendRedirect("userlogin.jsp");
  37. }
  38. %>
  39. </body>
  40. </html>