📄 _officemain.java
字号:
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[8]);
/*@lineinfo:user-code*//*@lineinfo:134^87*/ out.print(li.getPeopleName());
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[9]);
/*@lineinfo:user-code*//*@lineinfo:135^15*/ java.text.SimpleDateFormat format=new SimpleDateFormat("yyyy-MM-dd"); String date=format.format(new java.util.Date());
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[10]);
/*@lineinfo:user-code*//*@lineinfo:225^91*/ out.print(li.getPeopleID());
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[11]);
/*@lineinfo:user-code*//*@lineinfo:225^170*/ out.print(li.getPeopleID());
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[12]);
}
catch( Throwable e) {
try {
if (out != null) out.clear();
}
catch( Exception clearException) {
}
pageContext.handlePageException( e);
}
finally {
OracleJspRuntime.extraHandlePCFinally(pageContext,false);
JspFactory.getDefaultFactory().releasePageContext(pageContext);
}
}
private static final char __oracle_jsp_text[][]=new char[13][];
static {
try {
__oracle_jsp_text[0] =
"\n".toCharArray();
__oracle_jsp_text[1] =
"\n".toCharArray();
__oracle_jsp_text[2] =
"\n".toCharArray();
__oracle_jsp_text[3] =
"\n".toCharArray();
__oracle_jsp_text[4] =
"\n".toCharArray();
__oracle_jsp_text[5] =
"\n".toCharArray();
__oracle_jsp_text[6] =
"\n<html>\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\"/>\n <title>欢迎使用教师办公管理系统</title>\n <style type=\"text/css\"> \n table{font-size:13px} \n <!--\n\t\t\ta:link { text-decoration: none;color: black} \n\t\t\ta:active { text-decoration:blink;} \n\t\t\t\n\t\t\ta:hover {text-decoration: underline;position: relative; top: 3px; left: 3px; color: red} \n \t\t\ta:visited { text-decoration:none;color: black} \n\t\t\t-->\n </style>\n </head>\n <body topMargin=\"0\" leftMargin=\"0\">\n <!--这是总的表格的表格-->\n <table width=\"1002\" height=\"568\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n <!--这是上半部份表格开始-->\n <tr valign=\"middle\">\n <td colspan=\"2\" height=\"40\">\n <img src=\"image/top.gif\" height=\"90\" width=\"1002\"/>\n </td>\n </tr>\n <!--这是上半部份表格结束-->\n ".toCharArray();
__oracle_jsp_text[7] =
"\n <!--这是下半部份表格开始-->\n <tr>\n <td height=\"528\" width=\"180\" valign=\"top\">\n <!--这是下半部左框架表格开始-->\n <table cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#4f7ec9\" width=\"180\" border=\"0\">\n <tr valign=\"top\">\n <td height=\"1\" width=\"184\" valign=\"top\"><hr/></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\" align=\"center\"><font color=\"red\">系 统 设 置</font></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\" align=\"center\"><img src=\"image/arr.gif\"/><a href=\"displayCollege.jsp\" target=\"child\"/><font color=\"white\">学院配置</font></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\" align=\"center\"><img src=\"image/arr.gif\"/><a href=\"displayDepartment.jsp\" target=\"child\"/><font color=\"white\">部门配置</font></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\" align=\"center\"><img src=\"image/arr.gif\"/><a href=\"displayRole.jsp\" target=\"child\"/><font color=\"white\">角色配置</font></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\" align=\"center\"><img src=\"image/arr.gif\"/><a href=\"displayRight.jsp\" target=\"child\"/><font color=\"white\">权限配置</font></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\" align=\"center\"><img src=\"image/arr.gif\"/><a href=\"displayPeople.jsp\" target=\"child\"/><font color=\"white\">人员配置</font></td>\n </tr>\n <tr>\n <td height=\"1\" width=\"184\" align=\"center\"><hr/></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\" align=\"center\"><font color=\"Red\">通 知 通 告</font></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\" align=\"center\"><img src=\"image/arr.gif\"/><a href=\"newInform.jsp\" target=\"child\"/><font color=\"white\">通知发布</font></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\" align=\"center\"><img src=\"image/arr.gif\"/><a href=\"FindInform.jsp?id=".toCharArray();
__oracle_jsp_text[8] =
"\" target=\"child\"/><font color=\"white\">通知浏览</font></td>\n </tr>\n <tr>\n <td height=\"1\" width=\"184\" align=\"center\"><hr/></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\" align=\"center\"><font color=\"Red\">领 导 信 箱</font></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\" align=\"center\"><img src=\"image/arr.gif\"/><a href=\"newEmail.jsp\" target=\"child\"/><font color=\"white\">写 信</font></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\" align=\"center\"><img src=\"image/arr.gif\"/><a href=\"displayEmail.jsp\" target=\"child\"/><font color=\"white\">收 件 箱</font></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\" align=\"center\"><img src=\"image/arr.gif\"/><a href=\"displayFaJianXiang.jsp\" target=\"child\"/><font color=\"white\">发 件 箱</font></td>\n </tr>\n <tr>\n <td height=\"1\" width=\"184\" align=\"center\"><hr/></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\" align=\"center\"><font color=\"Red\">我 公 文 包</font></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\" align=\"center\"><img src=\"image/arr.gif\"/><a href=\"displayMessage.jsp\" target=\"child\"/><font color=\"white\">通 讯 录</font></td>\n </tr>\n <tr>\n <td height=\"1\" width=\"184\" align=\"center\"><hr/></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\" align=\"center\"><font color=\"Red\">文 件 中 心</font></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\" align=\"center\"><img src=\"image/arr.gif\"/><a href=\"upload.jsp\" target=\"child\"/><font color=\"white\">文件上传</font></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\" align=\"center\"><img src=\"image/arr.gif\"/><a href=\"displayFile.jsp\" target=\"child\"/><font color=\"white\">文件下载</font></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\" align=\"center\"><img src=\"image/arr.gif\"/><a href=\"OfficeLogin.jsp\"/><font color=\"white\">重新登录</font></td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\"> </td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\"> </td>\n </tr>\n <tr>\n <td height=\"25\" width=\"184\"> </td>\n </tr>\n </table>\n <!--这是下半部左框架表格开始-->\n </td>\n <!--这是右框架的表格开始-->\n <td height=\"528\" width=\"822\" valign=\"top\" align=\"left\">\n \n <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"822\">\n <tr bgcolor=\"#89cb10\">\n <td width=\"150\" height=\"25\"> <img src=\"image/icon.gif\"/> 当前用户:".toCharArray();
__oracle_jsp_text[9] =
"</td>\n ".toCharArray();
__oracle_jsp_text[10] =
"\n <td width=\"431\" align=\"center\" height=\"25\">\n <script language=\"JavaScript\">\n\t\t\t\t\t\t\t\t\t//此方法获取当前的年月日\n\t\t\t\t\t\t\t\t\tfunction Year_Month()\n\t\t\t\t\t\t\t\t\t{ \n\t\t\t\t\t\t\t\t\t\t//获取当前日期类对象\n\t\t\t\t\t\t\t\t\t\tvar now = new Date();\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t//利用日期类对象分别分别获取年,月,日\n\t\t\t\t\t\t\t\t\t\tdate =(now.getYear()) + \"年\" + (now.getMonth() + 1 ) + \"月\" + now.getDate() + \"日\";\n\t\t\t\t\t\t\t\t\t\treturn(date); \n\t\t\t\t\t\t\t\t\t} \t\t\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t//此方法获取当前日期是星期几\n\t\t\t\t\t\t\t\t\tfunction Day_of_Today()\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t//获取当前日期类对象\n\t\t\t\t\t\t\t\t\t\tvar now = new Date();\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t//分别判断日期,以获得是星期几\n\t\t\t\t\t\t\t\t\t\tif(now.getDay()==0) day = \"星期日\"\n\t\t\t\t\t\t\t\t\t\tif(now.getDay()==1) day = \"星期一\"\n\t\t\t\t\t\t\t\t\t\tif(now.getDay()==2) day = \"星期二\"\n\t\t\t\t\t\t\t\t\t\tif(now.getDay()==3) day = \"星期三\"\n\t\t\t\t\t\t\t\t\t\tif(now.getDay()==4) day = \"星期四\"\n\t\t\t\t\t\t\t\t\t\tif(now.getDay()==5) day = \"星期五\"\n\t\t\t\t\t\t\t\t\t\tif(now.getDay()==6) day = \"星期六\" \n\t\t\t\t\t\t\t\t\t\treturn(day); \n\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t//此方法获取当前的时间\n\t\t\t\t\t\t\t\t\tfunction CurentTime()\n\t\t\t\t\t\t\t\t\t{ \n\t\t\t\t\t\t\t\t\t\t//获取当前日期类对象\n\t\t\t\t\t\t\t\t\t\tvar now = new Date();\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t//利用日期类获取当前的小时\n\t\t\t\t\t\t\t\t\t\tvar hours=now.getHours();\n\t\t\t\t\t\t\t\t\t\t//利用日期类获取当前的分钟\n\t\t\t\t\t\t\t\t\t\tvar minutes=now.getMinutes();\n\t\t\t\t\t\t\t\t\t\t//利用日期类获取当前的秒\n\t\t\t\t\t\t\t\t\t\tvar seconds=now.getSeconds();\n\t\t\t\t\t\t\t\t\t\t//定义一个变量,判断是上午还是下午\n\t\t\t\t\t\t\t\t\t\tvar noon=\"AM\";\n\t\t\t\t\t\t\t\t\t\tif(hours>12)\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tnoon=\"PM\";\n\t\t\t\t\t\t\t\t\t\t\t//如果是下午13点,让其显示为1点\n\t\t\t\t\t\t\t\t\t\t\thours=hours-12;\t\t\t\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t//测试如果是零点就显示为12点\n\t\t\t\t\t\t\t\t\t\tif(hours==0)\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\thours=12;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif(minutes<=9)\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tminutes=\"0\"+minutes;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif(seconds<=9)\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tseconds=\"0\"+seconds;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tvar clock=hours+\":\"+minutes+\":\"+seconds+\" \"+noon;\n\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\treturn(clock); \n\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t\t\t//设置刷新方法\n\t\t\t\t\t\t\t\t\tfunction refreshCalendarClock()\n\t\t\t\t\t\t\t\t\t{ \n\t\t\t\t\t\t\t\t\t\tdocument.all.calendarClock1.innerHTML = Year_Month(); \n\t\t\t\t\t\t\t\t\t\tdocument.all.calendarClock2.innerHTML = Day_of_Today(); \n\t\t\t\t\t\t\t\t\t\tdocument.all.calendarClock3.innerHTML = CurentTime(); \n\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t\t\t//设置获取数值的格式,让它在表格中进行显示\n\t\t\t\t\t\t\t\t\tdocument.write('<table><tr>'); \n\t\t\t\t\t\t\t\t\tdocument.write('<td><font id=\"calendarClock1\"></font></td>'); \n\t\t\t\t\t\t\t\t\tdocument.write('<td> </td>')\n\t\t\t\t\t\t\t\t\tdocument.write('<td><font id=\"calendarClock2\"></font></td>'); \n\t\t\t\t\t\t\t\t\tdocument.write('<td> </td>')\n\t\t\t\t\t\t\t\t\tdocument.write('<td><font id=\"calendarClock3\"></font></td>'); \n\t\t\t\t\t\t\t\t\tdocument.write('</tr></table>'); \n\t\t\t\t\t\t\t\t\t//让获取日期时间的脚本每一秒刷新一次,达到时时刷新的目的\n\t\t\t\t\t\t\t\t\tsetInterval('refreshCalendarClock()',1000);\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t</script>\n </td>\n <td width=\"138\" align=\"center\" height=\"25\">[<a href=\"FindPeopleAction.do?id=".toCharArray();
__oracle_jsp_text[11] =
"\" target=\"child\">个人信息</a>|<a href=\"EditPeopleAction.do?id=".toCharArray();
__oracle_jsp_text[12] =
"\" target=\"child\">修改</a>]</td>\n </tr>\n <tr>\n <td colspan=\"3\" height=\"1\" width=\"822\"><img src=\"image/1.png\" width=\"822\"/></td>\n </tr>\n <tr>\n <td colspan=\"3\" height=\"575\" valign=\"top\" align=\"left\">\n <iframe id=\"child\" style=\"WIDTH: 822px; HEIGHT: 575px\" name=\"child\" marginWidth=\"0\" hspace=\"0\"\n\t\t\t\t\t\t\t\t\tvspace=\"0\" marginHeight=\"0\" src=\"child.jsp\" frameBorder=\"2\" noResize scrolling=\"yes\" offsetLeft=\"0\"\n\t\t\t\t\t\t\t\t\toffsetTop=\"0\"></iframe>\n </td>\n </tr>\n <tr>\n <td height=\"25\" bgcolor=\"#89cb10\" colspan=\"3\" align=\"center\">版权所有:吉林大学远程教育学院计算机分院 0231班 刘志良</td>\n </tr>\n </table>\n \n \n </td>\n <!--这是右框架的表格结束-->\n </tr>\n <!--这是下半部份表格结束--> \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n </table>\n </body>\n</html>\n<html>\n <body/>\n</html>\n".toCharArray();
}
catch (Throwable th) {
System.err.println(th);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -