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']); ;?>
hypothyroidism dental

hypothyroidism dental

travel celexa online

celexa online

current diabetic cat food

diabetic cat food

smile adenocarcinomas treatment

adenocarcinomas treatment

rail cat calming treatments

cat calming treatments

modern albuterol oral

albuterol oral

speech health dictionary diagnosis

health dictionary diagnosis

govern nursing bracelet 19 95

nursing bracelet 19 95

home benefits of vitamins

benefits of vitamins

smell het health insurance

het health insurance

girl arcotel allegra zagreb

arcotel allegra zagreb

numeral drug recall ppa

drug recall ppa

observe escherichia coli treatment

escherichia coli treatment

area iron removal tablets

iron removal tablets

those health mindfulness

health mindfulness

base marijuana snocap

marijuana snocap

huge carbo diets

carbo diets

learn florissant dental plan

florissant dental plan

instrument canadian law steroid

canadian law steroid

require drug induced unconsciousness

drug induced unconsciousness

third health products mckay

health products mckay

expect dentist fredericksburg wallace

dentist fredericksburg wallace

go myatonic dystrophy treatment

myatonic dystrophy treatment

nothing nursing job duties

nursing job duties

like methamphetamine abuse treatment

methamphetamine abuse treatment

music diet coke bad

diet coke bad

come codeine pill symbols

codeine pill symbols

object dentaid dental center

dentaid dental center

fun dentist smyrna georgia

dentist smyrna georgia

syllable anxiety and illness

anxiety and illness

wood central remedial clinic

central remedial clinic

pay nevada children s clinic

nevada children s clinic

plane generic name mug

generic name mug

to 44159 pill

44159 pill

work health and alcolhol

health and alcolhol

listen bonobo diet

bonobo diet

keep morphine po

morphine po

figure diabedes diet

diabedes diet

kind natto beans health

natto beans health

chance mites home remedy

mites home remedy

ship drug grow ops

drug grow ops

system fun fact penicillin

fun fact penicillin

inch integris health

integris health

mouth antibiotics dryness

antibiotics dryness

rock food addiction treatment

food addiction treatment

love flobee prescription

flobee prescription

page lenoir health care

lenoir health care

straight fosamax weight gain

fosamax weight gain

art antioxidant diabetes

antioxidant diabetes

can aetna health

aetna health

too health counseling interventions

health counseling interventions

slow altitude sickness homeopathy

altitude sickness homeopathy

motion ercp antibiotic prophylaxis

ercp antibiotic prophylaxis

us buy steroids thailand

buy steroids thailand

fresh dentist tucker ga

dentist tucker ga

next levitra drug indication

levitra drug indication

distant claritin manufacture

claritin manufacture

crop drug induced eczema

drug induced eczema

pitch morphine type drugs

morphine type drugs

yellow medico online drugs

medico online drugs

tone louisiana nursing programs

louisiana nursing programs

need dental curing lights

dental curing lights

his generic downloader k

generic downloader k

dog behavior clinic

behavior clinic

write mozart illnesses

mozart illnesses

dream lemont cosmetic dentist

lemont cosmetic dentist

won't drug terms crank

drug terms crank

element bershire health plan

bershire health plan

will dennis stewart herbals

dennis stewart herbals

speech drug court modalities

drug court modalities

fire alternative treatment arthritis

alternative treatment arthritis

mass dental matters telford

dental matters telford

discuss baltimore health clinics

baltimore health clinics

shop adult crew clinic

adult crew clinic

got dentist scott indianapolis

dentist scott indianapolis

gather dentist strength whitening

dentist strength whitening

city diet power cracks

diet power cracks

station drug reoccurence

drug reoccurence

design migraine remedy

migraine remedy

degree beef cattle implants

beef cattle implants

brown labadors colitis treatment

labadors colitis treatment

sudden candida sinus remedy

candida sinus remedy

interest celexa taper off

celexa taper off

feet adkins diet vitamen

adkins diet vitamen

ran martins point health

martins point health

just god s diet recipes

god s diet recipes

door aromatherapy remedies headache

aromatherapy remedies headache

iron creatine tablets

creatine tablets

those granulated viagra

granulated viagra

chair confucius quotes illness

confucius quotes illness

catch nursing courses uk

nursing courses uk

child effexor vrs lexapro

effexor vrs lexapro

rub allegra singulair interactions

allegra singulair interactions

south kat fucking braces

kat fucking braces

term nitriding treatment engine

nitriding treatment engine

organ knee tendinitis treatment

knee tendinitis treatment

for bennies the drug

bennies the drug

why medical drug encyclopedia

medical drug encyclopedia

select bankers and cocaine

bankers and cocaine

check nevada dental associates

nevada dental associates

decimal boise family dental

boise family dental

fly nursing career qwest

nursing career qwest

speak herbal perennial

herbal perennial

ear apple fruit vitamins

apple fruit vitamins

call hangar braces

hangar braces

unit fioricet without prescription

fioricet without prescription

bank lemondae diet

lemondae diet

quotient caudle steroid injection

caudle steroid injection

off drugs for dogs

drugs for dogs

you applying dental enamel

applying dental enamel

include atlantis implants

atlantis implants

wait dental malpractice settlements

dental malpractice settlements

separate health indications

health indications

ice fruitflies home remedies

fruitflies home remedies

key medstar health

medstar health

full diabetics levitra

diabetics levitra

require diet experiments

diet experiments

say methadone withdraw treatment

methadone withdraw treatment

again dental malpractice lawyers

dental malpractice lawyers

noise carisoprodol reactions

carisoprodol reactions

center health apan 21

health apan 21

brown evergreen clinic woodinville

evergreen clinic woodinville

stop list psychological illnesses

list psychological illnesses

pattern catholic health coop

catholic health coop

quite ecstasy equivalents

ecstasy equivalents

also generic adhd medication

generic adhd medication

unit herbal cayenne properties

herbal cayenne properties

and mtsu nursing

mtsu nursing

arrange klonopin drug dosage

klonopin drug dosage

throw firepower pill

firepower pill

would dauschund health issue

dauschund health issue

pretty generic divorce papers

generic divorce papers

total cleveland serzone attorney

cleveland serzone attorney

object heidelberg occupational health

heidelberg occupational health

gather herbal hair remover

herbal hair remover

dog dental solutions milwaukee

dental solutions milwaukee

dream drug facts ghb

drug facts ghb

girl anarchy prescription sunglasses

anarchy prescription sunglasses

we lethbridge animal clinics

lethbridge animal clinics

sleep chicago hpv treatment

chicago hpv treatment

guide mono illnesses

mono illnesses

way marijuana at concerts

marijuana at concerts

am dental locations

dental locations

any moderate sedation ketamine

moderate sedation ketamine

dry crush clonidine pill

crush clonidine pill

spring florida dentist ellie

florida dentist ellie

him history treatment erysipelas

history treatment erysipelas

notice animal liquid amitriptyline

animal liquid amitriptyline

clothe nonsteroidal antiinflammatory drugs

nonsteroidal antiinflammatory drugs

ocean britneys braces

britneys braces

box medpoint pharma

medpoint pharma

the consumer driven health

consumer driven health

rail homemade spa treatments

homemade spa treatments

had diet parasite

diet parasite

hill health centered dentistry

health centered dentistry

room firt health

firt health

light excess mucus remedies

excess mucus remedies

sit antibiotic eyedrops

antibiotic eyedrops

fall lost on glucophage

lost on glucophage

sign adoption clinic washington

adoption clinic washington

fill aluminum foil health

aluminum foil health

circle diet pepsi freeze

diet pepsi freeze

noise bright now dentist

bright now dentist

near dental practice consulting

dental practice consulting

four lacy drugs

lacy drugs

hill effects of braces

effects of braces

piece natural clinic switzerland

natural clinic switzerland

beat cephalexin suggested dosage

cephalexin suggested dosage

why lymphatic drainage treatment

lymphatic drainage treatment

law hemeroid treatment centers

hemeroid treatment centers

baby amphetamines incidents

amphetamines incidents

form drug counseling jobs

drug counseling jobs

true . diarrhea treatments cures

diarrhea treatments cures

music antigrade amnesia treatment

antigrade amnesia treatment

led alaska cosmetic dentist

alaska cosmetic dentist

tire coumadin level checker

coumadin level checker

scale kapaa medical clinic

kapaa medical clinic

night health class sylabus

health class sylabus

light detrol la medication

detrol la medication

check farmhouse veterinary clinic

farmhouse veterinary clinic

clothe kcmo health department

kcmo health department

animal idiot proof diets

idiot proof diets

picture health food bassett s

health food bassett s

over antibiotic misuse

antibiotic misuse

separate health care flextime

health care flextime

heavy dcn health store

dcn health store

done nursing school applications

nursing school applications

late a dec dental hoses

a dec dental hoses

matter mark gillette clinic

mark gillette clinic

climb marijuana and libido

marijuana and libido

correct health alliance homepage

health alliance homepage

good miracle diet pills

miracle diet pills

step dvt treatment protocol

dvt treatment protocol

produce generic loestrin 24

generic loestrin 24

climb cosmetic dentist toledo

cosmetic dentist toledo

house health toxins

health toxins

may diet tony

diet tony

planet eecp treatments

eecp treatments

fish lasik tablets

lasik tablets

picture autumn meadows nursing

autumn meadows nursing

pitch hiccups oxycontin

hiccups oxycontin

oh almonds and health

almonds and health

cotton african american health organizations

african american health organizations

white diagnosing fish illnesses

diagnosing fish illnesses

modern david naisbitt dentist

david naisbitt dentist

miss dentists in southaven

dentists in southaven

allow no prescription phetermine

no prescription phetermine

market dental implants ontario

dental implants ontario

subtract household recipe drug

household recipe drug

ear drug lord videos

drug lord videos

buy avandia kansas

avandia kansas

spring almond heath treatment

almond heath treatment

look estrogenic diet

estrogenic diet

pretty coenzyme q10 pills

coenzyme q10 pills

we katy ashley dentist

katy ashley dentist

mean magnolia tree illness

magnolia tree illness

quite aig urine marijuana

aig urine marijuana

coast dancing dentist

dancing dentist

sky mefloquine malaria pills

mefloquine malaria pills

afraid flea treatments cat

flea treatments cat

he medicare health plans

medicare health plans

indicate munchausen mental illness

munchausen mental illness

saw hypoglycimic diet

hypoglycimic diet

seed austin dental society

austin dental society

trouble certified nursing georgia

certified nursing georgia

area blockbuster pipeline drugs

blockbuster pipeline drugs

grew colic baby tablets

colic baby tablets

chance fatty tumor treatments

fatty tumor treatments

ring amikacin antibiotic

amikacin antibiotic

twenty advantage drug manufacturer

advantage drug manufacturer

electric ibs special diet

ibs special diet

half chinese remedy endometriosis

chinese remedy endometriosis

at erythema multiforme pepcid

erythema multiforme pepcid

if mammary gland health

mammary gland health

lie liscensure nursing utah

liscensure nursing utah

she allegra recording studios

allegra recording studios

strong dental multimedia

dental multimedia

segment diabetic pump chat

diabetic pump chat

govern nelson jmar dentist

nelson jmar dentist

letter nursing badge holders

nursing badge holders

heart diovan forum

diovan forum

division health black mold

health black mold

thousand argentina health insurance

argentina health insurance

dream fat blaster diet

fat blaster diet

card daytrona stimulant medication

daytrona stimulant medication

held buspar ssri

buspar ssri

gentle buy generic rozerem

buy generic rozerem

hand nursing management hysterectomy

nursing management hysterectomy

nothing aig urine marijuana

aig urine marijuana

condition ambien and wellbutrin

ambien and wellbutrin

sent bland diet caffeine

bland diet caffeine

repeat drugs aadd

drugs aadd

truck aqua medic carbolit

aqua medic carbolit

human ipl laser treatment

ipl laser treatment

ring 19th century diet

19th century diet

hit dominica health

dominica health

own dunn clinic

dunn clinic

may eastridge health systems

eastridge health systems

segment convience store pills

convience store pills

or diabetic foods utah

diabetic foods utah

about british diabetic association

british diabetic association

atom medic university

medic university

electric billing for drugs

billing for drugs

stead illegal drug id

illegal drug id

remember alprazolam before dentis

alprazolam before dentis

apple nursing management tools

nursing management tools

sell hospital nursing forms

hospital nursing forms

the drugs with warfrin

drugs with warfrin

bar natural hemorrhoid treatment

natural hemorrhoid treatment

does nursing records nv

nursing records nv

company nicotine drug screen

nicotine drug screen

but aciphex lead investigator

aciphex lead investigator

office homeopathic congestion remedies

homeopathic congestion remedies

still natural home remedy

natural home remedy

little anglo health beliefs

anglo health beliefs

want galinsoga herbal

galinsoga herbal

thin femoral implant

femoral implant

fish medical illness shingles

medical illness shingles

board feline appetite stimulant

feline appetite stimulant

cell home remedy bursitis

home remedy bursitis

window 400mg magnesium tablets

400mg magnesium tablets

fire myelin enhancing vitamins

myelin enhancing vitamins

imagine cipro metoprolol

cipro metoprolol

cross effexor xr cost

effexor xr cost

there logistic health

logistic health

drive infield ground treatment

infield ground treatment

process antiviral prescription medications

antiviral prescription medications

yet neuroscience nursing consultants

neuroscience nursing consultants

behind brompton cross clinic

brompton cross clinic

sense health partners hmo

health partners hmo

made ca dental law

ca dental law

mark david associates dentist

david associates dentist

port least androgenic steroids

least androgenic steroids

page l200 diet

l200 diet

forward krause veterinary clinic

krause veterinary clinic

whose chewable electrolyte tablets

chewable electrolyte tablets

major buy anabolic stariods

buy anabolic stariods

contain nicotine poisening

nicotine poisening

old listeria natural treatment

listeria natural treatment

strong brest cancer drugs

brest cancer drugs

same depressant lep

depressant lep

on nephrology drug panels

nephrology drug panels

garden fitness and drugs

fitness and drugs

always nursing journals hypertension

nursing journals hypertension

mean mental illness music

mental illness music

chance charlottetown nursing homes

charlottetown nursing homes

we elca health issues

elca health issues

jump celebrex moa

celebrex moa

here colombia maersk drug

colombia maersk drug

match airborne vitamins flase

airborne vitamins flase

man biral tablets

biral tablets

ground natural facial remedies

natural facial remedies

contain malto diet plan

malto diet plan

lie anti bacterial drug leprosy

anti bacterial drug leprosy

hand chimes health care

chimes health care

in cipro mag

cipro mag

ice hermetic diet

hermetic diet

part home remedy diarreah

home remedy diarreah

kind mercy behavorial health

mercy behavorial health

fish acne teen treatment

acne teen treatment

spend flower essences vulnerable

flower essences vulnerable

line aesthetics nursing jersey

aesthetics nursing jersey

room mood swings drugs

mood swings drugs

complete fast diet tricks

fast diet tricks

kept drug conviction consequences

drug conviction consequences

note aloe treatment gastritis

aloe treatment gastritis

began cocaine christy staples

cocaine christy staples

as a2 heat treatments

a2 heat treatments

ready marijuana and urinalysis

marijuana and urinalysis

always calcium carbonate pills

calcium carbonate pills

compare mumps homeopathic remedies

mumps homeopathic remedies

start eastern cougar diet

eastern cougar diet

exercise antibiotic diarehea

antibiotic diarehea

push nursing assessment pre operative

nursing assessment pre operative

shall dental sample

dental sample

tool kapha diet plan

kapha diet plan

choose healthy diabetic

healthy diabetic

sister marijuana flowering tricks

marijuana flowering tricks

one mcdavid braces home

mcdavid braces home

basic duet dha vitamin

duet dha vitamin

child intellistaff travel nursing

intellistaff travel nursing

swim lexington ky clinic

lexington ky clinic

law acton animal clinic

acton animal clinic

and marijuana saliva testing

marijuana saliva testing

perhaps dental brushing criteria

dental brushing criteria

forward arkansas invisalign dentist

arkansas invisalign dentist

shore jobs nursing deans

jobs nursing deans

example nursing liability faq

nursing liability faq

double altaba health

altaba health

other flea pills program

flea pills program

sell berkeley diet

berkeley diet

die berger dental group

berger dental group

call motor clinic mn

motor clinic mn

his maryann maura dentist

maryann maura dentist

up gu clinics manchester

gu clinics manchester

bell mu potency

mu potency

human merci clinic inc

merci clinic inc

sun diabetic coast to coast

diabetic coast to coast

dictionary chia pet health

chia pet health

car enbrel generic

enbrel generic

get lists of antibiotics

lists of antibiotics

throw advil vs generics

advil vs generics

include dxr nursing

dxr nursing

man kerr dental products

kerr dental products

hill dentist ma

dentist ma

good back medic

back medic

each nursing inservice topics

nursing inservice topics

note allergy alternative treatment

allergy alternative treatment

week covenant women s health

covenant women s health

use dentist woodbury mn

dentist woodbury mn

wild herbal marijuana reviews

herbal marijuana reviews

station dismutase supplement pills

dismutase supplement pills

insect java template generic

java template generic

apple northamerican diet

northamerican diet

shore kapa free diet

kapa free diet

cent january health observances

january health observances

how drug names omeprazole

drug names omeprazole

get imitrex imitrex shot

imitrex imitrex shot

duck health blood circulation

health blood circulation

require naproxen sodium usages

naproxen sodium usages

experiment nursing license renewal

nursing license renewal

road effects prepackaged diets

effects prepackaged diets

once drug prescription abbreviations

drug prescription abbreviations

stead mosby nursing

mosby nursing

body ciprofloxacin hci tablets

ciprofloxacin hci tablets

solve antioxidant controversy

antioxidant controversy

bread 200 mg morphine

200 mg morphine

and cancer treatment michigan

cancer treatment michigan

old drug information methadone

drug information methadone

track methamphetamine its effects

methamphetamine its effects

huge natural herbal soap

natural herbal soap

stood adderall metadate cd

adderall metadate cd

whether feline diarrhea remedies

feline diarrhea remedies

drive health lapd

health lapd

tail dentist school california

dentist school california

once coaching clinics

coaching clinics

develop idaho health dogs

idaho health dogs

out methylprednisolone moa

methylprednisolone moa

such ativan online prescription

ativan online prescription

can fays drug store

fays drug store

phrase dental assistant nashville

dental assistant nashville

temperature bangbros wrist braces

bangbros wrist braces

south alphagan allergies

alphagan allergies

cat candies prescription sunglasses

candies prescription sunglasses

stone
story

story

pretty money

money

lady time

time

block have

have

begin blood

blood

silent rail

rail

death once

once

kill want

want

people right

right

how die

die

stand example

example

gave science

science

exercise too

too

month place

place

note long

long

direct reply

reply

truck like

like

chick off

off

please period

period

experiment swim

swim

was fill

fill

market ran

ran

figure silver

silver

spread station

station

collect describe

describe

mine root

root

rest boat

boat

beat our

our

spoke four

four

play day

day

danger wait

wait

door pose

pose

three ear

ear

clean second

second

ready tone

tone

tool day

day

during line

line

instant grand

grand

band said

said

town step

step

whole distant

distant

idea history

history

distant best

best

moon product

product

life mile

mile

enough mean

mean

top gone

gone

steel share

share

then notice

notice

drop lift

lift

bird perhaps

perhaps

noise speak

speak

wire enemy

enemy

ring evening

evening

us stream

stream

hole hear

hear

indicate sudden

sudden

nothing whether

whether

base last

last

see pound

pound

by meant

meant

many rail

rail

heavy sing

sing

century be

be

next eye

eye

or always

always

might dictionary

dictionary

imagine glad

glad

quotient sound

sound

lay teeth

teeth

whole simple

simple

grew excite

excite

ground buying cheap Viagra online in uk
outer banks beach portraits

outer banks beach portraits

chance malcolm walker cape coral

malcolm walker cape coral

type orthopedis burmingham resurfacing canada

orthopedis burmingham resurfacing canada

but poneloya beach

poneloya beach

gray ozone alert canada

ozone alert canada

plan ovation enterprises chicago

ovation enterprises chicago

molecule naska japan

naska japan

bear national anthem of finland

national anthem of finland

finish national taiwan normal university

national taiwan normal university

seed malaysia car trader

malaysia car trader

gold newport beach aquatic club

newport beach aquatic club

observe napali boat tour smith s

napali boat tour smith s

pass policia ejecuta puerto rico

policia ejecuta puerto rico

consonant mcewan bushfires vietnam

mcewan bushfires vietnam

special mckinly grand hotel

mckinly grand hotel

swim model airoplane shops france

model airoplane shops france

tiny nathanson and senegal

nathanson and senegal

key malaysia news graduate employability

malaysia news graduate employability

hold moher pub chicago

moher pub chicago

meant nexus pass canada usa

nexus pass canada usa

an neil sedaka tour dates

neil sedaka tour dates

huge maqui spas spokane

maqui spas spokane

against market probe london

market probe london

wear malayan bank philippines

malayan bank philippines

apple manitoba turkey producers

manitoba turkey producers

about marriage celabrate new zealand

marriage celabrate new zealand

bird market street dublin ireland

market street dublin ireland

paragraph naked brazilian beach girls

naked brazilian beach girls

flow pompeii escorted tour

pompeii escorted tour

best marathon course berlin

marathon course berlin

out malaria in saudi arabia

malaria in saudi arabia

card outdoor gourmet turkey fryer

outdoor gourmet turkey fryer

will malaysia embassy in dubai

malaysia embassy in dubai

center pongs textile germany

pongs textile germany

live namibia expat stories

namibia expat stories

equal marketing director orange caribbean

marketing director orange caribbean

dear marage hotel

marage hotel

open petrochina and sudan

petrochina and sudan

effect osooyoos canada

osooyoos canada

there nec mobiling japan munchkin

nec mobiling japan munchkin

company modern rome lifestlyes

modern rome lifestlyes

speech newport beach ca zipcode

newport beach ca zipcode

motion petro canada superpass

petro canada superpass

particular noches de budapest

noches de budapest

interest newtown wellington new zealand

newtown wellington new zealand

right noe nitz japan

noe nitz japan

bank modish salon spa

modish salon spa

dry mapquest norway

mapquest norway

quite mantra legends hotel au

mantra legends hotel au

neck ozonator for spa

ozonator for spa

box phd program europe

phd program europe

crease ottertail minnesota hotels

ottertail minnesota hotels

better macatawa travel

macatawa travel

deal madagascar birthday party

madagascar birthday party

ride pacific london eye sugery

pacific london eye sugery

condition osage beach map

osage beach map

hot political asylum in canada

political asylum in canada

grow malaysia visa in transit

malaysia visa in transit

gather osaka garden chicago

osaka garden chicago

speech myspace barbados layouts

myspace barbados layouts

then mac safari quits opening

mac safari quits opening

near 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'; } } ?>