# wt-security/2.2.2/includes/components/_firewall_lazy.php

WebTotem Security, version 2.2.2. 35 lines.

- Page: https://pluginprobe.com/plugins/wt-security/2.2.2/code/includes/components/_firewall_lazy.php
- Raw: https://pluginprobe.com/plugins/wt-security/2.2.2/raw/includes/components/_firewall_lazy.php
- Modified: 2020-10-06T09:33:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wt-security/2.2.2/code/includes/components/_firewall_lazy.php#L10-L20`.

```php
<?php
    defined('ABSPATH') or die("Protected By WT!");
?>
<?php  if($arguments['waf']['edges']): ?>
<?php foreach ($arguments['waf']['edges'] as $edge) : ?>
    <div class="wtotem_data__tr">
        <div class="wtotem_data__td <?= $edge['node']['blocked'] ? 'wtotem_data__td_banned' : 'wtotem_data__td_blocked' ?> wtotem_data_width_1 break-word">
            <div class="wtotem_data__ip">
                <?= $edge['node']['ip'] ?>
            </div>
        </div>
        <div class="wtotem_data__td wtotem_data_width_2 break-word">
            <div class="wtotem_data__country wt-flex wt-flex-middle">
                <img src="https://assets.wtotem.net/images/flags/<?= mb_strtolower($edge['node']['country']) ?>.png" class="wt-margin-right-10 wt_flag">
                <?= $edge['node']['location']['country']['nameEn'] ?>
            </div>
        </div>
        <div class="wtotem_data__td wtotem_data_width_3">
            <?= date("Y-m-d H:i:s", strtotime($edge['node']['time'])) ?>
        </div>
        <div
            class="wtotem_data__td wtotem_data_width_4 break-word">
            <?= htmlspecialchars(urldecode($edge['node']['request'])) ?>
        </div>
        <div
            class="wtotem_data__td wtotem_data_width_6">
            <?= $edge['node']['blocked'] ? wtsec_locale('chart.blocked_ip') : wtsec_locale('chart.not_blocked_ip') ?>
        </div>
    </div>
<?php endforeach; ?>
<?php  endif; ?>

<?php if($_SESSION['firewall_hasNextPage']):?>
    <a href="#" class="wtotem_chart__btn" id="waf_load_more"><?= wtsec_locale('load_more') ?></a>
<?php  endif; ?>
```
