Source code of Windows XP (NT5)
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.

81 lines
1.7 KiB

  1. <%@ LANGUAGE = VBScript %>
  2. <% Option Explicit %>
  3. <% Response.Expires = 0 %>
  4. <%
  5. ' $Date: 9/25/97 4:20p $
  6. ' $ModTime: $
  7. ' $Revision: 7 $
  8. ' $Workfile: default.asp $
  9. Dim ranWizard
  10. If request("ranWizard") <> "" Then
  11. If request("ranWizard") = "True" Then
  12. ranWizard = "True"
  13. ElseIf request("ranWizard") = "False" Then
  14. ranWizard = "False"
  15. Else
  16. call ranWizardCheck
  17. End If
  18. Else
  19. call ranWizardCheck
  20. End If
  21. %>
  22. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
  23. <html>
  24. <head>
  25. <%
  26. If ranWizard = "False" Then
  27. %>
  28. <META HTTP-EQUIV="Refresh" CONTENT="0; url=wizard.asp">
  29. <%
  30. ElseIf ranWizard = "True" Then
  31. %>
  32. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  33. <title>PWS Homepage Wizard</title>
  34. </head>
  35. <BODY Background="admin.gif" Topmargin="1" Leftmargin="100">
  36. <FONT face="verdana" size="+2">Do you want to...</FONT>
  37. <TABLE width="100%" border=0>
  38. <TR><TD rowspan=3>&nbsp;&nbsp;</TD>
  39. <TD>
  40. <FONT face="verdana" size="+1">
  41. <A HREF="template.asp" TARGET="_BLANK">Edit your home page</A>
  42. </FONT>
  43. </TD></TR>
  44. <%
  45. If myinfo.Guestbook = "-1" Then
  46. response.write "<TR><TD><FONT face='verdana' size='+1'>"_
  47. & "<A HREF='qbe.asp'>View your guest book</A>"_
  48. & "</FONT>"
  49. End If
  50. response.write "</TD></TR>"
  51. If myinfo.Messages = "-1" Then
  52. response.write "<TR><TD><FONT face='verdana' size='+1'>"_
  53. & "<A HREF='admin.asp?private=True'>Open your drop box</A>"_
  54. & "</FONT>"
  55. End If
  56. response.write "</TD></TR>"
  57. %>
  58. </TABLE>
  59. </FONT>
  60. </BODY>
  61. </HTML>
  62. <%
  63. End If
  64. Sub ranWizardCheck
  65. If myinfo.ranWizard <> "" Then
  66. If myinfo.ranWizard = "-1" Then
  67. ranWizard = "True"
  68. ElseIf myinfo.ranwizard = "0" Then
  69. ranWizard = "False"
  70. Else
  71. ranWizard = "False"
  72. End If
  73. Else
  74. ranWizard = "False"
  75. End If
  76. End Sub
  77. %>