%@ Language=VBScript %>
<%Response.Buffer=True%>
Wades - Order Supplies On-Line
<%
OpenConnection1
Set rs=Server.CreateObject("ADODB.Recordset")
CatID=Request.QueryString("C")
'If Request.Cookies("wades")("logged")="TRUE" then
' CustID=Request.Cookies("wades")("cid")
' Sel="SELECT txtFname,txtLname FROM Customers WHERE CustomerID=" & CustID
' rs.Open Sel,DB,1,3
' txtName=rs("txtFname") & " " & rs("txtLname")
' rs.Close
'End If
%>

|
|
| |
<%If txtName<>"" then%>
Welcome back <%=txtName%>!
|
| |
<%End If%>
Please select a Supply category to view:
|
|
<%If Request.QueryString("L")="T" Then
Sel="SELECT * FROM Supplies WHERE nCatID=" & CatID
rs.Open Sel,DB,1,3
If rs.EOF then%>
There are currently no Supplies available in this category. Please check back soon!! |
<%Else%>
|
<%End If
End If%>
|
<%
Function IsSelected(value,data)
If value=data then
IsSelected="Selected"
Else
IsSelected=""
End If
End Function
%>