<% If request.cookies("timesshop")("username")="" Then Response.Write "" end if%> <% if request("action")="getcoupon" then set rs=server.CreateObject("adodb.recordset") rs.open "select * from coupon where owner='"&request.cookies("timesshop")("username")&"' and code='06120601' order by id desc",conn,1,3 if rs.eof and rs.bof then rs.addnew rs("code")="06120601" rs("owner")=request.cookies("timesshop")("username") rs("kind")=2 rs("content")=9 rs("gettime")=now() rs("getfrom")="cars51" rs("state")=0 'rs("deadline")="" 'response.write "到这里正常 " 'response.end rs.update response.write " " else response.write " " end if rs.close set rs=nothing end if %> <%=webname%>:我的订单
<%=request.cookies("timesshop")("username")%>的礼券

获得礼券:
恭喜您!
您获得 9折 订单折扣券一张!
您可以在下订单的时候选择该礼券。
使用此张礼券后,您只需付原订单 90% 的金额。(运费不参于打扣)