% 'Alter these codes to change BanMan ads ZoneCodeTopBanner1 = 11 'zone id no. ZoneCodeTopBanner2 = 468 'width in pixels ZoneCodeTopBanner3 = 60 'height in pixels ZoneCodeTopBanner4 = 33333 'page id ZoneCodeBottomBanner1 = 1 ZoneCodeBottomBanner2 = 468 ZoneCodeBottomBanner3 = 60 ZoneCodeBottomBanner4 = 33333 ' To update this page for 2005 etc., change "Product.BG2004" in the SQL query to the appropriate field. '-------------------------------- function SpecChar(str) if not isnull(str) then str = Replace(str, "&", "&") str = Replace(str, """", """) str = Replace(str, "<", "<") str = Replace(str, ">", ">") end if SpecChar = str End function '-------------------------------- strCatID = Request.Querystring("catid") if not IsValidString(strCatID) then strCatID = 0 'strSQL = "SELECT Cat.CatName AS CatName, Subcat.CatID AS SubcatID, " &_ ' "Subcat.CatName AS SubcatName, ProdID, ProdName, Description1, Description2, " &_ ' "UseWith, Price, CompanyName, Web, Email, Product.DateEnter, Product.DateRevise " &_ '"FROM (((Category AS Cat LEFT JOIN " &_ ' "Category AS Subcat ON Cat.CatID = Subcat.ParentID) " &_ ' "INNER JOIN " &_ ' "Product ON Product.CatID = Subcat.CatID) INNER JOIN " &_ ' "Company ON Product.CompanyID = Company.CompanyID) " &_ '"WHERE Subcat.ParentID = '" & sqlsafe(strCatID) & "' AND Product.BG2004 = 1 " &_ '" ORDER BY CatName, SubcatName, ProdName" 'strSQL = "SELECT Cat.CatName AS CatName, Subcat.CatID AS SubcatID, Subcat.CatName AS SubcatName, Product.ProdID, Product.ProdName, Product.Description1, " &_ ' "Product.UseWith, Product.Price, Company.CompanyName, Company.Web, Company.Email, Product.PPC, Product.HPC, Product.Smartphone, " &_ ' "AwardHistory.Smartphone AS AwardSmart, Product.Desktop, AwardHistory.[Year], AwardHistory.AwardStatus " &_ ' "FROM Category Cat LEFT OUTER JOIN " &_ ' "Category Subcat ON Cat.CatID = Subcat.ParentID INNER JOIN " &_ ' "Product ON Product.CatID = Subcat.CatID INNER JOIN " &_ ' "Company ON Product.CompanyID = Company.CompanyID INNER JOIN " &_ ' "AwardHistory ON Product.ProdID = AwardHistory.ProdID " &_ ' "WHERE (Subcat.ParentID = '" & sqlsafe(strCatID) & "') AND (AwardHistory.Year = '2003') AND (AwardHistory.Smartphone = '0') " &_ ' "ORDER BY Cat.CatName, SubcatName, Product.ProdName, AwardHistory.[Year] DESC" strSQL = "SELECT Cat.CatName AS CatName, Subcat.CatID AS SubcatID, Subcat.CatName AS SubcatName, Product.ProdID, Product.ProdName, Product.Description1, " &_ "Product.UseWith, Product.Price, Company.CompanyName, Company.Web, Company.Email, Product.PPC, Product.HPC, Product.Smartphone, " &_ "Product.Desktop, AwardHistory.AwardStatus " &_ "FROM Category Cat LEFT OUTER JOIN " &_ "Category Subcat ON Cat.CatID = Subcat.ParentID INNER JOIN " &_ "Product ON Product.CatID = Subcat.CatID INNER JOIN " &_ "Company ON Product.CompanyID = Company.CompanyID INNER JOIN " &_ "AwardHistory ON Product.ProdID = AwardHistory.ProdID " &_ "WHERE (Subcat.ParentID = '" & sqlsafe(strCatID) & "') AND (AwardHistory.Year = '2004') AND (AwardHistory.Smartphone = '0') " &_ "ORDER BY Cat.CatName ASC, SubcatName ASC, Product.ProdName ASC" 'Response.write strSQL 'response.end Call ExecuteSQL(strSQL,cursortype,rs_main) %>

| " & rs_main("CatName") &_ " Nominations | " & vbcrlf &_ "" &_ "Back to Index | " & vbcrlf &_ "
| " &_ "" &_ "" &_ "" &_ rs_main("SubcatName") & "" &_ " < " &_ "Click here to see all products in category." &_ " | " & vbcrlf &_ "
" & SpecChar(strName) & ""
If rs_main("AwardStatus") = "Finalist" Then Response.Write " " &_
"" & vbcrlf
If rs_main("AwardStatus") = "Winner" Then Response.Write " " &_
"
" & vbcrlf
Response.Write "" & vbcrlf
response.write "
" & vbcrlf
If Not strDesc = "" Then Response.Write SpecChar(strDesc) & "
" & vbcrlf
If Not strDesctwo = "" Then Response.Write SpecChar(strDesctwo)
Response.Write "
"
If Not strUsewith = "" Then Response.Write "Use with: " & SpecChar(strUsewith) & "
"
If Not strPrice = "" Then Response.Write "Price: " & SpecChar(strPrice) & "
"
Response.Write "Developer: " & SpecChar(strDevel) & "
" & vbcrlf
'Response.write "Date posted: " & SpecChar(strDate) & "
" & vbcrlf
'If Not strPhone = "" Then Response.Write "Phone: " & strPhone & "
"
'If Not strFax = "" Then Response.Write "Fax: " & strFax & "
"
If Not strEmail = "" Then Response.Write "Email: " & strEmail & "
"
If Not strWeb = "" Then Response.Write "Web: " & strWeb & "
2004 Pocket PC Software