403Webshell
Server IP : 66.29.132.122  /  Your IP : 3.128.95.199
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/crawler/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/src/litespeed-wp-plugin/6.4.1/litespeed-cache/tpl/crawler/map.tpl.php
<?php

namespace LiteSpeed;

defined('WPINC') || exit;

$crawler_summary = Crawler::get_summary();

$__map = Crawler_Map::cls();

$list = $__map->list_map(30);
$count = $__map->count_map();
$pagination = Utility::pagination($count, 30);

?>

<p class="litespeed-right">
	<a href="<?php echo Utility::build_url(Router::ACTION_CRAWLER, Crawler::TYPE_EMPTY); ?>" class="button litespeed-btn-warning">
		<?php echo __('Clean Crawler Map', 'litespeed-cache'); ?>
	</a>

	<a href="<?php echo Utility::build_url(Router::ACTION_CRAWLER, Crawler::TYPE_REFRESH_MAP); ?>" class="button button-secondary">
		<?php echo __('Refresh Crawler Map', 'litespeed-cache'); ?>
	</a>
</p>

<p>
	<?php
	if (!empty($crawler_summary['sitemap_time'])) {
		echo sprintf(__('Generated at %s', 'litespeed-cache'), Utility::readable_time($crawler_summary['sitemap_time']));
	}
	?>
</p>

<h3 class="litespeed-title">
	<?php echo __('Sitemap List', 'litespeed-cache'); ?>
	<?php Doc::learn_more('https://docs.litespeedtech.com/lscache/lscwp/crawler/#map-tab'); ?>
</h3>

<?php echo __('Sitemap Total', 'litespeed-cache') . ': ' . $count; ?>

<div style="display: flex; justify-content: space-between;">
	<div style="margin-top:10px;">
		<form action="<?php echo admin_url('admin.php?page=litespeed-crawler'); ?>" method="post">
			<input type="text" name="kw" value="<?php echo !empty($_POST['kw']) ? esc_html($_POST['kw']) : ''; ?>" placeholder="<?php echo __('URL Search'); ?>" style="width: 600px;" />
		</form>
	</div>

	<div class="">

		<a style="padding-right:10px;" href="<?php echo admin_url('admin.php?page=litespeed-crawler&' . Router::TYPE . '=hit'); ?>"><?php echo __('Cache Hit', 'litespeed-cache'); ?></a>
		<a style="padding-right:10px;" href="<?php echo admin_url('admin.php?page=litespeed-crawler&' . Router::TYPE . '=miss'); ?>"><?php echo __('Cache Miss', 'litespeed-cache'); ?></a>
		<a style="padding-right:10px;" href="<?php echo admin_url('admin.php?page=litespeed-crawler&' . Router::TYPE . '=blacklisted'); ?>"><?php echo __('Blocklisted', 'litespeed-cache'); ?></a>

	</div>

	<div class="">
		<?php echo $pagination; ?>
	</div>
</div>

<div class="litespeed-table-responsive">
	<table class="wp-list-table widefat striped">
		<thead>
			<tr>
				<th scope="col">#</th>
				<th scope="col"><?php echo __('URL', 'litespeed-cache'); ?></th>
				<th scope="col"><?php echo __('Crawler Status', 'litespeed-cache'); ?></th>
				<th scope="col"><?php echo __('Operation', 'litespeed-cache'); ?></th>
			</tr>
		</thead>
		<tbody>
			<?php foreach ($list as $i => $v) : ?>
				<tr>
					<td><?php echo $i + 1; ?></td>
					<td>
						<?php echo $v['url']; ?>
					</td>
					<td>
						<?php echo Crawler::cls()->display_status($v['res'], $v['reason']); ?>
					</td>
					<td>
						<a href="<?php echo Utility::build_url(Router::ACTION_CRAWLER, Crawler::TYPE_BLACKLIST_ADD, false, null, array('id' => $v['id'])); ?>" class="button button-secondary"><?php echo __('Add to Blocklist', 'litespeed-cache'); ?></a>
					</td>
				</tr>
			<?php endforeach; ?>
		</tbody>
	</table>
</div> 

<?php echo $pagination; ?>

<p>
	<i class="litespeed-dot litespeed-bg-success"></i> = <?php echo __('Cache Hit', 'litespeed-cache'); ?><br>
	<i class="litespeed-dot litespeed-bg-primary"></i> = <?php echo __('Cache Miss', 'litespeed-cache'); ?><br>
	<i class="litespeed-dot litespeed-bg-warning"></i> = <?php echo __('Blocklisted due to not cacheable', 'litespeed-cache'); ?><br>
	<i class="litespeed-dot litespeed-bg-danger"></i> = <?php echo __('Blocklisted', 'litespeed-cache'); ?><br>
</p>

Youez - 2016 - github.com/yon3zu
LinuXploit