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

📄 ad_totime.asp

📁 凡人网络购物系统 v8.0 中文版
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="ad_chk.asp"-->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href=inc/css.css rel=STYLESHEET type=text/css>

<%
id=request("id")
if request("action")="add" then
set rs=server.CreateObject("adodb.recordset")
rs.Open "select * from venshop_totime",conn,1,3
rs.AddNew
rs("totime")=request("totime")
rs.Update
rs.Close
set rs=nothing
response.Redirect "ad_totime.asp"
response.end
end if
if request("action")="edit" then
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from venshop_totime where id="&id&"",conn,1,3
rs("totime")=request("totime")
rs.update
rs.close
set rs=nothing
response.Redirect "ad_totime.asp"
response.end
end if
if request("action")="del" then
conn.execute "delete from venshop_totime where id="&id
response.Redirect "ad_totime.asp"
set rs=nothing
end if
%>
<table border="0" cellspacing="1" bgcolor="#C8C8C8" cellpadding="5">
  <tr><td align="center" bgcolor="#F0F0F0">送货时间</td><td align="center" bgcolor="#F0F0F0">操作</td></tr>
<%
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from venshop_totime",conn,1,1
if rs.eof and rs.bof then
response.write "NO DATA"
else
do while not rs.eof%><form method="post" action="ad_totime.asp?action=edit&id=<%=rs("id")%>">
  <tr><td width="100" height="30" align="center" bgcolor="#FFFFFF"><input name="totime" type="text" size="49" value="<%=rs("totime")%>"></td>
	  <td height="30" align="center" width="100" bgcolor="#FFFFFF"><input type="submit" name="Submit" value="修改">&nbsp;&nbsp;<a href=ad_totime.asp?action=del&id=<%=rs("id")%> onClick="return confirm('您确定进行删除操作吗?')">删除</a></td>
</tr></form>
<%rs.movenext
loop
end if
rs.close
set rs=nothing
conn.close
set conn=nothing%></table>
<br>
<table border="0" cellpadding="5" cellspacing="1" bgcolor="#C8C8C8"><form method="post"  action="ad_totime.asp?action=add">
<tr><td align="center" rowspan="2" bgcolor="#F0F0F0">添加:</td><td align="center" bgcolor="#F0F0F0">
	送货时间</td><td align="center" bgcolor="#F0F0F0"></td></tr>
<tr><td align="center" bgcolor="#FFFFFF"><input name="totime" type="text" size="39"></td><td align="center" bgcolor="#FFFFFF"><input type="submit" name="Submit2" value="添 加"></td></tr></form></table>
<br><div class="help">
备注:<br>1. 此送货时间对应前台客户下订单时选择的送货时间,客户可以选择适当的送货时间。<br>
2. 送货时间的意义:客户方便收货的时间,如果客户设置的地址是公司地址,就会相应选择上班时间送到,而周末或者晚上快递到了可能找不到人。</div><table cellSpacing="0" cellPadding="3" border="0" width="500"><tr><td height="20"></td></tr>
<tr><td bgcolor="#F2F2F2"><p style="LINE-HEIGHT: 150%"><font color="#FF0000">凡人网络购物系统V8.0 版权所有:</font><a target="_blank" href="http://www.venshop.com"><font color="#FF0000">凡人网络VenShop.Com</font></a><font color="#FF0000"><br>客服电话:010-80928177&nbsp; QQ:57152557/5404818 Email/Msn:</font><a href="mailto:Ser@VenShop.Com"><font color="#FF0000">Ser@VenShop.Com</font></a></td>
</tr></table>

⌨️ 快捷键说明

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