| Line 8... |
Line 8... |
| 8 |
<%
|
8 |
<%
|
| 9 |
' -- Variable Definition ------------------------------
|
9 |
' -- Variable Definition ------------------------------
|
| 10 |
Dim OraSession, OraDatabase ' DB connection
|
10 |
Dim OraSession, OraDatabase ' DB connection
|
| 11 |
Dim scriptName
|
11 |
Dim scriptName
|
| 12 |
Dim rootPath
|
12 |
Dim rootPath
|
| 13 |
Dim DocRepositiryLink, DocRepositiryLinkOld
|
13 |
Dim DocRepositiryLink, DocRepositiryLinkOld, DocBrowseLink
|
| 14 |
Dim APP_ROOT, QUERIES_PATH
|
14 |
Dim APP_ROOT, QUERIES_PATH
|
| 15 |
Dim archive_server
|
15 |
Dim archive_server
|
| 16 |
Dim dpkg_archiveURL
|
16 |
Dim dpkg_archiveURL
|
| 17 |
Dim HTTP_PKG_ARCHIVE
|
17 |
Dim HTTP_PKG_ARCHIVE
|
| 18 |
Dim release_archiveURL
|
18 |
Dim release_archiveURL
|
| Line 101... |
Line 101... |
| 101 |
QUERIES_PATH = APP_ROOT &"\queries"
|
101 |
QUERIES_PATH = APP_ROOT &"\queries"
|
| 102 |
scriptName = Mid(Request.ServerVariables("SCRIPT_NAME"), InStrRev(Request.ServerVariables("SCRIPT_NAME"), "/") + 1 )
|
102 |
scriptName = Mid(Request.ServerVariables("SCRIPT_NAME"), InStrRev(Request.ServerVariables("SCRIPT_NAME"), "/") + 1 )
|
| 103 |
rootPath = Left( Server.MapPath( scriptName ), InStrRev(Server.MapPath( scriptName ), "\") )
|
103 |
rootPath = Left( Server.MapPath( scriptName ), InStrRev(Server.MapPath( scriptName ), "\") )
|
| 104 |
DocRepositiryLink = DOC_REPOSITORY_URL & "docLinkTo.asp?docnum="
|
104 |
DocRepositiryLink = DOC_REPOSITORY_URL & "docLinkTo.asp?docnum="
|
| 105 |
DocRepositiryLinkOld = DOC_REPOSITORY_URL & "docLinkTo.asp?old=1&fileid="
|
105 |
DocRepositiryLinkOld = DOC_REPOSITORY_URL & "docLinkTo.asp?old=1&fileid="
|
| - |
|
106 |
DocBrowseLink = DOC_REPOSITORY_URL & "docbrowse.asp"
|
| 106 |
|
107 |
|
| 107 |
' -- Constants ----------------------------------------
|
108 |
' -- Constants ----------------------------------------
|
| 108 |
HTTP_PKG_ARCHIVE = "http://" & archive_server
|
109 |
HTTP_PKG_ARCHIVE = "http://" & archive_server
|
| 109 |
dpkg_archiveURL = HTTP_PKG_ARCHIVE & "/dpkg_archive/"
|
110 |
dpkg_archiveURL = HTTP_PKG_ARCHIVE & "/dpkg_archive/"
|
| 110 |
release_archiveURL = HTTP_PKG_ARCHIVE & "/releases/"
|
111 |
release_archiveURL = HTTP_PKG_ARCHIVE & "/releases/"
|