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.

68 lines
1.6 KiB

  1. <%@Language=Javascript%>
  2. <!--#INCLUDE FILE='Global_DBUtils.asp' -->
  3. <!--#include file='global_serverutils.asp'-->
  4. <head>
  5. <link rel="stylesheet" TYPE="text/css" HREF="/main.css">
  6. <link rel="stylesheet" TYPE="text/css" HREF="/CustomStyles.css">
  7. <meta http-equiv="Content-Type" CONTENT="text/html; charset=iso-8859-1" />
  8. </head>
  9. <body bgcolor='#ffffff' topmargin='0' leftmargin='0' marginheight='0' marginwidth='0' tabindex='0'>
  10. <%
  11. var RejectID = Request.QueryString( "RejectID" )
  12. var Reason = new String( Request.QueryString( "Reason" ))
  13. var Reason = Reason.replace( /'/gi, "''" )
  14. var query = "SEP_RejectResponse " + RejectID + ", '" + GetShortUserAlias() + "','" + Reason + "'"
  15. //Response.Write( "Query: " + query )
  16. try
  17. {
  18. var g_DBConn = GetDBConnection( Application("SOLUTIONS3") )
  19. g_DBConn.Execute( query )
  20. }
  21. catch( err )
  22. {
  23. Response.Write("<p>Could not reject response request: <br>Err: " + err.description )
  24. Response.End
  25. }
  26. %>
  27. <table ID='tblMainBody' BORDER='0' cellpadding='0' cellspacing='0'>
  28. <tr>
  29. <td>
  30. <p class='clsPTitle'>Response Request Rejected</p>
  31. </td>
  32. </tr>
  33. <tr>
  34. <td>
  35. <p>
  36. Response request has been rejected.
  37. </p>
  38. </td>
  39. </tr>
  40. <tr>
  41. <td>
  42. <input style='margin-left:16px' id='CancelButton' type='button' class='clsButton' value='Close' OnClick='fnClose()'>&nbsp;&nbsp;
  43. </td>
  44. </tr>
  45. </table>
  46. <script language='Javascript'>
  47. window.parent.frames('sepBody').window.location.reload()
  48. function fnClose()
  49. {
  50. window.parent.sepInnerBodyFrame.rows="0, *"
  51. }
  52. </script>
  53. </body>