<%@ Language=VBScript %><% '************************************************************ '* * '* By Downloading or using this software, you agree to * '* the terms and conditions as stated in the Software * '* License Agreement. An updated copy of this agreement * '* can be seen at http://www.pagedowntech.com/terms. * '* * '* NOTICE: We do not recommend changing the code below * '* as it may interfere with future updates/upgrades. * '* * '* PageDown Technology, LLC., Copyright 2004. * '* www.pagedowntech.com * '* * '************************************************************ %>[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]<% customerid= Request.Cookies("customerid") email= Request.Cookies("email") password= Request.Cookies("password") 'Check to see if user is signed in. if customerid="" then 'errormessage="You are not signed in!" Response.Redirect("signin.asp?refer=orderstatus.asp") end if 'Reteive customer's order data. set rs=opendb("SELECT * FROM customer WHERE id=" & customerid) if rs.eof then Response.Redirect("signin.asp?errormessage=" & errormessage) end if email=rs("email") name=rs("name") street1=rs("street1") street2=rs("street2") city=rs("city") state=rs("state") zip=rs("zip") country=rs("country") rs.close set rs=nothing %> [an error occurred while processing this directive]
<% getHeading "Checkout Help", "", "comess" %>
<% getHeading "User Profile", "", "" %>
You are signed in as:  <%=name%>
Your email address is: <%=email%>

[edit user info]
<% getHeading "Order Status", "", "" %>
<% 'Open database list orders. set rs=opendb("SELECT * FROM orders WHERE customerid=" & customerid & " AND status<>'Incomplete' ORDER BY orderdate") if not rs.eof then rs.movefirst while not rs.eof orderid=rs("id") orderno=rs("orderno") %> <% rs.movenext wend end if rs.close set rs=nothing %>
Order No Date Status
<%=orderno%> <%=rs("orderdate")%> <%=rs("status")%>
Orders are listed above, click on order for details.
[an error occurred while processing this directive]