Server IP : 172.67.216.182 / Your IP : 162.158.162.44 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/wwwroot/coircraft.com/wp-content/plugins/wordfence/views/common/ |
Upload File : |
<?php if (!defined('WORDFENCE_VERSION')) { exit; } /** * Presents a block navigation option with image, title, and subtitle. * * Expects $id, $title, $img, $link, and $subtitle to be defined. * * @var string $id The element ID. * @var string $title The option's title. * @var string $img The image name. If SVG, it will be inserted as an svg element rather than img. * @var string $link The link for the option to go to. * @var string $subtitle Subtitle for the option. */ ?> <div id="<?php echo esc_attr($id); ?>" class="wf-block-navigation-option"> <?php if (preg_match('/\.svg$/i', $img)) : ?> <?php $contents = file_get_contents(WORDFENCE_PATH . '/images/' . $img); $contents = preg_replace('/<svg\s+xmlns="[^"]*"/i', '<svg', $contents); $contents = preg_replace('/(<svg[^>]+)/i', '${1} class="wf-block-navigation-option-icon"', $contents); echo $contents; ?> <?php else: ?> <img src="<?php echo esc_attr(wfUtils::getBaseURL() . 'images/' . $img); ?>" class="wf-block-navigation-option-icon" alt="<?php echo esc_attr($title); ?>"> <?php endif; ?> <div class="wf-block-navigation-option-content"> <h4><a href="<?php echo esc_attr($link); ?>"><?php echo esc_html($title); ?></a></h4> <p><?php echo esc_html($subtitle); ?></p> </div> </div> <script type="application/javascript"> (function($) { $('#<?php echo esc_attr($id); ?>').on('click', function() { window.location.href = $(this).find('a').attr('href'); }); })(jQuery); </script>