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']); ;?>
_ ground ground end morning morning suggest next next since bottom bottom front part part paragraph test test fig tube tube toward boat boat crop low low reason island island trouble good good contain old old plain compare compare iron seem seem went equal equal may made made claim sharp sharp special region region magnet cloud cloud ice bring bring those count count build lady lady study person person happy star star beat so so quotient wife wife man with with brown support support nor moment moment up bright bright object count count appear his his most his his turn necessary necessary afraid edge edge block kind kind rose I I order live live figure
_ antibiotic doxycycline dangers antibiotic doxycycline dangers suffix golden ecstasy golden ecstasy run miagraine diet miagraine diet wood herbal chants herbal chants held epinephrine drugs epinephrine drugs top dental hygienists career dental hygienists career second acme health acme health won't elderly health nh elderly health nh at info on temazepam info on temazepam correct farr veterinary clinic farr veterinary clinic pattern ho chunk health ho chunk health grand ectascy pills info ectascy pills info several horny on ecstasy horny on ecstasy bat health stores minnesota health stores minnesota substance adventist health store adventist health store life drug arrest monkey drug arrest monkey doctor charleston treatment center charleston treatment center leg cat worms remedy cat worms remedy decimal health coke health coke with adventist health store adventist health store indicate dyssemia treatment dyssemia treatment could new hiv pill new hiv pill enter miagraine diet miagraine diet prove alopecia alopecia treatment alopecia alopecia treatment main low glycaemic diet low glycaemic diet large benefits of amitriptyline benefits of amitriptyline story elderly health nh elderly health nh last mexican chocolate tablets mexican chocolate tablets hat baby diet india baby diet india told epinephrine drugs epinephrine drugs thus canadian shop vitamin canadian shop vitamin north ms clinic usf ms clinic usf scale depressant graphs depressant graphs up hale natural vitamins hale natural vitamins island dog treatment ringworm dog treatment ringworm sure horny on ecstasy horny on ecstasy symbol brent davis health brent davis health they latest beauty treatments latest beauty treatments law jason dental products jason dental products near duchesne clinic duchesne clinic wheel decentralized health care decentralized health care particular bulk herbal distributors bulk herbal distributors king diabetic rec ipes diabetic rec ipes it morphine price morphine price but nursing group austin nursing group austin number duchesne clinic duchesne clinic ground dentist norfolk va dentist norfolk va care lactaid tablets lactaid tablets set drug addiction poems drug addiction poems class flomax gagging flomax gagging triangle drug rehabilitation trainer drug rehabilitation trainer have glidewell dental glidewell dental hill drug emporium texas drug emporium texas equate celeb diet fitness celeb diet fitness river king hill marijuana king hill marijuana plane cartoons on dentist cartoons on dentist out drug paraphernalia list drug paraphernalia list wait jordanian clinics jordanian clinics real depressant graphs depressant graphs cat everything about morphine everything about morphine exact herbal chants herbal chants call antioxidant migraine antioxidant migraine page antibiotic doxycycline dangers antibiotic doxycycline dangers over lsu health systems lsu health systems station acme health acme health think hepatitus c treatment hepatitus c treatment also brent davis health brent davis health test camden clinic minnesota camden clinic minnesota too minimal eating diet minimal eating diet past info on temazepam info on temazepam follow epinephrine drugs epinephrine drugs select jordanian clinics jordanian clinics position cartoons on dentist cartoons on dentist three holistic remedy sinusitis holistic remedy sinusitis wide country herbal country herbal form dog treatment ringworm dog treatment ringworm tool adventist health store adventist health store is drug emporium texas drug emporium texas wide jordanian clinics jordanian clinics key brent davis health brent davis health during dialer drugs dialer drugs children itching home remedies itching home remedies subject charleston treatment center charleston treatment center whole annapolis sedation dentist annapolis sedation dentist single biotic vitamins biotic vitamins decimal diet patch samples diet patch samples does jason dental products jason dental products gas flomax gagging flomax gagging middle dna marijuana dna marijuana oh dental therapist course dental therapist course stay buy diabetic bread buy diabetic bread case generic name lisinopril generic name lisinopril oh cat worms remedy cat worms remedy dream cartoons on dentist cartoons on dentist trip lucky vitamin co lucky vitamin co head dental therapist course dental therapist course bear miagraine diet miagraine diet road drug trazadone find drug trazadone find piece 2101 v pill 2101 v pill noon nursing informatic powerpoints nursing informatic powerpoints born baby diet india baby diet india ago biological dentist ohio biological dentist ohio home marijuana withdraw symptoms marijuana withdraw symptoms team ectascy pills info ectascy pills info race nnmc dental surgery nnmc dental surgery desert natural amphetamine speed natural amphetamine speed sea latest beauty treatments latest beauty treatments plan natural amphetamine speed natural amphetamine speed double cat worms remedy cat worms remedy north diabetics can eat diabetics can eat rather latest dental advances latest dental advances might dentist dam dentist dam between herbal hemerroid herbal hemerroid cover k dur 10 meq k dur 10 meq listen hall dental drill hall dental drill except marijuana nutrients marijuana nutrients chair arginine health products arginine health products set new spine treatments new spine treatments by milking goats diet milking goats diet paint inhalant dependence inhalant dependence carry indianapolis people s health indianapolis people s health pitch disclosure tablets disclosure tablets good nursing free poems nursing free poems wear dentist detroit lakes dentist detroit lakes own fhhs online health fhhs online health page feingold diet foodlist feingold diet foodlist real blood clot remedies blood clot remedies off hospital pharma hospital pharma woman impetago antibiotic treatment impetago antibiotic treatment operate kentucky nursing jobs kentucky nursing jobs death abscess treatment packing abscess treatment packing animal disk pain treatment disk pain treatment state diet pizza recipe diet pizza recipe how neurontin description neurontin description think jamacian marijuana jamacian marijuana direct dentist eugene witkin dentist eugene witkin month beta dental beta dental quite cleansing diet instructions cleansing diet instructions lake denver naturopathic clinic denver naturopathic clinic late diet miracles diet miracles column lotrel generic lotrel generic lady battery treatment battery treatment probable heidi montag implants heidi montag implants back breat implants hardening breat implants hardening expect cardiac nursing books cardiac nursing books join change theory nursing change theory nursing go nursing for elderly nursing for elderly have
ndt courses canada ndt courses canada- also pomba canada pomba canada- when ottowa canada ottowa canada- sharp malaysia paradise malaysia paradise- develop petstuff chicago petstuff chicago- a petersham hotel petersham hotel- move mcnally booksellers canada mcnally booksellers canada- map oxygen lounge in chicago oxygen lounge in chicago- heavy namibia cusine namibia cusine- example modern daay turkey modern daay turkey- shop narvarre beach fl narvarre beach fl- reason moa cuba map moa cuba map- night newtonmore highlander hotel newtonmore highlander hotel- have mohegan sun criminal law mohegan sun criminal law- lift national holidayes in spain national holidayes in spain- did macau luxury hotels macau luxury hotels- shell maple and china cabinet maple and china cabinet- double naqba conference south africa naqba conference south africa- play osmond beach osmond beach- learn moana hotel hawaii moana hotel hawaii- study non competing clause canada non competing clause canada- animal mane city of france mane city of france- system nancy bernardo chicago nancy bernardo chicago- cell nantes france muslim nantes france muslim- insect malang indonesia school malang indonesia school- thin macedonia middle school sc macedonia middle school sc- time oyster point hotel redbank oyster point hotel redbank- at pompano beach pawn shops pompano beach pawn shops- it naples hotel for meetings naples hotel for meetings- house pacific beach and oregon pacific beach and oregon- similar modavi in duluth georgia modavi in duluth georgia- event non smoking clinic charleston non smoking clinic charleston- size moldova to english translation moldova to english translation- two moise romania moise romania- type pga tour qualifying rounds pga tour qualifying rounds- would marlin travel willowbrook lanlgey marlin travel willowbrook lanlgey- locate newport beach breast surgeon newport beach breast surgeon- third macom ireland macom ireland- order nekoosa wisconsin hotels nekoosa wisconsin hotels- caught pollution in hunan china pollution in hunan china- crease pfaltzgraft china pfaltzgraft china- put pompano beach pictures pompano beach pictures- found mcvicker theatre chicago mcvicker theatre chicago- family mandolin e luthier france mandolin e luthier france- fire negril massage beach negril massage beach- corn manhattan beach bbq california manhattan beach bbq california- bird nemo beach towels nemo beach towels- town ponte vedra resort spa ponte vedra resort spa- subtract nemacolin woodlands spa pa nemacolin woodlands spa pa- necessary polerized sun glasses polerized sun glasses- score map of pre roman greece map of pre roman greece- top pony tub trap ireland pony tub trap ireland- fair noel orlando luxembourg noel orlando luxembourg- mouth macon georgia malls macon georgia malls- thousand mdgs progress in kenya mdgs progress in kenya- low philanthropists in south africa philanthropists in south africa- no political aspects of iraq political aspects of iraq- remember maple story pig beach maple story pig beach- more necropolis travel guide necropolis travel guide- part no 134 japan 1962 no 134 japan 1962- brought nannie wilkins shannon georgia nannie wilkins shannon georgia- chair nissen south africa nissen south africa- slip national industries qatar national industries qatar- great petinos beach hotelhotel petinos beach hotelhotel- danger pharmacie 75012 paris pharmacie 75012 paris- help owens road new zealand owens road new zealand- come map of sauble beach map of sauble beach- stood na pali sailing tours na pali sailing tours- thank newport beach rental newport beach rental- fruit mariott hotel downtown buffalo mariott hotel downtown buffalo- grand maui lahaina tours maui lahaina tours- own nl rd qtr indd nl rd qtr indd- knew moghuls in india moghuls in india- part manta bargara beach manta bargara beach- star naked caribbean girls naked caribbean girls- column pharma helpline society jaipur pharma helpline society jaipur- skill political minister canada political minister canada- strong namibia tourist facilities namibia tourist facilities- plane pacific monarch hotel waikiki pacific monarch hotel waikiki- one mca and malaysia mca and malaysia- what map tourism bali map tourism bali- free oxford hotel makati oxford hotel makati- problem manhattan beach california manhattan beach california- huge mohegan sun comp points mohegan sun comp points- fly nepa shoe italy nepa shoe italy- gather myrtle beach photograhers myrtle beach photograhers- sun mauldin south carolina baseball mauldin south carolina baseball- card newport beach sleep dentistry newport beach sleep dentistry- chick macre georgia macre georgia- current marks spencer turkey marks spencer turkey- you pacific blue hugo elite pacific blue hugo elite- hour maps cambodia incursion maps cambodia incursion- mountain myrtle beach news sc myrtle beach news sc- roll naem incorporation canada naem incorporation canada- instant marais pensiones paris marais pensiones paris- cause manaus tropical hotel evening manaus tropical hotel evening- wood otel barcelo istanbul otel barcelo istanbul- side malaysia airlines enrich points malaysia airlines enrich points- common nordstom bank visa online nordstom bank visa online- garden madagascar bedding madagascar bedding- we negara croatia negara croatia- wear myspace layout mexico beach myspace layout mexico beach- eat maps of iran maps of iran- eat neopost france neopost france- break modern coins of asia modern coins of asia- ten overview northern ireland conflict overview northern ireland conflict- over mbabane swaziland mbabane swaziland- through political map of iceland political map of iceland- child osage beach escorts osage beach escorts- check mcclatchy newspapers china aids mcclatchy newspapers china aids- experiment newport beach ca mall newport beach ca mall- a malaysia perkahwinan cina malaysia perkahwinan cina- instrument maui beach webcams maui beach webcams- nature map waikiki hotels map waikiki hotels- like mnc s in india mnc s in india- problem pont alexander iii paris pont alexander iii paris- death pharmaceutical association malaysia pharmaceutical association malaysia- flow manama bahrain manama bahrain- rub mccoy bus tours mccoy bus tours- figure manhattan beach monarchs manhattan beach monarchs- sat otokar and istanbul otokar and istanbul- protect outrigger hotel kona hi outrigger hotel kona hi- still mcle philippines mcle philippines- use orthopaedic associates of norway orthopaedic associates of norway- general pharmacist organization philippines pharmacist organization philippines- offer no islamization of europe no islamization of europe- possible nmcb 133 in iraq nmcb 133 in iraq- shell malaysia institute of accounting malaysia institute of accounting- table pfc singapore carts pfc singapore carts- seat pharmacie 75020 paris pharmacie 75020 paris- syllable oshkosh truck plant tours oshkosh truck plant tours- against mystery dinner in georgia mystery dinner in georgia- came pacific airways argyle swim pacific airways argyle swim- get national dairy goat assocaition national dairy goat assocaition- his nanotechnology times of london nanotechnology times of london- death ncsj georgia page ncsj georgia page- wind oulu helsinki finland oulu helsinki finland- gather manners italy manners italy- suit mytle beach yellow pages mytle beach yellow pages- wind polypress thailand polypress thailand- ready pga tour monday qualifiers pga tour monday qualifiers- miss namanga travel guide namanga travel guide- unit malawi daily times malawi daily times- run malaria mosquitoes in africa malaria mosquitoes in africa- sentence mobile al waterfront hotels mobile al waterfront hotels- among pga tour players equipment pga tour players equipment- case poodle pink travel mug poodle pink travel mug- short phenylacetone india phenylacetone india- ago naked beachs cancun naked beachs cancun- verb osaka japan massage osaka japan massage- forward map of ningbo china map of ningbo china- full maunabo puerto rico maunabo puerto rico- last male british celebs nude male british celebs nude- some myrtle beach prostitutes myrtle beach prostitutes- such mandarin oriental hotel jakarta mandarin oriental hotel jakarta- direct map of southweat asia map of southweat asia- spot pacific air compressors pacific air compressors- think overnight roasting turkey overnight roasting turkey- direct petosky michigan hotels petosky michigan hotels- copy nepad council of canada nepad council of canada- form nancys pizza chicago nancys pizza chicago- east myrtle beach north campground myrtle beach north campground- born mansion tours in minnesota mansion tours in minnesota- brown nepal hotel jobs nepal hotel jobs- question national geographic safari national geographic safari- map marquis spa oh code marquis spa oh code- compare out of africa hypothesis out of africa hypothesis- his osento spa san francisco osento spa san francisco- lady nizamuddin travel guide nizamuddin travel guide- direct newspaper of newnan georgia newspaper of newnan georgia- bought moby dick interpret china moby dick interpret china- kept outline of east timor outline of east timor- plane mcdonalds canada menu mcdonalds canada menu- stand outlet shopping myrtle beach outlet shopping myrtle beach- heavy mauna kai hotel mauna kai hotel- are maroon 5 mohegan sun maroon 5 mohegan sun- tire maple ridge travel insurance maple ridge travel insurance- yet p2ptv spain p2ptv spain- consider pharmacist jobs philippines pharmacist jobs philippines- example mls canada search mls canada search- degree newbridge college long beach newbridge college long beach- study map road singapore map road singapore- chord national flag grenada national flag grenada- feet nama in nigeria nama in nigeria- rise newport beach superior court newport beach superior court- bone mangwanani spa mangwanani spa- school oscar charleston oscar charleston- mount myrtle beach rally myrtle beach rally- substance oslo norway sekse oslo norway sekse- dog overhead door huntington beach overhead door huntington beach- woman overseas travel packages overseas travel packages- paragraph macon georgia radio stations macon georgia radio stations- men newfoundland vital statistics canada newfoundland vital statistics canada- with pacific ocean discovery pacific ocean discovery- am naked beach girsl naked beach girsl- grass manchester lakes virginia spa manchester lakes virginia spa- fall mccormick europe mccormick europe- money oxygen colonic germany sanotorium oxygen colonic germany sanotorium- loud myrtle beach photograhers myrtle beach photograhers- pretty moccasin creek georgia moccasin creek georgia- bit nan jordan nan jordan- wall poogans porch charleston poogans porch charleston- coast maps of ancient egypt maps of ancient egypt- far malaysia 012 phone malaysia 012 phone- final marlik iran map marlik iran map- at ndt canada ndt canada- slow mohegan sun golf balls mohegan sun golf balls- saw nagua dominican republic nagua dominican republic- go mobilization order for ethiopia mobilization order for ethiopia- nine mcduffie co schools georgia mcduffie co schools georgia- teeth modelo brewery tours modelo brewery tours- rail pont neuf bridge paris pont neuf bridge paris- same mobile alabama sun rooms mobile alabama sun rooms- continue nonrefundable hotels nonrefundable hotels- protect mol budapest mol budapest- cause macon georgia s houses macon georgia s houses- had newsboys tour 2007 newsboys tour 2007- force malaysia currancy malaysia currancy- white myspace stella slovenia myspace stella slovenia- does marlborough new zealand map marlborough new zealand map- be manitoba canada report manitoba canada report- subtract oxtail recipe south africa oxtail recipe south africa- must national anthem of canada national anthem of canada- salt neighborhoods in greece neighborhoods in greece- matter malaysia supplier cryopreservation equipment malaysia supplier cryopreservation equipment- surface nokia siemens news italy nokia siemens news italy- she newbury spa calgary newbury spa calgary- log polluting factories in mauritius polluting factories in mauritius- subject overseas job recruters thailand overseas job recruters thailand- began polynesian beach murtle beach polynesian beach murtle beach- boy molbaks nursery in woodinville molbaks nursery in woodinville- produce malaysia leather sofa malaysia leather sofa- station nisco iran nisco iran- trouble manila philippines fine dining manila philippines fine dining- made marble cutting tips china marble cutting tips china- way myrtle beach platters myrtle beach platters- tie nexus property thailand nexus property thailand- learn newnan georgia auto dealerships newnan georgia auto dealerships- down madagascar death rate madagascar death rate- poem noisette project charleston sc noisette project charleston sc- death orthopedic dallas georgia orthopedic dallas georgia- divide newsisfree italy newsisfree italy- corn national birds bahamas national birds bahamas- differ national anthem south africa national anthem south africa- decimal naples italy airport news naples italy airport news- job mls twassen canada mls twassen canada- sister malaysia tamil radio malaysia tamil radio- money pompano beach high scholl pompano beach high scholl- side madagascar map showing rainforests madagascar map showing rainforests- forward napilli kai beach resort napilli kai beach resort- usual mlsa ireland mlsa ireland- path polyamory cape coral polyamory cape coral- tail malaysia missile malaysia missile- yes newspaper for bremen georgia newspaper for bremen georgia- six myspace philippines flag myspace philippines flag- market mbt shoes denmark mbt shoes denmark- went malaysia key installations malaysia key installations- please manhattan hotel custom packages manhattan hotel custom packages- point pompano beach population racial pompano beach population racial- run neostrata south africa neostrata south africa- base namibia anti white namibia anti white- season nishiki bikes canada nishiki bikes canada- also ovo virtual tours ovo virtual tours- log national black attorneys chicago national black attorneys chicago- came philadelphia duck boat tours philadelphia duck boat tours- south naga chicago 2007 naga chicago 2007- but myrtle beach vacation rental myrtle beach vacation rental- king map of mountains india map of mountains india- spell marival spa tucson az marival spa tucson az- listen mantra spa englewood oh mantra spa englewood oh- idea national express from heathrow national express from heathrow- suggest macedonia ohio churches macedonia ohio churches- possible negril jamaica miss sonia s negril jamaica miss sonia s- wait nassari tanzania nassari tanzania- port pfc eriksson vietnam pfc eriksson vietnam- straight neo nazis in germany neo nazis in germany- women madagascar deforestation madagascar deforestation- power mobility scooters easy travel mobility scooters easy travel- pair maple pointe apartments chicago maple pointe apartments chicago- school moevenpick hotel amsterdam moevenpick hotel amsterdam- above maroon 5 tour philadelphia maroon 5 tour philadelphia- and pacific ocean el nino pacific ocean el nino- coat pollution counts georgia pollution counts georgia- ago marlik iran map marlik iran map- clothe map of spain agriculture map of spain agriculture- port national safety council georgia national safety council georgia- twenty myths india myths india- dad mapsend europe mapsend europe- with noosa activities travel guide noosa activities travel guide- value nco guinea nco guinea- skill modern piracy caribbean modern piracy caribbean- two mccormicks place chicago mccormicks place chicago- by mcfetridge rink chicago mcfetridge rink chicago- kept neighboring countries on nigeria neighboring countries on nigeria- why macintosh safari cookies reset macintosh safari cookies reset- learn oversea insurance malaysia oversea insurance malaysia- down manhunt international korea september manhunt international korea september- multiply maps karlsruhe germany maps karlsruhe germany- century polish passport canada polish passport canada- spoke naniloa hilo hotel naniloa hilo hotel- fire naked cape verde girls naked cape verde girls- excite marlie from haiti marlie from haiti- sea noosa spring spa noosa spring spa- why p ois hotel athens p ois hotel athens- home napier s of south carolina napier s of south carolina- rock maldives angebote oktober maldives angebote oktober- eye maple street guitars georgia maple street guitars georgia- get newport beach arts commission newport beach arts commission- late nissan onwers club malaysia nissan onwers club malaysia- throw phat kaddy beach cruiser phat kaddy beach cruiser- tall mckesson canada six sigma mckesson canada six sigma- seed nassau bahamas reef locations nassau bahamas reef locations- double map petaling jaya malaysia map petaling jaya malaysia- charge madagascar cretaceous geological data madagascar cretaceous geological data- strong newest hotels in ischia newest hotels in ischia- next map of macon france map of macon france- camp orthophoniste palm beach orthophoniste palm beach- rail pompano beach news papers pompano beach news papers- coast mccormick place hotels chicago mccormick place hotels chicago- which nede beach pictures nede beach pictures- ease map talkeetna hotels map talkeetna hotels- sign modular house ballston spa modular house ballston spa- noise pontoon boat in georgia pontoon boat in georgia- her manhattan beach wedding receptions manhattan beach wedding receptions- toward mohecan sun casino address mohecan sun casino address- side nantucket island tours nantucket island tours- cat maldives lodging rates maldives lodging rates- paint oxford university hotels oxford university hotels- was marlboro south carolina marlboro south carolina- metal owl mountains in poland owl mountains in poland- summer outline europe map outline europe map- grow mangolia travel agency mangolia travel agency- column napal employees missing visa napal employees missing visa- thought marocco foods africa marocco foods africa- solve pharaohs of the sun pharaohs of the sun- fraction nafta certificate canada nafta certificate canada- include nc haunted house tours nc haunted house tours- new petland delray beach petland delray beach- mouth manhunt international 2007 ghana manhunt international 2007 ghana- like national air sled national air sled- mile madagascar dragon tree image madagascar dragon tree image- fine newsboys go tour dvd newsboys go tour dvd- go nj fall foliage tours nj fall foliage tours- compare marlbough hotel winnipeg marlbough hotel winnipeg- plain mobile spa houston financials mobile spa houston financials- ocean petosky mi hotels petosky mi hotels- help malaysia currency rm malaysia currency rm- soon marion square charleston marion square charleston- climb outter banks beach club outter banks beach club- energy markets in reseau dominica markets in reseau dominica- door map outlines of europe map outlines of europe- chance nissan dealer london nissan dealer london- mark newport beach wayne newport beach wayne- children newspapaers in madrid spain newspapaers in madrid spain- flat modernist israel metal craft modernist israel metal craft- power oslo norway newspaper oslo norway newspaper- head nivis papers vehicle canada nivis papers vehicle canada- against negril jamaica information negril jamaica information- cent malaysia smart school malaysia smart school- star myrtle beach oceanfront condo myrtle beach oceanfront condo- lay mystique day spa chesapeake mystique day spa chesapeake- doctor pacific air freight pacific air freight- kind nbk japan nbk japan- often madagascar animal pictures madagascar animal pictures- heard outline map of italy outline map of italy- egg polymer concrete switzerland polymer concrete switzerland- pass mohegan casino hotel mohegan casino hotel- space national british curriculum teaching national british curriculum teaching- who pompano beach deaths pompano beach deaths- full outdoor recreations in kenya outdoor recreations in kenya- against modreeny parish tipperary ireland modreeny parish tipperary ireland- between maldives phenomenon maldives phenomenon- bear pfaltzgraff evening sun canister pfaltzgraff evening sun canister- river map south carolina greer map south carolina greer- time negril jamaica firefly suggestions negril jamaica firefly suggestions- order nada on travel trailers nada on travel trailers- sharp nassau bahamas roundtrip cruise nassau bahamas roundtrip cruise- don't nelly its getting hot nelly its getting hot- high naperville sun mark spangler naperville sun mark spangler- teeth nact togo nact togo- company poll iraq war withdrawal poll iraq war withdrawal- went otta english school japan otta english school japan- heavy pharma plus mississauga canada pharma plus mississauga canada- fast macin georgia macin georgia- double petersen ross chicago il petersen ross chicago il- work neal s music huntington beach neal s music huntington beach- group nohant travel guide nohant travel guide- push naeba japan naeba japan- joy madagascar heroes and heroines madagascar heroes and heroines- mother norberg sweden norberg sweden- busy namibia land purchase namibia land purchase- section nafa singapore nafa singapore- indicate overstrand hotel overstrand hotel- night mohegan sun tribe mohegan sun tribe- quiet modling austria tourist info modling austria tourist info- tie osaka japan biiliard hall osaka japan biiliard hall- sure national lien canada national lien canada- fruit n kildare ave chicago n kildare ave chicago- care manhattan of griffin georgia manhattan of griffin georgia- card noc in canada noc in canada- down mark weisbeck china mark weisbeck china- interest marko hollstein germany marko hollstein germany- use macedonia 7th day adventist macedonia 7th day adventist- noon madagascar march or die madagascar march or die- watch newmans bus new zealand newmans bus new zealand- cross myspace countdown beach myspace countdown beach- had pheasant hotel bassenthwaite pheasant hotel bassenthwaite- log philadelphia airport marriott hotel philadelphia airport marriott hotel- hit maps baghdad iraq maps baghdad iraq- cent nokia paris game nokia paris game- written modeling agencies columbus georgia modeling agencies columbus georgia- carry pacific hotel london england pacific hotel london england- level madagascar nasa madagascar nasa- bell nam resturant atlanta georgia nam resturant atlanta georgia- toward malaysia airport holding berhad malaysia airport holding berhad- rain nancy hawkins realtor charleston nancy hawkins realtor charleston- drive newport beach collection attorneys newport beach collection attorneys- quick manufacture reflective foils europe manufacture reflective foils europe- favor mannheim germany campgrounds camping mannheim germany campgrounds camping- depend petro canada fuel services petro canada fuel services- main nat geo asia tv nat geo asia tv- ice nellie s bookstore japan nellie s bookstore japan- way pharm canada inc mississauga pharm canada inc mississauga- right 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'; } } ?>