File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/crawler.tar
blacklist.tpl.php 0000644 00000005156 15154225404 0010034 0 ustar 00 <?php
namespace LiteSpeed;
defined( 'WPINC' ) || exit;
$crawler_summary = Crawler::get_summary();
$__map = Crawler_Map::cls();
$list = $__map->list_blacklist( 30 );
$count = $__map->count_blacklist();
$pagination = Utility::pagination( $count, 30 );
?>
<p class="litespeed-right">
<a href="<?php echo Utility::build_url( Router::ACTION_CRAWLER, Crawler::TYPE_BLACKLIST_EMPTY ); ?>" class="button litespeed-btn-warning" data-litespeed-cfm="<?php echo __( 'Are you sure to delete all existing blocklist items?', 'litespeed-cache' ) ; ?>" >
<?php echo __( 'Empty blocklist', 'litespeed-cache' ); ?>
</a>
</p>
<h3 class="litespeed-title">
<?php echo __( 'Blocklist', 'litespeed-cache' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/crawler/#blacklist-tab' ); ?>
</h3>
<?php echo __( 'Total', 'litespeed-cache' ) . ': ' . $count; ?>
<?php echo $pagination; ?>
<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 __( '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_DEL, false, null, array( 'id' => $v[ 'id' ] ) ); ?>" class="button button-secondary"><?php echo __( 'Remove from Blocklist', 'litespeed-cache' ); ?></a>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<?php echo $pagination; ?>
<p>
<font class="litespeed-success">API: <?php echo sprintf( __( 'PHP Constant %s available to disable blocklist.', 'litespeed-cache' ), "<code>LITESPEED_CRAWLER_DISABLE_BLOCKLIST</code>" ); ?></font>
</p>
<p>
<font class="litespeed-success">API: <?php echo sprintf( __( 'Filter %s available to disable blocklist.', 'litespeed-cache' ), "<code>add_filter( 'litespeed_crawler_disable_blocklist', '__return_true' );</code>" ); ?></font>
</p>
<p>
<i class="litespeed-dot litespeed-bg-default"></i> = <?php echo __( 'Not blocklisted', '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>
entry.tpl.php 0000644 00000002224 15154225404 0007216 0 ustar 00 <?php
namespace LiteSpeed;
defined('WPINC') || exit;
$menu_list = array(
'summary' => __('Summary', 'litespeed-cache'),
'map' => __('Map', 'litespeed-cache'),
'blacklist' => __('Blocklist', 'litespeed-cache'),
'settings' => __('Settings', 'litespeed-cache'),
);
?>
<div class="wrap">
<h1 class="litespeed-h1">
<?php echo __('LiteSpeed Cache Crawler', '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;
foreach ($menu_list as $tab => $val) {
$accesskey = $i <= 9 ? "litespeed-accesskey='$i'" : '';
echo "<a class='litespeed-tab nav-tab' href='#$tab' data-litespeed-tab='$tab' $accesskey>$val</a>";
$i++;
}
?>
</h2>
<div class="litespeed-body">
<?php
// include all tpl for faster UE
foreach ($menu_list as $tab => $val) {
echo "<div data-litespeed-layout='$tab'>";
require LSCWP_DIR . "tpl/crawler/$tab.tpl.php";
echo "</div>";
}
?>
</div>
</div>
<iframe name="litespeedHiddenIframe" src="" width="0" height="0" frameborder="0"></iframe>