<div class="am-grid-container">
    <table class="am-grid">
        <tr>
            <th><?php __e('Date/Time') ?></th>
            <th><?php __e('Referer') ?></th>
        </tr>
        <?php  foreach ($clicks as $c): ?>
        <tr class="am-grid-row">
            <td><?php p(amDateTime($c->time)) ?></td>
            <td><a href="<?php p($c->referer) ?>" target="_blank" rel="noreferrer"><?php p($c->referer) ?></a></td>
        </tr>
        <?php endforeach; ?>
    </table>
</div>