Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
SelectFile.asp
Package: eat.rar [view]
Upload User: jisenq
Upload Date: 2014-06-29
Package Size: 7216k
Code Size: 2k
Category:
ADO-ODBC
Development Platform:
ASP/ASPX
- <% Option Explicit %>
- <!--#include file="../../FS_Inc/Const.asp" -->
- <%
- Dim CurrPath
- CurrPath = Request.QueryString("CurrPath")
- %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>选择文件</title>
- </head>
- <link href="../images/skin/Css_<%=Session("Admin_Style_Num")%>/<%=Session("Admin_Style_Num")%>.css" rel="stylesheet">
- <body>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><select onChange="ChangeFolder(this.value);" id="FolderSelectList" style="width:100%;" name="select">
- <option selected value="<% = CurrPath %>"><% = CurrPath %></option>
- </select></td>
- </tr>
- <tr>
- <td width="70%"> <iframe id="FolderList" width="100%" height="300" frameborder="1" src="FolderList.asp?CurrPath=<% = CurrPath %>"></iframe></td>
- </tr>
- <tr>
- <td height="35"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td height="30" align="center">
- <input type="button" onClick="SelectFile();" name="Submit" value=" 确 定 ">
- </td>
- <td align="center">
- <input onClick="window.close();" type="button" name="Submit3" value=" 取 消 "></td>
- </tr>
- </table></td>
- </tr>
- </table>
- </body>
- </html>
- <script language="JavaScript">
- var SysRootDir='<% = G_VIRTUAL_ROOT_DIR %>';
- function ChangeFolder(FolderName)
- {
- frames["FolderList"].location='FolderList.asp?CurrPath='+FolderName;
- }
- function SelectFile()
- {
- if (frames["FolderList"].FileName!='')
- {
- var PathInfo='',TempPath='';
- if (SysRootDir!='')
- {
- TempPath=frames["FolderList"].CurrPath;
- PathInfo=TempPath.substr(TempPath.indexOf(SysRootDir)+SysRootDir.length);
- }
- else
- {
- PathInfo=frames["FolderList"].CurrPath;
- }
- window.returnValue=PathInfo+'/'+frames["FolderList"].FileName;
- window.close();
- }
- else
- alert('请选择选择文件');
- }
- window.onunload=SetReturnValue;
- function SetReturnValue()
- {
- if (typeof(window.returnValue)!='string') window.returnValue='';
- }
- </script>