<%
if(session("login")<>"yes") then
response.redirect("login.asp?URLFIRE=vieworder.asp")
end if
%>
<%
set rso = con.execute("select *from orders where username='" & session("curuser") & "'")
%>
View My Current Order
Order ID
Date
Status
Amount
<%
do while not rso.eof
%>
<%=rso("orderid")%>
<%=rso("date")%>
<%
if(rso("status")=0) then
%>
Waiting for Payment
<%
end if
%>