📄 hover_daili_edit.asp
字号:
<!--#include file="toptable.asp"-->
<%
'=================================
' 良精科技企业管理系统
' QQ在线客服:65961930 82993936
' 咨询定购Tel:010-81991660
' asp3721@hotmail.com
' www.liangjing.net
' copyright(c)2001-2008 HoverCms 2007特别版
'=================================
%>
<%if Request.QueryString("no")="eshop" then
id=request("id")
addr=request("addr")
uname=request("uname")
mobi=request("mobi")
Phone=request("Phone")
fox=request("fox")
If addr="" Then
response.write "SORRY <br>"
response.write "请输入更新内容"
response.end
end if
If uname="" Then
response.write "SORRY <br>"
response.write "内容不能为空"
response.end
end if
If mobi="" Then
response.write "SORRY <br>"
response.write "内容不能为空"
response.end
end if
If Phone="" Then
response.write "SORRY <br>"
response.write "内容不能为空"
response.end
end if
If fox="" Then
response.write "SORRY <br>"
response.write "内容不能为空"
response.end
end if
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from Hover_daili where id="&id
rs.open sql,conn,1,3
rs("addr")=addr
rs("uname")=uname
rs("mobi")=mobi
rs("Phone")=Phone
rs("fox")=fox
rs.update
rs.close
response.redirect "Hover_daili.asp"
end if
%>
<%
id=request.querystring("id")
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open "Select * from Hover_daili where id="&id, conn,3,3
%>
<!-- #include file="Inc/Head.asp" -->
<BR>
<table cellpadding="2" cellspacing="1" border="0" width="560" align="center" class="a2">
<tr>
<td class="a1" height="25" align="center"><strong>修改代理商信息</strong></td>
</tr>
<tr class="a4">
<td align="center">
<br>
<table width="550" border="0" cellspacing="0" cellpadding="0">
<tr>
<form method="post" action="Hover_daili_edit.asp?no=eshop">
<input type=hidden name=id value=<%=id%>>
<td><div align="center">
<table width="100%" border="0" cellspacing="2" cellpadding="3">
<tr>
<td width="19%" height="25" bgcolor="#C0C0C0"> <div align="center"><strong>办事处</strong></div></td>
<td width="81%" bgcolor="#E3E3E3"> <input name="addr" type="text" class="inputtext" id="addr" value="<%=rs("addr")%>" size="25" maxlength="30"></td>
</tr>
<tr>
<td height="22" bgcolor="#C0C0C0"> <div align="center"><strong>联系人</strong></div></td>
<td bgcolor="#E3E3E3"><input name="uname" type="text" class="inputtext" id="uname" value="<%=rs("uname")%>" size="25" maxlength="30"></td>
</tr>
<tr>
<td height="22" bgcolor="#C0C0C0"> <div align="center"><strong>手 机</strong></div></td>
<td height="22" bgcolor="#E3E3E3"> <input name="mobi" type="text" class="inputtext" id="mobi" value="<%=rs("mobi")%>" size="25" maxlength="50">
</td>
</tr>
<tr>
<td height="22" bgcolor="#C0C0C0"><div align="center"><strong>电 话</strong></div></td>
<td height="22" bgcolor="#E3E3E3"> <input name="Phone" type="text" class="inputtext" id="Phone" value="<%=rs("Phone")%>" size="25" maxlength="50"></td>
</tr>
<tr>
<td height="22" bgcolor="#C0C0C0"><div align="center"><strong>传 真</strong></div></td>
<td height="22" bgcolor="#E3E3E3"><input name="fox" type="text" class="inputtext" id="fox" value="<%=rs("fox")%>" size="25" maxlength="30"></td>
</tr>
<tr>
<td height="25" colspan="2" bgcolor="#E3E3E3"> <div align="center">
<input name="submit" type="submit" value="确定">
<input name="reset" type="reset" value="取消">
</div></td>
</tr>
</table>
</div></td>
</form>
</tr>
</table>
<br>
</td>
</tr>
</table>
<BR>
<%htmlend%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -