PluginProbe
WebTotem Security / 2.1.9
WebTotem Security v2.1.9
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.1.9, at includes/components/_firewall_lazy.php

33 lines 1.5 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 foreach ($arguments['waf']['edges'] as $edge) : ?>
5 <div class="wtotem_data__tr">
6 <div class="wtotem_data__td <?= $edge['node']['blocked'] ? 'wtotem_data__td_banned' : 'wtotem_data__td_blocked' ?> wtotem_data_width_1 break-word">
7 <div class="wtotem_data__ip">
8 <?= $edge['node']['ip'] ?>
9 </div>
10 </div>
11 <div class="wtotem_data__td wtotem_data_width_2 break-word">
12 <div class="wtotem_data__country wt-flex wt-flex-middle">
13 <img src="https://assets.wtotem.net/images/flags/<?= mb_strtolower($edge['node']['country']) ?>.png" class="wt-margin-right-10 wt_flag">
14 <?= $edge['node']['location']['country']['nameEn'] ?>
15 </div>
16 </div>
17 <div class="wtotem_data__td wtotem_data_width_3">
18 <?= date("Y-m-d H:i:s",$edge['node']['time']/1000) ?>
19 </div>
20 <div
21 class="wtotem_data__td wtotem_data_width_4 break-word">
22 <?= $edge['node']['request'] ?>
23 </div>
24 <div
25 class="wtotem_data__td wtotem_data_width_6">
26 <?= $edge['node']['blocked'] ? wtsec_locale('chart.blocked_ip') : wtsec_locale('chart.not_blocked_ip') ?>
27 </div>
28 </div>
29 <?php endforeach; ?>
30
31 <?php if($_SESSION['firewall_hasNextPage']):?>
32 <a href="#" class="wtotem_chart__btn" id="waf_load_more"><?= wtsec_locale('load_more') ?></a>
33 <?php endif; ?>