⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main_jsp.java

📁 一套JAVA开发的OA系统,包括工作流,客户管理、个人管理、车辆管理,人事管理等。
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
          out.write("    <th width=\"65\" height=\"41\" scope=\"col\"><img src=\"images/");
          out.print(css_name);
          out.write("/maintabletophy1.gif\" width=\"65\" height=\"41\"></th>\r\n");
          out.write("    <th class=\"mainnoteword\" scope=\"col\"><div align=\"center\">\r\n");
          out.write("        <table width=\"100%\" height=\"100%\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
          out.write("          <tr>\r\n");
          out.write("            <th width=\"40%\" height=\"7\" scope=\"col\"></th>\r\n");
          out.write("            <th width=\"60%\" height=\"7\" scope=\"col\"></th>\r\n");
          out.write("          </tr>\r\n");
          out.write("          <tr>\r\n");
          out.write("            <th class=\"mainnotefont\" scope=\"row\"><div align=\"left\">提示:</div></th>\r\n");
          out.write("            <td><div align=\"right\"> </div></td>\r\n");
          out.write("          </tr>\r\n");
          out.write("        </table>\r\n");
          out.write("    </div></th>\r\n");
          out.write("    <th width=\"65\" height=\"41\" scope=\"col\"><img src=\"images/");
          out.print(css_name);
          out.write("/maintabletophy2.gif\" width=\"65\" height=\"41\"></th>\r\n");
          out.write("  </tr>\r\n");
          out.write("</table>\r\n");
          out.write("<table width=\"95%\"  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
          out.write("  <tr>\r\n");
          out.write("    <th class=\"maintableleft\" scope=\"col\"></th>\r\n");
          out.write("    <th valign=\"top\" scope=\"col\"><table width=\"100%\"  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
          out.write("      <tr>\r\n");
          out.write("        <th width=\"49%\" valign=\"top\" scope=\"col\">\r\n");
          out.write("         <table width=\"100%\"  border=\"1\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#FFFFFF\" class=\"mainlisttable\">\r\n");
          out.write("          <tr align=\"center\" class=\"mainlisttitle\">\r\n");
          out.write("            <td colspan=\"4\" class=\"mainlisttitle\">公 告 通 知 </td>\r\n");
          out.write("            </tr>\r\n");
          out.write("          <tr align=\"center\" class=\"mainlisttablelight\">\r\n");
          out.write("          <td>\r\n");
          out.write("\r\n");
          out.write("           <marquee onMouseOver=this.stop() onMouseOut=this.start() scrollamount=1 scrolldelay=50 direction=up height=\"168\">\r\n");
          out.write("             ");

                       ArrayList al = pageManager.getAllInform();
                      if (al!=null) {
                        if(al.size() > 5){
                        for (int i = 0; i < 5; i++) {
              
          out.write("\r\n");
          out.write("\t\t<a href=\"#\" onclick=\"window.open ('");
          out.print(Constant.ROOTPATH);
          out.write("inform/viewRuleContent.jsp?id=");
          out.print(((InformModel)al.get(i)).getBulletin_pk());
          out.write("', 'viewwindows', 'height=480, width=480, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no')\">★&nbsp;");
          out.print(((InformModel)al.get(i)).getTitle());
          out.write("</a>&nbsp;&nbsp;<br><br>\r\n");
          out.write("              ");


                        }
                      }else{
                             for (int i = 0; i < al.size(); i++) {
               
          out.write("\r\n");
          out.write("            \t<a href=\"#\" onclick=\"window.open ('");
          out.print(Constant.ROOTPATH);
          out.write("inform/viewRuleContent.jsp?id=");
          out.print(((InformModel)al.get(i)).getBulletin_pk());
          out.write("', 'viewwindows', 'height=480, width=480, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no')\">★&nbsp;");
          out.print(((InformModel)al.get(i)).getTitle());
          out.write("</a>&nbsp;&nbsp;<br><br>\r\n");
          out.write("              ");

                             }
                        }
                   }
              
          out.write("\r\n");
          out.write("            </marquee>\r\n");
          out.write("        </td>\r\n");
          out.write("      <tr>\r\n");
          out.write("        </table></th>\r\n");
          out.write("        <th width=\"2%\" scope=\"col\"></th>\r\n");
          out.write("        <th width=\"49%\" valign=\"top\" scope=\"col\">\r\n");

				//MailBO mailbo = new MailBO();
				ArrayList arraylist = new ArrayList();   //mailbo.getUnreadMail(userid);
				 
          out.write("\r\n");
          out.write("<table width=\"100%\"   align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#FFFFFF\" class=\"mainlisttable\">\r\n");
          out.write("          <tr align=\"center\" class=\"mainlisttable\">\r\n");
          out.write("            <td colspan=\"4\" class=\"mainlisttitle\">未 读 邮 件</td>\r\n");
          out.write("          </tr>\r\n");
          out.write("          <tr align=\"center\" class=\"mainlisttablelight\">\r\n");
          out.write("            <td  height=151  valign=\"top\">\r\n");
          out.write("              <table width=\"100%\" border=\"1\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#FFFFFF\" class=\"mainlisttable\">\r\n");
          out.write("                <tr align=\"center\" class=\"top3info\">\r\n");
          out.write("                  <td width=\"39%\" > 寄件人</td>\r\n");
          out.write("                  <td width=\"30%\" >主题</td>\r\n");
          out.write("                  <td width=\"31%\"  >日期</td>\r\n");
          out.write("                </tr>\r\n");
          out.write("            ");
if (arraylist.size()==0) {
          out.write("\r\n");
          out.write("                   <tr class=\"odd\">\r\n");
          out.write("\t\t\t\t  <td colspan=\"3\" align=center> <font color=\"#CC0000\">没有未读邮件!&nbsp;</font>\r\n");
          out.write("\t\t\t\t  </td>\r\n");
          out.write("\t\t\t\t </tr>\r\n");
          out.write("\t\t\t\t");
}else{
          out.write("\r\n");
          out.write("\t\t\t\t\t");

					boolean tr5 = true;
					int m=0;
					 for (int i = 0; i <arraylist.size(); i++) {
					  HashMap listMap = (HashMap)arraylist.get(i);
					  System.out.println("list");
						m++;
						if(m<8){
				
          out.write("\r\n");
          out.write("\t\t\t\t\t");
 if(tr5) {
					
          out.write("\r\n");
          out.write("\t\t\t\t\t<tr class=\"mainlisttabledark\">\r\n");
          out.write("\t\t\t\t\t");
} else {
          out.write("\r\n");
          out.write("\t\t\t\t\t<tr class=\"mainlisttablelight\">\r\n");
          out.write("\t\t\t\t  ");
}
          out.write("\r\n");
          out.write("                  <td  align=\"center\">");
          out.print(listMap.get("sender"));
          out.write("</td>\r\n");
          out.write("                  <td  align=\"center\"><a href=\"/oa/oaweb/mail/MailDetailAction.do?actionType=read&id=");
          out.print(listMap.get("id"));
          out.write('"');
          out.write('>');
          out.print(listMap.get("subject"));
          out.write("</a></td>\r\n");
          out.write("                  <td  align=\"center\">");
          out.print(listMap.get("maildate"));
          out.write("</td>\r\n");
          out.write("\t\t\t\t  ");
}
}
          out.write("\r\n");
          out.write("                </tr>\r\n");
          out.write("\t\t\t\t");
}
          out.write("\r\n");
          out.write("            </table></td>\r\n");
          out.write("          </tr>\r\n");
          out.write("\t\t\t\t");
if (arraylist.size()>0){
          out.write("\r\n");
          out.write("          <tr>\r\n");
          out.write("\r\n");
          out.write("            <td height=\"18\"><div align=\"right\"><a href=\"/oa/oaweb/mail/MailAction.do?actionType=query&folderid=1&isnew=true&obf=maildate\">更多...</a></div></td>\r\n");
          out.write("          </tr>\r\n");
          out.write("\t\t\t");
}
          out.write("\r\n");
          out.write("        </table></th>\r\n");
          out.write("      </tr>\r\n");
          out.write("    </table>\r\n");
          out.write("      <table width=\"100%\"  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
          out.write("        <tr>\r\n");
          out.write("          <th class=\"indexdivline\" scope=\"col\">&nbsp;</th>\r\n");
          out.write("        </tr>\r\n");
          out.write("      </table>\r\n");
          out.write("      <table width=\"100%\"  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
          out.write("        <tr>\r\n");
          out.write("          <th width=\"49%\" valign=\"top\" scope=\"col\">\r\n");
          out.write("\t\t  <table width=\"100%\"   align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#FFFFFF\" class=\"mainlisttable\">\r\n");
          out.write("              <tr align=\"center\" class=\"mainlisttitle\">\r\n");
          out.write("                <td colspan=\"4\" class=\"mainlisttitle\">待 办 工 作 ( 共 <span class=\"fontstrong1\">");
          out.print(String.valueOf(pageManager.getMytodoWorkListNumber(userid)));
          out.write("</span> 件 )</td>\r\n");
          out.write("              </tr>\r\n");
          out.write("              <tr align=\"center\" class=\"mainlisttablelight\">\r\n");
          out.write("                <td  height=151 width=500 valign=\"top\">               <table width=\"100%\"  border=\"1\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#FFFFFF\" class=\"mainlisttable\">\r\n");
          out.write("\t\t\t\t<tr align=\"center\" class=\"indextitle2\">\r\n");
          out.write("                      <td>标题</td>\r\n");
          out.write("                      <td>工作来源</td>\r\n");
          out.write("                      <td>办理时限</td>\r\n");
          out.write("\t\t\t   </tr>\r\n");
          out.write("\t\t\t");

              boolean tr = true;
			  int n=0;
            
          out.write("\r\n");
          out.write("\t\t\t");
          //  logic:iterate
          org.apache.struts.taglib.logic.IterateTag _jspx_th_logic_iterate_0 = (org.apache.struts.taglib.logic.IterateTag) _jspx_tagPool_logic_iterate_property_name_id.get(org.apache.struts.taglib.logic.IterateTag.class);
          _jspx_th_logic_iterate_0.setPageContext(_jspx_page_context);
          _jspx_th_logic_iterate_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
          _jspx_th_logic_iterate_0.setId("ListShowBean");
          _jspx_th_logic_iterate_0.setName("InstanceForm");
          _jspx_th_logic_iterate_0.setProperty("RecordSet");
          int _jspx_eval_logic_iterate_0 = _jspx_th_logic_iterate_0.doStartTag();
          if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            java.lang.Object ListShowBean = null;
            if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              out = _jspx_page_context.pushBody();
              _jspx_th_logic_iterate_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
              _jspx_th_logic_iterate_0.doInitBody();
            }
            ListShowBean = (java.lang.Object) _jspx_page_context.findAttribute("ListShowBean");
            do {
              out.write("\r\n");
              out.write("\t\t\t");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -