📄 admin_addcity.asp
字号:
<!--#include file="conn.asp"-->
<%
if session("admin")="" then
response.redirect "admin_login.asp"
else
if session("flag")>1 then
response.write "<br><p align=center>您没有操作的权限</p>"
response.end
end if
end if
%>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title></title>
<link rel="stylesheet" type="text/css" href="css/css.css">
</head>
<body leftmargin="0" topmargin="0" bgcolor="#FFFFFF">
<table border="1" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%">添加二级地区</td>
</tr>
<form method="post" action="savecity.asp"><tr>
<td width="100%">一级地区:
<select name="a_id" id="a_id">
<% set rs=server.createobject("adodb.recordset")
sql="select * from area"
rs.open sql,conn,1,1%>
<%if rs.eof and rs.bof then%>
<%else
while not rs.eof%>
<option value="<%=rs("a_id")%>"><%=rs("area")%></option>
<%rs.movenext
wend
end if%>
</select> 二级地区:
<input name="city" type="text" id="city" size="20">
*必填
<input type="submit" name="Submit2" value="提交"> </td>
</tr> </FORM>
</table>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -