Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

95 lines
2.9 KiB

  1. <html>
  2. <head>
  3. <style TYPE="text/css">
  4. a:hover { color:#3030c0; }
  5. </style>
  6. <!-- <link HREF="PCHealth.css" REL="STYLESHEET" TYPE="text/css"> -->
  7. </head>
  8. <body bgcolor="#eee5e0" text="black" link="black" vlink="black" alink="gray">
  9. <p>
  10. <font face="Verdana" size="2">
  11. <span class="Description">Help is available for the following products. Please select the product and vendor
  12. from which you want support.</span>
  13. <table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
  14. <tr><td valign="top">
  15. <br>
  16. <b><font face="Verdana" size="4">Go to Vendors</font></b>
  17. <table id="tblVendor" border="0" cellpadding="6" cellspacing="8" width="95%" align="center">
  18. <!--
  19. <tr>
  20. <td valign="top" width="11%" bordercolorlight="#cec5c0"><img border="0" src="images\go_to_1.gif">
  21. </td>
  22. <td valign="top" width="39%" bordercolorlight="#cec5c0">
  23. <font face="Verdana" size="2">
  24. <b>
  25. <a href="levelOne.asp?Cat=6">Computer Help from Dell Corporation</a></b><br></font>
  26. <font face="Verdana" size="1">Use this channel to report hardware and operating system errors.</font><br>
  27. </td>
  28. -->
  29. </table>
  30. </table>
  31. </font>
  32. </body>
  33. <script language=VBScript>
  34. Sub window_onload()
  35. ' retrieve support channel info.
  36. Dim x
  37. Dim iCell, iRow
  38. Dim VendorName, VendorIcon, Description, VendorUrl, sHTML1, sHTML2
  39. iRow = 0
  40. iItem = 0
  41. ' set x = window.external.GetSupportChannel
  42. set x = CreateObject("SAF.SAFReg.1")
  43. x.MoveFirst
  44. do while not x.EOF
  45. VendorName = x.VendorName
  46. VendorIcon = x.VendorIcon
  47. Description = x.ProductDescription
  48. VendorUrl = x.SupportUrl
  49. if VendorIcon <> "" Then
  50. sHTML1 = "<img src=""" & VendorIcon & """>"
  51. else
  52. sHTML1 = ""
  53. end if
  54. sHTML2 = "<font face=""Verdana"" size=""2""><b>" & _
  55. "<a href=""" & VendorUrl & """>" & VendorName & "</a></b><br></font>" & _
  56. "<font face=""Verdana"" size=""1"">" & Description & "</font><br>"
  57. if iItem = 0 then
  58. document.all.tblVendor.insertRow(iRow)
  59. iItem = 1
  60. iCell = 0
  61. else
  62. iItem = 0
  63. iCell = 2
  64. end if
  65. document.all.tblVendor.rows(iRow).insertCell(iCell)
  66. set y = document.all.tblVendor.rows(iRow).cells(iCell)
  67. y.valign = "top"
  68. y.width = "11%"
  69. y.bordercolorlight = "#cec5c0"
  70. y.innerHTML = sHTML1
  71. iCell = iCell + 1
  72. document.all.tblVendor.rows(iRow).insertCell(iCell)
  73. set y = document.all.tblVendor.rows(iRow).cells(iCell)
  74. y.valign = "top"
  75. y.width = "39%"
  76. y.bordercolorlight = "#cec5c0"
  77. y.innerHTML = sHTML2
  78. if iCell = 3 Then
  79. iRow = iRow + 1
  80. end if
  81. x.MoveNext
  82. loop
  83. set x = Nothing
  84. End sub
  85. </script>
  86. </html>