characterclassView.jsp
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:5k
源码类别:

Applet

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
  2. <script language="javascript" src="../js/characterclass.js"></script>
  3. <jsp:useBean id="characterclassBeans" class="MyFly.Bean.characterclassBeans" scope="request"/>
  4. <STYLE type=text/css>
  5. BODY {
  6. BACKGROUND: #799ae1; FONT: 9pt 宋体; MARGIN: 0px
  7. }
  8. TABLE {
  9. BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px
  10. }
  11. TD {
  12. FONT: 12px 宋体
  13. }
  14. IMG {
  15. BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px; VERTICAL-ALIGN: bottom
  16. }
  17. A {
  18. COLOR: #000000; FONT: 12px 宋体; TEXT-DECORATION: none
  19. }
  20. A:hover {
  21. COLOR: #428eff; TEXT-DECORATION: underline
  22. }
  23. .sec_menu {
  24. BACKGROUND: #d6dff7; BORDER-BOTTOM: white 1px solid; BORDER-LEFT: white 1px solid; BORDER-RIGHT: white 1px solid; OVERFLOW: hidden
  25. }
  26. .menu_title {
  27. }
  28. .menu_title SPAN {
  29. COLOR: #215dc6; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
  30. }
  31. .menu_title2 {
  32. }
  33. .menu_title2 SPAN {
  34. COLOR: #428eff; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
  35. }
  36. .style1 {color: #FF0000}
  37. .style6 {color: #CC00FF}
  38. </STYLE>
  39. <script language="javascript" src="../js/column.js"></script>
  40. <html>
  41. <head>
  42. <title产品性质类别管理</title>
  43. <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
  44. </head>
  45. <body>
  46. <p>&nbsp;</p>
  47. <table width="696" height="2%" border="0" align="center" cellpadding="0" cellspacing="0">
  48.   <tr> 
  49.     <td height="33" align="center"><span class="style1">图书类别管理</span></td>
  50.   </tr>
  51. </table>
  52. <table width="696" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
  53.   <tr valign="middle" bgcolor="#799ae1"> 
  54.     <td width="271" height="29" align="center"><font color="#FFFFFF">性质类别名称</font></td>
  55.     <td width="306" align="center"><font color="#FFFFFF">性质类别备注</font></td>
  56.     <td align="center"><font color="#FFFFFF">编辑</font></td>
  57.     <td align="center"><font color="#FFFFFF">删除</font></td>
  58.   </tr>
  59. <%
  60.     //String sql="select * from characterclass";
  61. //ResultSet set=characterclassBean.getQuery(sql);
  62. //while(set.next())
  63. //{
  64.    characterclassBeans.getQuery("-1");
  65.    for(int i=0; i<characterclassBeans.getItems(); i++)
  66.    {
  67.      
  68. %>
  69.   <tr> 
  70.     <td height="28" align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="proView.jsp?proType=characterType&pageNum=1&proNum=<%=characterclassBeans.getCharacterID(i)%>"><font color="#FF0000"><%=characterclassBeans.getCharacterName(i)%></font></a></td>
  71.     <td align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%=characterclassBeans.getCharacterInfo(i)%></a></td>
  72. <td width="55" align="center"><a href="characterclassEdit.jsp?classid=<%=characterclassBeans.getCharacterID(i)%>"><img src="../images/admin/edit.gif" alt="" width="19" height="18" border="0"></a></td>
  73.     <td width="54" align="center"><a href="characterclassDel.jsp?classid=<%=characterclassBeans.getCharacterID(i)%>"><img src="../images/admin/del.gif" alt="" width="16" height="16" border="0"></a></td>
  74.   </tr>
  75. <%
  76. }
  77. %>
  78. </table>
  79. <table width="585" height="45" border="0" align="center" cellspacing="0">
  80.   <tr>
  81.     <td height="15" align="center">&nbsp;</td>
  82.   </tr>
  83.   <tr>
  84.     <td height="26" align="center"><span class="style1">添加图书类别信息</span></td>
  85.   </tr>
  86. </table>
  87. <table width="696" height="7%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#ffffff">
  88.   <form action="characterclassInsert.jsp" method=post name="theform" onSubmit = "return check(this)">
  89.   <tr>
  90.     <td height="32" align="center"><font color="#FFFFFF">&nbsp;<span class="style6">(新图书)</span>类别名称:</font>&nbsp;      </td>
  91.     <td height="32" align="left">&nbsp;&nbsp;
  92.       <input name="name" type="text" value="" size="35" height="20"></td>
  93.   </tr>
  94.   <tr>
  95.     <td width="189" height="101" align="left" valign="middle"><div align="center">
  96.       <table width="174" border="0" align="center">
  97.         <tr>
  98.           <td width="17">&nbsp;</td>
  99.           <td width="147"><font color="#FFFFFF"><span class="style6">(新图书</span><span class="style6">)</span>备注信息:</font></td>
  100.         </tr>
  101.         <tr>
  102.           <td>&nbsp;</td>
  103.           <td>&nbsp;</td>
  104.         </tr>
  105.         <tr>
  106.           <td>&nbsp;</td>
  107.           <td>&nbsp;</td>
  108.         </tr>
  109.       </table>
  110.     </div></td>
  111.     <td width="490" align="left" valign="middle"><font color="#FFFFFF">
  112.       &nbsp;&nbsp;
  113.       <textarea name="content" cols="40" rows="5"></textarea>
  114.     </font></td>
  115.   </tr>
  116.   <tr align="center" valign="middle">
  117.       <td height="37" colspan="2"><p><font color="#FFFFFF">
  118.         <input type="submit" name="Submit" value="提交">
  119.       </font></p>                
  120.       </td>
  121.   </tr>
  122.   </form>
  123. </table>
  124. <p>&nbsp; </p>
  125. </body>
  126. </html>