%@LANGUAGE="VBSCRIPT"%>
<%
' UltraDev Shopping Cart II
' Copyright (c) 2001 Joseph Scavitto All Rights Reserved
' www.thechocolatestore.com/ultradev
Dim UCII_CartColNames,UCII_ComputedCols,UCII__i
UCII_CartColNames = Array("PartialStock","OutOfStock","Weight","TotalWeight","ProductID","DiscountRate","DiscountThreshold","DiscountValue","DiscountType","Quantity","Name","SpecialPrice","Price","Total")
UCII_ComputedCols = Array("","","","Weight","","","","","","","","","","Price")
Set UCII = VBConstuctCart("MyCart",28,UCII_CartColNames,UCII_ComputedCols)
UCII__i = 0
%>
<%
set rsCUSTOMERS = Server.CreateObject("ADODB.Recordset")
rsCUSTOMERS.ActiveConnection = MM_OLEDB_STRING
rsCUSTOMERS.Source = "SELECT * FROM dbo.tblSHOP_Customers"
rsCUSTOMERS.CursorType = 0
rsCUSTOMERS.CursorLocation = 2
rsCUSTOMERS.LockType = 3
rsCUSTOMERS.Open()
rsCUSTOMERS_numRows = 0
%>
Review Order
<%
If Request("UserMode")<>"UPDATE" Then
%>
Already a customer?
New customer?
<%
Else
%>
Update Customer Record
<%
End If
%>
<%
rsCUSTOMERS.Close()
Function ToggleSelected(Field,Value)
ToggleSelected=""
If Request("UserMode")="UPDATE" Then
If rs(Field)=Value Then ToggleSelected=" Selected "
Else
If Request.Cookies("whatspopping")(Field)=Value Then ToggleSelected=" Selected "
End If
End Function
%>