List_Add.asp
资源名称:NetPhone.rar [点击查看]
上传用户:xxtaishan
上传日期:2022-01-02
资源大小:4063k
文件大小:3k
源码类别:
IP电话/视频会议
开发平台:
ASP/ASPX
- <!--#include file="../../inc/conn.asp"-->
- <%
- dim rs,sql
- sql="select * from nclass"
- set rs=conn.execute(sql)
- %>
- <LINK REL="stylesheet" HREF="../images/style.css" TYPE="text/css"> <META content="text/html;charset=gb2312" http-equiv="Content-Type">
- <style type="text/css">
- <!--
- .style1 {
- color: #FFFFFF;
- font-weight: bold;
- }
- -->
- </style>
- <form name="form1" method="post" action="List_Save.asp" enctype="multipart/form-data">
- <table width="100%" border="1" cellspacing="0" cellpadding="0" align="center" bordercolordark="#ffffff" bordercolorlight="#000000">
- <tr bgcolor="#23458B">
- <td height="25" colspan="2">
- <div align="center" class="style1">信息添加</div> </td>
- </tr>
- <tr>
- <TD WIDTH="21%" height="12">
- <div align="right"><FONT COLOR="#FF0000"> * </FONT>产品名称:</div></TD>
- <td width="79%" height="12">
- <input type="text" name="title" size="50"> </td>
- </tr>
- <tr>
- <TD height="13"><div align="right"><FONT COLOR="#FF0000">* </FONT>产品类别:</div></TD>
- <td width="79%" height="13"><%
- sql="select * from class"
- set rs=conn.execute(sql)
- if not rs.eof then
- %>一类:
- <select name="classid" >
- <option selected value="<%=trim(rs("id"))%>"><%=trim(rs("classname"))%></option>
- <%
- dim selclass
- selclass=rs("id")
- rs.movenext
- %>
- <%do while not rs.eof%>
- <option value="<%=rs("id")%>"><%=rs("classname")%></option>
- <%rs.movenext
- loop
- rs.close
- %>
- </select>
- <%else%>
- 添加类别
- <%end if%> </td>
- </tr>
- <tr>
- <TD WIDTH="21%" height="25">
- <div align="right"><FONT COLOR="#FF0000">*</FONT> 产品信息:</div></TD>
- <td width="79%" height="25"><IFRAME ID="eWebEditor1" SRC="../eWebEditor/ewebeditor.asp?id=content&style=s_light" FRAMEBORDER="0" SCROLLING="no" WIDTH="630" HEIGHT="420">
- </IFRAME>
- <input name="content" type="hidden" id="content"> </td>
- </tr>
- <tr>
- <TD WIDTH="21%" height="12">
- <div align="right"><FONT COLOR="#FF0000">*</FONT> 产品图片:</div></TD>
- <td width="79%" height="12">
- <input name="file" type="file" id="file" size="35"> </td>
- </tr>
- <tr>
- <td height="25" colspan="2">
- <div align="center">
- <input type="submit" name="Submit" value="添加">
- <input type="button" value="取消" onClick="history.go(-1)">
- <input type="hidden" name="operation" value="add">
- </div> </td>
- </tr>
- </table>
- <table width="75%" border="0" cellspacing="0" cellpadding="0" align="center" height="34">
- <tr> <td> <div align="center">说明:<font color="#FF0000">*</font> 为必须填写的内容</div></td></tr>
- </table></form>