?? special.jsp
字號:
<%@ page contentType="text/html;charset=GBK"%><%@page import="com.db.StaticBean"%><%com.util.DealString ds = new com.util.DealString();String uid = ds.toString((String)session.getAttribute("ID")); com.db.CommonBean myBean = new com.db.CommonBean(); String sql5 = "select a.name from kjc_role a,kjc_people b" +" where a.id=b.role " +" and b.id="+uid; java.util.Vector vect5 = myBean.getDataBySql(sql5); myBean.closeConn ( ) ;//系統(tǒng)設(shè)置boolean b1_1 = StaticBean.existOfMan(uid,"學(xué)院配置");boolean b1_2 = StaticBean.existOfMan(uid,"系所配置");boolean b1_4 = StaticBean.existOfMan(uid,"人員配置");boolean b1_5 = StaticBean.existOfMan(uid,"角色權(quán)限配置");//通知欄boolean b3_1 = StaticBean.existOfMan(uid,"發(fā)布通知");boolean b3_2 = StaticBean.existOfMan(uid,"通知瀏覽");//工作安排//boolean b4_1 = StaticBean.existOfMan(uid,"新建安排");//boolean b4_2 = StaticBean.existOfMan(uid,"工作安排管理")||StaticBean.existOfMan(uid,"個人安排");//問題解答//boolean b7_1 = StaticBean.existOfMan(uid,"提問題");//boolean b7_2 = StaticBean.existOfMan(uid,"問題查詢");//boolean b7_3 = StaticBean.existOfMan(uid,"回答問題");//領(lǐng)導(dǎo)信箱boolean b8_1 = StaticBean.existOfMan(uid,"寫信");boolean b8_2 = StaticBean.existOfMan(uid,"收件箱");boolean b8_3 = StaticBean.existOfMan(uid,"發(fā)件箱");//相關(guān)文件boolean b9_1 = StaticBean.existOfMan(uid,"文件上傳");boolean b9_2 = StaticBean.existOfMan(uid,"文件下載");%><html><head><link rel=stylesheet href="../index.css" type="text/css"><title>Welcome to Kevin's Homepage</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><style type="text/css"><!--.style1 {color: #990000}--></style></head><body bgcolor="#94C5FF"topmargin="0" leftmargin="0" ><style type=text/css><!--BODY {SCROLLBAR-FACE-COLOR:#ffffff;SCROLLBAR-HIGHLIGHT-COLOR:#ffffff;SCROLLBAR-SHADOW-COLOR:#ffffff;SCROLLBAR-3DLIGHT-COLOR:#ffffff;SCROLLBAR-ARROW-COLOR:#0A1870;SCROLLBAR-DARKSHADOW-COLOR:ffffff;}--></style><table bgcolor="#94C5FF" width="140" height="400" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center"><p><%if(b1_1||b1_2||b1_4||b1_5){%><hr><font size=2>系 統(tǒng) 設(shè) 置<br> <%if(b1_1){%><a style="cursor:hand" onclick="parent.mainFrame.location='a.htm'"><font color=blue size=2>學(xué)院配置</font></a><br><%}%> <%if(b1_2){%><a style="cursor:hand" onclick="parent.mainFrame.location='b.htm'"><font color=blue size=2>系所配置</font></a><br><%}%> <%if(b1_4){%><a style="cursor:hand" onclick="parent.mainFrame.location='d.htm'"><font color=blue size=2>人員配置</font></a><br><%}%> <%if(b1_5){%><a style="cursor:hand" onclick="parent.mainFrame.location='e.htm'"><font color=blue size=2>角色權(quán)限配置</font></a><br><%}%> <%}%><%if(b3_1||b3_2){%><hr><font size=2>通 知 通 告<br> <%if(b3_1){%><a style="cursor:hand" onclick="parent.mainFrame.location='new.htm'"><font color=blue size=2>通知發(fā)布</font></a><br><%}%> <%if(b3_2){%><a style="cursor:hand" onclick="parent.mainFrame.location='j.htm'"><font color=blue size=2>通知瀏覽</font></a><br><%}%> <%}%> <!-- --><!-- --><%if(b8_1||b8_2||b8_3){%><hr><font size=2>領(lǐng) 導(dǎo) 信 箱<br> <%if(b8_1){%><a style="cursor:hand" onclick="parent.mainFrame.location='v.htm'"><font color=blue size=2>寫信</font></a><br><%}%> <%if(b8_2){%><a style="cursor:hand" onclick="parent.mainFrame.location='w.htm'"><font color=blue size=2>收件箱</font></a><br><%}%> <%if(b8_3){%><a style="cursor:hand" onclick="parent.mainFrame.location='x.htm'"><font color=blue size=2>發(fā)件箱</font></a><br><%}%> <%}%><%if(b9_1||b9_2){%><hr><font size=2>文 件 中 心<br> <%if(b9_1){%><a style="cursor:hand" onclick="parent.mainFrame.location='p.htm'"><font color=blue size=2>文件上傳</font></a></font><Br><%}%> <%if(b9_2){%><a style="cursor:hand" onclick="parent.mainFrame.location='q.htm'"><font color=blue size=2>文件下載</font></a></font><Br><%}%> <%}%></p> </tr> </td></table> </body></html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -