%@ Language=VBScript %><%
strPageTitle = "Product Listings By Categories"
strPageDescription = strPageTitle
%>
<%
MakePageSkin
Response.Write strPageHeader
%>
Product Listings By Categories |
|
<%
'Set rsmod = Server.CreateObject("ADODB.Recordset")
set rs=openrs("SELECT ID,CategoryName FROM vw_DisplayCategories WHERE (SiteID='" & SiteID & "')")
if Not rs.eof then
rs.movefirst
while not rs.eof
CategoryName = rs("CategoryName")
strFolderName = rs("CategoryName")
Response.Write " "&strFolderName&" "&vbcrlf strFolderName = Replace(strFolderName,"-","") strFolderName = Replace(strFolderName,"*","") strFolderName = Replace(strFolderName," "," ") strFolderName = Replace(strFolderName," ","-") strFolderName = Trim(strFolderName) Response.Write "
" & VbCrLf rs2.movenext wend end if rs2.close 'strCategoryNames = strCategoryNames & " |