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.

66 lines
2.2 KiB

  1. <!--#INCLUDE file="include\asp\top.asp"-->
  2. <!--#include file="include\asp\head.asp"-->
  3. <!--#include file="include\inc\corpdonestrings.inc"-->
  4. <%
  5. Dim FileCount
  6. Dim Conn
  7. On Error Resume Next
  8. Call CCreateConnection
  9. If (Request.QueryString("Count") < 0) Then
  10. FileCount = 0
  11. Else
  12. FileCount = Request.QueryString("Count")
  13. End If
  14. Conn.Execute("PostFileCount(" & Request.QueryString("id") & "," & FileCount & ")")
  15. If (Err.Number <> 0) Then
  16. 'Response.Write "<P CLASS='clsPBody'>" & Err.Description & "</P>"
  17. Response.Write "<br><div class='divLoad'><p class='clsPTitle'>" & L_COMMENTS_UNABLE_TOCONNECT_ERRORMESSAGE & "</p>"
  18. Response.Write "<p class='clsPBody'>" & L_COMMENTS_DATABASE_FAILED_TEXT & "</p></div>"
  19. %><!-- #INCLUDE VIRTUAL = "include/asp/foot.asp" --><%
  20. Call CDestroyObjects
  21. Response.End
  22. End If
  23. Response.Cookies("OCA")("Done") = 1
  24. Private Sub CCreateConnection
  25. Set Conn = Server.CreateObject("ADODB.Connection")
  26. With Conn
  27. .ConnectionString = strCustomer
  28. .CursorLocation = adUseClient
  29. .ConnectionTimeout = strGlobalConnectionTimeout
  30. .Open
  31. End With
  32. If (Err.Number <> 0) Then
  33. Response.Write "ERROR: [" & Err.Number & "]" & Err.Description
  34. Call CDestroyObjects
  35. Response.End
  36. End If
  37. End Sub
  38. Private Sub CDestroyObjects
  39. Conn.Close
  40. Set Conn = Nothing
  41. End Sub
  42. %>
  43. <br>
  44. <div class="clsDiv">
  45. <p class="clsPTitle">
  46. <% = L_CERDONE_FILE_ONE_TEXT %>
  47. </p>
  48. <p class="clsPBody">
  49. <%=L_CERDONE_SUCCESS_PARTONE_TEXT%> <%=Request.QueryString("id")%> <%=L_CERDONE_SUCCESS_PARTTWO_TEXT%> <%=FileCount%> <%=L_CERDONE_SUCCESS_PARTTHREE_TEXT%>
  50. </p>
  51. </div>
  52. <br>
  53. <div class="clsDiv">
  54. <img Alt="<% = L_WELCOME_GO_IMAGEALT_TEXT %>" border="0" src="../include/images/go.gif" WIDTH="24" HEIGHT="24"><a class="clsALink" href="http://<% =Request.ServerVariables("SERVER_NAME") %>/cerintro.asp"><% = L_CERDONE_HOME_LINK_TEXT %></a><BR>
  55. <img Alt="<% = L_WELCOME_GO_IMAGEALT_TEXT %>" border="0" src="../include/images/go.gif" WIDTH="24" HEIGHT="24"><a class="clsALink" href="https://<% =Request.ServerVariables("SERVER_NAME") %>/secure/corptransactions.asp"><% = L_CERDONE_STATUS_LINK_TEXT %></a>
  56. </div>
  57. <!--#include file="include\asp\foot.asp"-->
  58. <%
  59. Call CDestroyObjects
  60. %>