📄 addqy.asp
字号:
}
function openem()
{
openScript('upload.asp',350,200);
}
</script>
</head>
<body background="../images/bg.gif">
<div align="center">
<center>
<form action="" method="post" name="postart" onsubmit="return checkadd()">
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="489">
<tr>
<td width="100%" colspan="2" height="30"><input type="hidden" name="dperson" size="30" value="<%=session("admin")%>"></td>
</tr>
<tr>
<td width="25%" align="right" height="26">单位名称:</td>
<td width="76%" height="26"><input type="text" name="dname" size="30"> <font color="#FF0000">*</font></td>
</tr>
<tr>
<td width="25%" align="right" height="26">用 户 名:</td>
<td width="76%" height="26"><input type="text" name="username" size="30"> <font color="#FF0000">*</font></td>
</tr>
<tr>
<td width="25%" align="right" height="26">登录密码:</td>
<td width="76%" height="26"><input type="text" name="password" size="30"> <font color="#FF0000">*</font></td>
</tr>
<tr>
<td width="25%" align="right" height="26">主营业务:</td>
<td width="76%" height="26"><input type="text" name="dyewu" size="50"> </td>
</tr>
<tr>
<td width="25%" align="right" height="26">所在区域:</td>
<td width="76%" height="26">
<select name="dcity" size="1"><option selected value="选择区域">选择区域</option>
<%
set rs_city = server.createobject("adodb.recordset")
sql = "select * from city"
rs_city.open sql,conn,1,1
do while not rs_city.eof
%>
<option value="<%=rs_city("city")%>"><%=rs_city("city")%></option>
<%
rs_city.movenext
loop
rs_city.close
set rs_city = nothing
%>
</select> <font color="#FF0000">*</font>
</td>
</tr>
<tr>
<td width="25%" align="right" height="26">行业类别:</td>
<td width="76%" height="26">
<select name="dlei" size="1"><option selected value="选择行业类别">选择行业类别</option>
<%
set rs_lei = server.createobject("adodb.recordset")
sql = "select * from lei"
rs_lei.open sql,conn,1,1
do while not rs_lei.eof
%>
<option value="<%=rs_lei("id")%>@<%=rs_lei("lei")%>"><%=rs_lei("lei")%></option>
<%
rs_lei.movenext
loop
rs_lei.close
set rs_lei = nothing
%>
</select> <font color="#FF0000">*</font>
</td>
</tr>
<tr>
<td width="25%" align="right" height="26">单位地址:</td>
<td width="76%" height="26"><input type="text" name="daddress" size="30"> </td>
</tr>
<tr>
<td width="25%" align="right" height="26">邮政编码:</td>
<td width="76%" height="26"><input type="text" name="dyoubian" size="30" maxlength="6"></td>
</tr>
<tr>
<td width="25%" align="right" height="26">联 系 人:</td>
<td width="76%" height="26"><input type="text" name="dfaren" size="30"> </td>
</tr>
<tr>
<td width="25%" align="right" height="26">联系电话:</td>
<td width="76%" height="26"><input type="text" name="dtel" size="30"> </td>
</tr>
<tr>
<td width="25%" align="right" height="26">联系传真:</td>
<td width="76%" height="26"><input type="text" name="dfax" size="30"></td>
</tr>
<tr>
<td width="25%" align="right" height="26">电子信箱:</td>
<td width="76%" height="26"><input type="text" name="dmail" size="30" value="@"></td>
</tr>
<tr>
<td width="25%" align="right" height="26">网站地址:</td>
<td width="76%" height="26"><input type="text" name="dhttp" size="30" value="http://"></td> </tr> <tr>
<td width="25%" align="right" height="126">详细资料:</td> <td width="76%" height="126"><textarea rows="10" name="djieshao" cols="50"></textarea> </td> </tr> <tr>
<td width="25%" align="right" height="30">资料图片:</td> <td width="76%" height="30"><input type="text" name="dpic" size="30" value=""> [<a href="JavaScript:openem()">上传图片</a>]
<font color="#FF0000">无图片请不要修改此项</font></td> </tr>
<% if session("ad_admin")<>"" then %>
<tr>
<td width="25%" align="right" height="30">是否推荐:</td>
<td width="76%" height="30"><input type="radio" value="no" checked name="dtuijian">不推荐
<input type="radio" name="dtuijian" value="yes">推荐</td> </tr>
<% end if %>
<tr> <td width="24%" align="right" height="51">
<p align="center"></td>
</center> <td width="77%" align="right" height="51">
<p align="left"><input type="submit" value="提交" name="submit" >
<input type="reset" value="取消" name="reset"> <input type="button" value="返回" name="cmdexit" onclick=" history.back()"></td>
</tr> </table>
</form> </div> </body> </html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -