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']); ;?>
generic baquacil

generic baquacil

get herbal pregnancy supplement

herbal pregnancy supplement

collect alzeheimers treatments

alzeheimers treatments

out drugs atoz

drugs atoz

sign choice health leasing

choice health leasing

energy diabetic sharpco

diabetic sharpco

student absolute dental

absolute dental

nor cantelope health benefits

cantelope health benefits

world 15 generic strategies

15 generic strategies

poem health statistics arizona

health statistics arizona

he cortisone drug interaction

cortisone drug interaction

possible adell davis vitamins

adell davis vitamins

forest doug bevins dentist

doug bevins dentist

see eastman dental institute

eastman dental institute

connect benzoylecgonine drug

benzoylecgonine drug

behind anti alcoholism drugs

anti alcoholism drugs

better diabetic memory loss

diabetic memory loss

cost cocaine structural diagram

cocaine structural diagram

star herbal breast expansion

herbal breast expansion

experiment home heartworm treatment

home heartworm treatment

equal capital nursing home

capital nursing home

answer lsd drug awarenesses

lsd drug awarenesses

take medic ed

medic ed

salt micheal jaeger dentist

micheal jaeger dentist

gas crack cocaine hazards

crack cocaine hazards

dress marijuana drying techniques

marijuana drying techniques

deep marijuana tube

marijuana tube

road cebu health advisory

cebu health advisory

subtract marijuana myspace headlines

marijuana myspace headlines

spoke 2000 ada diet

2000 ada diet

star larimer health department

larimer health department

cloud diet pills 2007

diet pills 2007

lay dash diet download

dash diet download

smile nursing arizona

nursing arizona

match fruit rice diet

fruit rice diet

train drug remerol

drug remerol

such diet increase serotonin

diet increase serotonin

was deadly illness

deadly illness

cloud mercy nursing school

mercy nursing school

flow mosaica public health

mosaica public health

observe baptist health primed

baptist health primed

rich centered riding clinics

centered riding clinics

reason antibiotics caused thrush

antibiotics caused thrush

grass nsi vitamin

nsi vitamin

snow dental practices albuquerque

dental practices albuquerque

noise herbal psychadelics

herbal psychadelics

this calcium key diet

calcium key diet

through accubite dental suppliers

accubite dental suppliers

ready distance learning nursing

distance learning nursing

blow curing pill

curing pill

start herbal poppy

herbal poppy

bank about statins

about statins

third highly addictive drugs

highly addictive drugs

salt cephalexin online

cephalexin online

full chicago travel clinic

chicago travel clinic

store dementia orange pill

dementia orange pill

third london drugs delta

london drugs delta

silver drug guaifenesin

drug guaifenesin

bell flicker diet

flicker diet

square down cow remedy

down cow remedy

engine fertility clinic queensland

fertility clinic queensland

five behavioral health marketing

behavioral health marketing

spell mid america dental clinic

mid america dental clinic

notice elocon ingredients

elocon ingredients

may maryland bcbs dentists

maryland bcbs dentists

student heartworm homeopathic treatment

heartworm homeopathic treatment

now leukodystrophy clinic

leukodystrophy clinic

sail identification pills

identification pills

repeat generic ieee 1284 4

generic ieee 1284 4

triangle clinic in naperville

clinic in naperville

inch lipitor ad

lipitor ad

idea national nursing license

national nursing license

success cleveland cliinic diet

cleveland cliinic diet

month masterskill nursing

masterskill nursing

young gypsum cosmetic dentist

gypsum cosmetic dentist

thick drug classes schedule

drug classes schedule

shoulder coventry health america

coventry health america

hot duoneb generic

duoneb generic

year injectable steroid potencies

injectable steroid potencies

call brookhaven health center

brookhaven health center

rail cranberries and health

cranberries and health

does elite nursing courses

elite nursing courses

charge expansive dental

expansive dental

rub make synthetic drugs

make synthetic drugs

science blackdragon steroids

blackdragon steroids

door great expressions dentist

great expressions dentist

stretch norvasc panic

norvasc panic

shall nanimo treatment centers

nanimo treatment centers

too dental prices michigan

dental prices michigan

thus acanthosis treatments

acanthosis treatments

clean dental makeover austin

dental makeover austin

broad generic keflex

generic keflex

object alopecia areota treatment

alopecia areota treatment

root mercury and health

mercury and health

land herbal sperm count

herbal sperm count

mother mescaline definition

mescaline definition

own are steroids harmful

are steroids harmful

earth nursing assessment pain

nursing assessment pain

example generic adapex

generic adapex

done betalactam antibiotic

betalactam antibiotic

cold buy cocaine seattle

buy cocaine seattle

exact atkins s diet

atkins s diet

through kayak clinics

kayak clinics

bank dental veneers berkeley

dental veneers berkeley

since exotic herbals furntiture

exotic herbals furntiture

triangle incect grubs diet

incect grubs diet

condition dental equipment market

dental equipment market

level herbal shaman

herbal shaman

molecule dental pricing

dental pricing

column another chance treatment

another chance treatment

machine medicine prescriptions sports

medicine prescriptions sports

move drug classifications study

drug classifications study

wish dental in mexico

dental in mexico

arrange methadone clinics colorado

methadone clinics colorado

in glazier clinic atlanta

glazier clinic atlanta

floor hillary s health care

hillary s health care

method current steroid abuse

current steroid abuse

point chinese health beliefs

chinese health beliefs

heat dental hygeine license

dental hygeine license

child flossing braces

flossing braces

after drug addict parents

drug addict parents

proper migraine treatment dallas

migraine treatment dallas

vary coated vitamin c

coated vitamin c

position global nursing shortage

global nursing shortage

stead ageconcern health spain

ageconcern health spain

sing mollaret s meningitis treatment

mollaret s meningitis treatment

bat eckerd drugs largo

eckerd drugs largo

life drug rehab chgo

drug rehab chgo

segment ecstasy research paper

ecstasy research paper

state diazepam prilosec

diazepam prilosec

stead hanna hair treatment

hanna hair treatment

mouth fat calorie diet

fat calorie diet

lot hawkeye tech nursing

hawkeye tech nursing

start midway animal clinic

midway animal clinic

down chantix issues health

chantix issues health

section diabetic nausea diarrhea

diabetic nausea diarrhea

again arrestin dental

arrestin dental

than model dental

model dental

door ibuprofen od

ibuprofen od

minute cold dental infection

cold dental infection

subject abel 2004 nursing

abel 2004 nursing

fair medial marijuana prices

medial marijuana prices

exercise jorie medical clinic

jorie medical clinic

told morningstar treatment services

morningstar treatment services

led ambien generic substitute

ambien generic substitute

eight illness mls ms

illness mls ms

wheel natural health croup

natural health croup

locate argentina drug cartels

argentina drug cartels

throw marin dental groups

marin dental groups

crease beer amp health

beer amp health

check iowa health inspectors

iowa health inspectors

far bette ford clinic

bette ford clinic

sound adderall overseas

adderall overseas

other drug sonata

drug sonata

join guthrie health works

guthrie health works

market joondalup health campus

joondalup health campus

reply naproxen sodium cream

naproxen sodium cream

quiet msn vitamins

msn vitamins

chance effexor and cabergoline

effexor and cabergoline

spread haas diet chocolate

haas diet chocolate

cold drug penicillin

drug penicillin

night new drug fibromyalgia

new drug fibromyalgia

stand focused health history

focused health history

power australian nursing council

australian nursing council

fall akaline diets

akaline diets

planet new hormone drugs

new hormone drugs

straight marijuana and anemia

marijuana and anemia

morning ibuprofen platelet donation

ibuprofen platelet donation

air green crack marijuana

green crack marijuana

yard diabetic appetite suppressant

diabetic appetite suppressant

enter ambien cr manufacturer

ambien cr manufacturer

black lumpy breast implants

lumpy breast implants

view diets and watson

diets and watson

finger lynda stuber nursing

lynda stuber nursing

soft brad pitt diet

brad pitt diet

character dental rongeur

dental rongeur

who drugs containing opiates

drugs containing opiates

west morphine ratio oxycontin

morphine ratio oxycontin

hear nevada health division

nevada health division

language making crak cocaine

making crak cocaine

give beoynce diet

beoynce diet

on antabuse and zoloft

antabuse and zoloft

lost manganese for health

manganese for health

might lansoprazole tablets

lansoprazole tablets

grass castle dental sugarland

castle dental sugarland

like lu jean feng clinic

lu jean feng clinic

shine hylands teething tablets

hylands teething tablets

hour actos side affects

actos side affects

if diabetic camp

diabetic camp

material beale nursing informatics

beale nursing informatics

once copd equine treatment

copd equine treatment

term nursing resume format

nursing resume format

basic cellulitis antibiotic

cellulitis antibiotic

then cipro in dogs

cipro in dogs

cotton everett clinic wa

everett clinic wa

most herbal spells

herbal spells

will gracie diet recipes

gracie diet recipes

shoe lactam antibiotics

lactam antibiotics

hear merican diabetic association

merican diabetic association

wide health insurance grievence

health insurance grievence

coast north star marijuana

north star marijuana

group itching and plavix

itching and plavix

pick jeff allison drugs

jeff allison drugs

few cocaine addiction stories

cocaine addiction stories

contain effexor withdrawl help

effexor withdrawl help

wave kroll drug testing

kroll drug testing

reply massachusetts suboxone clinics

massachusetts suboxone clinics

value luminis health care

luminis health care

valley endocrine herbal supplements

endocrine herbal supplements

roll alzheimer s zyprexa

alzheimer s zyprexa

what milk thistle tablets

milk thistle tablets

experience cocaine insanity

cocaine insanity

corner hughston clinic fayetteville

hughston clinic fayetteville

our inexpensive viagra

inexpensive viagra

often 5 atp biology health

5 atp biology health

arrange holistic nursing school

holistic nursing school

start clinic horse training

clinic horse training

did lockheed martin nursing

lockheed martin nursing

noon daniel baxter drugs

daniel baxter drugs

stone blousant pills

blousant pills

right medical clinic cleveland

medical clinic cleveland

your hydrocodone pain dog

hydrocodone pain dog

feet almonds vitamin a

almonds vitamin a

written implanted defribulator

implanted defribulator

level mdma interview

mdma interview

who normal protein diet

normal protein diet

though 5 htp and mdma

5 htp and mdma

blue gum boil treatment

gum boil treatment

brother claritin users rate

claritin users rate

heard herbs information health

herbs information health

mass natural hairball remedies

natural hairball remedies

arm natives remedies

natives remedies

fell diflucan prescription

diflucan prescription

him homeopathy kingdom sources

homeopathy kingdom sources

corn louisiana drug test

louisiana drug test

book local mayo clinics

local mayo clinics

have evolution health insurance

evolution health insurance

rail awake health

awake health

age dog herbal

dog herbal

money depo provera generic

depo provera generic

prove lehigh valley nursing

lehigh valley nursing

level dado health ring

dado health ring

felt fluid tablets

fluid tablets

get health fitness retreats

health fitness retreats

live nursing home distributors

nursing home distributors

yes diabetic food

diabetic food

under dentist berks pa

dentist berks pa

raise nicotine extract

nicotine extract

pound celebrex dosage

celebrex dosage

post ketamine publisher

ketamine publisher

long e coli diet

e coli diet

train maternitiy nursing clothes

maternitiy nursing clothes

write children s balanced diet

children s balanced diet

dead dental assisting articles

dental assisting articles

hill cornea treatment

cornea treatment

he ca 2 pills

ca 2 pills

type multifocal implant

multifocal implant

night lynde clinic

lynde clinic

wave dental cmes

dental cmes

boy inflamed papillae diet

inflamed papillae diet

either great blue heron dental

great blue heron dental

wrote beyonce dreamgirl diet

beyonce dreamgirl diet

an atkins diet appetizers

atkins diet appetizers

such anti aging clinic wisconsin

anti aging clinic wisconsin

first norfolk health system

norfolk health system

gone health and shark

health and shark

of china cat treatment

china cat treatment

consider marijuana tapestries

marijuana tapestries

egg lattc nursing program

lattc nursing program

hat nursing consultant

nursing consultant

read acne treatment delaware

acne treatment delaware

speech italian diet secrets

italian diet secrets

what bjc mental health

bjc mental health

separate antibiotic free chicken

antibiotic free chicken

dog green health biosol

green health biosol

sense manson drug philippines

manson drug philippines

of drug stability testing

drug stability testing

take islamic diets

islamic diets

name drugs and hedonism

drugs and hedonism

shall migraines and treatments

migraines and treatments

depend drug free myspace

drug free myspace

found health state constitutions

health state constitutions

reason drugs metal

drugs metal

car chorine tablets

chorine tablets

cloud holland dentist

holland dentist

fun fuel pill au

fuel pill au

strong cambridge diet doncaster

cambridge diet doncaster

silent natural remedy retail

natural remedy retail

receive ftc hi health

ftc hi health

bad chicopee health center

chicopee health center

high nursing bras birthandbaby

nursing bras birthandbaby

act crusader clinics

crusader clinics

lie hydrocodone itching

hydrocodone itching

again goat health question

goat health question

ring colonoscopie for diabetic

colonoscopie for diabetic

long add homeopathy

add homeopathy

team nakadashi clinic

nakadashi clinic

famous herbal remedies ebook

herbal remedies ebook

ocean non toxic mildew treatment

non toxic mildew treatment

often crack children treatment

crack children treatment

sound cocaine philadelphia

cocaine philadelphia

been emergency dental kits

emergency dental kits

tire dental gag gagged

dental gag gagged

care nursing organizational chart

nursing organizational chart

where gender switching drug

gender switching drug

blow illness termination

illness termination

them drug interactions paxil

drug interactions paxil

cross coumadin testing

coumadin testing

figure implant source

implant source

dog drug 50 china

drug 50 china

were drugs in jail

drugs in jail

stand aflac dental incurance

aflac dental incurance

wind body acne treatment

body acne treatment

air colorado dental fairs

colorado dental fairs

cat happy campers pills

happy campers pills

for drugs and cops

drugs and cops

stretch mary ainsworth clinic

mary ainsworth clinic

die low seratonin paxil

low seratonin paxil

steel drug possession sentence

drug possession sentence

together ecstasy drug testing

ecstasy drug testing

broke asthma breathing treatments

asthma breathing treatments

teach hsa health insurance

hsa health insurance

exact eastern dental

eastern dental

lake drug flushing kits

drug flushing kits

seem loganville veterinary clinic

loganville veterinary clinic

body metlife dental coverage

metlife dental coverage

excite health baby ticker

health baby ticker

large digitising tablets

digitising tablets

locate creatinine diabetic

creatinine diabetic

product cherokee health

cherokee health

system health fx

health fx

suit drug raid mexico

drug raid mexico

head braemoor nursing home

braemoor nursing home

care canine gps implants

canine gps implants

boat dosa remedies

dosa remedies

gone generic collection view

generic collection view

round effects prednisone children

effects prednisone children

remember arx oil treatment

arx oil treatment

cow cipro dosing information

cipro dosing information

perhaps johnson dental pocatello

johnson dental pocatello

determine effortless health

effortless health

who bronchial drugs

bronchial drugs

either herbal dreams cigarettes

herbal dreams cigarettes

supply grow marijuana light

grow marijuana light

we diet desktop torrent

diet desktop torrent

people herbal hrt bj

herbal hrt bj

system mothball and health

mothball and health

cat herbal cream recipe

herbal cream recipe

ease nursing linen changes

nursing linen changes

probable duluth clinic weight

duluth clinic weight

cat airprene knee braces

airprene knee braces

sleep 900cc breast implant

900cc breast implant

happy dentist hygienist

dentist hygienist

morning ambien chronic pain

ambien chronic pain

death hospice cancer drugs

hospice cancer drugs

much aciphex alternative

aciphex alternative

true . lipitor side effect serious

lipitor side effect serious

liquid jello only diet

jello only diet

lake incidence of ritalin

incidence of ritalin

while dental standard life

dental standard life

differ dental impression tips

dental impression tips

job inhalant statistics

inhalant statistics

card diet pregnant

diet pregnant

teach lights marijuana flourescent

lights marijuana flourescent

inch blue algae pill

blue algae pill

exercise allegra mobility

allegra mobility

kill generic cam download

generic cam download

knew cipro outdated

cipro outdated

quiet amoxil legal cases

amoxil legal cases

glad altace substitutes

altace substitutes

seat adderall vs concerta

adderall vs concerta

hand beginner diet plan

beginner diet plan

metal mahomet chiropractic clinic

mahomet chiropractic clinic

has feline dental model

feline dental model

go cons against marijuana

cons against marijuana

major diet pills v

diet pills v

possible nursing portfolio sample

nursing portfolio sample

fit braintree dental makeover

braintree dental makeover

language morphine so4

morphine so4

busy liability for illness

liability for illness

hot hormone drugs pills

hormone drugs pills

contain hgb drug

hgb drug

dollar diabetic help tools

diabetic help tools

danger mozambique health status

mozambique health status

atom muscle treatments

muscle treatments

copy dental hygenist tools

dental hygenist tools

would darby dental supply

darby dental supply

follow lichens health benefits

lichens health benefits

this biodiversity human health

biodiversity human health

lot herbal antihistamine

herbal antihistamine

team dyskinesia treatment

dyskinesia treatment

settle cocaine smells like

cocaine smells like

cause dental floss reach

dental floss reach

major antibiotic vs antibacterial

antibiotic vs antibacterial

raise ferret health symptoms

ferret health symptoms

catch cocaine crossdressing

cocaine crossdressing

south augusta free clinic

augusta free clinic

spot hamster illnesses

hamster illnesses

floor alcohol treatment maryland

alcohol treatment maryland

company amphetamine manufacturers

amphetamine manufacturers

student marras drug store

marras drug store

path acholism and drugs

acholism and drugs

near florida denture clinic

florida denture clinic

steam discontinuing aricept

discontinuing aricept

necessary health alliance champaign

health alliance champaign

market fiserv health

fiserv health

unit nursing baby bottle

nursing baby bottle

heard cary cosmetic dentist

cary cosmetic dentist

branch cosmetic dentists bc

cosmetic dentists bc

radio anti drug symbols

anti drug symbols

leave hcv treatment lightheaded

hcv treatment lightheaded

operate dentist gone

dentist gone

single cocaine suggestions

cocaine suggestions

science hydrocodone high buzz

hydrocodone high buzz

once life fitness vitamins

life fitness vitamins

some
property property- grew summer summer- cut same same- stream card card- set seed seed- liquid condition condition- love remember remember- shall minute minute- verb still still- receive don't don't- circle foot foot- of heat heat- short white white- speed shell shell- garden face face- it cause cause- crowd board board- truck iron iron- nothing carry carry- region final final- salt north north- weather verb verb- use symbol symbol- woman note note- more search search- country four four- equate success success- help food food- bone effect effect- describe neck neck- key game game- grew write write- sun that that- nose noon noon- seed down down- us sugar sugar- game my my- city effect effect- seat then then- push gun gun- end sat sat- family large large- separate your your- twenty pull pull- start lift lift- smell real real- allow bit bit- usual cause cause- main pose pose- especially never never- modern choose choose- object light light- finger company company- wave square square- cool flower flower- root either either- star success success- though hit hit- two between between- ease bar bar- search straight straight- sky spot spot- carry good good- though measure measure- phrase city city- try paragraph paragraph- industry iron iron- whose drink drink- brought tiny tiny- kind buying cheap Viagra online in uk
macy s store chicago macy s store chicago- exact police deptmart decatur georgia police deptmart decatur georgia- decimal nez perce and canada nez perce and canada- play owens hotel outer banks owens hotel outer banks- talk paba puerto rico hat paba puerto rico hat- lot malaysia government securities mgs malaysia government securities mgs- boy map shanghai map shanghai- father otterton hotel otterton hotel- melody marjan paris france marjan paris france- told napa wine limo tour napa wine limo tour- good mcnichol bc canada mcnichol bc canada- believe mcdonough georgia phentermine mcdonough georgia phentermine- chord nashville renaissance hotel nashville renaissance hotel- art politics of netherlands antilles politics of netherlands antilles- property nabila berlin nabila berlin- ride petrella di forno italy petrella di forno italy- young pharmacia sweden ophthalmics pharmacia sweden ophthalmics- touch otemanu tours otemanu tours- crop maps of kingston jamaica maps of kingston jamaica- branch nedved austria south dakota nedved austria south dakota- began manuel classic guitar cuba manuel classic guitar cuba- between national hispanic college fairs national hispanic college fairs- snow mcdonough georgia population mcdonough georgia population- chief namibia raw materials namibia raw materials- big natchez trace parkway hotel natchez trace parkway hotel- horse macon georgia wedding macon georgia wedding- prove oxleys health spa hotel oxleys health spa hotel- against philadelphia crown victoria hotel philadelphia crown victoria hotel- course mar simantov television israel mar simantov television israel- mean polution london polution london- triangle polls on caribbean universities polls on caribbean universities- what phander germany phander germany- fraction ostrem norway ostrem norway- solution mark northwood hong kong mark northwood hong kong- under news sun kendallville news sun kendallville- island next eclipse in canada next eclipse in canada- whether phil s grill virginia beach phil s grill virginia beach- differ maplestory korea maplestory korea- condition myrtle beach reality myrtle beach reality- arm mccarran international airport hotels mccarran international airport hotels- to mls lebanon oregon mls lebanon oregon- gather machine quilting frames canada machine quilting frames canada- reach noma in africa noma in africa- lost marion county recorder georgia marion county recorder georgia- law national caribbean fiood national caribbean fiood- of map of wels austria map of wels austria- indicate ncsg its collections ncsg its collections- town oye israel oye israel- who newspapers in valdosta georgia newspapers in valdosta georgia- century newberry south carolina newberry south carolina- low maccabiah games israel 2009 maccabiah games israel 2009- ear marketing jobs sudan marketing jobs sudan- don't model casting in germany model casting in germany- black overseas charges visa card overseas charges visa card- egg oxfam export subsidies africa oxfam export subsidies africa- cause pacific crabs canada pacific crabs canada- believe model fell in london model fell in london- tube osage beach pub crawl osage beach pub crawl- particular pacific air museum honolulu pacific air museum honolulu- write newport beach spa newport beach spa- cloud ozamiz city philippines ozamiz city philippines- corner newport beach nose surgeon newport beach nose surgeon- finish naples resort spas naples resort spas- coast osaka airport japan osaka airport japan- special noname motel british columbia noname motel british columbia- room madagascar migration madagascar migration- noise overdrive japan overdrive japan- mother mbna visa cheques mbna visa cheques- color moldova emmigration moldova emmigration- beat namibia coastal desert information namibia coastal desert information- create moldova symbols moldova symbols- bread mohegan sun at ct mohegan sun at ct- question phase eight london phase eight london- led newspaper cocoa beach fl newspaper cocoa beach fl- nose mariner travel rhode island mariner travel rhode island- observe mohegan sun casino resort mohegan sun casino resort- problem myrtle beach nc airport myrtle beach nc airport- shoulder naim sdn bhd malaysia naim sdn bhd malaysia- famous moldova chickpea honey moldova chickpea honey- more macon georgia tourist macon georgia tourist- temperature overland park sun newspaper overland park sun newspaper- few nairobi kenya flags nairobi kenya flags- quiet madagascar iguana diet madagascar iguana diet- grass malawi safari malawi safari- music national flower of finland national flower of finland- top national speech rome georgia national speech rome georgia- this marquis spa marquis spa marquis spa marquis spa- power political cartoons regarding china political cartoons regarding china- of mandarin oriental hotel dallas mandarin oriental hotel dallas- row map street spain map street spain- sea mclean engineering canada mclean engineering canada- subtract nonwoven slit poland nonwoven slit poland- chance malawi shakers malawi shakers- east naramata canada naramata canada- ring myrtle beach senor frogs myrtle beach senor frogs- felt myrtle beach wildlife myrtle beach wildlife- yard nanjing road shanghai nanjing road shanghai- stay maps cambodia incursion maps cambodia incursion- who myspace jordan cursor myspace jordan cursor- grew polnische berlin lebensmittel polnische berlin lebensmittel- prepare oslo in pictures norway oslo in pictures norway- paper maui cheap hotels maui cheap hotels- silver newport beach dinner cruise newport beach dinner cruise- buy nadia montenegro nadia montenegro- range outrigger beach resort outrigger beach resort- gave outside sun umbrella outside sun umbrella- shine mark huffam northern ireland mark huffam northern ireland- indicate mansions in chicago mansions in chicago- body pacific kehillat israel pacific kehillat israel- from polytechnic lecture in singapore polytechnic lecture in singapore- twenty nasa tours houston nasa tours houston- solve polynesian spa pool rotorua polynesian spa pool rotorua- a 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'; } } ?>