characterclassView.jsp
资源名称:shop.rar [点击查看]
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:5k
源码类别:
Applet
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
- <script language="javascript" src="../js/characterclass.js"></script>
- <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: #FF0000}
- .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>
- <p> </p>
- <table width="696" height="2%" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td height="33" align="center"><span class="style1">图书类别管理</span></td>
- </tr>
- </table>
- <table width="696" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
- <tr valign="middle" bgcolor="#799ae1">
- <td width="271" height="29" align="center"><font color="#FFFFFF">性质类别名称</font></td>
- <td width="306" align="center"><font color="#FFFFFF">性质类别备注</font></td>
- <td align="center"><font color="#FFFFFF">编辑</font></td>
- <td align="center"><font color="#FFFFFF">删除</font></td>
- </tr>
- <%
- //String sql="select * from characterclass";
- //ResultSet set=characterclassBean.getQuery(sql);
- //while(set.next())
- //{
- characterclassBeans.getQuery("-1");
- for(int i=0; i<characterclassBeans.getItems(); i++)
- {
- %>
- <tr>
- <td height="28" align="left"> <a href="proView.jsp?proType=characterType&pageNum=1&proNum=<%=characterclassBeans.getCharacterID(i)%>"><font color="#FF0000"><%=characterclassBeans.getCharacterName(i)%></font></a></td>
- <td align="left"> <%=characterclassBeans.getCharacterInfo(i)%></a></td>
- <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>
- <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>
- </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="style1">添加图书类别信息</span></td>
- </tr>
- </table>
- <table width="696" height="7%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#ffffff">
- <form action="characterclassInsert.jsp" method=post name="theform" onSubmit = "return check(this)">
- <tr>
- <td height="32" align="center"><font color="#FFFFFF"> <span class="style6">(新图书)</span>类别名称:</font> </td>
- <td height="32" align="left">
- <input name="name" type="text" value="" size="35" height="20"></td>
- </tr>
- <tr>
- <td width="189" height="101" align="left" valign="middle"><div align="center">
- <table width="174" border="0" align="center">
- <tr>
- <td width="17"> </td>
- <td width="147"><font color="#FFFFFF"><span class="style6">(新图书</span><span class="style6">)</span>备注信息:</font></td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- </tr>
- </table>
- </div></td>
- <td width="490" align="left" valign="middle"><font color="#FFFFFF">
-
- <textarea name="content" cols="40" rows="5"></textarea>
- </font></td>
- </tr>
- <tr align="center" valign="middle">
- <td height="37" colspan="2"><p><font color="#FFFFFF">
- <input type="submit" name="Submit" value="提交">
- </font></p>
- </td>
- </tr>
- </form>
- </table>
- <p> </p>
- </body>
- </html>