亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cf5_connector.cfm

?? 強大的個人日志系統,界面華麗
?? CFM
字號:
<cfsetting enablecfoutputonly="yes" showdebugoutput="no">
<!---
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
 *
 * == BEGIN LICENSE ==
 *
 * Licensed under the terms of any of the following licenses at your
 * choice:
 *
 *  - GNU General Public License Version 2 or later (the "GPL")
 *    http://www.gnu.org/licenses/gpl.html
 *
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
 *    http://www.gnu.org/licenses/lgpl.html
 *
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
 *    http://www.mozilla.org/MPL/MPL-1.1.html
 *
 * == END LICENSE ==
 *
 * File Browser connector for ColdFusion 5.
 * (based on the original CF connector by Hendrik Kramer - hk@lwd.de)
 *
 * Note:
 * FCKeditor requires that the connector responds with UTF-8 encoded XML.
 * As ColdFusion 5 does not fully support UTF-8 encoding, we force ASCII
 * file and folder names in this connector to allow CF5 send a UTF-8
 * encoded response - code points under 127 in UTF-8 are stored using a
 * single byte, using the same encoding as ASCII, which is damn handy.
 * This is all grand for the English speakers, like meself, but I dunno
 * how others are gonna take to it. Well, the previous version of this
 * connector already did this with file names and nobody seemed to mind,
 * so fingers-crossed nobody will mind their folder names being munged too.
 *
--->

<cfparam name="url.command">
<cfparam name="url.type">
<cfparam name="url.currentFolder">
<!--- note: no serverPath url parameter - see config.cfm if you need to set the serverPath manually --->

<cfinclude template="config.cfm">

<cfscript>
	userFilesPath = config.userFilesPath;

	if ( userFilesPath eq "" )
	{
		userFilesPath = "/userfiles/";
	}

	// make sure the user files path is correctly formatted
	userFilesPath = replace(userFilesPath, "\", "/", "ALL");
	userFilesPath = replace(userFilesPath, '//', '/', 'ALL');
	if ( right(userFilesPath,1) NEQ "/" )
	{
		userFilesPath = userFilesPath & "/";
	}
	if ( left(userFilesPath,1) NEQ "/" )
	{
		userFilesPath = "/" & userFilesPath;
	}

	// make sure the current folder is correctly formatted
	url.currentFolder = replace(url.currentFolder, "\", "/", "ALL");
	url.currentFolder = replace(url.currentFolder, '//', '/', 'ALL');
	if ( right(url.currentFolder,1) neq "/" )
	{
		url.currentFolder = url.currentFolder & "/";
	}
	if ( left(url.currentFolder,1) neq "/" )
	{
		url.currentFolder = "/" & url.currentFolder;
	}

	if ( find("/",getBaseTemplatePath()) neq 0 )
	{
		fs = "/";
	}
	else
	{
		fs = "\";
	}

	// Get the base physical path to the web root for this application. The code to determine the path automatically assumes that
	// the "FCKeditor" directory in the http request path is directly off the web root for the application and that it's not a
	// virtual directory or a symbolic link / junction. Use the serverPath config setting to force a physical path if necessary.
	if ( len(config.serverPath) )
	{
		serverPath = config.serverPath;

		if ( right(serverPath,1) neq fs )
		{
			serverPath = serverPath & fs;
		}
	}
	else
	{
		serverPath = replaceNoCase(getBaseTemplatePath(),replace(cgi.script_name,"/",fs,"all"),"") & replace(userFilesPath,"/",fs,"all");
	}

	rootPath = left( serverPath, Len(serverPath) - Len(userFilesPath) ) ;
	xmlContent = ""; // append to this string to build content
</cfscript>

<cfset resourceTypeUrl = rereplace( replace( Config.FileTypesPath[url.type], fs, "/", "all"), "/$", "") >

<cfif isDefined( "Config.FileTypesAbsolutePath" )
		and structkeyexists( Config.FileTypesAbsolutePath, url.type )
		and Len( Config.FileTypesAbsolutePath[url.type] )>

			<cfset userFilesServerPath = Config.FileTypesAbsolutePath[url.type] & url.currentFolder>
<cfelse>
	<cftry>
	<cfset userFilesServerPath = expandpath( resourceTypeUrl ) & url.currentFolder>
	<!--- Catch: Parameter 1 of function ExpandPath must be a relative path --->
	<cfcatch type="any">
		<cfset userFilesServerPath = rootPath & Config.FileTypesPath[url.type] & url.currentFolder>
	</cfcatch>
	</cftry>
</cfif>

<cfset userFilesServerPath = replace( userFilesServerPath, "/", fs, "all" ) >
<!--- get rid of double directory separators --->
<cfset userFilesServerPath = replace( userFilesServerPath, fs & fs, fs, "all") >

<cfif not config.enabled>

	<cfset xmlContent = "<Error number=""1"" text=""This connector is disabled. Please check the 'editor/filemanager/connectors/cfm/config.cfm' file"" />">

<cfelseif find("..",url.currentFolder) or find("\",url.currentFolder)>

	<cfset xmlContent = "<Error number=""102"" />">

<cfelseif isDefined("Config.ConfigAllowedCommands") and not ListFind(Config.ConfigAllowedCommands, url.command)>

	<cfset xmlContent = '<Error number="1" text="The &quot;' & url.command & '&quot; command isn''t allowed" />'>

<cfelseif isDefined("Config.ConfigAllowedTypes") and not ListFind(Config.ConfigAllowedTypes, url.type)>

	<cfset xmlContent = '<Error number="1" text="The &quot;' & url.type & '&quot; type isn''t allowed" />'>

</cfif>

<cfset resourceTypeDirectory = left( userFilesServerPath, Len(userFilesServerPath) - Len(url.currentFolder) )>

<cfif not len(xmlContent) and not directoryexists(resourceTypeDirectory)>
	<!--- create directories in physical path if they don't already exist --->
	<cfset currentPath = "">
	<cftry>
		<cfloop list="#resourceTypeDirectory#" index="name" delimiters="#fs#">
			<cfif currentPath eq "" and fs eq "\">
				<!--- Without checking this, we would have in Windows \C:\ --->
				<cfif not directoryExists(name)>
					<cfdirectory action="create" directory="#name#" mode="755">
				</cfif>
			<cfelse>
				<cfif not directoryExists(currentPath & fs & name)>
					<cfdirectory action="create" directory="#currentPath##fs##name#" mode="755">
				</cfif>
			</cfif>

			<cfif fs eq "\" and currentPath eq "">
				<cfset currentPath = name>
			<cfelse>
				<cfset currentPath = currentPath & fs & name>
			</cfif>
		</cfloop>

	<cfcatch type="any">

		<!--- this should only occur as a result of a permissions problem --->
		<cfset xmlContent = "<Error number=""103"" />">

	</cfcatch>

	</cftry>
</cfif>

<cfif not len(xmlContent)>

	<!--- no errors thus far - run command --->

	<!--- we need to know the physical path to the current folder for all commands --->
	<cfset currentFolderPath = userFilesServerPath>

	<cfswitch expression="#url.command#">

		<cfcase value="FileUpload">
			<cfset config_included = true >
			<cfinclude template="cf5_upload.cfm">
			<cfabort>
		</cfcase>


		<cfcase value="GetFolders">

			<!--- Sort directories first, name ascending --->
			<cfdirectory
				action="list"
				directory="#currentFolderPath#"
				name="qDir"
				sort="type,name">

			<cfscript>
				i=1;
				folders = "";
				while( i lte qDir.recordCount ) {
					if( not compareNoCase( qDir.type[i], "FILE" ))
						break;
					if( not listFind(".,..", qDir.name[i]) )
						folders = folders & '<Folder name="#HTMLEditFormat( qDir.name[i] )#" />';
					i=i+1;
				}

				xmlContent = xmlContent & '<Folders>' & folders & '</Folders>';
			</cfscript>

		</cfcase>


		<cfcase value="GetFoldersAndFiles">

			<!--- Sort directories first, name ascending --->
			<cfdirectory
				action="list"
				directory="#currentFolderPath#"
				name="qDir"
				sort="type,name">

			<cfscript>
				i=1;
				folders = "";
				files = "";
				while( i lte qDir.recordCount ) {
					if( not compareNoCase( qDir.type[i], "DIR" ) and not listFind(".,..", qDir.name[i]) ) {
						folders = folders & '<Folder name="#HTMLEditFormat(qDir.name[i])#" />';
					} else if( not compareNoCase( qDir.type[i], "FILE" ) ) {
						fileSizeKB = round(qDir.size[i] / 1024);
						files = files & '<File name="#HTMLEditFormat(qDir.name[i])#" size="#IIf( fileSizeKB GT 0, DE( fileSizeKB ), 1)#" />';
					}
					i=i+1;
				}

				xmlContent = xmlContent & '<Folders>' & folders & '</Folders>';
				xmlContent = xmlContent & '<Files>' & files & '</Files>';
			</cfscript>

		</cfcase>


		<cfcase value="CreateFolder">

			<cfparam name="url.newFolderName" default="">

			<cfscript>
				newFolderName = url.newFolderName;
				if( reFind("[^A-Za-z0-9_\-\.]", newFolderName) ) {
					// Munge folder name same way as we do the filename
					// This means folder names are always US-ASCII so we don't have to worry about CF5 and UTF-8
					newFolderName = reReplace(newFolderName, "[^A-Za-z0-9\-\.]", "_", "all");
					newFolderName = reReplace(newFolderName, "_{2,}", "_", "all");
					newFolderName = reReplace(newFolderName, "([^_]+)_+$", "\1", "all");
					newFolderName = reReplace(newFolderName, "$_([^_]+)$", "\1", "all");
				}
			</cfscript>

			<cfif not len(newFolderName) or len(newFolderName) gt 255>
				<cfset errorNumber = 102>
			<cfelseif directoryExists(currentFolderPath & newFolderName)>
				<cfset errorNumber = 101>
			<cfelseif reFind("^\.\.",newFolderName)>
				<cfset errorNumber = 103>
			<cfelse>
				<cfset errorNumber = 0>

				<cftry>
					<cfdirectory
						action="create"
						directory="#currentFolderPath##newFolderName#"
						mode="755">
					<cfcatch>
						<!---
						un-resolvable error numbers in ColdFusion:
						* 102 : Invalid folder name.
						* 103 : You have no permissions to create the folder.
						--->
						<cfset errorNumber = 110>
					</cfcatch>
				</cftry>
			</cfif>

			<cfset xmlContent = xmlContent & '<Error number="#errorNumber#" />'>

		</cfcase>

		<cfdefaultcase>
			<cfthrow type="fckeditor.connector" message="Illegal command: #url.command#">
		</cfdefaultcase>

	</cfswitch>
</cfif>

<cfscript>
	xmlHeader = '<?xml version="1.0" encoding="utf-8" ?><Connector command="#url.command#" resourceType="#url.type#">';
	xmlHeader = xmlHeader & '<CurrentFolder path="#url.currentFolder#" url="#resourceTypeUrl##url.currentFolder#" />';
	xmlFooter = '</Connector>';
</cfscript>

<cfheader name="Expires" value="#GetHttpTimeString(Now())#">
<cfheader name="Pragma" value="no-cache">
<cfheader name="Cache-Control" value="no-cache, no-store, must-revalidate">
<cfcontent reset="true" type="text/xml; charset=UTF-8">
<cfoutput>#xmlHeader##xmlContent##xmlFooter#</cfoutput>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品网站导航| 九一久久久久久| 99久久夜色精品国产网站| 国产精品午夜免费| 91免费国产在线| 亚洲福利视频一区二区| 日韩一区二区三区在线观看| 精品写真视频在线观看| 国产日韩欧美精品在线| 91在线观看成人| 亚洲综合视频网| 日韩美女在线视频| 成人精品免费看| 亚洲一区二区三区四区在线免费观看| 欧美日韩免费视频| 激情综合色综合久久| 国产精品青草综合久久久久99| 91麻豆产精品久久久久久| 青青草视频一区| 欧美国产欧美综合| 9191成人精品久久| 国产成人精品免费| 亚洲成人动漫在线免费观看| 精品福利一区二区三区| 色94色欧美sute亚洲线路二| 免费观看日韩av| **性色生活片久久毛片| 日韩一卡二卡三卡| 94-欧美-setu| 国产精品资源在线| 调教+趴+乳夹+国产+精品| 国产日韩成人精品| 91精品国产综合久久久蜜臀粉嫩 | 亚洲免费观看高清在线观看| 欧美日韩精品欧美日韩精品一综合| 国模少妇一区二区三区| 亚洲午夜久久久久久久久电影网| 精品三级av在线| 欧美日本一道本| 91色综合久久久久婷婷| 精品一二三四在线| 天天综合色天天综合色h| 国产精品美女久久久久av爽李琼| 7777女厕盗摄久久久| 99精品一区二区三区| 麻豆成人综合网| 亚洲国产乱码最新视频 | 国产网站一区二区| 91精品国产乱| 在线一区二区三区做爰视频网站| 国产乱码精品一区二区三| 天堂一区二区在线| 粉嫩久久99精品久久久久久夜| 肉丝袜脚交视频一区二区| 亚洲夂夂婷婷色拍ww47| 中文字幕日韩精品一区| 国产精品嫩草99a| 国产亚洲精品bt天堂精选| 日韩欧美国产午夜精品| 欧美日韩mp4| 欧洲亚洲精品在线| 色综合久久中文字幕| 成年人午夜久久久| 成人看片黄a免费看在线| 精品一区二区三区日韩| 蜜臀av一区二区在线免费观看| 亚洲第一主播视频| 午夜精彩视频在线观看不卡| 洋洋成人永久网站入口| 一区二区三区在线观看视频| 亚洲视频在线观看三级| 亚洲欧洲美洲综合色网| 中文字幕一区二区三区av| 1区2区3区国产精品| 国产精品久久久久久久久久久免费看 | 欧美午夜寂寞影院| 欧美日韩亚洲综合| 欧美午夜电影一区| 欧美日韩国产一区| 91精品国产综合久久国产大片| 欧美日韩免费电影| 欧美精品久久一区二区三区| 欧美精品久久99久久在免费线| 欧美午夜在线一二页| 欧美美女一区二区在线观看| 91精品国产丝袜白色高跟鞋| 日韩一区二区三区视频在线| 日韩午夜在线播放| 久久综合色之久久综合| 欧美国产丝袜视频| 一区二区三区精品视频| 天天色综合成人网| 狠狠色综合播放一区二区| 成人在线一区二区三区| 91在线免费看| 欧美久久一区二区| 精品国产精品网麻豆系列| 中文字幕的久久| 亚洲午夜精品网| 久久99精品久久久久婷婷| 国产电影一区二区三区| 在线精品视频一区二区| 日韩欧美色电影| 国产精品久久一卡二卡| 亚洲二区在线视频| 国产精品一品视频| 在线一区二区三区做爰视频网站| 日韩视频在线你懂得| 欧美国产日本视频| 日韩精品亚洲一区| 北条麻妃国产九九精品视频| 亚洲女同ⅹxx女同tv| 日本vs亚洲vs韩国一区三区| 国产成人精品午夜视频免费| 色呦呦网站一区| 欧美xxxxx裸体时装秀| 综合自拍亚洲综合图不卡区| 日日欢夜夜爽一区| 不卡大黄网站免费看| 在线电影国产精品| 一色屋精品亚洲香蕉网站| 免费黄网站欧美| 91在线看国产| 国产亚洲欧美中文| 调教+趴+乳夹+国产+精品| 99精品偷自拍| 国产无人区一区二区三区| 日韩精品色哟哟| 色综合天天综合给合国产| 亚洲精品在线一区二区| 午夜视频久久久久久| 波波电影院一区二区三区| 精品对白一区国产伦| 午夜欧美在线一二页| 99热这里都是精品| 国产欧美日韩亚州综合| 捆绑变态av一区二区三区| 91福利在线看| 中文字幕亚洲不卡| 夫妻av一区二区| 欧美精品一区视频| 免费观看成人av| 在线91免费看| 午夜欧美电影在线观看| 色哟哟一区二区| 中文字幕在线不卡| 国产69精品久久久久777| 日韩女优毛片在线| 日日摸夜夜添夜夜添精品视频| 在线一区二区观看| 亚洲美女在线一区| 色婷婷一区二区| 亚洲三级免费观看| 97国产一区二区| 一区二区中文字幕在线| 粉嫩欧美一区二区三区高清影视| wwwwxxxxx欧美| 国产一区二区三区香蕉| 亚洲bt欧美bt精品| 欧美二区乱c少妇| 日韩精品欧美精品| 日韩视频免费直播| 日本视频一区二区三区| 91精品国产综合久久国产大片| 婷婷久久综合九色综合伊人色| 在线观看视频一区| 夜夜嗨av一区二区三区| 欧美日韩一区精品| 性久久久久久久| 日韩一区二区电影在线| 精品一区二区三区免费播放| 精品国产99国产精品| 精品午夜久久福利影院| 久久九九全国免费| 不卡电影一区二区三区| 亚洲精品免费视频| 欧美日韩免费一区二区三区视频| 五月婷婷激情综合| 欧美大片一区二区| 国产精品一区在线观看你懂的| 国产欧美日韩视频一区二区| 99精品偷自拍| 五月天一区二区| 精品国产乱码久久久久久久 | 色哟哟一区二区| 午夜久久久久久久久久一区二区| 欧美日韩一区二区三区在线| 美女爽到高潮91| 国产日韩影视精品| 在线视频一区二区三| 日韩精品每日更新| 久久久久久亚洲综合影院红桃 | 久久精品亚洲麻豆av一区二区 | 精品视频在线免费观看| 天天影视网天天综合色在线播放| 精品国产乱子伦一区| 99国产精品久久久久久久久久| 亚洲综合免费观看高清完整版在线 | 蜜桃av噜噜一区二区三区小说| 精品国产污污免费网站入口 |