useclassView.jsp
资源名称:shop.rar [点击查看]
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:5k
源码类别:
Applet
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="java.sql.*,java.lang.*"%>
- <script language="javascript" src="../js/useclass.js"></script>
- <jsp:useBean id="useclassBeans" class="MyFly.Bean.useclassBeans" scope="request"/>
- <jsp:useBean id="characterclassBeans" class="MyFly.Bean.characterclassBeans" scope="request"/>
- <STYLE type=text/css>
- BODY {
- BACKGROUND: #799ae1; FONT: 9pt 宋体; MARGIN: 0px
- }
- TABLE {
- BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px
- }
- TD {
- FONT: 12px 宋体
- }
- IMG {
- BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px; VERTICAL-ALIGN: bottom
- }
- A {
- COLOR: #000000; FONT: 12px 宋体; TEXT-DECORATION: none
- }
- A:hover {
- COLOR: #428eff; TEXT-DECORATION: underline
- }
- .sec_menu {
- BACKGROUND: #d6dff7; BORDER-BOTTOM: white 1px solid; BORDER-LEFT: white 1px solid; BORDER-RIGHT: white 1px solid; OVERFLOW: hidden
- }
- .menu_title {
- }
- .menu_title SPAN {
- COLOR: #215dc6; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
- }
- .menu_title2 {
- }
- .menu_title2 SPAN {
- COLOR: #428eff; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
- }
- .style1 {color: #FFFFFF}
- .style2 {color: #FF0000}
- .style4 {color: #FF00FF}
- .style6 {color: #CC00FF}
- </STYLE>
- <script language="javascript" src="../js/column.js"></script>
- <html>
- <head>
- <title>产品用途类别管理</title>
- <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
- </head>
- <body>
- <table width="685" height="12%" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td width="701" height="37" align="center"><span class="style2">图书子类类别管理</span></td>
- </tr>
- </table>
- <table width="696" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
- <tr valign="middle" bgcolor="#799ae1">
- <td width="192" height="31" align="center"><font color="#FFFFFF">子类类别名称</font></td>
- <td width="194" align="center"><font color="#FFFFFF">子类备注</font></td>
- <td width="100" align="center"><font color="#FFFFFF">所属父类名称</font></td>
- <td align="center"><font color="#FFFFFF">编辑</font></td>
- <td align="center"><font color="#FFFFFF">删除</font></td>
- </tr>
- <%
- useclassBeans.getQuery("-1");
- for(int i=0; i<useclassBeans.getItems(); i++)
- {
- %>
- <tr>
- <td height="28" align="left"> <a href="proView.jsp?proType=useType&pageNum=1&proNum=<%=useclassBeans.getUseclassID(i)%>"><font color="#FF0000"><%=useclassBeans.getUseclassName(i)%></font></a></td>
- <td align="left"> <%=useclassBeans.getUseclassInfo(i)%></a></td>
- <%
- int j=useclassBeans.getCharacterID(i);
- %>
- <td align="left"> <%=useclassBeans.getParent(j)%></a></td>
- <td width="50" align="center"><a href="useclassEdit.jsp?classid=<%=useclassBeans.getUseclassID(i)%>"><img src="../images/admin/edit.gif" alt="编辑" width="20" height="18" border="0"></a></td>
- <td width="150" align="center"><a href="useclassDel.jsp?classid=<%=useclassBeans.getUseclassID(i)%>"><img src="../images/admin/del.gif" alt="删除" width="16" height="16" border="0"></a></td>
- </tr>
- <%
- }
- %>
- <%
- %>
- <%
- %>
- </table>
- <table width="585" height="45" border="0" align="center" cellspacing="0">
- <tr>
- <td height="15" align="center"> </td>
- </tr>
- <tr>
- <td height="26" align="center"><span class="style2">添加新书子类信息</span></td>
- </tr>
- </table>
- <table width="685" height="7%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#ffffff">
- <form action="useclassInsert.jsp" method=post name="theform" onSubmit ="return check(this)" >
- <tr >
- <td width="899" height="228" align="center"><table width="696" height="195" border="1" cellspacing="0" bordercolor="#FFFFFF">
- <tr valign="middle">
- <td height="42"><span class="style1"> <span class="style4"> </span>添加子类别名称:</span> </td>
- <td height="42" align="left">
- <input name="name" type="text" size="20" height="20"> </td>
- </tr>
- <tr>
- <td> <span class="style1"> 选择父类:</span> </td>
- <td>
- <select name="characterID">
- <option value="all">请选择</option>
- <%
- characterclassBeans.getQuery("-1");
- for(int i=0; i<characterclassBeans.getItems(); i++)
- {
- %>
- <option value=<%=characterclassBeans.getCharacterID(i)%>><%=characterclassBeans.getCharacterName(i)%></option>
- <%
- }
- %>
- </select>
- </td>
- </tr>
- <tr>
- <td width="231" height="110"><span class="style1"> 子类备注信息:</span></span></td>
- <td width="455"><font color="#000000">
-
- <textarea name="content" cols="50" rows="6"></textarea>
- </font></td>
- </tr>
- <tr align="center">
- <td height="39" colspan="2"><font color="#000000">
- <input type="submit" name="Submit" value="添加">
- </font></td>
- </tr>
- </table>
- </tr>
- </form>
- </table>
- <p> </p>
- </body>
- </html>