% @language="vbscript" %>
|
|
<% end sub sub footer() %>
|
|
|
|
|
Developed by e-Soft Solutions |
Go to Page No : " i = 1 do while i <= ctr+1 if cint(pg)=cint(i) then response.write i response.write " " else %> &category=<%= request.querystring("category") %>"><%= i %> <% end if i=i+1 loop end if Dim con, objRS1 set objRS = server.CreateObject("ADODB.RecordSet") set objRS2 = server.CreateObject("ADODB.RecordSet") set con = server.CreateObject("ADODB.Connection") con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & server.MapPath("database/products.mdb") & ";Persist Security Info=False" con.Open i = 1 on error resume next if cat <> "" then if txt <> "" then sqls="select * from productDetail where [productGroup] like '%" & cat & "%'" & " and ([productName] like '%" & txt & "%' Or [productDetails] like '%" & txt & "%'" & " Or [keywords] like '%" & txt & "%') order by productDate desc, productid desc" else sqls="select * from productDetail where [productGroup] like '" & cat & "'" & " order by ProductDate Desc, productid desc" end if else if txt <> "" then sqls="select * from productDetail where [productName] like '%" & txt & "%' Or [productGroup] like '%" & txt & "%'" & " Or [productDetails] like '%" & txt & "%'" & " Or [keywords] like '%" & txt & "%' order by productDate desc, productid desc" else sqls="select * from productDetail order by productDate desc, productid desc" end if end if Set objRS = con.Execute(sqls) Set objRS2 = con.Execute(sqls) 'response.write objRS.Recordcount if objRS.EOF and objRS.BOF and objRS.Recordcount <= 0 then response.write("Sorry, No Products found for the search, please search Another.") exit sub else dim ii ii=0 end if %>
|
|
Item Name |
Remove Item |
Length |
Weight |
Image |
Details |
| <%= objRS1("Productname") %> |
Remove |
<%= objRS1("Productlength") %> | <%= objRs1("productweight") %> <%= objRS1("productweightunit") %> | <%= objRS1("productdetails") %> |
|
Product # -Name |
Product Group |
Details |
Weight |
Thumbnail Image |
| <%= Key %> - <%= objRS1("productname") %> | <%= objRS1("productgroup") %> | <%= objRS1("productdetails") %> | <%= objRS1("productweight") %> <%= objRS1("productweightunit") %> |
|
| Item Name | " st = st +"Group | " st = st +"Details | " st = st +"Weight | " st = st +"Length | " st = st +"Price | " st = st +"Special Inquiry | " st = st +"
| " + cstr(objRS1("productname")) +" | " st = st + "" + cstr(objRS1("productgroup")) + " | " st = st + "" + cstr(objRS1("productdetails")) + " | " st = st + "" + cstr(objRS1("productweight")) + " " + cstr(objRS1("productweightunit")) + " | " st = st + ""+ cstr(objRS1("productlength")) + " | " st = st + ""+ cstr(objRS1("productPriceFrom")) + "-" + cstr(objRS1("productPriceTo")) + " | " st = st + ""+ h +" | " st = st + "" st = st + "
| ------------------------------ | ||||||||||
| Inquiry By : " + cstr(sname) + " | ||||||||||
| Living at : " + cstr(sadd) + " | ||||||||||
| With Phone : " + cstr(sphone1) + cstr("-") + cstr(sphone2) + " | ||||||||||
| <% if sAction="" then showcatalog(page) %> |
<% response.end end if ' Select action based on user input Select Case sAction Case "add" session("back")=1 'response.write iItemid 'response.write iItemcount if itemid="NOITEM" then showcatalog(page) else AddItemToCart iItemID, iItemCount ShowItemsInCartfromdata end if %> | |||||||||
| ||||||||||
<% call footer Case "del" RemoveItemFromCart iItemID, iItemCount ShowItemsInCartfromdata %>
|
<% call footer Case "viewcart" session("back")=1 ShowItemsInCartfromdata %>
|