<% Response.Buffer = true server.ScriptTimeout = 30 Set conn = Server.CreateObject("ADODB.Connection") conn.open "DSN=rollauc" pnday = datepart("d",now()) pnmonth = datepart("m",now()) pnyear = datepart("yyyy",now()) if pnday >0 and pnday <10 then pnday = 0 & pnday end if if pnmonth >0 and pnmonth <10 then pnmonth = 0 & pnmonth end if pndate = pnyear & pnmonth & pnday 'Set daearta = Server.CreateObject("ADODB.Recordset") 'SQLdel = "DELETE * FROM temporders WHERE recnum = " & patrec 'data.Open SQLdel, Conn, 1, 3 'conn.Execute SQLdel Set rs = Server.CreateObject("ADODB.Recordset") SQL = "SELECT * FROM bidding WHERE startdate <='" & pndate & "' AND closebid =0" rs.Open SQL, Conn, 3, 3 %> Rollersnakes Auction
<% dim txt pct = 0 do while not rs.eof pct = pct + 1 txt = rs("refnum") psmonth = mid(rs("startdate"),5,2) psyear = mid(rs("startdate"),3,2) psday = right(rs("startdate"),2) psdate = psday & "/" & psmonth & "/" & psyear pemonth = mid(rs("enddate"),5,2) peyear = mid(rs("enddate"),3,2) peday = right(rs("enddate"),2) pedate = peday & "/" & pemonth & "/" & peyear %> <% rs.movenext loop %>
Item : Description : Current Bid : Starts Ends Buy/Bid
<%=rs("item")%> <%=rs("description")%> £ <% if rs("startbid") <> "" then if rs("startbid") <> "" and rs("currentbid") = "0" then response.write formatnumber(rs("startbid"),2) else response.write formatnumber(rs("currentbid"),2) end if end if %> <%=psdate%> <%=pedate%> View Item
">
Bid Now

&prodid=<%=rs("refnum")%>&qty=1&price=<%=rs("buynowprice")%>"> Buy Now
The Buy Now Price For The Above Item Is      £ <%=formatnumber(rs("buynowprice"),2)%>

Home Page
Inventory Blowout
Auction House
Skateboard Store
Skateboard Clothing Store
Inline Skate Store
Inline Clothes Store
Surf & Street Store
Shoe Store
Live Online Help
Latest News
Team Rollersnakes
Lifestyle Community
Previous Page
Chat
Forums
Site Search
View Cart


About - Contact - Disclaimer - Mailing List - Privacy Policy & Security - Site Map - Terms
Copyright Rollersnakes Ltd 2003
<% conn.close %>