📄 product.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="error.asp"-->
<%
idd=request("idd")
pid=request("pid")
sql="select * from kind where class="&idd
'response.Write(sql)
set rs=conn.execute(sql)
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css.css">
<title>最新动态</title>
</head>
<body bgcolor="#FEFBF1" background="images/sky2.gif">
<p align="center"><a><font color="#000000">添加产品信息</font></a><font color="#000000"> | <a href="productlist.asp?idd=<%=idd%>&pid=<%=pid%>">管理产品信息</a></font></p>
<form name="form1" method="post" action="addproduct.asp?idd=<%=idd%>&pid=<%=pid%>">
<table width="490" border="1" align="center" bgcolor="#CCCCCC">
<tr>
<td width="59" nowrap >产品名称</td>
<td colspan="3"><input type="text" name="title" size="60"></td>
</tr>
<tr>
<td nowrap>产品类别</td>
<td width="149"><select name="select">
<%
while not rs.eof
tmpi=rs("class")
%>
<option value=<%=rs("class")%> <%if tmpi=int(idd) then response.Write(" selected") %>><%=trim(rs("title"))%></option>
<%
tmpi=tmpi+1
rs.movenext
wend %>
</select> </td>
<td width="56">特价产品</td>
<td width="203">
<input name="state" type="checkbox" value=1>
(如果是请打钩)</td>
</tr>
<tr>
<td nowrap>产品价格</td>
<td colspan="3"><input type="text" name="price" size="10">
元
<input type="hidden" name="nr" value="无"></td>
</tr>
<tr>
<td colspan="4"> <div align="center"></div></td>
</tr>
<tr>
<td colspan="4"> </td>
</tr>
</table>
<br>
<input type="image" name="tj" src="images/qd.GIF" onMouseOver="this.src='images/qd1.gif'"
onmouseout="this.src='images/qd.gif'">
<img src="images/qx.GIF" onClick="form1.reset()" onMouseOver="this.src='images/qx1.gif'"
onmouseout="this.src='images/qx.gif'">
<input name="icount" type="hidden" value="<%=intcount%>">
</form>
<%
'response.Write(intcount)
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -