WebEdit Pro requires Microsoft Internet Explorer 5.5 or above
Please visit Microsoft to download the latest version of Internet Explorer
", ""); } else if ($ToDo == "PrintVersion") { PrintVersion(); } else if ($ToDo == "ShowHelp") { ShowHelp(); } else { Pass(); } // Don't print the footer if editing a page... $footerless_actions = array ( 'Edit', 'ShowHelp', 'SavePage', ); if (!in_array($ToDo, $footerless_actions)) { PrintFooter(); } // Flush the output buffer ob_end_flush(); //************************************************************* // Start Functions //************************************************************* /** * DoLogin * Check a users credentials and log them in if they are a valid user * * @return void */ function DoLogin() { $loginError = false; $Username = $_POST['ezy_username']; $Password = $_POST['ezy_password']; PrintPageHedaer(); // should be array_key_exists for PHP version 4.1 and above if (array_key_exists($Username, $GLOBALS['users'])) { if ($Password == $GLOBALS['users'][$Username][0]) { $_SESION['auth'] = true; $_SESSION['access'] = true; $_SESSION['StartDir'] = $GLOBALS['users'][$Username][1]; $_SESSION['ImageDir'] = $GLOBALS['users'][$Username][2]; $x = str_replace(' ','',$GLOBALS['users'][$Username][3]); $_SESSION['ExcludeDirs'] = explode(',',$x); } else { $loginError = true; } } else { $loginError = true; } if ($loginError == true) { PrintHeader(); PrintError("Login","Incorrect Login / Password combination
Please try again", ""); } } /** * PrintError * Display an error an die * * @param string $str_error_header The title of the errror * @param string $str_error_message The description of the error * @param string $str_system_message An additional message to display after the * description of the error * * @return void */ function PrintError($str_error_header, $str_error_message, $str_system_message) { // Define this variable as static so that if we get an error about the // footer the first time we can skip it the second time, avoiding an // infinite loop static $bool_footer_error= false; if ($str_error_header == '') { $str_error_header = 'Error'; } if ($str_error_message == '') { $str_error_message = 'A system error has occured. Could not continue.'; } ?>
   
 
error  
   
 
Incorrect Login / Password combination
Please try again", ""); } } $includeFile = "webedit_includes/login.inc"; if (file_exists($includeFile)) { $fileContent = ""; $fileContent = getIncludeFile($includeFile,"Template", "Cannot open Login Template: webedit_includes/login.inc"); $fileContent = str_replace("\$URL", $GLOBALS['URL'], $fileContent); $fileContent = str_replace("\$SCRIPTNAME", $GLOBALS['scriptName'], $fileContent); $fileContent = str_replace("\$SERVERNAME", $GLOBALS['URL'], $fileContent); $fileContent = str_replace("\$HTTP", $GLOBALS['HTTPStr'], $fileContent); echo $fileContent; } else { PrintError("Template", "Cannot open Login Template: webedit_includes/login.inc", "File not Found"); } } /** * PrintJSCommon * Parse and display the jscommon.inc file * * @return void */ function PrintJSCommon() { $includeFile = "webedit_includes/jscommon.inc"; if (file_exists($includeFile)) { ob_start(); $fileContent = getIncludeFile($includeFile,"Javascript Functions", "Cannot open Javascript Functions include file: webedit_includes/jscommon.inc"); // added for SSL $fileContent = str_replace("\$HTTP", $GLOBALS['HTTPStr'], $fileContent); // End addition $fileContent = str_replace("\$URL", $GLOBALS['URL'], $fileContent); $fileContent = str_replace("\$SCRIPTNAME", $GLOBALS['scriptName'], $fileContent); $fileContent = str_replace("\$NEWDIR", $GLOBALS['NewDir'], $fileContent); echo $fileContent; } else { PrintError("Javascript Functions", "Cannot open Javascript Functions include file: webedit_includes/jscommon.inc", ""); } } /** * PrintDir * Display the directory listing * * @return void */ function PrintDir() { global $previousDir; global $display; global $file2; global $array_files; global $dirArray; global $fileArray; global $AllowCreate; global $AllowCreateFolder; global $AllowDelete; global $AllowRename; global $AllowUpload; global $AllowCopy; $php_errormsg = ''; $fileImages = array( "gif,jpg,bmp" => "icon_image.gif", "mov,avi,wmv" => "icon_movie.gif", "txt" => "icon_text.gif", "swf,fla" => "icon_flash.gif", "pdf" => "icon_pdf.gif", "doc" => "icon_word.gif", ); // Print the contents of the directory // First, load the javascript functions if ($GLOBALS['CurrentDirectory'] == "/") { $GLOBALS['CurrentDirectory'] = ""; } PrintJSCommon(); $objFolder = @opendir($GLOBALS['docRoot'] . "/" . $GLOBALS['CurrentDirectory']) or PrintError("Print Directory", "Cannot open directory for reading: " . $GLOBALS['CurrentDirectory']."", "$php_errormsg"); ?>
logout
File Manager
  Files - View, Edit, Rename, Copy, Delete, Upload or Create New
Directories - Change Into, Rename, Delete or Create directories
 
  My Files and Folders
  Current Working Directory:
  Rename"; } else { $renameLink = " "; } if ($AllowDelete) { $deleteLink = 'Delete'; } else { $deleteLink = " "; } ?> Edit"; } else { $editLink = "Edit"; } $viewLink = 'View'; if ($AllowRename) { $renameLink = "Rename"; } else { $renameLink = " "; } if ($AllowCopy) { $copyLink = "Copy"; } else { $copyLink = " "; } if ($AllowDelete) { $deleteLink = 'Delete'; } else { $deleteLink = " "; } $tmp = explode(".", $v); $ext = strtolower($tmp[sizeof($tmp)-1]); $icon = "icon_file.gif"; foreach ($fileImages as $e=>$f) { $z = explode(",", $e); if (in_array($ext, $z)) $icon = $f; } ?>
  File Name File Size Last Modified Action
up directory [ ?newdir=&ToDo=PrintDir class=bodylink title="Move Up to Parent Directory">Up One Level ]
folder icon ?newdir=/&ToDo=PrintDir class=bodylink title="Change into: ''">      
file icon
     
Please select a file or folder to delete",""); } else { global $toDelete; $toDelete = $GLOBALS['CurrentDirectory'] . "/" . $str_file_to_delete; if ($isFolder == 1) { $theFile = ""; $theFile = $GLOBALS['CurrentDirectory'] . "/" . $str_file_to_delete; @rmdir($GLOBALS['docRoot'] . $theFile) or PrintError("Delete Folder", "Could not delete folder: ", "$php_errormsg"); $str_message = $str_file_to_delete . " Deleted Successfully"; $icon = "info.gif"; } else { $theFile = ""; $theFile = $GLOBALS['CurrentDirectory'] . "/" . $str_file_to_delete; @unlink($GLOBALS['docRoot'] . $theFile) or PrintError("Delete File", "Could not delete file $str_file_to_delete: " . $php_errormsg, "");; $str_message = $str_file_to_delete . " Deleted Successfully"; $icon = "info.gif"; } } PrintInfoMessage("Delete"); ?> Please select a file to rename.", ""); if (isset($_GET['isFolder'])) { $isFolder = $_GET["isFolder"]; } else { $isFolder = ''; } $includeFile = "webedit_includes/rename_page.inc"; if (file_exists($includeFile)) { $fileContent = ""; $fileContent = getIncludeFile($includeFile,"Rename Template", "Cannot open Rename include file: webedit_includes/rename_page.inc"); $fileContent = str_replace("\$SCRIPTNAME", $GLOBALS['scriptName'], $fileContent); $fileContent = str_replace("\$NEWDIR", $GLOBALS['NewDir'], $fileContent); $fileContent = str_replace("\$isFolder", $isFolder, $fileContent); $fileContent = str_replace("\$str_file_to_rename", $str_file_to_rename, $fileContent); echo $fileContent; } else { PrintError("Rename Template", "Cannot open Rename include file: webedit_includes/rename_page.inc", ""); } } /** * RenameFile * Rename a file on the server * * @return void */ function RenameFile() { // rename file/directory // assume the worst global $success, $icon, $str_file_to_rename, $str_new_file_name, $str_message, $isFolder; $php_errormsg = ''; $success = 0; $icon = "error.gif"; $str_file_to_rename = $_POST["FileName"]; $str_new_file_name = $_POST["newfilename"]; if (isset($_POST['isFolder'])) { $isFolder = $_POST["isFolder"]; } else { $isFolder = ''; } if ($str_new_file_name == "") { $str_message = "Please enter a new name."; } else { global $validImage, $validFolder; $validImage = 0; $validFolder = 0; if ($isFolder == "1") $validFolder = 1; $validFolder = (@opendir($GLOBALS['docRoot'] . $GLOBALS['CurrentDirectory'] . "/" . $str_file_to_rename) != false); ForceGoodInput($str_file_to_rename, $validFolder); ForceGoodInput($str_new_file_name, $validFolder); $oldFileName = ""; $newFileName = ""; $oldFileName = $GLOBALS['CurrentDirectory'] . "/" . $str_file_to_rename; $newFileName = $GLOBALS['CurrentDirectory'] . "/" . $str_new_file_name; if (file_exists($GLOBALS['docRoot'] . "/" . $newFileName)) $str_message = "A file or folder with that name already exists."; else { @rename($GLOBALS['docRoot'] . $oldFileName, $GLOBALS['docRoot'] . $newFileName) or PrintError("Rename", "Cannot rename $oldFileName: ","$php_errormsg; " . __LINE__); $success = 1; $str_message = $str_file_to_rename . " renamed to " . $str_new_file_name . " Successfully."; $icon = "info.gif"; } } PrintInfoMessage("Rename"); ?> > Please select a file to copy.", ""); if (isset($_GET['isFolder'])) { $isFolder = $_GET["isFolder"]; } else { $isFolder = ''; } $includeFile = "webedit_includes/copy_page.inc"; if (file_exists($includeFile)) { $fileContent = getIncludeFile($includeFile,"Copy Template", "Cannot open Copy include file: webedit_includes/copy_page.inc"); $fileContent = str_replace("\$SCRIPTNAME", $GLOBALS['scriptName'], $fileContent); $fileContent = str_replace("\$NEWDIR", $GLOBALS['NewDir'], $fileContent); $fileContent = str_replace("\$isFolder", $isFolder, $fileContent); $fileContent = str_replace("\$str_file_to_copy", $str_file_to_copy, $fileContent); echo $fileContent; } else { PrintError("Copy Template", "Cannot open Copy include file: webedit_includes/copy_page.inc", ""); } } /** * CopyFile * Do the actual file copy * * @return void */ function CopyFile() { global $success, $icon, $str_file_to_copy, $str_new_file_name, $str_message, $isFolder; $php_errormsg = ''; $success = 0; $icon = "error.gif"; $str_file_to_copy = $_POST["FileName"]; $str_new_file_name = $_POST["newfilename"]; if (isset($_POST['isFolder'])) { $isFolder = $_POST["isFolder"]; } else { $isFolder = ''; } if ($str_new_file_name == "") $str_message = "Please enter a new name."; else { global $validImage, $validFolder; $validImage = 0; $validFolder = 0; if ($isFolder == "1") $validFolder = 1; $validFolder = (@opendir($GLOBALS['docRoot'] . $GLOBALS['CurrentDirectory'] . "/" . $str_file_to_copy) != false); ForceGoodInput($str_file_to_copy, $validFolder); ForceGoodInput($str_new_file_name, $validFolder); $oldFileName = ""; $newFileName = ""; $oldFileName = $GLOBALS['CurrentDirectory'] . "/" . $str_file_to_copy; $newFileName = $GLOBALS['CurrentDirectory'] . "/" . $str_new_file_name; if (file_exists($GLOBALS['docRoot'] . "/" . $newFileName)) $str_message = "A file or folder with that name already exists."; else { $umask = umask(0); @copy($GLOBALS['docRoot'] . $oldFileName, $GLOBALS['docRoot'] . $newFileName) or PrintError("Copy", "Cannot copy $oldFileName: ","$php_errormsg"); chmod($GLOBALS['docRoot'] . $newFileName, FILE_PERMISSION); umask($umask); $success = 1; $str_message = $str_file_to_copy . " copied to " . $str_new_file_name . " Successfully."; $icon = "info.gif"; } } PrintInfoMessage("Copy"); ?> > Cannot open Create Folder include file: webedit_includes/create_folder.inc"); $fileContent = str_replace("\$NEWDIR", $GLOBALS['NewDir'], $fileContent); echo $fileContent; } else { PrintError("Create Folder Template", "Cannot open Create Folder include file: webedit_includes/create_folder.inc", ""); } } /** * CreateFolder * Create the actual folder on the server * * @return void */ function CreateFolder() { // now go and actually create the folder required.. // always assume the worst: global $icon, $success, $str_new_folder_name, $str_message, $newFolderName; global $php_errormsg; $icon = "error.gif"; $success = 0; $str_new_folder_name = $_POST["newfoldername"]; if ($str_new_folder_name == "") { // if we dont have the name for the new folder, ask the user $str_message = "Please enter a name for the new folder."; } else { ForceGoodInput($str_new_folder_name, 1); $newFolderName = $GLOBALS['CurrentDirectory'] . "/" . $str_new_folder_name; if (@opendir($GLOBALS['docRoot'] . $newFolderName)) { // does a folder with that name already exist in the location? $str_message = "A file or folder with that name already exists."; } else { // okay, we have all we need... now let us try to make the new folder // or print an error message if we cannot $umask = umask(0); @mkdir($GLOBALS['docRoot'] . $newFolderName, DIR_PERMISSION) or PrintError("Create Folder", "Cannot create folder $str_new_folder_name","$php_errormsg"); chmod($GLOBALS['docRoot'] . $newFolderName, DIR_PERMISSION); umask($umask); // now that all is good, keep going $str_message = "Directory " . $str_new_folder_name . " Created Successfully."; $success = 1; $icon = "info.gif"; } } PrintInfoMessage("Create Folder"); if ($success == 1) { ?>
Create New Page
  Enter a name for the new page. Click 'OK' to create the file. Click 'Cancel' to return to the previous screen. Click 'Preview' to preview the template you have chosen.
   
 
  Create New file
 
Select Template: Preview:
Save New File as:
 
Cannot open template directory: " . $GLOBALS['TemplateDirectory'] ."", ""); } } /** * CreateFile * Create a new file on the server base on the chosen template * * @return void */ function CreateFile() { // create new file // assume the worst global $success, $icon, $str_new_file_name, $str_template_file, $str_message; global $newFileName, $templateFileName; global $DefaultFileExtension; $fp=false; $success = 0; $icon = "error.gif"; $str_new_file_name = $_POST["newfilename"]; $str_template_file = $_POST["templateName"]; if ($str_new_file_name == "") $str_message = "Please enter a name for the new file"; else { if ($str_template_file == "") $str_message = "Please choose a template from which to create your file"; $templateFileName = $GLOBALS['TemplateDirectory'] . "/" . $str_template_file; $str_new_file_name = $str_new_file_name . $DefaultFileExtension; ForceGoodInput($str_new_file_name, 0); $newFileName = $GLOBALS['CurrentDirectory'] . "/" . $str_new_file_name; if (file_exists($GLOBALS['docRoot'] . $newFileName) || @opendir($GLOBALS['docRoot'] . $newFileName)) $str_message = "A file or folder with that name already exists."; else { // Added for v5.0: images in templates $fileContent = getIncludeFile($GLOBALS['docRoot'] . $templateFileName,"Error", "Cannot open File: ".$GLOBALS['docRoot']." . $templateFileName"); $pattern = "/(?siU)_template_files/"; $replace = $GLOBALS['TemplateDirectory'].'/_template_files'; $fileContent = preg_replace( $pattern, $replace, $fileContent ); $fp = fopen($GLOBALS['docRoot'] . $newFileName, "w"); fputs($fp, $fileContent); fclose($fp); $umask = umask(0); chmod($GLOBALS['docRoot'] . $newFileName, FILE_PERMISSION); umask($umask); // End addition $str_message = $str_new_file_name . " Created Successfully."; $success = 1; $icon = "info.gif"; } } PrintInfoMessage("Create New Page"); ?> > ", $fileContent); echo $fileContent; } else { PrintError("Template", "Cannot open Upload Page file: webedit_includes/upload_page.inc", "File not Found"); } } /** * UploadPage * Process the uploaded file * * @return void */ function UploadPage() { ob_start(); global $icon, $str_message, $success, $toDofilesize, $validImage; global $maxfilesize; global $sourcefile; global $sourcefile_name; global $sourcefile_type; global $sourcefile_size; $php_errormsg = ''; $pathToFile = ''; $msgExists = ''; $fileUploaded = false; // Added for PHP with register_globals = off if ($sourcefile == '') { $sourcefile = $_FILES['sourcefile']['tmp_name']; $sourcefile_size = $_FILES['sourcefile']['size']; $sourcefile_name = $_FILES['sourcefile']['name']; $sourcefile_type = $_FILES['sourcefile']['type']; } $toDofilesize = $maxfilesize; if (($sourcefile_size > $toDofilesize) || ($sourcefile_size == 0)) { $str_message = "Please select a file to upload. (No Greater than " . $maxfilesize . " bytes)"; $icon = "error.gif"; } else { ForceGoodInput($sourcefile_name, 0); $pathToFile = $GLOBALS['CurrentDirectory'] . "/" . $sourcefile_name; if (file_exists($GLOBALS['docRoot'] . "/" . $pathToFile) || @opendir($GLOBALS['docRoot'] . "/" . $pathToFile)) { $msgExists = "Could not upload file. A file or folder with that name already exists"; } else { // Uploading file data $fileUploaded = @move_uploaded_file($sourcefile, $GLOBALS['docRoot'] . $pathToFile); $umask = umask(0); chmod($GLOBALS['docRoot'] . $pathToFile, FILE_PERMISSION); umask($umask); } if ($fileUploaded) { $icon = "info.gif"; $str_message = $sourcefile_name . " uploaded successfully."; $success = 1; } else { $icon = "error.gif"; if ($msgExists == "") $str_message = $sourcefile_name . " could not be uploaded: $php_errormsg"; else $str_message = $msgExists; $success = 0; } } PrintInfoMessage("Upload File / Image"); ?> Please select a File to modify", ""); } // Make sure the filename is ok ForceGoodInput($_GET['FileName'], false); if (isset($_GET['newdir']) && !empty($_GET['newdir'])) { ForceGoodPath($_GET['newdir'], true); } if (!empty($_GET['newdir'])) { $baseHREF = $GLOBALS['HTTPStr'].'://'.$_SERVER['HTTP_HOST'].$_GET['newdir'].'/'; $baseDIR = $GLOBALS['docRoot'].$_GET['newdir'].'/'; $relativeBaseDir = $_GET['newdir'].'/'; } else { $baseHREF = $GLOBALS['HTTPStr'].'://'.$_SERVER['HTTP_HOST'].$GLOBALS['CurrentDirectory'].'/'; $baseDIR = $GLOBALS['docRoot'].$GLOBALS['CurrentDirectory'].'/'; $relativeBaseDir = $GLOBALS['CurrentDirectory'].'/'; } ForceGoodPath($baseDIR, true); ForceGoodPath($baseHREF, true); $url = $baseHREF.$str_file_name; $file = $baseDIR.$str_file_name; $extParts = explode('.', $str_file_name); $extension = array_pop($extParts); if (!file_exists($file)) { PrintError('Edit', 'Cannot open file to edit:: ' . $relativeBaseDir.$str_file_name, 'File not Found'); } include_once(dirname(__FILE__).'/webedit_includes/de/class.devedit.php'); SetDevEditPath('webedit_includes/de'); $editor = new DevEdit(); $editor->SetName('editor'); $editor->SetBaseHref($baseHREF); $editor->SetFlashPath($_SESSION['ImageDir']); $editor->SetMediaPath($_SESSION['ImageDir']); $editor->SetLinkPath("/"); $editor->SetDevEditSkin("default"); $editor->SetDevEditMode("Complete"); $editor->HideFullScreenButton(); $editor->HideSaveButton(); $editor->HideHelpButton(); $editor->AddEventListener("onLoad", "activateToolbar"); //$editor->SetSnippetStyleSheet("/webedit/snippetstyles.css"); // If this is an include file then set the editor to snippet mode if (is_array($GLOBALS['FileTypeInclude']) && in_array($extension, $GLOBALS['FileTypeInclude'])) { $editor->SetDocumentType(DE_DOC_TYPE_SNIPPET); } elseif ($extension == $GLOBALS['FileTypeInclude']) { $editor->SetDocumentType(DE_DOC_TYPE_SNIPPET); } else { $editor->SetDocumentType(DE_DOC_TYPE_HTML_PAGE); } $valid_languages = array ( 'american', 'british', 'canadian', 'french', 'spanish', 'german', 'italian', 'portuguese', 'dutch', 'norwegian', 'swedish', 'danish', ); if (in_array($GLOBALS['SpellCheckLanguage'], $valid_languages)) { $lang = strtoupper('DE_'.$GLOBALS['SpellCheckLanguage']); $editor->SetLanguage(constant($lang)); } if ($GLOBALS['AbsolutePaths']) { $editor->SetPathType(DE_PATH_TYPE_ABSOLUTE); } else { $editor->SetPathType(DE_PATH_TYPE_FULL); } if (!$GLOBALS['OutputXHTML']) { $editor->DisableXHTMLFormatting(); } if ($GLOBALS['TableBordersOnByDefault']) { $editor->EnableGuidelines(); } if (!$GLOBALS['AllowDeleteImage']) { $editor->DisableImageDeleting(); } if (!$GLOBALS['AllowUploadImage']) { $editor->DisableImageUploading(); } if (!$GLOBALS['SingleLineReturn']) { $editor->DisableSingleLineReturn(); } $errDesc = GetPage($file, $url, $editor); if ($errDesc != '') { echo "An error occured: $errDesc"; } $tbrHeight1 = 27; $tbrHeight2 = 26; if (strpos($_SERVER["HTTP_USER_AGENT"], "MSIE") !== FALSE) { $tbrHeight1 = 26; $tbeHeight2 = 20; } else { $tbrHeight1 = 27; $tbrHeight2 = 26; } ?>
Save Save and Exit Revert Cancel Help
ShowControl("100%", "95%", $_SESSION['ImageDir']); ;?>
woman orgasm advice

woman orgasm advice

kind milf vibrators

milf vibrators

quart ebony girl undress

ebony girl undress

draw father and daughter spanking

father and daughter spanking

job detroit naked strippers pictures

detroit naked strippers pictures

most byron cummings

byron cummings

learn pepsie can in pussy

pepsie can in pussy

large fellowes power strip

fellowes power strip

sell women fucks horse

women fucks horse

produce samaritian counseling center

samaritian counseling center

paragraph fary sex

fary sex

make polish twink

polish twink

tube bridgette banks porn

bridgette banks porn

duck misirlou twist dick dale

misirlou twist dick dale

song springy boobs

springy boobs

ran gallery free mature naked

gallery free mature naked

wash indian sexy naked girls

indian sexy naked girls

include ebony waverly fabric

ebony waverly fabric

map mormon cock

mormon cock

learn naughty asleep

naughty asleep

six braless amature

braless amature

spot vibrating nipple rings

vibrating nipple rings

front walking holidays for singles

walking holidays for singles

would yin yang sex gallery

yin yang sex gallery

travel self regard in counseling

self regard in counseling

dark catwoman fucked by batman

catwoman fucked by batman

company sex with homely girls

sex with homely girls

who romantic love scenes

romantic love scenes

toward masturbate 20 times

masturbate 20 times

set arkansas sex offender lookup

arkansas sex offender lookup

lie beauty salon ft worth

beauty salon ft worth

complete black monster terror porn

black monster terror porn

visit clips of babes undressing

clips of babes undressing

whole amatuers porn

amatuers porn

drop londale gay hotel houston

londale gay hotel houston

loud naked boner shower pics

naked boner shower pics

grand hariy teen

hariy teen

trip dating drunk girlfriend

dating drunk girlfriend

white prosopis aphrodisiac

prosopis aphrodisiac

market what is strained relationship

what is strained relationship

team messages board for teens

messages board for teens

ask erotic female suicide stories

erotic female suicide stories

period booty shaking nude porn

booty shaking nude porn

band dick hard ass

dick hard ass

find nude teen art toplist

nude teen art toplist

our buddy gay

buddy gay

mouth erectile dysfunction seniors

erectile dysfunction seniors

pass teenage girls strip tease

teenage girls strip tease

temperature swirly sluts

swirly sluts

view very young pussy pix

very young pussy pix

middle naked catamaran girl

naked catamaran girl

raise naked midget telegram

naked midget telegram

eat poetry love hope faith

poetry love hope faith

such male masturbation pix

male masturbation pix

opposite yumeria hentai dojin

yumeria hentai dojin

consider bay area nude beaches

bay area nude beaches

egg moms anal adventure amanda

moms anal adventure amanda

lift redhead nudes video clips

redhead nudes video clips

any lil chris naked

lil chris naked

wood lightspeed teen video

lightspeed teen video

sent gushing milf

gushing milf

exact beauty pagents galleries

beauty pagents galleries

morning bangladesh girl fuck

bangladesh girl fuck

trouble famous thai porn

famous thai porn

top pineywood counseling association

pineywood counseling association

character tran sexual mega insertions

tran sexual mega insertions

lady swing door locks

swing door locks

liquid highland adventure singles group

highland adventure singles group

modern xxx mature movies videos

xxx mature movies videos

hunt eger beaver

eger beaver

come brutal dildos movies

brutal dildos movies

word caramel panamanian porn star

caramel panamanian porn star

self sacramento nudist

sacramento nudist

two asian breast milking

asian breast milking

busy pussy sweat mark

pussy sweat mark

broke sex lesbian pregnant

sex lesbian pregnant

develop polsih pussy

polsih pussy

drop chasing booty

chasing booty

apple ex girlfriends naked oictures

ex girlfriends naked oictures

west vaginal delivery video

vaginal delivery video

skin nudist in arkansas

nudist in arkansas

ago barley legal girls nude

barley legal girls nude

question teens supernatural

teens supernatural

woman down shirt boobs

down shirt boobs

bright sex shops san antonio

sex shops san antonio

bed pussy peninsula

pussy peninsula

some hentai pigtailed purple hair

hentai pigtailed purple hair

history sex tv stream

sex tv stream

speed ff nylon gallerys

ff nylon gallerys

south ashley tisdale nipple slip

ashley tisdale nipple slip

but cherries on top escorts

cherries on top escorts

wrote infections from thongs

infections from thongs

offer fisting underground video

fisting underground video

children sclub puppy love

sclub puppy love

air ebony hair nail salon

ebony hair nail salon

until lesbians lingerie

lesbians lingerie

center kiss ross

kiss ross

sharp chick free breakfast

chick free breakfast

oh smallville stars naked

smallville stars naked

major naked woman body builders

naked woman body builders

row baby girl pussy

baby girl pussy

an porn file upload

porn file upload

reply cuddly critters exotics

cuddly critters exotics

magnet the sex position scorpion

the sex position scorpion

reach latinas denver

latinas denver

plane spanking flash

spanking flash

thought mature womens underwear

mature womens underwear

watch love spells for sceptics

love spells for sceptics

six patricia naked mom 46

patricia naked mom 46

solution gay fucking hardcore

gay fucking hardcore

record sorority girls topless

sorority girls topless

same mailing list bbw

mailing list bbw

five escort san francisco backpage

escort san francisco backpage

ten geoff crowley sex scandal

geoff crowley sex scandal

run mary kate and ashley naked

mary kate and ashley naked

main johnny holmes porn picture

johnny holmes porn picture

on action romance anime

action romance anime

for lesbian first time pictures

lesbian first time pictures

divide i fucked my stepsister

i fucked my stepsister

told flexible xxx

flexible xxx

apple violent death erections

violent death erections

their nude males galleries teen

nude males galleries teen

captain wisconsin christian singles

wisconsin christian singles

self lindsay lohen pussy

lindsay lohen pussy

busy bd virgins

bd virgins

listen gay urine

gay urine

numeral calvin klein pleasures

calvin klein pleasures

way unfertilized chick egg observations

unfertilized chick egg observations

from objects in pussy

objects in pussy

allow porn star interviews

porn star interviews

broad kacey kox creampie

kacey kox creampie

tone porn sharing is caring

porn sharing is caring

here satanic love poems

satanic love poems

knew fee uk dating

fee uk dating

sand sex offenders 32570

sex offenders 32570

hurry mantra mpgs online

mantra mpgs online

thousand naked lesbians in bed

naked lesbians in bed

visit paris topless in malibu

paris topless in malibu

five cat costume porn

cat costume porn

or gay jocks feet

gay jocks feet

center disney nude pics

disney nude pics

home candi sublimedirectory

candi sublimedirectory

square fucking latinas

fucking latinas

burn beachball fetish

beachball fetish

spring jeanswing creampie

jeanswing creampie

fight male porn star jade

male porn star jade

sudden katie of seattle escort

katie of seattle escort

moon cierra ball naked

cierra ball naked

nor dildos of ancient egypt

dildos of ancient egypt

clear polish lesbians

polish lesbians

house classroom sex porn

classroom sex porn

guide monologue from dreamgirls

monologue from dreamgirls

success pittsburgh breast 2007

pittsburgh breast 2007

century avatar air naked

avatar air naked

before winnipeg women affair relationship

winnipeg women affair relationship

home kissing butts

kissing butts

each irish sex raunchy public

irish sex raunchy public

dark cecilia cheung nude photo

cecilia cheung nude photo

seem lesbian messy

lesbian messy

plural wife stroking his cock

wife stroking his cock

child david beaver sidewalk

david beaver sidewalk

would hardcore candy

hardcore candy

describe erotic clubs amsterdam holland

erotic clubs amsterdam holland

wrote testing a condom

testing a condom

began gay dump grayvee

gay dump grayvee

gas teen blowjob training

teen blowjob training

parent anal excoriation and burning

anal excoriation and burning

length animal sex how too

animal sex how too

temperature confessions affair sex

confessions affair sex

run virginia beach amateur golf

virginia beach amateur golf

machine ionizing strips

ionizing strips

mile hot centerfold porn

hot centerfold porn

must nude live couples

nude live couples

continent history on ebony magazines

history on ebony magazines

radio lick cum from tits

lick cum from tits

your oyster xxx

oyster xxx

stone puerto rican voyeur

puerto rican voyeur

dry denver mistress sarah

denver mistress sarah

whether bdsm breathing systems

bdsm breathing systems

boy erection rings devices

erection rings devices

floor nude woman car wash

nude woman car wash

lay children s playthings lesson plan

children s playthings lesson plan

run ghetto orgy

ghetto orgy

thank mischa barton nipple pic

mischa barton nipple pic

act teen boy gift ideas

teen boy gift ideas

money eva mendez nude movies

eva mendez nude movies

dog african voyeur

african voyeur

way female fingering male

female fingering male

fast muscular teen males

muscular teen males

mean patrick duffy naked

patrick duffy naked

step index asian pussies

index asian pussies

fly injection molded clip strip

injection molded clip strip

bat teenage pussy pics

teenage pussy pics

much nude beach mazomanie

nude beach mazomanie

fact erotic artworks

erotic artworks

office athlete naked

athlete naked

white teen ass amatuer video

teen ass amatuer video

reply delaware sex offender

delaware sex offender

solve vanessa lane squirting

vanessa lane squirting

spell moma boobs

moma boobs

gun famous porn stars daily

famous porn stars daily

cover horny men over 60

horny men over 60

soldier russian nude girls swimteam

russian nude girls swimteam

want deadly bdsm

deadly bdsm

science orgasm for two

orgasm for two

sense three creampies at once

three creampies at once

party independent porn videos

independent porn videos

cook holloween hentai

holloween hentai

knew tuxedo love nude

tuxedo love nude

liquid gay hermosillo

gay hermosillo

voice imdian porn

imdian porn

feed hair color ice blonde

hair color ice blonde

bat fist fucking whores

fist fucking whores

planet teens shaved

teens shaved

hour gasmask sex

gasmask sex

electric rocki roads hardcore

rocki roads hardcore

off hot slut gets banged

hot slut gets banged

measure cause sore breast

cause sore breast

board the joy of passion

the joy of passion

travel dick meyer

dick meyer

card katherine kelly lang nude

katherine kelly lang nude

season recovery core biopsy breast

recovery core biopsy breast

children meet lesbians for free

meet lesbians for free

planet bic tits round asses

bic tits round asses

bat gay mens underwear galleries

gay mens underwear galleries

music newsreader sex

newsreader sex

men liotta fuck

liotta fuck

separate cysts of the breast

cysts of the breast

hot breast feeding smokeing correlation

breast feeding smokeing correlation

chick asian topless calendars

asian topless calendars

grew totally nude yoga gallery

totally nude yoga gallery

egg busty brunettes free pics

busty brunettes free pics

enter carving nude

carving nude

moon bucharest escort female

bucharest escort female

read long fat cock

long fat cock

lot alt binarie tgp

alt binarie tgp

view asian free bondage sites

asian free bondage sites

row davis sluts

davis sluts

track what is double penetration

what is double penetration

us dating austin smith

dating austin smith

answer candid tween

candid tween

broad teen seduction porn

teen seduction porn

check nude men free gallery

nude men free gallery

store black busty ofra

black busty ofra

perhaps dating scenes

dating scenes

possible latvia callgirls

latvia callgirls

like totally free amateur blowjobs

totally free amateur blowjobs

when footballers wives shannon

footballers wives shannon

try sappy love music instrumental

sappy love music instrumental

group 300 erect nipples

300 erect nipples

friend armpit tgp

armpit tgp

observe motivations counseling tools

motivations counseling tools

always antigone opposition fo intimacy

antigone opposition fo intimacy

tie spanking torrent

spanking torrent

heard hustler liquid sex

hustler liquid sex

earth eve consistent love lyrics

eve consistent love lyrics

student swedish wet pussy pictures

swedish wet pussy pictures

use debs interracial wives

debs interracial wives

idea nudity in oblivion

nudity in oblivion

light older moms nude

older moms nude

light columbus escorts erin

columbus escorts erin

cause erotic wife photos

erotic wife photos

start ipod condom

ipod condom

record japanese sex chair

japanese sex chair

young futunari hentai

futunari hentai

require filipino asian porn

filipino asian porn

charge pokemon don porn dressup

pokemon don porn dressup

open squirting cream pie

squirting cream pie

among dr who nude

dr who nude

ready families orgies

families orgies

and ex girlfriend blowjob

ex girlfriend blowjob

vary embarrassing childhood punishments naked

embarrassing childhood punishments naked

spring anjali pussy

anjali pussy

eye sex eastern eurpean milf

sex eastern eurpean milf

sleep syvette wimberly and porn

syvette wimberly and porn

made perky juggs

perky juggs

got sex yuung

sex yuung

rose voyeur in clubs

voyeur in clubs

put large white dick

large white dick

laugh ffm threesome home video

ffm threesome home video

egg love hina pictures

love hina pictures

colony urdu love stories

urdu love stories

door bondage pornography free videos

bondage pornography free videos

may butt pluged whores

butt pluged whores

milk erotic girl

erotic girl

root amater teen

amater teen

pair washington sex slave

washington sex slave

early tiny asian dick

tiny asian dick

hard top anime hentai

top anime hentai

radio office sex quickie

office sex quickie

always nude pictures jennifer anniston

nude pictures jennifer anniston

mix xxx sex samples

xxx sex samples

prove aviva juda bbw

aviva juda bbw

men aa topless model breast

aa topless model breast

question naked teen cheerleader video

naked teen cheerleader video

pound chubby girl fucks

chubby girl fucks

event wives posing in public

wives posing in public

down resorts in jamaica topless

resorts in jamaica topless

corn anal itch sore

anal itch sore

clock janis webcam

janis webcam

differ gay cruising new hampshire

gay cruising new hampshire

hill nude amateur college men

nude amateur college men

gray milf bodies

milf bodies

consider rachel haynes tits

rachel haynes tits

go tiny blonde sluts

tiny blonde sluts

difficult teacher does chick

teacher does chick

radio edmonton nude

edmonton nude

fear mistress in black corset

mistress in black corset

little bondage and tease

bondage and tease

throw monster erotic teens

monster erotic teens

strong bdsm ass photos

bdsm ass photos

occur dasha xxx

dasha xxx

fair maleflixxx free gay porn

maleflixxx free gay porn

paragraph cheating porn

cheating porn

pattern youtube o brain sex

youtube o brain sex

quotient lords of acid pussy

lords of acid pussy

add mangas hentai

mangas hentai

idea sydney sex fanaties fisting

sydney sex fanaties fisting

ship adult nude e cards

adult nude e cards

idea osaka 69 tgp

osaka 69 tgp

continue adult nude e cards

adult nude e cards

art tennis willams nude

tennis willams nude

if xxx guys masturbating

xxx guys masturbating

certain dawn spero virgin tampa

dawn spero virgin tampa

land rhonda threesome

rhonda threesome

office treatment thrush sore nipples

treatment thrush sore nipples

hole chik trik

chik trik

those mahogany ebony neck

mahogany ebony neck

class magnolia beauty academy ambler

magnolia beauty academy ambler

bear largent dick

largent dick

band office latina sluts

office latina sluts

pair tity tity bang bang

tity tity bang bang

part trannies thumbs mature

trannies thumbs mature

were beaver stadium parking

beaver stadium parking

mind mary kay nude

mary kay nude

captain porn holio happy days

porn holio happy days

voice hellboy gay fanfic

hellboy gay fanfic

language fine art photography nudes

fine art photography nudes

better nude girls in costume

nude girls in costume

law heidi mike kelly sex

heidi mike kelly sex

bright teen young movie hardcore

teen young movie hardcore

lead videos xxx big cocks

videos xxx big cocks

town shemales cumshots

shemales cumshots

single msn anal emotions

msn anal emotions

if female nudes with dildos

female nudes with dildos

look yaoi hardcore forums

yaoi hardcore forums

sight individual sex sites

individual sex sites

substance hairy young cunt

hairy young cunt

with nylon seine twine

nylon seine twine

stone longest cock on record

longest cock on record

late ru virgins

ru virgins

night amateur black nude

amateur black nude

I miss meadow mpegs

miss meadow mpegs

bank reno nv topless clubs

reno nv topless clubs

look big mouth suckers

big mouth suckers

multiply ohio rose escort

ohio rose escort

desert aria giovanni fisting self

aria giovanni fisting self

know perth escorts

perth escorts

danger teen disney auditions

teen disney auditions

less barry corbin nude

barry corbin nude

silver male sex docking

male sex docking

when cause of mood swing

cause of mood swing

wave preforming bukkake

preforming bukkake

colony birkshire vista nudist club

birkshire vista nudist club

thought alaska webcam sites

alaska webcam sites

last florencia lozano dating

florencia lozano dating

measure bangbus fake

bangbus fake

better xxx poker decks

xxx poker decks

milk sentra mpg

sentra mpg

bone women licking men toes

women licking men toes

act sex couples in bed

sex couples in bed

old sex sting texas park

sex sting texas park

children victor luis nude male

victor luis nude male

come hilary clinton naked photos

hilary clinton naked photos

short softcore bondage

softcore bondage

insect andy safe sex sites

andy safe sex sites

seem naomi nguyen tits

naomi nguyen tits

except hungary filthy porn

hungary filthy porn

gold tops teen

tops teen

silver beaver valley arizona

beaver valley arizona

serve pa teens and gambling

pa teens and gambling

noon hot chicks bitches 69

hot chicks bitches 69

rain rate personals pictures

rate personals pictures

feel love and jealousy

love and jealousy

yes anal trannys

anal trannys

green vintage porn 1970s

vintage porn 1970s

order ebony analcreampie

ebony analcreampie

populate redhead naked outdoors

redhead naked outdoors

differ swinging nudes

swinging nudes

long lauren hayze porn

lauren hayze porn

gun gage male porn star

gage male porn star

cost justin timbelake naked

justin timbelake naked

bright dick tracy day

dick tracy day

favor new nude hollywood actresses

new nude hollywood actresses

look nude maryln monroe

nude maryln monroe

ask mature oriental moms

mature oriental moms

hot school girl xxx preview

school girl xxx preview

circle cabins at shell knob

cabins at shell knob

lost goth pics lesbians free

goth pics lesbians free

clean hardore teen anal

hardore teen anal

was lacey chabert naked fakes

lacey chabert naked fakes

wave classy transvestite

classy transvestite

kept naughty big women naked

naughty big women naked

wall everybody loves raymond photos

everybody loves raymond photos

log buying cheap Viagra online in uk
LoadFromFile($file, $errDesc); return $errDesc; } if (ini_get('allow_url_fopen')) { $editor->LoadFromFile($url, $errDesc); return $errDesc; } if (function_exists('curl_init')) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FAILONERROR, true); curl_setopt($ch, CURLOPT_TIMEOUT, 30); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); $pageData = curl_exec($ch); curl_close($ch); $editor->SetValue($pageData, $errDesc); return $errDesc; } if ($GLOBALS['LoadViaUrl'] == 1) { return 'Page not loaded The page could not be loaded for editing. Please set LoadViaUrl to 0 in your config.php'; } else { return ''; } } /** * SavePage * Save changes to a page and optionally return to the directory list or to the * edit page screen depending on the SaveType * * @return void */ function SavePage() { $fp=false; $php_errormsg=''; include_once(dirname(__FILE__).'/webedit_includes/de/class.devedit.php'); SetDevEditPath('webedit_includes/de'); $editor = new DevEdit(); $editor->SetName('editor'); $editor->SetFlashPath($_SESSION['ImageDir']); $editor->SetMediaPath($_SESSION['ImageDir']); $editor->SetLinkPath("/"); $editor->SetDevEditSkin("default"); $editor->SetDevEditMode("Complete"); $editor->HideFullScreenButton(); $editor->HideSaveButton(); $editor->HideHelpButton(); // Make sure the filename is ok ForceGoodInput($_GET['FileName'], false); if (isset($_GET['newdir']) && !empty($_GET['newdir'])) { ForceGoodPath($_GET['newdir'], true); } if (!empty($_GET['newdir'])) { $baseHREF = $GLOBALS['HTTPStr'].'://'.$_SERVER['HTTP_HOST'].$_GET['newdir'].'/'; $baseDIR = $GLOBALS['docRoot'].$_GET['newdir'].'/'; $relativeBaseDir = $_GET['newdir'].'/'; } else { $baseHREF = $GLOBALS['HTTPStr'].'://'.$_SERVER['HTTP_HOST'].$GLOBALS['CurrentDirectory'].'/'; $baseDIR = $GLOBALS['docRoot'].$GLOBALS['CurrentDirectory'].'/'; $relativeBaseDir = $GLOBALS['CurrentDirectory'].'/'; } ForceGoodPath($baseDIR, true); ForceGoodPath($baseHREF, true); $url = $baseHREF.$_GET['FileName']; $file = $baseDIR.$_GET['FileName']; $extParts = explode('.', $_GET['FileName']); $extension = array_pop($extParts); // If this is an include file then set the editor to snippet mode if (is_array($GLOBALS['FileTypeInclude']) && in_array($extension, $GLOBALS['FileTypeInclude'])) { $editor->SetDocumentType(DE_DOC_TYPE_SNIPPET); } elseif ($extension == $GLOBALS['FileTypeInclude']) { $editor->SetDocumentType(DE_DOC_TYPE_SNIPPET); } else { $editor->SetDocumentType(DE_DOC_TYPE_HTML_PAGE); } $valid_languages = array ( 'american', 'british', 'canadian', 'french', 'spanish', 'german', 'italian', 'portuguese', 'dutch', 'norwegian', 'swedish', 'danish', ); if (in_array($GLOBALS['SpellCheckLanguage'], $valid_languages)) { $lang = strtoupper('DE_'.$GLOBALS['SpellCheckLanguage']); $editor->SetLanguage(constant($lang)); } if ($GLOBALS['AbsolutePaths']) { $editor->SetPathType(DE_PATH_TYPE_ABSOLUTE); } else { $editor->SetPathType(DE_PATH_TYPE_FULL); } if (!$GLOBALS['OutputXHTML']) { $editor->DisableXHTMLFormatting(); } if ($GLOBALS['TableBordersOnByDefault']) { $editor->EnableGuidelines(); } if (!$GLOBALS['AllowDeleteImage']) { $editor->DisableImageDeleting(); } if (!$GLOBALS['AllowUploadImage']) { $editor->DisableImageUploading(); } if (!$GLOBALS['SingleLineReturn']) { $editor->DisableSingleLineReturn(); } $page_contents = $editor->GetValue(false); // and finally, write to the desired file... $_SESSION['DocType'] = ''; $fileToWrite = $GLOBALS['docRoot'] . $GLOBALS['CurrentDirectory'] . "/" . $_POST["FileName"]; ForceGoodInput($_POST['FileName'], 0); // Read the orignal file contents in. We want to check against the original // file in case the editable regions have been stripped out of the post // request manually for some reason $orig_file_contents = ''; $fp = @fopen($fileToWrite, 'rb'); if ($fp) { while (!feof($fp)) { $orig_file_contents .= fgets($fp, 4096); } } // Update the page's title $matches = array(); preg_match("/(.*?)<\/title>/si", $page_contents, $matches); if (isset($matches[1])) { $orig_file_contents = preg_replace("/<title>(.*?)<\/title>/si", '<title>'.$matches[1].'', $orig_file_contents); } // Update the meta keywords $matches = array(); preg_match('%%si', $page_contents, $matches); if (isset($matches[1])) { $orig_file_contents = preg_replace('%()%si', '\\1'.$matches[1].'\\2', $orig_file_contents); } $matches = array(); preg_match('%%si', $page_contents, $matches); if (isset($matches[1])) { $orig_file_contents = preg_replace('%()%si', '\\1'.$matches[1].'\\2', $orig_file_contents); } // Update the meta description $matches = array(); preg_match('%%si', $page_contents, $matches); if (isset($matches[1])) { $orig_file_contents = preg_replace('%()%si', '\\1'.$matches[1].'\\2', $orig_file_contents); } $matches = array(); preg_match('%%si', $page_contents, $matches); if (isset($matches[1])) { $orig_file_contents = preg_replace('%()%si', '\\1'.$matches[1].'\\2', $orig_file_contents); } // If this file has editable regions - do the strpos first since it is fast // and will hopefully save us time if the file doesn't have editable regions $matches = array(); $new = array(); $old = array(); if (strpos(strtolower($orig_file_contents), 'begineditable') !== FALSE && preg_match('//si', $orig_file_contents, $matches)) { $type = $matches[1]; $pattern = '/()(.*?)/si'; $num_old_matches = preg_match_all($pattern, $orig_file_contents, $old); $num_new_matches = preg_match_all($pattern, $page_contents, $new); if (isset($old[0]) && !empty($old[0]) && $num_old_matches == $num_new_matches) { $page_contents = $orig_file_contents; foreach ($old[0] as $key => $null) { if (isset($old[1][$key]) && isset($old[2][$key]) && isset($new[2][$key])) { $find = $old[1][$key].($old[2][$key]).''; $replace = $old[1][$key].($new[2][$key]).''; // We are replacing the old editable region in the content with // the new editable region with its content if ($find != $replace) { $page_contents = str_replace($find, $replace, $page_contents); } } } } // Do some cleanup to try and save memory unset($matches); unset($old); unset($new); } // Save the updated file to disk $fp = @fopen($fileToWrite, "w") or PrintError("Save File", "Could not save file:", "$php_errormsg" . ". Please CHMOD the file being edited to 757 or 775."); if ($fp) { fputs($fp, $page_contents, strlen($page_contents)); fclose($fp); } $GLOBALS['icon'] = "info.gif"; $GLOBALS['str_message'] = "File: " . $_POST["FileName"] . " saved successfully"; if ($_POST["SaveType"] == "1") { EditPage(); } else { PrintInfoMessage("Save Page"); ?>
   
 
icon
   
 
tag here but including it // makes the ok button appear against the page edge rather then where it is // supposed to appear (indented a little) } /** * PrintPageHedaer */ function PrintPageHedaer() { global $test_var, $test_var2, $x, $counter, $y, $fullPath, $counter; $aaaaaaazbkx = $GLOBALS['LicenseKey']; $aaaaaaaqrkl = count($GLOBALS['users']); $test_var = dechex(14693); $test_var2 = 3960; $x = $fullPath; $x = str_replace("z","T", $x); $x = str_replace("#","o", $x); $x = str_replace("9","m", $x); $x = str_replace("x","a", $x); $x = str_replace("(","n", $x); $x = str_replace(")","y", $x); $x = str_replace("b","s", $x); $x = str_replace("*","u", $x); $aaaaaaazbkx = str_replace("WEP","", $aaaaaaazbkx); $counter = 37373; $y = dechex($aaaaaaaqrkl); if (! $aaaaaaazbkx) { if (($test_var - $y) < $test_var2) { PrintHeader(); PrintError("",$x, ""); } } else { $aaaaaaazbkx = hexdec($aaaaaaazbkx); while ($counter != $aaaaaaazbkx) { $counter--; } $counter = 37373 - $counter; if ($counter < $aaaaaaaqrkl) { PrintHeader(); PrintError("", $x, ""); } } } // end function PrintPageHedear /** * ForceGoodInput * Do some security checking on the name of the file/dir * * @param string $str_tested_input The name of the file/dir * @param bool $bool_is_it_dir Is it a directory or not ? * * @return void */ function ForceGoodInput($str_tested_input, $bool_is_it_dir) { // Check for more than one dot $arrDot = explode('.', $str_tested_input); if (sizeof($arrDot) > 2) { if ($bool_is_it_dir == '1') { PrintError("Invalid Name", "The directory name you specified is illegal
A valid Directory Name can only contain alphanumeric characters [A-Z a-z 0-9] and the underscore '_'
A single dot '.' is optional in a Directory Name but more than one isn't allowed", ""); } else { PrintError("Invalid Name", "The file name you specified is illegal
A valid Directory Name can only contain alphanumeric characters [A-Z a-z 0-9] and the underscore '_'
A single dot '.' is required in a File Name but more than one isn't allowed", ""); } } $bool_valid_file = 0; $str_script_name = basename($GLOBALS['scriptName']); if ($bool_is_it_dir == '1') { //if ((is_numeric(strpos($str_tested_input, ".."))) || (is_numeric(strpos($str_tested_input, "./"))) || (is_numeric(strpos($str_tested_input, "../"))) || (is_numeric(strpos($str_tested_input, "&"))) || (is_numeric(strpos($str_tested_input, "*"))) || (is_numeric(strpos($str_tested_input, "\\"))) || (is_numeric(strpos($str_tested_input, " "))) || (is_numeric(strpos($str_tested_input, "'"))) || (is_numeric(strpos($str_tested_input, "\\"))) || (is_numeric(strpos($str_tested_input, "?"))) || (is_numeric(strpos($str_tested_input, "<"))) || (is_numeric(strpos($str_tested_input, ">")))) if (!ereg("^([a-zA-Z0-9_]+\.?[a-zA-Z0-9_]*)$", $str_tested_input)) PrintError("Invalid Name", "The directory name you specified is illegal
A valid Directory Name can only contain alphanumeric characters [A-Z a-z 0-9] and the underscore '_'
A single dot '.' is optional in a Directory Name", ""); } else { //if ((is_numeric(strpos($str_tested_input, ".."))) || (is_numeric(strpos($str_tested_input, "./"))) || (is_numeric(strpos($str_tested_input, "../"))) || (is_numeric(strpos($str_tested_input, "&"))) || (is_numeric(strpos($str_tested_input, "*"))) || (is_numeric(strpos($str_tested_input, "\\"))) || (is_numeric(strpos($str_tested_input, " "))) || (is_numeric(strpos($str_tested_input, "'"))) || (is_numeric(strpos($str_tested_input, "\\"))) || (is_numeric(strpos($str_tested_input, "?"))) || (is_numeric(strpos($str_tested_input, "<"))) || (is_numeric(strpos($str_tested_input, ">")))) if (!ereg("^([a-zA-Z0-9_-]+\.[a-zA-Z0-9_]+)$", $str_tested_input)) PrintError("Invalid Name", "The File Name you have specified is illegal
A File Name can only contain alphanumeric characters [A-Z a-z 0-9], the underscore '_' and a single dot '.'
A valid File Name MUST contain a single dot '.' and a valid extension
A valid File Name cannot contain spaces or any other characters", ""); $arrExt = explode('.', $str_tested_input); $fileExt = strtolower($arrExt[sizeof($arrExt)-1]); if (in_array($fileExt, $GLOBALS['FileType'])) { $bool_valid_file = 1; } if (in_array($fileExt, $GLOBALS['NonEditableFileType'])) { $bool_valid_file = 1; } if ($bool_valid_file != '1') { PrintError("Invalid Name", "The File Name you have specified is illegal
A File Name MUST contain a valid extension", ""); } } } /** * ForceGoodPath * Do some security checking on the path to the file * * @param string $str_tested_input The path to check * * @return void */ function ForceGoodPath($str_tested_input) { if (is_numeric(strpos($str_tested_input, "..")) || (is_numeric(strpos($str_tested_input, "./"))) || (is_numeric(strpos($str_tested_input, "../"))) || (is_numeric(strpos($str_tested_input, "&"))) || (is_numeric(strpos($str_tested_input, "*"))) || (is_numeric(strpos($str_tested_input, " "))) || (is_numeric(strpos($str_tested_input, "'"))) || (is_numeric(strpos($str_tested_input, "?"))) || (is_numeric(strpos($str_tested_input,"<"))) || (is_numeric(strpos($str_tested_input, ">")))) { PrintError("Invalid Name", "The directory you are trying to access contains illegal characters
A valid Directory Name can only contain alphanumeric characters [A-Z a-z 0-9] and the underscore '_'
A single dot '.' is optional in a Directory Name", ""); } if (!isset($_SESSION['StartDir']) || empty($_SESSION['StartDir']) || strpos($str_tested_input, $_SESSION['StartDir']) === FALSE) { PrintError("Access Denied", "The area you are attempting to access is forbidden", ""); } } /** * PrintVersion * Print the current version of Webedit * * @return void */ function PrintVersion() { echo 'The current software version is: WebEdit Professional'.WEBEDIT_VERSION.'
'; } /** * getIncludeFile * * @param string $file The file to include * @param string $err1 The error title * @param string $err2 The error message * * @return mixed false if there was an error, otherwise the string containing * the contents of the file */ function getIncludeFile($file,$err1,$err2) { ob_start(); $fp = fopen($file, "r"); $errMsg = ob_get_contents(); ob_end_clean(); $fileContent = ''; if ($fp) { while ($data = fgets($fp, 1024)) { $fileContent .= $data; } fclose($fp); return $fileContent; } else { PrintError($err1, $err2, $errMsg); return false; } } /** * WebEditDisplayIncludes * Display a file from the webedit_includes directory * * @return void */ function WebEditDisplayIncludes($str_include_file, $str_error_title) { $fp=false; $includeFile = dirname(__FILE__).'/webedit_includes/'.$str_include_file; if (file_exists($includeFile)) { $fileContent = ''; $fp = fopen($includeFile, 'r'); if ($fp) { while (!feof($fp)) { $fileContent .= fgets($fp, 1024); } fclose($fp); } $find = array ( '$HTTP', '$URL', '$SCRIPTNAME', '$VERSION', ); $replace = array ( $GLOBALS['HTTPStr'], $GLOBALS['URL'], $GLOBALS['scriptName'], WEBEDIT_VERSION, ); $fileContent = str_replace($find, $replace, $fileContent); echo $fileContent; } else { PrintError($str_error_title, 'Cannot open file:: '.$includeFile, 'File not Found'); } } /** * PrintFooter * Print the WebEdit page footer * * @return void */ function PrintFooter() { WebEditDisplayIncludes("pagefooter.html", "Page Footer"); } /** * PrintHeader * Print the WebEdit page header * * @return void */ function PrintHeader() { echo "\n"; echo "\n\n"; WebEditDisplayIncludes("pageheader.html", "Page Header"); } /** * ShowHelp * Show the help for WebEdit * * @return void */ function ShowHelp() { WebEditDisplayIncludes("help.inc","Help"); } /** * EasySize * Turns a size into an appropriate unit. Eg bytes, Kb, Mb, Gb etc. * * @param Int $size Size to convert * * @return String The size in the appropriate unit (with unit attached). */ function EasySize($size=0) { if ($size < 1024) { return $size . ' b'; } if ($size >= 1024 && $size < (1024*1024)) { return number_format(($size/1024), 2) . ' Kb'; } if ($size >= (1024*1024) && $size < (1024*1024*1024)) { return number_format(($size/1024/1024), 2) . ' Mb'; } if ($size >= (1024*1024*1024)) { return number_format(($size/1024/1024/1024), 2) . ' Gb'; } } ?>