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.

62 lines
1.2 KiB

  1. <%@ LANGUAGE="VBSCRIPT"%>
  2. <%Response.Expires = 0%>
  3. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
  4. <html>
  5. <head>
  6. <title>Alert View Page</title>
  7. <%
  8. Dim strDescription
  9. strDescription = Request.QueryString("Description")
  10. %>
  11. <SCRIPT LANGUAGE="VBScript">
  12. <!--
  13. Option Explicit
  14. public iIdleTimeOut
  15. Sub window_onload()
  16. Dim objKeypad
  17. Set objKeypad = CreateObject("Ldm.SAKeypadController")
  18. objKeypad.Setkey 0,0,FALSE
  19. objKeypad.Setkey 1,0,FALSE
  20. objKeypad.Setkey 2,0,FALSE
  21. objKeypad.Setkey 3,0,FALSE
  22. objKeypad.Setkey 4,-1,FALSE
  23. objKeypad.Setkey 5,-1,FALSE
  24. Set objKeypad = Nothing
  25. iIdleTimeOut = window.SetTimeOut("IdleHandler()",300000)
  26. End Sub
  27. Sub keydown()
  28. window.clearTimeOut(iIdleTimeOut)
  29. iIdleTimeOut = window.SetTimeOut("IdleHandler()",300000)
  30. End Sub
  31. Sub IdleHandler()
  32. window.navigate "localui_main.asp"
  33. End Sub
  34. -->
  35. </SCRIPT>
  36. </head>
  37. <body RIGHTMARGIN=0 LEFTMARGIN=0 onkeydown="keydown">
  38. <A STYLE="position:absolute; top:0; left:0; font-size:9; font-family:arial" onkeydown="keydown">
  39. <%=strDescription%>
  40. </A>
  41. </body>
  42. </html>