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.

90 lines
2.3 KiB

  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  5. <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
  6. <meta name="ProgId" content="FrontPage.Editor.Document">
  7. <title>Query Form</title>
  8. <base target="rbottom">
  9. </head>
  10. <object
  11. classid="clsid:083BE70B-A07B-46FA-BCB1-8D85D262C699"
  12. codebase = "http://mkrause/appparse.cab"
  13. id="AppParse"
  14. data="DATA:application/x-oleobject;BASE64,C+c7CHug+ka8sY2F0mLGmQADAADYEwAA2BMAAA==
  15. "
  16. width="0" height="0" align="right">
  17. </object>
  18. <body>
  19. <form method="POST" action="_vti_bin/shtml.dll/QueryDB.html" onSubmit="" name="QueryParams" webbot-action="--WEBBOT-SELF--">
  20. <!--webbot bot="SaveResults" startspan U-File="_private/form_results.txt"
  21. S-Format="TEXT/CSV" S-Label-Fields="TRUE" --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot
  22. bot="SaveResults" endspan i-checksum="43374" -->
  23. <p>Ptolemy ID <input type="text" value = "" ID= "PtolemyID" size="20">
  24. Function Name <input type = "text" value = "" ID="FunctionName" size="30"></p>
  25. <p><input type="button" value="Execute Query" name="B3" OnClick = "ExecuteQuery();">
  26. </p>
  27. </form>
  28. <hr>
  29. <table border="1" width="100%">
  30. <tr>
  31. <td width="3%">&nbsp;</td>
  32. <td>Project Name</td>
  33. <td width="20%">Ptolemy ID</td>
  34. </tr>
  35. </table>
  36. <DIV ID="Results">
  37. </DIV>
  38. </body>
  39. <script language = "javascript">
  40. function ShowItem(item)
  41. {
  42. if (eval(item+'.style.display') == '')
  43. {
  44. eval(item+'.style.display = "none";');
  45. eval(item+'Button.value = "+";');
  46. }
  47. else
  48. {
  49. eval(item+'.style.display = "";');
  50. eval(item+'Button.value = "-";');
  51. }
  52. }
  53. function ExecuteQuery()
  54. {
  55. // Execute the query
  56. document.AppParse.ConnectionString =
  57. "Provider=MSDASQL;Driver={Microsoft Access Driver (*.mdb)};DBQ=\\\\mkrause\\shared\\appparse.mdb";
  58. var szFunc = "*";
  59. var Ptolemy;
  60. if(QueryParams.PtolemyID.value == "")
  61. Ptolemy = 0;
  62. else
  63. Ptolemy = QueryParams.PtolemyID.value;
  64. if(QueryParams.FunctionName.value != "")
  65. szFunc = QueryParams.FunctionName.value;
  66. if(szFunc == "*" && Ptolemy == 0)
  67. {
  68. alert("Please enter search criteria");
  69. return;
  70. }
  71. document.AppParse.QueryDB(Ptolemy, szFunc);
  72. }
  73. </script>
  74. </HTML>