HEX
Server: Apache
System:
User: ()
PHP: 7.4.33
Disabled: system,passthru,shell_exec,exec,proc_close,proc_open,proc_get_status,proc_nice,proc_terminate,highlight_file,escapeshellcmd,pclose,debugger_off,debugger_on,leak,listen,define_syslog_variables,ftp_exec,posix_uname,posix_getpwuid,get_current_user,getmyuid,getmygid,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,escapeshellarg,myshellexec,escapeshellarg,disk_free_space,disk_total_space,show_source,dl,symlink,listen,syslog,php_ini_scanned_files,inurl,apache_setenv,closelog,rar_open,bzopen,bzread,bzwrite,shellcode,show_source,apache_get_modules,apache_get_version,apache_note,openlog,crack_check,crack_closedict,pcntl_exec,ini_alter,backtick,cmd,virtual,getservbyport,myshellexec,hypot,pg_host,phpini,link,readlink,syslog,id,ftok,posix_access,error_log,sym,php_u,psockopen,apache_child_k_closedict,crack_getlastmessage,crack_opendict,php_ini,ini_restore,popen,curl_multi_exec,php_uname
Upload Files
File: /home/homework/public_html/kurs7/wp-content/plugins/wordfence/views/options/options-title.php
<?php
if (!defined('WORDFENCE_VERSION')) { exit; }
/**
 * Expects $title (or $titleHTML) and $stateKeys to be defined.
 *
 * @var string $title The page title.
 * @var string $titleHTML The page title as raw HTML
 * @var string[] $stateKeys An array of state keys that will be controlled by the expand/collapse all button
 */

if (isset($title) && !isset($titleHTML)) {
	$titleHTML = esc_html($title);
}

if (isset($helpLabel) && !isset($helpLabelHTML)) {
	$helpLabelHTML = esc_html($helpLabel);
}

$expanded = true;
foreach ($stateKeys as $k) {
	if (!wfPersistenceController::shared()->isActive($k)) {
		$expanded = false;
		break;
	}
}
?>
<div class="wf-section-title">
	<?php if (isset($showIcon) && $showIcon): ?>
		<div class="wordfence-lock-icon wordfence-icon32 wf-hidden-xs"></div>
	<?php endif; ?>
	<h2<?php echo (isset($headerID) ? ' id="' . $headerID . '"' : ''); ?>><?php echo $titleHTML; ?></h2>
	<div><a href="#" class="wf-toggle-all-sections wf-btn wf-btn-callout-subtle wf-btn-default" data-collapsed-title="<?php esc_attr_e('Expand All', 'wordfence'); ?>" data-expanded-title="<?php esc_attr_e('Collapse All', 'wordfence'); ?>" data-expanded="<?php echo wfUtils::truthyToInt($expanded); ?>"></a></div>
</div>
<script type="application/javascript">
	(function($) {
		$('.wf-toggle-all-sections').text($('.wf-toggle-all-sections').data('expanded') == 1 ? $('.wf-toggle-all-sections').data('expandedTitle') : $('.wf-toggle-all-sections').data('collapsedTitle'));
		
		$(function() {
			$('.wf-toggle-all-sections').on('click', function(e) {
				e.preventDefault();
				e.stopPropagation();
				
				if ($(this).data('expanded') == 1) {
					$('.wf-block[data-persistence-key]').each(function() {
						var block = $(this);
						if (block.hasClass('wf-active')) {
							block.find('.wf-block-content').slideUp({
								always: function() {
									block.removeClass('wf-active');
								}
							});
						}
					});

					WFAD.ajax('wordfence_saveDisclosureState', {names: <?php echo json_encode($stateKeys) ?>, state: false}, function() {}, function() {}, true);
					
					$(this).data('expanded', 0);
					$('.wf-toggle-all-sections').text($('.wf-toggle-all-sections').data('collapsedTitle'));
				}
				else {
					$('.wf-block[data-persistence-key]').each(function() {
						var block = $(this);
						if (!block.hasClass('wf-active')) {
							block.find('.wf-block-content').slideDown({
								always: function() {
									block.addClass('wf-active');
								}
							});
						}
					});

					WFAD.ajax('wordfence_saveDisclosureState', {names: <?php echo json_encode($stateKeys) ?>, state: true}, function() {}, function() {}, true);
					
					$(this).data('expanded', 1);
					$('.wf-toggle-all-sections').text($('.wf-toggle-all-sections').data('expandedTitle'));
				}
			});
		});
	})(jQuery);
</script>