| 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", strtotime($edge['node']['time'])) ?> |
| 19 |
</div> |
| 20 |
<div |
| 21 |
class="wtotem_data__td wtotem_data_width_4 break-word"> |
| 22 |
<?= htmlspecialchars(urldecode($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; ?> |