PluginProbe
WebTotem Security / 2.2.4
WebTotem Security v2.2.4
3.0.1 3.0.0 trunk 1.0 1.1 1.2 1.3 1.3.1 1.3.2 1.3.3 2.0 2.1 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.1 2.2.2 2.2.3 2.2.4 All 109 releases
wt-security / includes / components / _firewall_lazy.php

_firewall_lazy.php in WebTotem Security 2.2.4, at includes/components/_firewall_lazy.php

35 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 defined('ABSPATH') or die("Protected By WT!");
3 ?>
4 <?php if($arguments['waf']['edges']): ?>
5 <?php foreach ($arguments['waf']['edges'] as $edge) : ?>
6 <div class="wtotem_data__tr">
7 <div class="wtotem_data__td <?= $edge['node']['blocked'] ? 'wtotem_data__td_banned' : 'wtotem_data__td_blocked' ?> wtotem_data_width_1 break-word">
8 <div class="wtotem_data__ip">
9 <?= $edge['node']['ip'] ?>
10 </div>
11 </div>
12 <div class="wtotem_data__td wtotem_data_width_2 break-word">
13 <div class="wtotem_data__country wt-flex wt-flex-middle">
14 <img src="https://assets.wtotem.net/images/flags/<?= mb_strtolower($edge['node']['country']) ?>.png" class="wt-margin-right-10 wt_flag">
15 <?= $edge['node']['location']['country']['nameEn'] ?>
16 </div>
17 </div>
18 <div class="wtotem_data__td wtotem_data_width_3">
19 <?= date("Y-m-d H:i:s", strtotime($edge['node']['time'])) ?>
20 </div>
21 <div
22 class="wtotem_data__td wtotem_data_width_4 break-word">
23 <?= htmlspecialchars(urldecode($edge['node']['request'])) ?>
24 </div>
25 <div
26 class="wtotem_data__td wtotem_data_width_6">
27 <?= $edge['node']['blocked'] ? wtsec_locale('chart.blocked_ip') : wtsec_locale('chart.not_blocked_ip') ?>
28 </div>
29 </div>
30 <?php endforeach; ?>
31 <?php endif; ?>
32
33 <?php if($arguments['waf']['hasNextPage']):?>
34 <a href="#" class="wtotem_chart__btn" id="waf_load_more"><?= wtsec_locale('load_more') ?></a>
35 <?php endif; ?>