?? sortadd.asp
字號:
<!-- #include file="../include/bkconn.asp"-->
<!--#include file="checkUser.asp"-->
<html>
<head>
<title>后臺管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../main.css" type="text/css">
</head>
<body bgcolor="#9CC7EF" text="#000000">
<p> </p>
<p> </p>
<form method="post" action="saveSortAdd.asp" name="form1">
<table width="60%" border="1" bordercolordark=#9CC7EF bordercolorlight=#145AA0 cellspacing="0" cellpadding="4" align="center">
<tr bgcolor="#4296E7">
<td colspan="2"> <div align="center"><font color="#FFFFFF">添加商品類別</font></div></td>
</tr>
<tr>
<td width="41%" nowrap> <div align="right">類名(中文)</div></td>
<td width="59%"> <input type="text" name="name" size="20"> </td>
</tr>
<tr>
<td width="41%" nowrap height="25"> <div align="right">父類</div></td>
<td width="59%" height="25"> <select name="fatherID">
<option value="0">頂級類</option>
<%
dim rootIDRs
dim tempName
dim i
set rootIDRs=server.createobject("adodb.recordset")
sql="select * from productSort where fatherID=0 order by id"
rootIDRs.open sql,conn,1,1
i=0
do while not (rootIDRs.eof or err)
tempName=rootIDRs("name")
response.write "<option value='"&rootIDRs("id")&"'>"&tempName&"</option>"
if i>100 then exit do
i=i+1
rootIDRs.movenext
loop
%>
</select> </td>
</tr>
<tr>
<td colspan="2"> <div align="center">
<input type="submit" name="Submit" value=" 添 加 ">
</div></td>
</tr>
<tr bgcolor="#4296E7">
<td colspan="2"> </td>
</tr>
</table>
</form>
<p> </p>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -