⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hover_daili_add.asp

📁 后台默认管理账号密码:admin 后台主要功能如下:一、系统管理:管理员管理
💻 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%>
<%
addr=server.htmlencode(Trim(Request("addr")))
uname=server.htmlencode(Trim(Request("uname")))
mobi=server.htmlencode(Trim(Request("mobi")))
Phone=server.htmlencode(Trim(Request("Phone")))
fox=server.htmlencode(Trim(Request("fox")))
%>
<%
If addr="" Then
response.write "SORRY <br>"
response.write "内容不能为空!!<a href=""javascript:history.go(-1)"">返回重输</a>"
response.end
end if
If uname="" Then
response.write "SORRY <br>"
response.write "内容不能为空!!<a href=""javascript:history.go(-1)"">返回重输</a>"
response.end
end if
If mobi="" Then
response.write "SORRY <br>"
response.write "内容不能为空!!<a href=""javascript:history.go(-1)"">返回重输</a>"
response.end
end if
If Phone="" Then
response.write "SORRY <br>"
response.write "内容不能为空!!<a href=""javascript:history.go(-1)"">返回重输</a>"
response.end
end if
If fox="" Then
response.write "SORRY <br>"
response.write "内容不能为空!!<a href=""javascript:history.go(-1)"">返回重输</a>"
response.end
end if

Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from  Hover_daili "
rs.open sql,conn,1,3
rs.addnew
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
%>
<!-- #include file="Inc/Head.asp" -->
<BR>
							<table width="97%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableBorder">
								<form method="post" action="Hover_daili_Add.asp?no=eshop">
									<tr>
		<td class="title" height="25" colspan="2"  align="center"><strong>增加代理商信息</strong></td>
	</tr>
		<tr>
		<td class="title2" height="25"  colspan="2">选择您需要更改的代理商信息。 </td>
	</tr>
								<tr> 
								  <td width="40%" height="25" align="right" bgcolor="#C0C0C0" class="table"> 办事处</td>
								  <td width="60%" bgcolor="#E3E3E3" class="table"> <input name="addr" type="text" class="inputtext" id="addr" size="40"  maxlength="30"></td>
								</tr>
								<tr> 
								  <td height="22" align="right" bgcolor="#C0C0C0" class="table"> 联系人</td>
								  <td bgcolor="#E3E3E3" class="table"><input name="uname" type="text" class="inputtext" id="uname" size="40"  maxlength="30"></td>
								</tr>
								<tr> 
								  <td height="22" align="right" bgcolor="#C0C0C0" class="table"> 手 机</td>
								  <td height="22" bgcolor="#E3E3E3" class="table"> <input name="mobi" type="text" class="inputtext" id="mobi" size="40"  maxlength="50">								  </td>
								</tr>
								<tr> 
								  <td height="22" align="right" bgcolor="#C0C0C0" class="table">电 话</td>
								  <td height="22" bgcolor="#E3E3E3" class="table"> <input name="Phone" type="text" class="inputtext" id="Phone" size="40"  maxlength="50"></td>
								</tr>
								<tr> 
								  <td height="22" align="right" bgcolor="#C0C0C0" class="table">传 真</td>
								  <td height="22" bgcolor="#E3E3E3" class="table"><input name="fox" type="text" class="inputtext" id="fox" size="40"  maxlength="30"></td>
								</tr>
								<tr> 
									<td height="25" colspan="2" align="center" bgcolor="#E3E3E3" class="table">  
											<input name="submit" type="submit" class="btn"  value="确定">
											&nbsp; 
								  <input name="reset" type="reset" class="btn"   value="取消">								  </td>
								</tr>
</form>
</table>
<BR>
<%htmlend%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -