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.

123 lines
4.3 KiB

  1. <%
  2. var L_PASSPORTLOGIN_TEXT = "To use the Windows Online Crash Analysis Web site, sign in using your Microsoft Passport. To get a Passport, visit the <A class='clsALinkNormal' href='http://www.passport.com'>Microsoft Passport Web site</A>.";
  3. var L_PASSPORTSIGNIN_TEXT = "Passport sign-in";
  4. var L_ONLINECRASH_TEXT = "Online Crash Analysis";
  5. fnPrint( "<body bgcolor='#ffffff' topmargin='0' leftmargin='0' marginheight='0' marginwidth='0' tabindex='0'>" );
  6. %>
  7. <!--#include file='NoScriptHeader.asp'-->
  8. <script type="text/javascript" language="JavaScript">
  9. if ( ToolBar_Supported )
  10. {
  11. drawToolbar();
  12. <%
  13. var L_PASSPORTSIGNOUT_TEXT = "Sign out of .NET Passport sites";
  14. if ( Request.Cookies("OCAV3")("PPIN" ) == "1" )
  15. Response.Write( "idICPMenuPane.insertAdjacentHTML(\"beforeEnd\", \"<Span style='position:absolute;top:0;right:5;height:20;width:100;'><center><span style='background-color:white'><A HREF='/logoutgif.asp?Signout=1'><IMG alt='' SRC='https://www.passportimages.com/" + fnGetBrowserLCID() + "/signout.gif' CLASS='PassportSignOut' BORDER='0' ALT='" + L_PASSPORTSIGNOUT_TEXT + "'></A></span></center></span>\" ) " )
  16. %>
  17. }
  18. else
  19. {
  20. <%
  21. if ( Request.Cookies("OCAV3")("PPIN" ) == "1" )
  22. Response.Write( "var g_AddSignoutLogo = \"<SPAN ALIGN=right><A HREF='/Logoutgif.asp?Signout=1'><IMG alt='' SRC='https://www.passportimages.com/" + fnGetBrowserLCID() + "/signout.gif' CLASS='PassportSignOut' BORDER='0' ALT='" + L_PASSPORTSIGNOUT_TEXT + "'></A></SPAN>\";" );
  23. else
  24. Response.Write( "var g_AddSignoutLogo = \"\" " );
  25. %>
  26. drawDownlevelToolbar();
  27. }
  28. </script>
  29. <%
  30. function fnPrintMenuOption( szOptionText, szOptionURL, szNameID )
  31. {
  32. Response.Write("<table width='100%' cellpadding='0' cellspacing='0' border='0'>" );
  33. Response.Write("<tr><td class='flyoutLink'>" );
  34. Response.Write("<img alt='' src='/include/images/endnode.gif' border='0' WIDTH='11' HEIGHT='11'>&nbsp;&nbsp;" );
  35. Response.Write("<a id='" + szNameID + "' name='" + szNameID + "' href='" + szOptionURL + "'>" + szOptionText + "</a>" );
  36. Response.Write("</td></tr></table>");
  37. }
  38. function fnPrint ( szText )
  39. {
  40. Response.Write( szText + "\n" );
  41. }
  42. var L_HOME_TEXT = "Home";
  43. var L_SUBMITREPORT_TEXT = "Submit Report";
  44. var L_STATUS_TEXT = "Status";
  45. var L_PRIVACY_TEXT = "Privacy";
  46. var L_FAQ_TEXT = "FAQ";
  47. //fnPrint( "<table BORDER='0' cellpadding='10' cellspacing='0' height='73%'>");
  48. fnPrint( "<table ID='tblMainBody' BORDER='0' cellpadding='10' cellspacing='0' height='100%'>");
  49. fnPrint( "<tr valign='top'>" );
  50. fnPrint( "<td class='flyoutMenu2' HEIGHT='100%'>" ); //this is the left column of the main table
  51. //This is the inner table with the lighter background
  52. fnPrint( "<table BORDER='0' height='100%' cellpadding='0' cellspacing='0' width='182'>" );
  53. fnPrint( "<tr valign='top'>" );
  54. fnPrint( "<td height='100%'>" );
  55. // this is the Online crash header part of the menu
  56. fnPrint( "<table width='100%' cellpadding='0' cellspacing='0' border='0'>" );
  57. fnPrint( "<tr>" );
  58. fnPrint( "<td class='sys-toppane-header'>" );
  59. fnPrint( "<P CLASS='Flyouttext'>" + L_ONLINECRASH_TEXT + "</P>" );
  60. fnPrint( "</td>" );
  61. fnPrint( "</tr>" );
  62. fnPrint( "</table>" );
  63. // END TOP OF MENU HEADER
  64. fnPrint( "<table width='100%' cellpadding='0' cellspacing='0' border='0' height='100%' VALIGN='top'>" );
  65. fnPrint( "<tr>" );
  66. fnPrint( "<td rowspan='2' height='100%' class='flyoutMenu' valign='top'>" );
  67. fnPrintMenuOption( L_HOME_TEXT, "http://" + g_ThisServer + "/welcome.asp" );
  68. //if ( fnIsBrowserIE() )
  69. if( 0 )
  70. fnPrintMenuOption( L_SUBMITREPORT_TEXT , "http://" + g_ThisServer + "/privacy.asp?t=1", "aSubmitLnk" );
  71. fnPrintMenuOption( L_STATUS_TEXT , "https://" + g_ThisServer + "/secure/status.asp", "aStatusLnk" );
  72. fnPrintMenuOption( L_PRIVACY_TEXT , "http://" + g_ThisServer + "/Privacy.asp?t=0", "aPrivacyLnk" );
  73. fnPrintMenuOption( L_FAQ_TEXT , "http://" + g_ThisServer + "/FAQ.asp", "aFAQLnk" );
  74. fnPrint( "</td>" );
  75. fnPrint( "</tr>" );
  76. fnPrint( "</table>" );
  77. fnPrint( "</td>" );
  78. fnPrint( "</tr>" );
  79. fnPrint( "</table>" );
  80. fnPrint( "</td>" );
  81. fnPrint( "<td>" );
  82. fnPrint( "<br>" );
  83. %>