Here is the code for that page called stocktest.asp:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Italian handcraft high heels stiletto shoes: pumps sandals slippers
mules platforms boots Italian ladies and men's shoes online.</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script language="JavaScript">
<!--
function FP_preloadImgs() {//v1.0
var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
for(var i=0; i<a.length; i++) { d.FP_imgs=new Image;
d.FP_imgs.src=a; }
}
function FP_swapImg() {//v1.0
var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2;
n<args.length;
n+=2) { elm=FP_getObjectByID(args[n]); if(elm) {
doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src; elm.src=args[n+1]; } }
}
function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById)
el=o.getElementById(id);
else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return
el; } }
return null;
}
// -->
</script>
<% ' FP_ASP -- ASP Automatically generated by a FrontPage Component. Do not
Edit.
FP_CharSet = "windows-1252"
FP_CodePage = 1252 %>
</head>
<body
onload="FP_preloadImgs(/*url*/'images/button4.jpg',/*url*/'images/button5.jpg',/*url*/'images/buttonE.jpg',/*url*/'images/buttonF1.jpg',/*url*/'images/button12.jpg',/*url*/'images/button13.jpg',/*url*/'images/button14.jpg',/*url*/'images/button20.jpg',/*url*/'images/button24.jpg',/*url*/'images/button25.jpg',/*url*/'images/button1A1.jpg',/*url*/'images/button1B1.jpg',/*url*/'images/button1D1.jpg',/*url*/'images/button1E.jpg',/*url*/'images/button29.jpg',/*url*/'images/button30.jpg',/*url*/'images/button31.jpg',/*url*/'images/button32.jpg',/*url*/'images/button33.jpg',/*url*/'images/button34.jpg',/*url*/'images/button3E.jpg',/*url*/'images/button3F1.jpg',/*url*/'images/button42.jpg',/*url*/'images/button43.jpg',/*url*/'images/button51.jpg',/*url*/'images/button52.jpg',/*url*/'images/button4A1.jpg',/*url*/'images/button4B1.jpg',/*url*/'images/button4D1.jpg',/*url*/'images/button4E1.jpg',/*url*/'images/button53.jpg',/*url*/'images/button54.jpg')">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse:
collapse" bordercolor="#111111" width="770" id="AutoNumber1" height="39">
<tr>
<td width="10"> </td>
<td width="176" rowspan="2">
<p align="left">
<a href="index.htm">
<img border="0" src="images/logo_head_new.gif" width="176"
height="48"></a></td>
<td width="585" bgcolor="#84A52D" colspan="2">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td>
<img border="0" id="img1" src="images/button6.jpg" height="20" width="100"
alt="Sandals" fp-style="fp-btn: Simple Circle 2; fp-font-color-normal:
#FFFFFF; fp-bgcolor: #84A52D" fp-title="Sandals"
onmouseover="FP_swapImg(1,0,/*id*/'img1',/*url*/'images/button4.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img1',/*url*/'images/button6.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img1',/*url*/'images/button5.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img1',/*url*/'images/button4.jpg')"></td>
<td>
<img border="0" id="img2" src="images/buttonD.jpg" height="20" width="100"
alt="Mules"
onmouseover="FP_swapImg(1,0,/*id*/'img2',/*url*/'images/buttonE.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img2',/*url*/'images/buttonD.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img2',/*url*/'images/buttonF1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img2',/*url*/'images/buttonE.jpg')"
fp-style="fp-btn: Simple Circle 2; fp-font-color-normal: #FFFFFF; fp-bgcolor:
#84A52D" fp-title="Mules"></td>
<td>
<img border="0" id="img3" src="images/button26.jpg" height="20"
width="100" alt="Pumps"
onmouseover="FP_swapImg(1,0,/*id*/'img3',/*url*/'images/button12.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img3',/*url*/'images/button26.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img3',/*url*/'images/button13.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img3',/*url*/'images/button12.jpg')"
fp-style="fp-btn: Simple Circle 2; fp-font-color-normal: #FFFFFF; fp-bgcolor:
#84A52D" fp-title="Pumps"></td>
<td>
<img border="0" id="img4" src="images/button27.jpg" height="20"
width="100" alt="Boots"
onmouseover="FP_swapImg(1,0,/*id*/'img4',/*url*/'images/button14.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img4',/*url*/'images/button27.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img4',/*url*/'images/button20.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img4',/*url*/'images/button14.jpg')"
fp-style="fp-btn: Simple Circle 2; fp-font-color-normal: #FFFFFF; fp-bgcolor:
#84A52D" fp-title="Boots"></td>
<td>
<img border="0" id="img5" src="images/button28.jpg" height="20"
width="100" alt="Platforms"
onmouseover="FP_swapImg(1,0,/*id*/'img5',/*url*/'images/button24.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img5',/*url*/'images/button28.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img5',/*url*/'images/button25.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img5',/*url*/'images/button24.jpg')"
fp-style="fp-btn: Simple Circle 2; fp-font-color-normal: #FFFFFF; fp-bgcolor:
#84A52D" fp-title="Platforms"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="5"> </td>
<td width="55">
</td>
<td width="520"> </td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="770">
<tr valign="top">
<td width="182" align="right"> <table border="0" cellpadding="1"
cellspacing="0" width="170" bgcolor="#EC7A24"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="170"
bgcolor="#ffffff">
<tr><td style="padding:5px;">
<p align="center"><b> </b><marquee style="font-style: oblique">Italian
footwear online. Choose from a variety of styles. We now exhibit at your
place of work. Contact us for more details.</marquee></td></tr>
</table>
</td></tr></table>
<br>
<table border="0" cellpadding="1" cellspacing="0" width="170"
bgcolor="#EC7A24"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="170"
bgcolor="#ffffff">
<!-- MSTableType="nolayout" -->
<tr><td style="padding:1px;">
<table border="0" width="100%" cellspacing="3" cellpadding="0">
<td>
<img src="images/title_search.gif" alt="" border="0" vspace="1" width="57"
height="12"></td>
</table>
<form method="POST" action="--WEBBOT-SELF--" onSubmit="">
<!--webbot bot="SaveResults" U-File="_private/form_results.csv"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" startspan --><input TYPE="hidden"
NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" i-checksum="43374"
endspan -->
<input type="Text" class="text" style="width:114px;" value="keyword"
size="20" name="T1"><input type="submit" value="go" name="B1"></form>
</td></tr>
</table>
</td></tr></table>
<br>
<table border="0" cellpadding="1" cellspacing="0" width="170"
bgcolor="#EC7A24"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="170"
bgcolor="#ffffff">
<tr><td style="padding:5px;">
<img src="images/title_browsecategory.gif" alt="" border="0" vspace="5"
width="138" height="12"></td></tr>
<tr>
<td width="155">
<img border="0" id="img6" src="images/button35.jpg" height="20" width="100"
alt=" Sandals" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#636563; fp-justify-horiz: 0" fp-title=" Sandals"
onmouseover="FP_swapImg(1,0,/*id*/'img6',/*url*/'images/button1A1.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img6',/*url*/'images/button35.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img6',/*url*/'images/button1B1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img6',/*url*/'images/button1A1.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img7" src="images/button1C1.jpg" height="20" width="100"
alt=" Mules" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#666666; fp-justify-horiz: 0" fp-title=" Mules"
onmouseover="FP_swapImg(1,0,/*id*/'img7',/*url*/'images/button1D1.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img7',/*url*/'images/button1C1.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img7',/*url*/'images/button1E.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img7',/*url*/'images/button1D1.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img8" src="images/button1F.jpg" height="20" width="100"
alt=" Pumps" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#666666; fp-justify-horiz: 0" fp-title=" Pumps"
onmouseover="FP_swapImg(1,0,/*id*/'img8',/*url*/'images/button29.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img8',/*url*/'images/button1F.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img8',/*url*/'images/button30.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img8',/*url*/'images/button29.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img9" src="images/button36.jpg" height="20" width="100"
alt=" Boots" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#666666; fp-justify-horiz: 0" fp-title=" Boots"
onmouseover="FP_swapImg(1,0,/*id*/'img9',/*url*/'images/button31.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img9',/*url*/'images/button36.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img9',/*url*/'images/button32.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img9',/*url*/'images/button31.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img10" src="images/button37.jpg" height="20" width="100"
alt=" Platforms" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal:
#666666; fp-justify-horiz: 0" fp-title=" Platforms"
onmouseover="FP_swapImg(1,0,/*id*/'img10',/*url*/'images/button33.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img10',/*url*/'images/button37.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img10',/*url*/'images/button34.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img10',/*url*/'images/button33.jpg')"></td>
</tr>
<tr><td>
<img src="images/clear.gif" width="1" height="5" alt=""
border="0"></td></tr>
</table>
</td></tr></table>
<br>
<table border="0" cellpadding="1" cellspacing="0" width="170"
bgcolor="#EC7A24"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" width="170"
bgcolor="#ffffff">
<tr><td style="padding:5px;">
<img src="images/title_browsedepartment.gif" alt="" border="0" vspace="5"
width="156" height="12"></td></tr>
<tr>
<td width="170" align="right">
<p align="left">
<img border="0" id="img11" src="images/button3D.jpg" height="20" width="100"
alt=" Womens"
onmouseover="FP_swapImg(1,0,/*id*/'img11',/*url*/'images/button3E.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img11',/*url*/'images/button3D.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img11',/*url*/'images/button3F1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img11',/*url*/'images/button3E.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Womens"></td>
</tr>
<tr>
<td>
<img border="0" id="img12" src="images/button44.jpg" height="20" width="100"
alt=" Mens" fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Mens"
onmouseover="FP_swapImg(1,0,/*id*/'img12',/*url*/'images/button42.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img12',/*url*/'images/button44.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img12',/*url*/'images/button43.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img12',/*url*/'images/button42.jpg')"></td>
</tr>
<tr>
<td>
<img border="0" id="img13" src="images/button55.jpg" height="20" width="100"
alt=" Miscellaneous"
onmouseover="FP_swapImg(1,0,/*id*/'img13',/*url*/'images/button51.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img13',/*url*/'images/button55.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img13',/*url*/'images/button52.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img13',/*url*/'images/button51.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Miscellaneous"></td>
</tr>
<tr>
<td>
<img border="0" id="img14" src="images/button56.jpg" height="20" width="100"
alt=" Promotion"
onmouseover="FP_swapImg(1,0,/*id*/'img14',/*url*/'images/button4A1.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img14',/*url*/'images/button56.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img14',/*url*/'images/button4B1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img14',/*url*/'images/button4A1.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Promotion"></td>
</tr>
<tr>
<td>
<img border="0" id="img15" src="images/button4C1.jpg" height="20"
width="100" alt=" Clearance"
onmouseover="FP_swapImg(1,0,/*id*/'img15',/*url*/'images/button4D1.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img15',/*url*/'images/button4C1.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img15',/*url*/'images/button4E1.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img15',/*url*/'images/button4D1.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Clearance"></td>
</tr>
<tr>
<td>
<img border="0" id="img16" src="images/button4F1.jpg" height="20"
width="100" alt=" Contact us"
onmouseover="FP_swapImg(1,0,/*id*/'img16',/*url*/'images/button53.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img16',/*url*/'images/button4F1.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img16',/*url*/'images/button54.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img16',/*url*/'images/button53.jpg')"
fp-style="fp-btn: Simple Arrow 2; fp-font-color-normal: #666666;
fp-justify-horiz: 0" fp-title=" Contact us"></td>
</tr>
<tr><td height="7">
<img src="images/clear.gif" width="1" height="5" alt=""
border="0"></td></tr>
</table>
</td></tr></table>
</td>
<td width="588" align="center">
<table border="0" cellpadding="0" cellspacing="0" width="550">
<tr valign="top">
<td width="550">
<p align="left">
<table border="0" cellspacing="0" width="100%" bgcolor="#EC7A24"><tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%"
bgcolor="#ffffff">
<tr><td style="padding:5px;">
<!--webbot bot="DatabaseRegionStart"
s-columnnames="WomensTypeID,Header,Text,Category_picture"
s-columntypes="3,202,203,202" s-dataconnection="Database2"
b-tableformat="FALSE" b-menuformat="FALSE" s-menuchoice="Header"
s-menuvalue="Header" b-tableborder="TRUE" b-tableexpand="TRUE"
b-tableheader="TRUE" b-listlabels="TRUE" b-listseparator="TRUE"
i-listformat="5" b-makeform="FALSE" s-recordsource="Category"
s-displaycolumns="Header,Text" s-criteria="[Header] EQ {category} +" s-order
s-sql="SELECT * FROM Category WHERE (Header = '::category::')"
b-procedure="FALSE" clientside suggestedext="asp" s-defaultfields="category="
s-norecordsfound="No records returned." i-maxrecords="0" i-groupsize="0"
botid="1" u-dblib="_fpclass/fpdblib.inc" u-dbrgn1="_fpclass/fpdbrgn1.inc"
u-dbrgn2="_fpclass/fpdbrgn2.inc" tag="BODY" preview="<table border=0
width="100%"><tr><td bgcolor="#FFFF00"><font color="#000000">This is the
start of a Database Results region. The page must be fetched from a web
server with a web browser to display correctly; the current web is stored on
your local disk or network.</font></td></tr></table>" startspan
b-UseDotNET="FALSE" CurrentExt sa-InputTypes="202" b-DataGridFormat="FALSE"
b-DGridAlternate="TRUE" sa-CritTypes="202" b-WasTableFormat="FALSE"
b-ReplaceDatabaseRegion="FALSE" --><!--#include file="_fpclass/fpdblib.inc"-->
<% if 0 then %>
<SCRIPT Language="JavaScript">
document.write("<div style='background: yellow; color: black;'>The Database
Results component on this page is unable to display database content. The
page must have a filename ending in '.asp', and the web must be hosted on a
server that supports Active Server Pages.</div>");
</SCRIPT>
<% end if %>
<%
fp_sQry="SELECT * FROM Category WHERE (Header = '::category::')"
fp_sDefault="category="
fp_sNoRecords="No records returned."
fp_sDataConn="Database2"
fp_iMaxRecords=0
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=False
fp_fMenuFormat=False
fp_sMenuChoice="Header"
fp_sMenuValue="Header"
fp_sColTypes="&WomensTypeID=3&Header=202&Text=203&Category_picture=202&"
fp_iDisplayCols=2
fp_fCustomQuery=False
BOTID=1
fp_iRegion=BOTID
%>
<!--#include file="_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-checksum="44457" --><table
BORDER="0" cellspacing="0" width="538">
<tr>
<td width="473"><font color="#000000"
size="5"><%'=FP_FieldVal(fp_rs,"Header")%></td>
<td width="0" rowspan="2"><td width="9%" valign="top" rowspan="2">
<img border="0" src="images/<%'=FP_FieldVal(fp_rs,"Category_picture")%>"
align="right"></td>
</tr>
<tr>
<td width="473"><font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="WomensTypeID,Header,Text,Category_picture" s-column="Text"
b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside
b-MenuFormat preview="<font size="-1"><<</font>Text<font
size="-1">>></font>" startspan
--><%=FP_FieldVal(fp_rs,"Text")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="4837" --></font></td>
</td>
</tr>
</table>
<!--webbot bot="DatabaseRegionEnd" b-tableformat="FALSE"
b-menuformat="FALSE" u-dbrgn2="_fpclass/fpdbrgn2.inc" i-groupsize="0"
clientside tag="BODY" preview="<table border=0 width="100%"><tr><td
bgcolor="#FFFF00"><font color="#000000">This is the end of a Database Results
region.</font></td></tr></table>" startspan --><!--#include
file="_fpclass/fpdbrgn2.inc"-->
<!--webbot bot="DatabaseRegionEnd" endspan i-checksum="62730" --></td></tr>
</table>
</td></tr></table>
</td>
</tr>
</table>
<table border="0" cellpadding="2" width="550" bordercolorlight="#EC7A24"
style="border-collapse: collapse; border: 1px solid #EF7921">
<tr>
<td align="center">
<!--webbot bot="DatabaseRegionStart"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-columntypes="3,202,202,202,202,202,203,202,202,202,202"
s-dataconnection="Database1" b-tableformat="FALSE" b-menuformat="FALSE"
s-menuchoice="StockID" s-menuvalue="StockID" b-tableborder="TRUE"
b-tableexpand="TRUE" b-tableheader="TRUE" b-listlabels="TRUE"
b-listseparator="TRUE" i-listformat="5" b-makeform="FALSE"
s-recordsource="Stock"
s-displaycolumns="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability"
s-criteria="[Category] EQ {Category} +" s-order="[Price] -" s-sql="SELECT *
FROM Stock WHERE (Category = '::Category::') ORDER BY Price DESC"
b-procedure="FALSE" clientside suggestedext="asp" s-defaultfields="Category="
s-norecordsfound="No records returned." i-maxrecords="10" i-groupsize="0"
botid="0" u-dblib="_fpclass/fpdblib.inc" u-dbrgn1="_fpclass/fpdbrgn1.inc"
u-dbrgn2="_fpclass/fpdbrgn2.inc" tag="BODY" preview="<table border=0
width="100%"><tr><td bgcolor="#FFFF00"><font color="#000000">This is the
start of a Database Results region. The page must be fetched from a web
server with a web browser to display correctly; the current web is stored on
your local disk or network.</font></td></tr></table>" startspan
b-UseDotNET="FALSE" CurrentExt sa-InputTypes="202" b-DataGridFormat="FALSE"
b-DGridAlternate="TRUE" sa-CritTypes="202" b-WasTableFormat="FALSE"
b-ReplaceDatabaseRegion="FALSE" --><!--#include file="_fpclass/fpdblib.inc"-->
<% if 0 then %>
<SCRIPT Language="JavaScript">
document.write("<div style='background: yellow; color: black;'>The Database
Results component on this page is unable to display database content. The
page must have a filename ending in '.asp', and the web must be hosted on a
server that supports Active Server Pages.</div>");
</SCRIPT>
<% end if %>
<%
fp_sQry="SELECT * FROM Stock WHERE (Category = '::Category::') ORDER BY
Price DESC"
fp_sDefault="Category="
fp_sNoRecords="No records returned."
fp_sDataConn="Database1"
fp_iMaxRecords=10
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=False
fp_fMenuFormat=False
fp_sMenuChoice="StockID"
fp_sMenuValue="StockID"
fp_sColTypes="&StockID=3&Gender=202&Category=202&Make=202&Model=202&Sizes=202&Desc=203&Price=202&Availability=202&small_pic=202&big_pic=202&"
fp_iDisplayCols=9
fp_fCustomQuery=False
BOTID=0
fp_iRegion=BOTID
%>
<!--#include file="_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-checksum="61827" --><table
BORDER="0" width="544" cellspacing="0">
<tr>
<td width="100"><font color="#000000" size="1"><b>StockID:</b></font></td>
<td width="292">
<font color="#000000" size="1">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="StockID" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font
size="-1"><<</font>StockID<font size="-1">>></font>" startspan
--><%=FP_FieldVal(fp_rs,"StockID")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="14220" --></font></td>
<td width="146" rowspan="4" style="border: 0px solid #FFFFFF" colspan="2">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="small_pic" b-tableformat="FALSE" b-hashtml="FALSE"
b-makelink="FALSE" clientside b-MenuFormat preview="<font
size="-1"><<</font>small_pic<font size="-1">>></font>" startspan
--><%=FP_FieldVal(fp_rs,"small_pic")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="22161" --></td>
</tr>
<tr>
<td width="100"><font color="#000000"><b>Gender:</b></font></td>
<td width="292">
<font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Gender" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1"><<</font>Gender<font
size="-1">>></font>" startspan
--><%=FP_FieldVal(fp_rs,"Gender")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="14399" --></font></td>
</tr>
<tr>
<td width="100"><font color="#000000"><b>Make:</b></font></td>
<td width="292">
<font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Make" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1"><<</font>Make<font
size="-1">>></font>" startspan
s-ColumnTypes="3,202,202,202,202,202,203,202,202"
--><%=FP_FieldVal(fp_rs,"Make")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="3834" --></font></td>
</tr>
<tr>
<td width="100"><font color="#000000"><b>Model:</b></font></td>
<td width="292">
<font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Model" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1"><<</font>Model<font
size="-1">>></font>" startspan
--><%=FP_FieldVal(fp_rs,"Model")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="9091" --></font></td>
</tr>
<tr>
<td width="100" rowspan="4" align="left" valign="top">
<font color="#000000"><b>Description:</b></font></td>
<td width="292" rowspan="4" align="left" valign="top">
<font color="#000000">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Desc" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1"><<</font>Desc<font
size="-1">>></font>" startspan
--><%=FP_FieldVal(fp_rs,"Desc")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="3774" --></font></td>
<td width="146" style="border: 0px solid #FFFFFF" colspan="2">
</td>
</tr>
<tr>
<td width="53" style="border: 1px solid #EF7921">
<p align="left"><b><font color="#84A52D">Sizes:</font></b></td>
<td width="93" align="left" style="border: 1px solid #EF7921">
<b><font color="#84A52D">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Sizes" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1"><<</font>Sizes<font
size="-1">>></font>" startspan
--><%=FP_FieldVal(fp_rs,"Sizes")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="8757" --></font></b></td>
</tr>
<tr>
<td width="53" style="border: 1px solid #EF7921">
<p align="left"><b><font color="#84A52D">Price:</font></b></td>
<td width="93" align="left" style="border: 1px solid #EF7921">
<b><font color="#84A52D">£<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Price" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE"
clientside b-MenuFormat preview="<font size="-1"><<</font>Price<font
size="-1">>></font>" startspan
--><%=FP_FieldVal(fp_rs,"Price")%><!--webbot bot="DatabaseResultColumn"
endspan i-checksum="9640" --></font></b></td>
</tr>
<tr>
<td width="53" style="border: 1px solid #EF7921" height="20">
<p align="left"><b><font color="#84A52D">Available: </font></b></td>
<td width="93" align="left" style="border: 1px solid #EF7921" height="20">
<b><font color="#84A52D">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="StockID,Gender,Category,Make,Model,Sizes,Desc,Price,Availability,small_pic,big_pic"
s-column="Availability" b-tableformat="FALSE" b-hashtml="FALSE"
b-makelink="FALSE" clientside b-MenuFormat preview="<font
size="-1"><<</font>Availability<font size="-1">>></font>"
startspan --><%=FP_FieldVal(fp_rs,"Availability")%><!--webbot
bot="DatabaseResultColumn" endspan i-checksum="32598" --></font></b></td>
</tr>
</table>
<hr color="#EC7A24" size="1">
<!--webbot bot="DatabaseRegionEnd" b-tableformat="FALSE"
b-menuformat="FALSE" u-dbrgn2="_fpclass/fpdbrgn2.inc" i-groupsize="0"
clientside tag="BODY" preview="<table border=0 width="100%"><tr><td
bgcolor="#FFFF00"><font color="#000000">This is the end of a Database Results
region.</font></td></tr></table>" startspan --><!--#include
file="_fpclass/fpdbrgn2.inc"-->
<!--webbot bot="DatabaseRegionEnd" endspan i-checksum="62730" --></td>
</tr>
</table>
<table border="0" cellpadding="2" width="550" bordercolorlight="#EC7A24"
style="border-collapse: collapse; border: 1px solid #EF7921">
<tr>
<td align="center">
<p align="left"> </td>
</tr>
<tr>
<td align="center">
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table border="0" cellpadding="0" cellspacing="0" width="770">
<tr><td bgcolor="#84A52D" class="footer" height="20"> © D Moss Shoes
2005. All Rights Reserved.
Website designed and hosted for D Moss Shoes by Motor Styling (Internet
Consultants)</td></tr>
</table>
<br>
</body>
</html>
My database connection is called Database2.
My Access database is called dmossshoes.mdb. There are x3 tables in the
database:
Category
Department
Stock
The table properties are as follows:
Category
- WomensTypeID, Autonumber, keyfield
- Header, Text
- Text, Memo
- Category_picture, Text
Department
- ID, Autonumber, keyfield
- Category, Text
- Text, memo
Stock
- StockID, Autonumber, keyfield
- Gender, Text
- Category, Text
- Make, Text
- Model, Text
- Sizes, Text
- Desc, Memo
- Price, Text
- Availability, Text
- small_pic, Text
- big_pic, Text
I hope this gives a good picture of the site. The above page (code) is
fetched from a hyperlink on index.htm (the homepage):
stocktest.asp?category=Sandals
Help please.
skc