Пример #1
0
    </form>

    <br/>
    <p>
        <h2 class='no-margin'>Recent Donations</h2>
        <table class="striped sortable">
            <thead>
                <tr>
                    <th width="60%">Username</th>
                    <th>Amount</th>
                    <th>When</th>
                </tr>
            </thead>
            <tbody>
<?php 
$donators = $donations->getAll();
foreach ($donators as $donation) {
    ?>
                <tr>
                    <td><?php 
    echo $donation->username ? $app->utils->userLink($donation->username) : 'Anonymous';
    ?>
</td>
                    <td>£<?php 
    echo $donation->amount;
    ?>
</td>
                    <td><time datetime="<?php 
    echo date('c', strtotime($donation->time));
    ?>
"><?php