403Webshell
Server IP : 66.29.132.122  /  Your IP : 18.225.254.33
Web Server : LiteSpeed
System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : admazpex ( 531)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/src/litespeed-wp-plugin/6.4.1/litespeed-cache/tpl/cache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/src/litespeed-wp-plugin/6.4.1/litespeed-cache/tpl/cache/entry.tpl.php
<?php
namespace LiteSpeed;
defined( 'WPINC' ) || exit;

$menu_list = array(
	'cache' 	=> __( 'Cache', 'litespeed-cache' ),
	'ttl' 		=> __( 'TTL', 'litespeed-cache' ),
	'purge' 	=> __( 'Purge', 'litespeed-cache' ),
	'excludes' 	=> __( 'Excludes', 'litespeed-cache' ),
	'esi' 		=> __( 'ESI', 'litespeed-cache' ),
);

if ( ! $this->_is_multisite ) {
	$menu_list[ 'object' ] = __( 'Object', 'litespeed-cache' );
	$menu_list[ 'browser' ] = __( 'Browser', 'litespeed-cache' );
}

$menu_list[ 'advanced' ] = __( 'Advanced', 'litespeed-cache' );

/**
 * Generate rules for setting usage
 * @since 1.6.2
 */
global $wp_roles;
if ( !isset( $wp_roles ) ) {
	$wp_roles = new \WP_Roles();
}

$roles = array();
foreach ( $wp_roles->roles as $k => $v ) {
	$roles[ $k ] = $v[ 'name' ];
}
ksort( $roles );

?>

<div class="wrap">
	<h1 class="litespeed-h1">
		<?php echo __('LiteSpeed Cache Settings', 'litespeed-cache'); ?>
	</h1>
	<span class="litespeed-desc">
		v<?php echo Core::VER; ?>
	</span>
	<hr class="wp-header-end">
</div>
<div class="litespeed-wrap">
	<h2 class="litespeed-header nav-tab-wrapper">
	<?php
		$i = 1;
		$accesskey_set = array();
		foreach ( $menu_list as $tab => $val ) {
			$accesskey = '';
			if ( $i <= 9 ) {
				$accesskey = "litespeed-accesskey='$i'";
			}
			else {
				$tmp = strtoupper( substr( $tab, 0, 1 ) );
				if ( ! in_array( $tmp, $accesskey_set ) ) {
					$accesskey_set[] = $tmp;
					$accesskey = "litespeed-accesskey='$tmp'";
				}
			}

			echo "<a class='litespeed-tab nav-tab' href='#$tab' data-litespeed-tab='$tab' $accesskey>$val</a>";
			$i ++;
		}
		do_action( 'litespeed_settings_tab', 'cache' );
	?>
	</h2>

	<div class="litespeed-body">
		<?php $this->cache_disabled_warning(); ?>

	<?php
	$this->form_action();

	require LSCWP_DIR . "tpl/inc/check_if_network_disable_all.php";
	require LSCWP_DIR . "tpl/cache/more_settings_tip.tpl.php";

	// include all tpl for faster UE
	foreach ( $menu_list as $tab => $val ) {
		echo "<div data-litespeed-layout='$tab'>";
		require LSCWP_DIR . "tpl/cache/settings-$tab.tpl.php";
		echo "</div>";
	}

	do_action( 'litespeed_settings_content', 'cache' );

	$this->form_end();

	?>
	</div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit