📄 save_customer.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="session.asp"-->
<!--#include file="../include/code.asp"-->
<%
'**********************************
'版本:host_free 3.0 *
'官方网站:http://www.850518.com *
'技术论坛:http://forum.850518.com *
'qq:54455245 (欢迎咨询商业版) *
'msn: steven_bass@msn.com *
'手机:(0)13632779827 *
'mail:wtez@vip.163.com *
'版权所有,请保留该信息,谢谢合作 *
'**********************************
%>
<%
set rs = server.createobject("adodb.recordset")
sql="select * from customer where c_id="&request("c_id")
rs.open sql,conn,3,3
%>
<html>
<head>
<meta http-equiv="content-language" content="zh-cn">
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<meta name="generator" content="microsoft frontpage 4.0">
<meta name="progid" content="frontpage.editor.document">
<link href="style.css" rel=stylesheet>
</head>
<body style="background-color: #eeeeee">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="1" width="600" bgcolor="#626262">
<tr>
<td height="20"> <b><font color="#ffffff">推荐客户</font></b></td>
</tr>
<tr>
<td height="500" bgcolor="#ffffff">
<table border="0" cellpadding="0" cellspacing="0" width="594">
<form method="post" action="edit.asp?action=edit_customer&c_id=<%=rs("c_id")%>">
<tr>
<td width="185" height="25" align="right">客户类型:</td>
<td width="405" height="25"> <select size="1" name="id" style="border-style: solid; border-width: 0">
<option value="">请选择类型</option><%
sql="select * from list"
set rss=server.createobject("adodb.recordset")
rss.open sql,conn,1,1
if not rss.eof then
do while not rss.eof%>
<option <%if rs("id")=rss("sort_name") then%>selected<%end if%>><%=rss("sort_name")%></option>
<%rss.movenext
loop
rss.close
set rss=nothing
end if%>
</select></td>
</tr>
<tr>
<td width="185" height="25" align="right">网站名称:</td>
<td width="405" height="25"> <input type="text" name="c_name" size="40" value="<%=rs("c_name")%>"></td>
</tr>
<tr>
<td width="185" height="25" align="right">网站地址:</td>
<td width="405" height="25"> <input type="text" name="c_url" size="40" value="<%=rs("c_url")%>"></td>
</tr>
<tr>
<td width="590" colspan="2" height="30">
<p align="center"><input type="submit" value=" 提交 " name="b3">
<input type="reset" value="全部重写" name="b3"></td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</center>
</div>
</body>
</html>
<%rs.close
set rs=nothing
conn.close
set conn=nothing%>
<%
'**********************************
'版本:host_free 3.0 *
'官方网站:http://www.850518.com *
'技术论坛:http://forum.850518.com *
'qq:54455245 (欢迎咨询商业版) *
'msn: steven_bass@msn.com *
'手机:(0)13632779827 *
'mail:wtez@vip.163.com *
'版权所有,请保留该信息,谢谢合作 *
'**********************************
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -