';
echo '.essb-history-settings { cursor: pointer; border: 1px solid rgba(0,0,0,0.1); padding: 15px; font-size: 16px; font-weight: 600; margin-bottom: 15px; }';
echo '.essb-history-settings:hover { box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15); }';
echo '';
if (!is_array($history_container)) {
$history_container = array();
}
foreach ($history_container as $key => $data) {
echo '
';
echo ''.date(DATE_RFC822, $key).'';
echo '
';
}
echo '';
}
function essb3_text_backup() {
global $essb_options;
$goback = esc_url_raw(add_query_arg(array('backup' => 'true'), 'admin.php?page=essb_redirect_import&tab=import'));
$is_backup = isset($_REQUEST['backup']) ? $_REQUEST['backup'] : '';
$backup_string = '';
if ($is_backup == 'true') {
$backup_string = json_encode($essb_options);
}
$download_settings = "admin-ajax.php?action=essb_settings_save";
?>
Export Settings
'true'), 'admin.php?page=essb_redirect_import&tab=import§ion=backup2'));
$is_backup = isset($_REQUEST['backup']) ? $_REQUEST['backup'] : '';
$backup_string = '';
if ($is_backup == 'true') {
$backup_string = json_encode($essb_socialfans_options);
}
$download_settings = "admin-ajax.php?action=essb_settings_save";
?>
Export Settings
'true'), 'admin.php?page=essb_redirect_import&tab=import'));
$is_backup = isset($_REQUEST['backup']) ? $_REQUEST['backup'] : '';
$backup_string = '';
if ($is_backup == 'true') {
$backup_string = json_encode($essb_options);
}
$download_settings = "admin-ajax.php?action=essb_settings_save";
?>
'true'), 'admin.php?page=essb_redirect_import&tab=import'));
$is_backup = isset($_REQUEST['backup']) ? $_REQUEST['backup'] : '';
$backup_string = '';
if ($is_backup == 'true') {
$backup_string = json_encode($essb_options);
}
$download_settings = "admin-ajax.php?action=essb_settings_save";
?>
'true'), 'admin.php?page=essb_redirect_import&tab=import'));
$is_backup = isset($_REQUEST['backup']) ? $_REQUEST['backup'] : '';
$backup_string = '';
if ($is_backup == 'true') {
$backup_string = json_encode($essb_options);
}
$download_settings = "admin-ajax.php?action=essb_settings_save";
?>
'true'), 'admin.php?page=essb_redirect_import&tab=import'));
$is_backup = isset($_REQUEST['backup']) ? $_REQUEST['backup'] : '';
$backup_string = '';
if ($is_backup == 'true') {
$backup_string = json_encode($essb_options);
}
$download_settings = "admin-ajax.php?action=essb_settings_save";
?>
Save Plugin Settings To File