# wt-security/2.3.14/includes/components/_reports_lazy.php

WebTotem Security, version 2.3.14. 37 lines.

- Page: https://pluginprobe.com/plugins/wt-security/2.3.14/code/includes/components/_reports_lazy.php
- Raw: https://pluginprobe.com/plugins/wt-security/2.3.14/raw/includes/components/_reports_lazy.php
- Modified: 2021-02-24T11:10:52+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.3.14/code/includes/components/_reports_lazy.php#L10-L20`.

```php
<?php
defined('ABSPATH') or die("Protected By WT!");
?>
<?php if($arguments['edges']): ?>
    <?php foreach ($arguments['edges'] as $edge) : ?>
        <?php $edge = $edge['node']; ?>
        <tr class="wtotem_reports-table__row">
            <td class="wtotem_reports-table__column"><?= convertTimeToReadable($edge['createdAt']) ?></td>
            <td class="wtotem_reports-table__column">PDF</td>
            <td class="wtotem_reports-table__column" style="max-width:420px;">
                <?= $edge['modules'] ?>
            </td>

            <td class="wtotem_reports-table__column wtotem_reports-table__column--actions">
                <div class="wtotem_reports-table__buttons-wrapper">
                    <button
                        class="wtotem_reports-table__button wtotem_reports-table__button--download report_link"
                        type="button" data-id="<?= $edge['id'] ?>">
                        <span class="visually-hidden">Download</span>
                    </button>
                </div>
            </td>
        </tr>
    <?php endforeach; ?>
<?php endif; ?>

<?php if($arguments['pageInfo']['hasNextPage']):?>
    <tr class="" id="reports_load_more">
        <td colspan="5">
            <div class="wtotem_reports-list__load-more-wrapper">
                <button class="wtotem_reports__btn wtotem_reports__btn--load-more button" type="button">
                    <span class="wtotem_reports__load-more-label"><?= wtsec_locale('load_more') ?></span>
                </button>
            </div>
        </td>
    </tr>
<?php  endif; ?>
```
