최초커밋
This commit is contained in:
142
approval/help.asp
Normal file
142
approval/help.asp
Normal file
@@ -0,0 +1,142 @@
|
||||
<%
|
||||
'==================================================================================
|
||||
'help_pms<6D><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><EFBFBD><D7B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>о<EFBFBD><D0BE><EFBFBD>
|
||||
'----------------------------------------------------------------------------------
|
||||
Dim tmp_folder(50)
|
||||
|
||||
function getFolder(sPath, iDepth, bSonFdr, bShowFile)
|
||||
Dim fso, objFolder
|
||||
Dim folders, folder
|
||||
Dim files, file
|
||||
|
||||
Dim sSpace
|
||||
sSpace = ""
|
||||
|
||||
for i=0 to iDepth
|
||||
sSpace = sSpace & ":tab:"
|
||||
next
|
||||
|
||||
|
||||
Set fso = CreateObject("Scripting.FileSystemObject")
|
||||
Set objFolder = fso.GetFolder(sPath)
|
||||
set fso = nothing
|
||||
set folders = objFolder.SubFolders
|
||||
Set files = objFolder.Files
|
||||
set objFolder = nothing
|
||||
For Each folder in folders
|
||||
'response.write sSpace& "<font color='#FFCC00'>[<5B><>]</font>" &folder.name & "<br>"& vbCRLF
|
||||
|
||||
'<27>ش<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
Set fso = CreateObject("Scripting.FileSystemObject")
|
||||
Set objFolder = fso.GetFolder(sPath & "\" & folder.name)
|
||||
set fso = nothing
|
||||
Set hfiles = objFolder.Files
|
||||
tmp_folder(0) = sPath & folder.name
|
||||
i = 1
|
||||
For Each file in hfiles
|
||||
'response.write sSpace& "<font color='#5D5D5D'>[<5B><>]</font>" &file.name & "<br>"& vbCRLF
|
||||
tmp_folder(i) = file.name
|
||||
i = i + 1
|
||||
Next
|
||||
|
||||
'++ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
if bSonFdr then
|
||||
call getFolder(sPath&"\"&folder.name, iDepth+1, bSonFdr, bShowFile)
|
||||
end if
|
||||
Next
|
||||
|
||||
'++ <20><><EFBFBD>ϵ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>شٸ<D8B4>
|
||||
if bShowFile then
|
||||
i = 1
|
||||
For Each file in files
|
||||
'response.write sSpace& "<font color='#5D5D5D'>[<5B><>]</font>" &file.name & "<br>"& vbCRLF
|
||||
'gif <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ƴ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ʵ<EFBFBD><CAB5><EFBFBD> <20><>
|
||||
if right(file.name, 3) = "gif" then
|
||||
tmp_folder(i) = file.name
|
||||
i = i + 1
|
||||
end if
|
||||
Next
|
||||
end if
|
||||
end function
|
||||
|
||||
RootDir = Server.MapPath(".") & "\help\" 'image<67><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
|
||||
tmp_f = getFolder(RootDir, 0, false, true)
|
||||
|
||||
tmp = 0
|
||||
for i = 1 to ubound(tmp_folder)
|
||||
if tmp_folder(i) <> "" then
|
||||
tmp_folder(0) = replace(tmp_folder(0),"\","/")
|
||||
'Response.Write "<a href='" & tmp_folder(j,0) & "\" & tmp_folder(j,i) & "'>" & tmp_folder(j,i) & "</a><BR>"
|
||||
'Response.Write tmp_folder(i) & "<BR>"
|
||||
tmp = tmp + 1
|
||||
end if
|
||||
next
|
||||
|
||||
if tmp = 0 then
|
||||
Response.Write "<center><font color='red'><b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD></b></font></center> "
|
||||
end if
|
||||
'==================================================================================
|
||||
|
||||
if trim(request("w")) <> "" then
|
||||
tmp_i = request("w")
|
||||
else
|
||||
tmp_i = 1
|
||||
end if
|
||||
|
||||
if int(tmp_i) >= int(tmp) then
|
||||
tmp_i_go = 1
|
||||
else
|
||||
tmp_i_go = int(tmp_i) + 1
|
||||
end if
|
||||
|
||||
if int(tmp_i) <= 1 then
|
||||
tmp_i_back = tmp
|
||||
else
|
||||
tmp_i_back = int(tmp_i) - 1
|
||||
end if
|
||||
|
||||
%>
|
||||
<html>
|
||||
<body leftmargin="0" topmargin="0">
|
||||
<script language="javascript">
|
||||
function closeit() {
|
||||
self.close();
|
||||
}
|
||||
|
||||
function gourl(z) {
|
||||
document.pms.action = 'help.asp?w=' + z;
|
||||
document.pms.submit();
|
||||
}
|
||||
</script>
|
||||
<form name="pms" method="post">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="600">
|
||||
<tr>
|
||||
<td align="right">
|
||||
<font color="red">
|
||||
<09><EFBFBD><D7B8><EFBFBD> Ŭ<><C5AC><EFBFBD>Ͻø<CFBD> â<><C3A2> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.
|
||||
</font>
|
||||
<input type="button" value="<22><> <20><>" onclick="gourl('<%=tmp_i_back%>')" id=button3 name=button3>
|
||||
|
||||
<input type="button" value="<22><> <20><>" onclick="gourl('<%=tmp_i_go%>')" id=button4 name=button4>
|
||||
</td>
|
||||
</tr>
|
||||
<tr align="left">
|
||||
<td><img src="./help/<%=tmp_folder(tmp_i)%>" border="0" onClick="closeit()">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<font color="red">
|
||||
<09><EFBFBD><D7B8><EFBFBD> Ŭ<><C5AC><EFBFBD>Ͻø<CFBD> â<><C3A2> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.
|
||||
</font>
|
||||
<input type="button" value="<22><> <20><>" onclick="gourl('<%=tmp_i_back%>')" id=button3 name=button3>
|
||||
|
||||
<input type="button" value="<22><> <20><>" onclick="gourl('<%=tmp_i_go%>')" id=button4 name=button4>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user