<% 'This file is part of ProductCart, an ecommerce application developed and sold by Early Impact LLC. ProductCart, its source code, the ProductCart name and logo are property of Early Impact, LLC. Copyright 2001-2003. All rights reserved. You are not allowed to use, alter, distribute and/or resell any parts of ProductCart's source code without the written consent of Early Impact. To contact Early Impact, please visit www.earlyimpact.com. %> <% response.Buffer=true %> <% on error resume next 'Check to see if store has been turned off by admin, then display message If scStoreOff="1" then response.redirect "msg.asp?message=59" End If dim mySQL, conntemp, rstemp call openDb() mySQL="SELECT idOrder,orderDate,total,ord_OrderName FROM orders WHERE idCustomer=" &Session("idcustomer") &" AND OrderStatus>1 ORDER BY idOrder DESC" set rstemp=conntemp.execute(mySQL) if err.number <> 0 then call closeDb() response.redirect "techErr.asp?error="& Server.Urlencode("Error in CustviewPast: "&err.description) end If if rstemp.eof then call closeDb() response.redirect "msg.asp?message=34" end if %>
<%response.write dictLanguage.Item(Session("language")&"_CustviewPast_4")%>

<%if scOrderNumber="1" then 'Show order name %> <% end if %> <%do while not rstemp.eof%> <%if scOrderNumber="1" then 'Show order name %> <% end if %> <%rstemp.movenext loop%>
<%response.write dictLanguage.Item(Session("language")&"_CustviewPast_5")%><%response.write dictLanguage.Item(Session("language")&"_CustviewPast_9")%><%response.write dictLanguage.Item(Session("language")&"_CustviewPast_7")%> <%response.write dictLanguage.Item(Session("language")&"_CustviewPast_6")%>
"><%response.write (scpre+int(rstemp("idOrder")))%> <%response.write rstemp("ord_OrderName")%>  <%response.write scCurSign&money(rstemp("total"))%> <%=showdateFrmt(rstemp("orderDate"))%> "><%response.write dictLanguage.Item(Session("language")&"_CustviewPast_3")%> - "><%response.write dictLanguage.Item(Session("language")&"_CustviewPast_8")%>
"><%response.write dictLanguage.Item(Session("language")&"_viewPostings_3")%>
<% call closeDb() %>

" border=0>