 |
 |
<%
Set rsMenu = adoConn.Execute("SELECT ecat_id, ecat_name, ecat_pgn FROM eCats WHERE ecat_live = '1' ORDER BY ecat_do ASC")
Do While NOT rsMenu.EOF
IF Cint(rsMenu.Fields("ecat_id")) = catid THEN
%>
| " class="NavlinkB">.. <%=Replace(rsMenu.Fields("ecat_name"),"''","'")%> |
|
<%
Set rsMenu2 = adoConn.Execute("SELECT edept_id, edept_name, edept_type, edept_pgn FROM edepts WHERE edept_type = '" & catid & "' AND edept_live ='1' ORDER BY edept_do ASC")
Do While NOT rsMenu2.EOF
IF Cint(rsMenu2.Fields("edept_id")) = deptid THEN
%>
| " class="NavlinkB">.. <%=Replace(rsMenu2.Fields("edept_name"),"''","'")%> |
|
<% ELSE %>
| " class="NavlinkB">.. <%=Replace(rsMenu2.Fields("edept_name"),"''","'")%> |
|
<% END IF %>
<% rsMenu2.MoveNext
Loop
rsMenu2.Close
Set rsMenu2 = Nothing
ELSE %>
| " class="NavlinkB"><%=Replace(rsMenu.Fields("ecat_name"),"''","'")%> |
|
<%
END IF
rsMenu.MoveNext
Loop
rsMenu.Close
Set rsMenu = Nothing
%>
| Special Offers |
|
| |
|
| FAQs |
|
| Contact us |
|
| Delivery |
|
| About Us |
|
| Drivers & Downloads |
|
| Terms & Conditions |
|
| Privacy Policy |
|
| Returns & Refunds |
|
| Keep Informed |
|
| Useful Links |
|
| Bookmark Us |
|
| Tell
a friend |
|
| |
|
 |
 |
| |
|
|
 |
<%=Left(Replace(rsFind.Fields("prod_name"),"''","'"),40)%> |
 |
| |
|
|
| |
| |
 |
| <%=picstring%> |
<%
IF pichugestring <> "0" THEN
Response.Write vbcrlf & " "
Response.Write vbcrlf & " | "
Response.Write " View Larger Image "
Response.Write vbcrlf & " | "
Response.Write vbcrlf & " "
END IF
%>
<%=Replace(rsFind.Fields("prod_name"),"''","'")%>
<%=Replace(rsFind.Fields("prod_desc"),"''","'")%> |
<%
Set rsFind3 = adoConn.Execute("SELECT * FROM prodFeatures WHERE pf_pid = '" & refid & "'")
IF rsFind3.EOF OR rsFind3.RecordCount = 0 THEN
rsFind3.Close
Set rsFind3 = Nothing
ELSE
%>
| |
|
| Features |
<%
fcount = 1
Do While fcount < 13
feat1 = rsFind3.Fields("pf_h" & fcount)
feat1 = Replace(feat1,"''","'")
feat2 = rsFind3.Fields("pf_b" & fcount)
feat2 = Replace(feat2,"''","'")
IF feat1 <> "" THEN
Response.Write vbcrlf & " "
Response.Write vbcrlf & " | " & feat1 & " | "
Response.Write vbcrlf & " " & feat2 & " | "
Response.Write vbcrlf & " "
END IF
fcount = fcount +1
Loop
rsFind3.Close
Set rsFind3 = Nothing
feat1 = ""
feat2 = ""
%>
|
<% END IF ' end features %>
| |
|
| Product |
<% IF rrpcount > 0 THEN %>
RRP |
<% END IF %>
Price |
Add to basket |
<%
Set rsFind2 = adoConn.Execute("SELECT prod_id, prod_name, prod_price, prod_rrp, prod_picdid, prod_pgn, prod_stock FROM Productz WHERE prod_typ = '2' AND prod_main = '" & refid & "' AND prod_show != '2' ORDER BY prod_id ASC, prod_stock DESC")
Do While NOT rsFind2.EOF
pname = Replace(rsFind2.Fields("prod_name"),"''","'")
pname = Left(pname,100)
%>
<%
rsFind2.MoveNext
Loop
rsFind2.Close
Set rsFind2 = Nothing
%> <%
Set rsReview = adoConn.Execute("SELECT * FROM pReviews WHERE rev_prod = '" & refid & "' AND rev_live = '1' LIMIT 0,3")
IF rsReview.EOF OR rsReview.RecordCount = 0 THEN
Response.Write vbcrlf & " Be the first to add a Customer Review "
ELSE
Response.Write vbcrlf & " Customer Reviews"
Do While NOT rsReview.EOF
Response.Write vbcrlf & " " & rsReview.Fields("rev_review") & " "
Response.Write vbcrlf & " " & rsReview.Fields("rev_init") & ", " & rsReview.Fields("rev_locat") & " "
rsReview.MoveNext
Loop
Response.Write vbcrlf & " See All Customer Reviews "
END IF
rsReview.Close
Set rsReview = Nothing
%> |
| |
|
<%
Set rsRelated = adoConn.Execute("SELECT prod_id, prod_pgn, prod_name, prod_price, prod_picdid FROM Productz WHERE prod_id = '" & rsFind.Fields("prod_rel1") & "' AND prod_show !='2' AND prod_picdid != ''")
IF rsRelated.EOF OR rsRelated.RecordCount = 0 THEN
rsRelated.Close
Set rsRelated = Nothing
ELSE
Response.Write vbcrlf & " " & vbcrlf & " You may also be interested in these products"
Response.Write vbcrlf & " "
Response.Write vbcrlf & " "
Response.Write vbcrlf & " | "
Set rsRelated2 = adoConn.Execute("SELECT prod_id, prod_pgn, prod_name, prod_price, prod_picdid FROM Productz WHERE prod_id = '" & rsFind.Fields("prod_rel2") & "' AND prod_show !='2' AND prod_picdid != ''")
IF rsRelated2.EOF OR rsRelated2.RecordCount = 0 THEN
rsRelated2.Close
Set rsRelated2 = Nothing
ELSE
Response.Write vbcrlf & " | "
rsRelated2.Close
Set rsRelated2 = Nothing
END IF
Set rsRelated3 = adoConn.Execute("SELECT prod_id, prod_pgn, prod_name, prod_price, prod_picdid FROM Productz WHERE prod_id = '" & rsFind.Fields("prod_rel3") & "' AND prod_show !='2' AND prod_picdid != ''")
IF rsRelated3.EOF OR rsRelated3.RecordCount = 0 THEN
rsRelated3.Close
Set rsRelated3 = Nothing
ELSE
Response.Write vbcrlf & " | "
rsRelated3.Close
Set rsRelated3 = Nothing
END IF
Response.Write vbcrlf & " "
Response.Write vbcrlf & " "
rsRelated.Close
Set rsRelated = Nothing
END IF
%>
|
|
| |
|
|
 |
 |
 |
|
 |
 |
 |
<%
Set rsFeat = adoConn.Execute("SELECT prod_id, prod_name, prod_price, prod_picdid, prod_pgn FROM Productz WHERE prod_show = '4' AND prod_picdid != '' ORDER BY prod_price ASC LIMIT 0,3")
IF rsFeat.EOF OR rsFeat.RecordCount = 0 THEN
rsFeat.Close
Set rsFeat = Nothing
ELSE
%>
| |
Featured Products |
|
<%
Do While NOT rsFeat.EOF
Response.Write vbcrlf & " "
Response.Write vbcrlf & " | | "
Response.Write vbcrlf & " "
Response.Write vbcrlf & " ![]() "
Response.Write vbcrlf & " | "
Response.Write vbcrlf & " | "
Response.Write vbcrlf & " "
rsFeat.MoveNext
Loop
%>
<%
rsFeat.Close
Set rsFeat = Nothing
END IF
%>
<%
Set rsGuide = adoConn.Execute("SELECT pj_id, pj_title, pj_pic0, pj_url FROM Projectz WHERE pj_live = '1' ORDER BY pj_title ASC")
IF rsGuide.EOF OR rsGuide.RecordCount = 0 THEN
rsGuide.Close
Set rsGuide = Nothing
ELSE
%>
 |
 |
 |
 |
 |
 |
| |
Shopper Guides |
|
<%
Do While NOT rsGuide.EOF
Response.Write vbcrlf & " "
Response.Write vbcrlf & " | | "
Response.Write vbcrlf & " " & Replace(rsGuide.Fields("pj_title"),"''","'") & ""
Response.Write vbcrlf & " | | "
Response.Write vbcrlf & " "
rsGuide.MoveNext
Loop
rsGuide.Close
Set rsGuide = Nothing
%>
<% END IF %>
| |
|
|
 |
 |
 |
| |
|
|
|
|