%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
showquicksearch=false
Dim rsSEOtxt
Dim rsSEOtxt_numRows
Set rsSEOtxt = Server.CreateObject("ADODB.Recordset")
rsSEOtxt.ActiveConnection = MM_motormouse_STRING
rsSEOtxt.Source = "{call dbo.MMO_sp_SEOText}"
rsSEOtxt.CursorType = 0
rsSEOtxt.CursorLocation = 2
rsSEOtxt.LockType = 1
rsSEOtxt.Open()
rsSEOtxt_numRows = 0
%>
<%
Dim rsStyles
Dim rsStyles_numRows
Set rsStyles = Server.CreateObject("ADODB.Recordset")
rsStyles.ActiveConnection = MM_motormouse_STRING
rsStyles.Source = "{call dbo.MMO_sp_SelectDistinctStyle}"
rsStyles.CursorType = 0
rsStyles.CursorLocation = 2
rsStyles.LockType = 1
rsStyles.Open()
rsStyles_numRows = 0
%>
<%
Dim rsListHotDeals
Dim rsListHotDeals_numRows
Set rsListHotDeals = Server.CreateObject("ADODB.Recordset")
rsListHotDeals.ActiveConnection = MM_motormouse_STRING
rsListHotDeals.Source = "{call dbo.MMO_sp_SelectHotDeals}"
rsListHotDeals.CursorType = 0
rsListHotDeals.CursorLocation = 2
rsListHotDeals.LockType = 1
rsListHotDeals.Open()
strRowTotal = rsListHotDeals.RecordCount
rsListHotDeals_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = -1
Repeat1__index = 0
rsSEOtxt_numRows = rsSEOtxt_numRows + Repeat1__numRows
%>
<%
Dim Repeat2__numRows
Dim Repeat2__index
Repeat2__numRows = -1
Repeat2__index = 0
rsListHotDeals_numRows = rsListHotDeals_numRows + Repeat2__numRows
%>
 |
 |
<%
strTrCount=1
strTdCount=1
'-- we only want to display an even number of records so find out how many we can display
'strRowTotal = (rsListHotDeals.RecordCount)
'response.Write("asdasd=" & strRowTotal)
While ((Repeat2__numRows <> 0) AND (NOT rsListHotDeals.EOF))
'for i = 1 to 8'(strRowTotal*2)
if strTdCount=1 then
%>
|
<%
if strTrCount=1 then
strHotDealsClass="hotdeals_white"
strTrCount=2
else
strHotDealsClass="hotdeals_lightgrey"
strTrCount=1
end if
strTdCount=2
else
response.Write(" | ")
strTdCount=1
if strTrCount=2 then
strHotDealsClass="hotdeals_lightgrey"
else
strHotDealsClass="hotdeals_white"
end if
'strTdCount=2
end if
%>
<%
if strTdCount=2 then
response.Write(" | ")
else
%>
<%
end if
%>
<%
Repeat2__index=Repeat2__index+1
Repeat2__numRows=Repeat2__numRows-1
rsListHotDeals.MoveNext()
Wend
%>
<%
'rsListHotDeals.MoveNext()
'next
%>
|

|
|
 |
|
<%
rsStyles.Close()
Set rsStyles = Nothing
%>
<%
rsListHotDeals.Close()
Set rsListHotDeals = Nothing
%>