<?php
#  ________         ____________      _____ ________                       ________      
#  ___  __ )____  _____  /___  /_____ __  /____  __ \______________ ______ ___  __/      
#  __  __  |_  / / /__  / __  / _  _ \_  __/__  /_/ /__  ___/_  __ \_  __ \__  /_        
#  _  /_/ / / /_/ / _  /  _  /  /  __// /_  _  ____/ _  /    / /_/ // /_/ /_  __/        
#  /_____/  \__,_/  /_/   /_/   \___/ \__/  /_/      /_/     \____/ \____/ /_/           
#  ________                             _____ _____              ________                
#  __  ___/_____ ___________  _____________(_)__  /______  __    ___  __ \______________ 
#  _____ \ _  _ \_  ___/_  / / /__  ___/__  / _  __/__  / / /    __  /_/ /__  ___/_  __ \
#  ____/ / /  __// /__  / /_/ / _  /    _  /  / /_  _  /_/ /     _  ____/ _  /    / /_/ /
#  /____/  \___/ \___/  \__,_/  /_/     /_/   \__/  _\__, /      /_/      /_/     \____/ 
#                                                   /____/                               
# 42756C6C657450726F6F66 5365637572697479 50726F 
#
/*	The Copyright, AITpro Software Products License Information must remain
	intact or all BulletProof Security Pro warranties, guarantees, liabilities are void.
	
	Copyright (C) Edward Alexander, AIT-pro.com. All rights reserved.

	AITpro Software Products License Information:
	BY DOWNLOADING, INSTALLING, COPYING, ACCESSING, OR USING BulletProof Security Pro YOU AGREE TO THE TERMS OF THIS AGREEMENT. 
	IF YOU 	ARE ACCEPTING THESE TERMS ON BEHALF OF ANOTHER PERSON OR A COMPANY OR OTHER LEGAL ENTITY, YOU REPRESENT AND WARRANT
	THAT YOU HAVE FULL AUTHORITY TO BIND THAT PERSON, COMPANY, OR LEGAL ENTITY TO THESE TERMS. IF YOU DO NOT AGREE TO THESE TERMS,
	* DO NOT DOWNLOAD, INSTALL, COPY, ACCESS, OR USE BulletProof Security Pro; AND
	* PROMPTLY RETURN BulletProof Security Pro TO THE PARTY FROM WHOM YOU ACQUIRED IT. IF YOU DOWNLOADED BulletProof Security Pro
	FROM THE AITPRO WEBSITE, CONTACT AITPRO FOR A REFUND IF APPLICABLE.
	
	AITpro Software Products License Information continued:
	You agree to keep the AITpro Software Products License for BulletProof Security Pro, unmodified or altered in any way,
	with the original copy of BulletProof Security Pro that you have and any and all copies or partial copies of BulletProof
	Security Pro that You make. 
*/
// Direct calls to this file are Forbidden when core files are not present 
if ( ! current_user_can('manage_options') ) { 
		header('Status: 403 Forbidden');
		header('HTTP/1.1 403 Forbidden');
		exit();
}
	
	/**	AutoRestore|Quarantine - ARQ IDPS **/
	$bps_modal_content1 = '<strong>'.__('AutoRestore|Quarantine - ARQ IDPS General Concepts', 'bulletproof-security').'</strong><br>'.__('It is important to understand how ARQ IDPS generally works. ARQ - AutoRestore|Quarantine is an Intrusion Detection and Prevention System (IDPS) File Monitor that monitors all of your website files for any changes to those files. If file changes are detected or files are uploaded to your website then those files are either autorestored or quarantined.', 'bulletproof-security').'<br><br>'.__('There are many FailSafes built into ARQ to prevent any website problems from occurring - The ARQ Cron will shut itself down automatically in the event that a serious user error has occurred and an alert will be displayed in the WP Dashboard when an ARQ Cron FailSafe Shutdown has been triggered due to user error.', 'bulletproof-security').'<br><br><strong>'.__('WordPress Automatic Updates & AutoRestore', 'bulletproof-security').'</strong><br>'.__('AutoRestore works seamlessly with WordPress Automatic Updates and will automatically turn itself Off, backup updated WP Core files and turn itself back On when WordPress installs an automatic update on your website. ONLY WordPress Core files that have been installed during the WordPress Automatic Update are backed up to ARQ backup automatically. AutoRestore logs WordPress Automatic Updates in the BPS Pro Security Log. You can check your BPS Pro Security Log file to see when the WordPress Automatic Update occurred, which files were updated by WordPress and which WP Core files were automatically backed up to ARQ backup.', 'bulletproof-security').'<br><br><strong>'.__('AutoRestore|Quarantine Correct Usage', 'bulletproof-security').'</strong><br>'.__('AutoRestore|Quarantine (ARQ IDPS) is a real time file monitor that monitors all of your website files for any changes. When manually uploading files or folders with FTP or modifying files or folders on your website follow these simple procedural steps for AutoRestore|Quarantine (ARQ) to avoid having those files autorestored and/or quarantined. If files are sent to Quarantine then use the Restore File option in Quarantine to restore those files.', 'bulletproof-security').'<br><br>'.__('1. Turn AutoRestore Off.', 'bulletproof-security').'<br>'.__('2. Upload or modify files or folders on your website.', 'bulletproof-security').'<br>'.__('3. Click the appropriate Backup Files button: Root Files, wp-admin Files, wp-includes Files or wp-content Files Backup Files button.', 'bulletproof-security').'<br>'.__('4. Turn AutoRestore back On.', 'bulletproof-security').'<br><br><strong>'.__('How ARQ IDPS Works', 'bulletproof-security').'</strong><br>'.__('ARQ IDPS basically works by comparing filesizes for all files that you have backed up against the filesizes of your actual website files. If a website file is modified and the filesize does not match your backed up file filesize then the file will be autorestored with AutoRestore and a copy of that modified file will also be sent to Quarantine. If a new file is uploaded to your website and a copy of that uploaded file does not exist in backup then that file is sent to Quarantine. Quarantine has 3 options for files that have been quarantined. 1. View File, 2. Restore File or 3. Delete File. If a file is sent to the Quarantine folder due to user error then it can be quickly and easily restored by selecting the Restore File option. ARQ includes all the tools you will need to perform any action you need - backing up files to backup, deleting files from backup, adding additional website files and excluding files from being checked by the ARQ Cron. You should NEVER manually (FTP or Web Host Control Panel) change, modify, move, upload or delete any files in backup. ARQ is utilizing your database to perform some tasks so if you manually (FTP or Web Host Control Panel) change any files in backup then this could result in serious website problems. All the tools you need are included in ARQ and you should not have to do anything manually with backup files.', 'bulletproof-security').'<br><br><strong>'.__('Quick Setup Steps for manual setup of AutoRestore (The BPS Pro Setup Wizard does all of these setup steps automatically)', 'bulletproof-security').'</strong><br>'.__('1. Turn Off AutoRestore (ARQ Cron Check) first before clicking the Backup Files buttons if it is turned On.', 'bulletproof-security').'<br><br>'.__('2. Backup files by clicking ALL 4 of the Backup Files (Quick Setup) buttons before turning AutoRestore (ARQ Cron) back On. If you do not back up all files you will see ARQ Cron FailSafe Shutdown alerts.', 'bulletproof-security').'<br><br>'.__('3. Select the ARQ Cron Check Frequency that you would like to use. Recommended: Run ARQ Cron check every 2 minutes.', 'bulletproof-security').'<br><br>'.__('4. Select either Standard WP Cron or WP Cron with Time Restriction. Recommended: Standard WP Cron. See note #5 in', 'bulletproof-security').'<strong>'.__(' IMPORTANT NOTES ', 'bulletproof-security').'</strong>'.__('below for an explanation of the differences between Standard WP Cron and WP Cron with Time Restriction.', 'bulletproof-security').'<br><br>'.__('5. ARQ Cron Override On|Off: Default Setting is Off. Leave this setting to Off. See note #4 in', 'bulletproof-security').'<strong>'.__(' IMPORTANT NOTES ', 'bulletproof-security').'</strong>'.__('below for an explanation of what this option does.', 'bulletproof-security').'<br><br>'.__('6. ARQ Backup File Status Check. Choose Turn On Backup Files Status Check during manual setup. See note #6 in', 'bulletproof-security').'<strong>'.__(' IMPORTANT NOTES ', 'bulletproof-security').'</strong>'.__('below for an explanation of what this option does.', 'bulletproof-security').'<br><br>'.__('7. Select AutoRestore On and click the Save ARQ Cron Options button.', 'bulletproof-security').'<br><br><strong>'.__('IMPORTANT NOTES:', 'bulletproof-security').'</strong><br><br><strong>'.__('1. ', 'bulletproof-security').'</strong>'.__('Any time a file has been autorestored/quarantined you will see this AutoRestore Alert', 'bulletproof-security').' - <strong>'.__('AutoRestore|Quarantine Alert!!! - A file has been quarantined. Click Here to go to Quarantine to view the quarantined file. To clear/reset this alert click the Reset Last Modified Time in DB button on the Quarantine Log tab page.', 'bulletproof-security').'</strong><br>'.__('Any file that is sent to Quarantine can be restored with one click by choosing the Restore File option in Quarantine.', 'bulletproof-security').'<br><br><strong>'.__('2. ', 'bulletproof-security').'</strong>'.__('When AutoRestore is turned Off on your website you will receive a BPS Pro email Alert as a reminder that AutoRestore is currently turned Off on your website. The BPS Pro email Alert is sent via a Cron Job and another email alert will be sent every 15 minutes (default setting) if ARQ is still turned Off. To change or turn Off this BPS Pro email Alert go to the BPS Pro S-Monitor page, under Email Alerting & Log File Options change the', 'bulletproof-security').'<strong>'.__(' ARQ: When AutoRestore|Quarantine is Turned Off ', 'bulletproof-security').'</strong>'.__('option setting to whatever setting you would like to use instead.', 'bulletproof-security').'<br><br><strong>'.__('3. ', 'bulletproof-security').'</strong>'.__('If a plugin needs to write to one of your WordPress files temporarily or you are manually editing WordPress files or non-WordPress Added files then you can either turn AutoRestore Off, use the Add/Remove options, or Exclude options or just use the Restore File option on the Quarantine page to restore that file after the file has been written too or modified and then autorestored and quarantined because the filesize will be different. It is entirely up to you to choose whichever method works best for you. The end result will be exactly the same.', 'bulletproof-security').'<br><br><strong>'.__('4. ', 'bulletproof-security').'</strong>'.__('The ARQ Cron Override On|Off: Default Setting is Off and should be left to Off unless you would like to override AutoRestore in cases where you are auto-updating WordPress, Plugins or Themes using a Remote installation/updating plugin or service. Turning the ARQ Cron Override On turns Off AutoRestore and also turns Off AutoRestore\'s capability to automatically turn itself On or Off or backup files during WordPress, Plugin or Theme automatic updates.', 'bulletproof-security').'<br><br><strong>'.__('5. ', 'bulletproof-security').'</strong>'.__('Standard WP Cron means allow the AutoRestore Cron to run a WordPress Cron job normally with all the normal behavior of WordPress Cron jobs. WP Cron with Time Restriction means that there is an additional time restriction condition for when the AutoRestore Cron will run. For example if you choose this option and choose 5 minutes for the Cron frequency then a timestamp condition is created where the AutoRestore Cron will not run until 5 minutes has passed since the last AutoRestore Cron job has run - even if a WordPress Cron is triggered within that 5 minute time restriction window of time. What is most important to note is when a WordPress Cron triggers the AutoRestore Cron, the file checks that are done are done using Directory Iterators that can check 5,000 files in milliseconds. In laymans terms: if the ARQ Cron runs 12 times in an hour or 30 times in an hour, the website resource usage and website performance will be the same, insignificant and unnoticeable. ARQ IDPS, as well as all other BPS Pro security features, are coded with website performance as a top priority. The recommended option/setting is: Standard WP Cron instead of  WP Cron with Time Restriction.', 'bulletproof-security').'<br><br><strong>'.__('6. ', 'bulletproof-security').'</strong>'.__('The ARQ Backup File Status Check option allows you to turn On and turn Off Backup files status checks. This is ONLY a status check that displays the total number of files backed up and the last modified time of those backed up files. This option does not affect AutoRestore in any way. When this setting is set to On the AutoRestore page will take a second or more to load since ARQ backup files are being checked. If ARQ is already setup then you can turn this option to Off so that the AutoRestore page loads quicker. Any time you actually want to check ARQ Backup files you can turn this option On and then turn it back Off once you are done checking your Backup files.', 'bulletproof-security').'<br><br><strong>'.__('AutoRestore|Quarantine Controls & Backup Status', 'bulletproof-security').'<br>'.__('AutoRestore MUST be Turned Off anytime you are using the AutoRestore|Quarantine Controls. There are several FailSafes in place to prevent turning the ARQ Cron back On and other safeguards if user errors have been made.', 'bulletproof-security').'</strong><br><br><strong>'.__('Backup Files (Quick Setup)', 'bulletproof-security').'</strong> - '.__('You have 4 Backup Files buttons, one for each WordPress Core folder. Your Root Folder, your wp-admin folder, your wp-includes folder and your wp-content folder. Clicking the Backup Files button will backup all files in that folder so that they will be protected and checked by the ARQ Cron Check.', 'bulletproof-security').'<br><br><strong>'.__('Delete Backup Files', 'bulletproof-security').'</strong> - '.__('You have 4 Delete Files buttons, one for each WordPress Core folder. Your Root Folder, your wp-admin folder, your wp-includes folder and your wp-content folder. Clicking the Delete Files button will delete all Backup files in that folder. If no files exist in a Backup folder the ARQ Cron will automatically not run a check on that folder and a ARQ Cron FailSafe Shutdown alert will be displayed in your WP Dashboard.', 'bulletproof-security').'</strong><br><br><strong>'.__('Restore Backup Files', 'bulletproof-security').'</strong> - '.__('Quarantine has a Restore File option for restoring files sent to Quarantine. This Restore Backup Files button has a different purpose entirely. You have 4 Restore Backup Files buttons, one for each WordPress Core folder. Your Root Folder, your wp-admin folder, your wp-includes folder and your wp-content folder. Clicking the Restore Backup Files button will copy your backup files and overwrite your website files with the backup files. Using this ARQ control is a manual AutoRestore.', 'bulletproof-security').'<br><br><strong>'.__('Show Backup Files', 'bulletproof-security').'</strong> - '.__('You have 4 Show Backup Files buttons, one for each WordPress Core folder. Your Root Folder, your wp-admin folder, your wp-includes folder and your wp-content folder. Clicking the Show Backup Files button will display all of your Backup files in that folder.', 'bulletproof-security').'<br><br><strong>'.__('Show Website Files', 'bulletproof-security').'</strong> - '.__('You have 4 Show Website Files buttons, one for each WordPress Core folder. Your Root Folder, your wp-admin folder, your wp-includes folder and your wp-content folder. Clicking the Show Website Files button will display all of your website files for that folder.', 'bulletproof-security');
	
	/** Exclude wp-content Folders **/	
	$bps_modal_content2 = '<strong>'.__('This Read Me Help window is draggable (top) and resizable (bottom right corner)', 'bulletproof-security').'</strong><br><br><font color="blue"><strong>'.__('This tool is ONLY designed to exclude folders under the wp-content folder from being checked by ARQ.', 'bulletproof-security').'</strong></font><br><br><strong>'.__('Exclude wp-content Folders General Concept & Correct Usage', 'bulletproof-security').'</strong><br>'.__('The purpose of this tool is to allow you to exclude folders from being checked by ARQ under the wp-content folder ONLY that contain files that are dynamic. See explanation below.', 'bulletproof-security').'<br><br><strong>'.__('Temp, Cache, Backup or other Dynamic Files', 'bulletproof-security').'</strong><br>'.__('Dynamic files are temporary, cache or backup files (created by a backup plugin), which are automatically created  or updated by a plugin or theme. Typically they do not have a known specific file name because they are automatically created with random file names (typically with md5) or by adding a date to the filename (file backups). These dynamic file types will be quarantined by ARQ because ARQ will not find a matching backup file in ARQ backup. By excluding the folder where these dynamic files are being created, you are telling ARQ NOT to check that dynamic folder and the dynamically created files in that folder so that these files will NOT be quarantined. This is perfectly safe to do.', 'bulletproof-security').'<br><br>'.__('If cache, temp or other dynamic files under the wp-content folder ONLY are being sent to Quarantine you can add that temp, cache or other folder name here (see examples of CORRECT and INCORRECT paths below) and that folder will no longer be checked by the ARQ Cron. Most plugins and themes will write cache, temp or other dynamic files to a folder under the wp-content folder ONLY. This tool is ONLY designed to exclude dynamic folders under the wp-content folder. To exclude non-WordPress folders and files or other folders and files NOT under the wp-content folder you would use the Add and Remove options on the Add|Exclude Other Folders & Files page.', 'bulletproof-security').'<br><br><strong>'.__('Recommendation: ', 'bulletproof-security').'</strong>'.__('It is recommended that you exclude the plugins folder from being checked by ARQ (this is now done by default when running the Setup Wizards). The Plugin Firewall protects the plugins folder so there is no need to also have ARQ monitoring and checking plugin files. To Exclude the plugins folder you would add ONLY the plugins folder name without any slashes or anything else. If you choose not to exclude the plugins folder from being checked by ARQ then you will need to turn Off ARQ when installing or updating plugins, then click the wp-content Backup Files button after you are finished installing or updating plugins and then turn ARQ back On.', 'bulletproof-security').'<br><br><strong>'.__('Excluding wp-content Folders From Being Checked by ARQ', 'bulletproof-security').'</strong><br>'.__('1. Enter the folder path that you want to exclude in one of the empty text boxes.', 'bulletproof-security').'<br>'.__('2. Enter a Label or Description.', 'bulletproof-security').'<br>'.__('3. Click the Save Folder Exclude Rules button.', 'bulletproof-security').'<br><br><strong>'.__('Removing Excluded wp-content Folder Rules so that they are checked again by ARQ', 'bulletproof-security').'</strong><br>'.__('1. Delete the folder path that you want ARQ to check again.', 'bulletproof-security').'<br>'.__('2. Delete the Label or Description.', 'bulletproof-security').'<br>'.__('3. Click the Save Folder Exclude Rules button', 'bulletproof-security').'<br><br><strong>'.__('Examples of CORRECT Paths/Rules to Exclude: ', 'bulletproof-security').'</strong>'.__('These folder paths are CORRECT because they are not full website paths to these folders and they do not contain /', 'bulletproof-security').$bps_wpcontent_dir.__(' in the path and they do not start or end with forward slashes. If you have a backup plugin that is creating dynamically named backup files you can also use this option to exclude that backup folder from being checked.', 'bulletproof-security').'<br><br>'.__('CORRECT: plugins/example-plugin/captcha/temp', 'bulletproof-security').'<br>'.__('CORRECT: themes/example-theme/cache', 'bulletproof-security').'<br>'.__('CORRECT: my-backups-folder (do not include /', 'bulletproof-security').$bps_wpcontent_dir.__(' in the /', 'bulletproof-security').$bps_wpcontent_dir.__('/my-backups-folder folder path)', 'bulletproof-security').'<br><br><strong>'.__('Examples of INCORRECT Paths/Rules: ', 'bulletproof-security').'</strong>'.__('These folder paths are INCORRECT because they are full website paths to these folders and they contain /', 'bulletproof-security').$bps_wpcontent_dir.__(' in the path and they start or end with forward slashes.', 'bulletproof-security').'<br><br>'.__('INCORRECT: /xxxxx/xxxxx/public_html/', 'bulletproof-security').$bps_plugin_dir.__('/example-plugin/captcha/temp/', 'bulletproof-security').'<br>'.__('INCORRECT: /xxxxx/xxxxx/public_html/', 'bulletproof-security').$bps_wpcontent_dir.__('/themes/example-theme/cache/', 'bulletproof-security').'<br>'.__('INCORRECT: /', 'bulletproof-security').$bps_wpcontent_dir.__('/themes/example-theme/cache/', 'bulletproof-security');

	/** Add|Exclude Other Folders & Files **/
	$bps_modal_content3 = '<strong>'.__('This Read Me Help window is draggable (top) and resizable (bottom right corner)', 'bulletproof-security').'</strong><br><br><strong>'.__('Add / Exclude Static Files General Concept', 'bulletproof-security').'</strong><br>'.__('On the main AutoRestore Settings page you have created backup copies of all of your WordPress folders and files. These folders and files will automatically be checked and protected by the ARQ Cron. To add additional non-WordPress folders and files ONLY that you would like checked and protected by the ARQ Cron you would add them by using the Add Folders & Files options form. To exclude any WordPress folders and files ONLY that you DO NOT want checked and protected by the ARQ Cron you would exclude them by using the Exclude Folders & Files options form. Both Added and Excluded folders and files can be removed at any time by using the Remove Folders & Files DB Search Tool.', 'bulletproof-security').'<br><br><strong>'.__('NOTE: ', 'bulletproof-security').'</strong>'.__('WordPress Folder and Files means WordPress Core, WordPress Plugins, WordPress Themes folder and files. non-WordPress Folders and Files means any folders and files that are not related to WordPress such as 3rd Party applications or other files that are not directly related to WordPress.', 'bulletproof-security').'<br><br><strong>'.__('NOTE: ', 'bulletproof-security').'</strong>'.__('You CANNOT exclude dynamically created temp, cache or other dynamically created files. Dynamically created files are files that do not already exist under a folder. These tools are ONLY for static files or static files that are dynamically updated. A static file is a file that already exists with a filename that will not change. A dynamically updated static file is a static file that already exists with a filename that will not change and the contents of that static file are updated with new content.', 'bulletproof-security').'<br><br><strong>'.__('NOTE: ', 'bulletproof-security').'</strong>'.__('There is ONLY one exception where WordPress and non-WordPress files are backed up together - when you backup your Root files on the AutoRestore|Quarantine Settings page you are backing up both WP Core Root files and any other non-WordPress files that are in your Website Root folder. All files in your Website Root folder should be treated like they are WordPress files. Example: You would use Exclude to exclude root files and you would not need to use Add for any files in your Website Root folder since they have already been added by backing up your Root files.', 'bulletproof-security').'<br><br><strong>'.__('NOTE: ', 'bulletproof-security').'</strong>'.__('XAMPP or other similar Windows based Developer applications will use a different folder path naming convention when Adding or Excluding files. Examples: XAMPP Path - C:\xampp\htdocs\wordpress/wp-includes\atomlib.php. C:\xampp\htdocs\wordpress/wp-content\plugins\bulletproof-security\admin\php\bps_php_error.log', 'bulletproof-security').
	
'<br><br><strong>'.__('Enter the full path to your hosting account root folder', 'bulletproof-security').'</strong><br>'.__('Copy/enter the full path to your hosting account root folder. See examples of common hosting account root folder names and your WordPress installation Home path below. This will allow you to add folders and files anywhere from the hosting account root folder to all folders and files below the hosting account root folder. Example Usage: You have a site that is installed in this folder: /xxxx/xxxx/public_html/example.com/. From the example.com website using the Add Folders & Files form you can add folders under your /public_html/ hosting account root folder that will monitored and protected by AutoRestore|Quarantine. Examples: /public_html/example-folder/, /public_html/another-example-folder/.', 'bulletproof-security').'<br><strong>'.__('Examples of common hosting account root folder names', 'bulletproof-security').'</strong><br>'.__('Note: The x\'s stand for your actual folder path names.', 'bulletproof-security').'<br>'.__('/xxxx/xxxx/xxxx/public_html', 'bulletproof-security').'<br>'.__('/xxxx/xxxx/xxxx/httpdocs', 'bulletproof-security').'<br>'.__('/xxxx/xxxx/xxxx/html', 'bulletproof-security').'<br>'.__('/xxxx/xxxx/xxxx/www', 'bulletproof-security').'<br>'.__('/xxxx/xxxx/xxxx/home', 'bulletproof-security').'<br><br><strong><font color="blue">'.__('This is your WordPress installation Home path: ', 'bulletproof-security').'</font></strong>'.get_home_path().'<br>'.__('Copy the portion of your WordPress Home path up to your hosting account root folder and paste it into the "Enter the full path to your hosting account root folder" text box.', 'bulletproof-security').
	
	'<br><br><strong>'.__('Add Folders & Files Examples and Best Recommended Use - For non-WordPress Folders & Files ONLY', 'bulletproof-security').'</strong><br><br><strong>'.__('Add Top Level Folder option', 'bulletproof-security').'</strong><br>'.__('This tool is ONLY for adding static files or static files that are dynamically updated - See NOTE above. Best Recommend use is to select the Add Top Level Folder option to add an entire non-WordPress folder to backup and to be checked by the ARQ Cron. Example: You have a Top Level non-WordPress Folder named orange. The folder path is /xxxxx/xxxxx/orange. You would select the Add Top Level Folder option and then enter the folder path to this folder /xxxxx/xxxxx/orange in the Enter an Add Folder or File Path text box and click the Add button. Additional Add options are Add a Specific Folder and Add An Individual File.', 'bulletproof-security').'<br><br><strong>'.__('Add A Specific Folder option', 'bulletproof-security').'</strong><br>'.__('This tool is ONLY for adding static files or static files that are dynamically updated - See NOTE above. Adding a specific folder can be used for adding ONLY a specific folder and all files in that specific folder - no subfolders of that specific folder will be added to backup and checked by the ARQ Cron. Example: You have a subfolder named orange-subfolder inside of the Top Level Folder named orange. The folder path is /xxxxx/xxxxx/orange/orange-subfolder. By adding only the specific folder orange-subfolder ONLY the files in that folder will be added to backup and checked by the ARQ Cron. Any files in the parent folder /xxxxx/xxxxx/orange/ will NOT be added to backup and be checked by the ARQ Cron and any subfolders of the /orange-subfolder will not be added to backup and checked by the ARQ Cron. Example: /xxxxx/xxxxx/orange/orange-subfolder/another-subfolder. The files in the /another-subfolder subfolder will not be backed up or checked by the ARQ Cron.', 'bulletproof-security').'<br><br><strong>'.__('Add An Individual File option', 'bulletproof-security').'</strong><br>'.__('Add an individual file will add just a single file to backup and be checked by the ARQ Cron. The most likely use for this would be if you are working on a particular file and you do not want the ARQ Cron to check it while you are working on it you would use the Remove Added Folders|Files Search tool to temporarily remove this file and after you are finished working on the file you would select the Add An Individual File option to add the file back to backup to be checked again by the ARQ Cron. You would enter the full path and filename in the Enter an Add Folder or File Path text box. Example: /xxxxx/xxxxx/orange/orange-subfolder/orange.php.', 'bulletproof-security').'<br><br><strong>'.__('Exclude Folders & Files Examples and Best Recommended Use - For WordPress Folders & Files ONLY', 'bulletproof-security').'</strong><br><br><strong>'.__('Exclude An Individual File option', 'bulletproof-security').'</strong><br>'.__('Best Recommend use is to select the Exclude An Individual File option to exclude individual WordPress files ONLY from being checked by the ARQ Cron. Example Use: You have a plugin installed that regularly writes some content to a log file - /', 'bulletproof-security').$bps_plugin_dir.__('/example-plugin/Log-file.txt. Because the log file is being changed regularly the ARQ Cron will autorestore and quarantine that log file each time the file changes. To exclude that log file from being checked by the ARQ Cron you would select the Exclude An Individual File option and enter the path to the file that you want excluded in the Enter an Exclude Folder or File Path text box - /xxxxx/xxxxx/', 'bulletproof-security').$bps_plugin_dir.__('/example-plugin/Log-file.txt and click the Exclude button.', 'bulletproof-security').'<br><br><strong>'.__('NOTE: ', 'bulletproof-security').'</strong>'.__('You CANNOT exclude dynamically created temp, cache or other dynamically created files. Dynamically created files are files that do not already exist under a folder. These tools are ONLY for static files or static files that are dynamically updated. A static file is a file that already exists with a filename that will not change. A dynamically updated static file is a static file that already exists with a filename that will not change and the contents of that static file are updated with new content.', 'bulletproof-security').'<br><br><strong>'.__('Exclude A Specific Folder option - creates exclude rules for all files in a specific folder', 'bulletproof-security').'</strong><br>'.__('This tool is ONLY for excluding static files or static files that are dynamically updated – See NOTE above. Excluding a specific folder can be used for excluding all files in a specific WordPress folder ONLY - no files in subfolders of that specific folder will be excluded from being checked by the ARQ Cron. Example: You have a WordPress plugin subfolder named /', 'bulletproof-security').$bps_plugin_dir.__('/example-plugin/example-subfolder and you want to exclude all files in the entire folder /example-subfolder and all files in that specific folder from being checked by the ARQ Cron. You would select the Exclude A Specific Folder option and enter this path in the Enter an Exclude Folder or File Path text box - /xxxxx/xxxxx/', 'bulletproof-security').$bps_plugin_dir.__('/example-plugin/example-subfolder. By excluding only the specific folder /example-subfolder ONLY the files in that folder will be excluded from being checked by the ARQ Cron. Any files in the parent folder /xxxxx/xxxxx/', 'bulletproof-security').$bps_plugin_dir.__('/example-plugin will NOT be excluded from being checked by the ARQ Cron.', 'bulletproof-security').'<br><br><strong>'.__('Exclude Top Level Folder option - creates exclude rules for all files in all folders (top level and subfolders)', 'bulletproof-security').'</strong><br>'.__('This tool is ONLY for excluding static files or static files that are dynamically updated - See NOTE above. Use caution if you decide to use this option. Excluding a Top Level Folder means that all files in the WordPress folder that you choose and all files in the subfolders of that WordPress folder will be excluded from being checked by the ARQ Cron. Typically you should only need to exclude individual files that are repeatedly quarantined by the ARQ Cron, but if you are modifying several files in a WordPress folder then you could use this option to exclude the entire folder while you are modifying files in that folder and then use the Remove Excluded Folders|Files Search tool to remove the files from being excluded by the ARQ Cron check. Example: You are modifying several of your Theme files. You have a Top Level WordPress Folder named /xxxxx/xxxxx/', 'bulletproof-security').$bps_wpcontent_dir.__('/themes/my-theme and you want to exclude all subfolders and files from being checked by the ARQ Cron while you are modifying your Theme files. You would select the Exclude Top Level Folder option and then enter the folder path to this folder /xxxxx/xxxxx/', 'bulletproof-security').$bps_wpcontent_dir.__('/themes/my-theme in the Enter an Exclude Folder or File Path text box and click the Exclude button. After you are done modifying your Theme files you would FIRST backup your files by going to the AutoRestore|Quarantine Settings page and clicking the Backup Files button for the wp-content folder and then use the Remove Excluded Folders|Files Search tool to find and remove these files from being excluded from the ARQ Cron check.', 'bulletproof-security').'<br><br><strong>'.__('Remove Folders & Files General Concept', 'bulletproof-security').'</strong><br>'.__('When you Add or Exclude Folders and Files those individual file paths are added to your WordPress database. Using the Remove Folders & Files search tools lets you search your WordPress database for these folder and file paths that you want to remove from your DB. There are 2 separate search tools for searching: 1. Remove Added Folders|Files Search & 2. Remove Excluded Folders|Files Search. Your Search Results are displayed in a Radio Button Form with 2 options. 1. Remove. or 2. Do Not Remove next to each search result returned. Since the Remove Folders & Files Search tools are searching your database you can use very general search terms. For example to search for all php files that you have Added or Excluded you would search for .php. For all text files you would search for .txt. To search for a particular folder name you would type in that folder name without having to add a folder path. If you type in a single forward slash "/" as your search then all database entries will be shown in either the Added Files database Table or Excluded Files database Table because all database entries contain paths that have a forward slash in them.', 'bulletproof-security').'<br><br><strong>'.__('Remove Added Folders|Files Search', 'bulletproof-security').'</strong><br>'.__('Your Search Results are displayed in a Radio Button Form with 2 options. 1. Remove. or 2. Do Not Remove next to each search result returned. Clicking OK will Remove the DB entry for any Added file where you have selected the Remove Radio button and also delete the Added file that you no longer want checked by the ARQ Cron.', 'bulletproof-security').
	
'<br><br><strong>'.__('Delete All Added Folders & Files', 'bulletproof-security').'</strong><br>'.__('Click the Delete All Added Folders|Files button to delete all of your added folders and files with one click.', 'bulletproof-security').	
	
	'<br><br><strong>'.__('Remove Excluded Folders|Files Search', 'bulletproof-security').'</strong><br>'.__('Your Search Results are displayed in a Radio Button Form with 2 options. 1. Remove. or 2. Do Not Remove next to each search result returned. Clicking OK will Remove the DB entry for any Excluded files where you have selected the Remove Radio button. By removing the file path from being Excluded you are telling the ARQ Cron to check the file again.', 'bulletproof-security').'<br><br><strong>'.__('Folder & File Search Tool General Concept', 'bulletproof-security').'</strong><br>'.__('Use the Folder & File Search Tool to quickly and easily find folder name & file name paths to use in either the Add Folders & Files options or the Exclude Folders & Files options. You can copy and paste the folder or file paths search results directly into either the Enter an Add Folder or File Path text box or the Enter an Exclude Folder or File Path depending on whether you are Adding or Excluding a folder or file. This is a time saver and error prevention search tool.', 'bulletproof-security').'<br><br><strong>'.__('Show ONLY Top Level Folders', 'bulletproof-security').'</strong><br>'.__('This search tool will display All Top Level Folders and folder paths for your website/Hosting Account in the Document Root folder. The best use for this tool is when looking for Top Level Folders to add to Add Folders & Files.', 'bulletproof-security').'<br><br><strong>'.__('Show ALL Folders Top Level & Subfolders', 'bulletproof-security').'</strong><br>'.__('This search tool will display All Folders and folder paths for your entire Hosting Account. Use caution here. If you have multiple WordPress websites you would not want to add any folders or files from those separate WordPress websites to have the ARQ Cron check them twice on 2 separate websites. As an experimental idea it is also possible to designate a separate WordPress website to check other WordPress files. This has not been experimented with, but the concept is possible.', 'bulletproof-security').'<br><br><strong>'.__('Search a Specific Folder For All Files in That Folder', 'bulletproof-security').'</strong><br>'.__('This search tool will display All file paths for ONLY a specific folder path that you enter into the search text box. The folder path must be valid. Example: /xxxxx/xxxxx/foldername/some-other-foldername.', 'bulletproof-security');

?>