欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費電子書(shū)等14項超值服

開(kāi)通VIP
ASP 購物車(chē)
<%@LANGUAGE="VBScript"%><!--#include file="Connections/conn.asp" --><%if not IsObject(session("cart")) thenSet session("cart")=CreateObject("Scripting.Dictionary")end ifSet cart=session("cart")productID=Cstr(request("productID"))dim detail(1)detail(0)=Int(request("quantity"))if request("productID")<>"" thenif cart.Exists(productID) thencart.Remove(productID)end ifcart.add productID,detailend ifkeys=cart.keysitems=cart.itemsset session("cart")=cart%><td width="25%" align="center" height="19"><font color="#FFFFFF">商品名稱(chēng)</font></td><td width="25%" align="center" height="19"><font color="#FFFFFF">購買(mǎi)數量</font></td><td width="12%" align="center" height="19"><font color="#FFFFFF">更新</font></td><td width="13%" align="center" height="19"><font color="#FFFFFF">刪除</font></td></tr><% For i = 0 To cart.Count -1 %><% Dim list__MMColParamlist__MMColParam = keys(i) %><% set list = Server.CreateObject("ADODB.Recordset")list.ActiveConnection = MM_conn_STRINGlist.Source = "SELECT * FROM pro_table WHERE id = " + Replace(list__MMColParam, "’", "’’") + ""list.CursorType = 0list.CursorLocation = 2list.LockType = 3list.Open()%><form method="post" action="cart.asp" onSubmit="return checkform(this);"> ’更新產(chǎn)品數量用<tr bgcolor="#ECECFF"><td width="25%" align="center" height="1"><a href="detail.asp?productID=<%=keys(i)%>"><font color="#000077" ></font></a><%=(list.Fields.Item("proname").Value)%></td><td width="25%" align="center" height="1"><input name="quantity" size=4 class="edit" value="<%=items(i)(0)%>"><input type="hidden" name="productID" value="<%=keys(i)%>"></td><td width="12%" align="center" height="1"><input type="image" border="0" name="imageField" src="images/ref.gif" width="17" height="19"></td><td width="13%" align="center" height="1"><a href="delcart.asp?productID=<%=keys(i)%>"><img src="images/del.gif" width="17" height="19" border="0"></a></td></tr></form><%list.Close()%><% next %><tr ><td width="75%" bgcolor="#000000" align="center" height="1" colspan="2"><p align="right"><font color="#FFFFFF">總價(jià)合計:</font></td><td width="25%" bgcolor="#000000" align="center" height="1" colspan="2"><font color="#FFFFFF">¥<%=price%></font></td></tr></table><p align="center"><b><a href="index.asp">繼續選購</a> <a href="order.asp">付款</a></b>
最佳答案
<form method="post" action="cart.asp" onSubmit="return checkform(this);"><input type="image" border="0" name="imageField" src="images/ref.gif" width="17" height="19"></form><%if not IsObject(session("cart")) thenSet session("cart")=CreateObject("Scripting.Dictionary")end ifSet cart=session("cart")productID=Cstr(request("productID"))dim detail(1)detail(0)=Int(request("quantity"))if request("productID")<>"" thenif cart.Exists(productID) thencart.Remove(productID)end ifcart.add productID,detailend ifkeys=cart.keysitems=cart.itemsset session("cart")=cart%>這些地方是在更新的,表單里的那個(gè)input src 的是提交按鈕下面段是在更新數據的
本站僅提供存儲服務(wù),所有內容均由用戶(hù)發(fā)布,如發(fā)現有害或侵權內容,請點(diǎn)擊舉報。
打開(kāi)APP,閱讀全文并永久保存 查看更多類(lèi)似文章
猜你喜歡
類(lèi)似文章
購物車(chē)
對數據庫中的記錄用上一條下一條顯示(一)
刷流量和點(diǎn)擊量的代碼
一個(gè)免費的簡(jiǎn)單聊天室源代碼
ASP代碼的對象化
多層邊框的制作
更多類(lèi)似文章 >>
生活服務(wù)
分享 收藏 導長(cháng)圖 關(guān)注 下載文章
綁定賬號成功
后續可登錄賬號暢享VIP特權!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服

欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久