📄 manageinstitution_jsp.java
字号:
out.write(" <td colspan=\"2\"> </td>\n");
out.write(" <td> </td>\n");
out.write(" </tr>\n");
out.write(" <tr>\n");
out.write(" <td> </td>\n");
out.write(" <td colspan=\"2\"><table width=\"615\" border=\"0\">\n");
out.write(" <tr>\n");
out.write(" <td width=\"54\">Name</td>\n");
out.write(" <td width=\"100\"><input name=\"place\" type=\"text\" class=\"sidelinks\" size=\"10\" />\n");
out.write(" </td>\n");
out.write(" <td width=\"48\"><div align=\"right\"></div></td>\n");
out.write(" <td width=\"144\"><div align=\"left\"> </div></td>\n");
out.write(" <td width=\"68\"><div align=\"right\"></div></td>\n");
out.write(" <td width=\"79\"></td>\n");
out.write(" <td width=\"92\"><div align=\"left\"><span class=\"style17\"><strong>\n");
out.write(" <input name=\"enter\" type=\"button\" class=\"style13\" id=\"enter\" onclick=\"javascript:searchInstitution();\" value=\"Search\" />\n");
out.write(" </strong></span> </div></td>\n");
out.write(" </tr>\n");
out.write(" </table></td>\n");
out.write(" <td> </td>\n");
out.write(" </tr>\n");
out.write(" <tr>\n");
out.write(" <td> </td>\n");
out.write(" <td colspan=\"2\"> </td>\n");
out.write(" <td> </td>\n");
out.write(" </tr>\n");
out.write(" <tr>\n");
out.write(" <td height=\"78\"> </td>\n");
out.write(" <td colspan=\"2\"><table width=\"603\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\" class=\"forumline\" bordercolordak=\"#666666\" bordercolorlight=\"#FFFFFF\">\n");
out.write(" <tr class=\"bottomline\">\n");
out.write(" <td width=\"87\" height=\"18\"><div align=\"left\" class=\"style11\">\n");
out.write(" <div align=\"center\" class=\"style34\"><strong>institution_id</strong></div>\n");
out.write(" </div></td>\n");
out.write(" <td width=\"95\"><span class=\"style37\">address_id</span></td>\n");
out.write(" <td width=\"96\"><div align=\"left\" class=\"style11\">\n");
out.write(" <div align=\"center\" class=\"style34\">name</div>\n");
out.write(" </div></td>\n");
out.write(" <td width=\"66\"><div align=\"left\" class=\"style11\">\n");
out.write(" <div align=\"center\" class=\"style34\"><strong><strong>code</strong></strong></div>\n");
out.write(" </div></td>\n");
out.write(" <td width=\"175\"><div align=\"left\" class=\"style11\">\n");
out.write(" <div align=\"center\" class=\"style36\">affliation</div>\n");
out.write(" </div></td>\n");
out.write(" <td width=\"175\"><div align=\"left\" class=\"style11\">\n");
out.write(" <div align=\"center\" class=\"style36\">courses</div>\n");
out.write(" </div></td>\n");
out.write(" <td width=\"175\"><div align=\"left\" class=\"style11\">\n");
out.write(" <div align=\"center\" class=\"style36\">facilities</div>\n");
out.write(" </div></td>\n");
out.write(" <td width=\"38\"><div align=\"center\"><span class=\"style34\"><strong>Actions</strong></span></div></td>\n");
out.write(" </tr>\n");
out.write(" ");
out.write("\n");
out.write(" ");
if(institutions != null) { for ( i=0; i<institutions.size(); i++) { Object[] institution = (Object[]) institutions.get(i);
out.write("\n");
out.write(" <tr class=\"clsCMOn\">\n");
out.write(" \n");
out.write(" <td> <input type=\"text\" name=\"text[");
out.print(i);
out.write("][0]\" value=\"");
out.print(institution[0]);
out.write("\"/></td>\n");
out.write(" <td> <input type=\"text\" name=\"text[");
out.print(i);
out.write("][1]\" value=\"");
out.print(institution[1]);
out.write("\"/></td>\n");
out.write(" <td> <input type=\"text\" name=\"text[");
out.print(i);
out.write("][2]\" value=\"");
out.print(institution[2]);
out.write("\"/></td>\n");
out.write(" <td> <input type=\"text\" name=\"text[");
out.print(i);
out.write("][3]\" value=\"");
out.print(institution[3]);
out.write("\"/></td>\n");
out.write(" <td> <input type=\"text\" name=\"text[");
out.print(i);
out.write("][4]\" value=\"");
out.print(institution[4]);
out.write("\"/></td>\n");
out.write(" <td> <input type=\"text\" name=\"text[");
out.print(i);
out.write("][5]\" value=\"");
out.print(institution[5]);
out.write("\"/></td>\n");
out.write(" <td> <input type=\"text\" name=\"text[");
out.print(i);
out.write("][6]\" value=\"");
out.print(institution[6]);
out.write("\"/></td>\n");
out.write(" ");
String id=(String)institution[0];
out.write(" \n");
out.write(" \n");
out.write(" <td><div align=\"center\"> <img src=\"images/edit.gif\" width=\"16\" height=\"16\" />\n");
out.write(" <input type=\"button\" name=\"Delete\" value=\"Delete\" onclick=\"JavaScript:deleteInstitution(");
out.print(institution[0]);
out.write(");\" />\n");
out.write(" <input type=\"button\" name=\"Manage\" value=\"Manage\" onclick=\"JavaScript:manageInstitution(");
out.print(institution[0]);
out.write(',');
out.print(i);
out.write(");\" />\n");
out.write(" </div></td>\n");
out.write(" </tr>\n");
out.write(" ");
} }
out.write("\n");
out.write(" </table></td>\n");
out.write(" <td> </td>\n");
out.write(" </tr>\n");
out.write(" <tr>\n");
out.write(" <td> </td>\n");
out.write(" <td colspan=\"2\"> </td>\n");
out.write(" <td> </td>\n");
out.write(" </tr>\n");
out.write(" </table>\n");
out.write(" <p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <div id=\"footer\">\n");
out.write(" <div class=\"l\">\n");
out.write(" <div class=\"r\">\n");
out.write(" <div align=\"center\"></div>\n");
out.write(" <div id=\"foot-nav\">\n");
out.write(" <div class=\"l\">\n");
out.write(" <div class=\"r\">\n");
out.write(" <div align=\"center\"><a href=\"index.jsp\">HOME </a>| <a href=\"service.jsp\">SERVICES</a> | <a href=\"contactus.jsp\">CONTACT US</a> </div>\n");
out.write(" </div>\n");
out.write(" </div>\n");
out.write(" </div>\n");
out.write(" <div align=\"center\">\n");
out.write(" <!-- end foot-nav -->\n");
out.write(" </div>\n");
out.write(" <p align=\"center\">Powered by <a href=\"http://www.freewebsitetemplates.com\">Free Website Templates</a></p>\n");
out.write(" </div>\n");
out.write(" </div>\n");
out.write(" </div>\n");
out.write(" </div>\n");
out.write("<!-- end body -->\n");
out.write(" </div><!-- end wrapper-i -->\n");
out.write(" </div><!-- end wrapper -->\n");
out.write(" \n");
out.write("</form>\n");
out.write("</body>\n");
out.write("</html>\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -