示例#1
0
            <section class="middle">
                <h1>We found your data!</h1>

                <div class="clear"></div>
                <table>
                    <tr>
                        <td><h2>Reservation rank</h2></td>
                        <td><h2>Number of referrals</h2></td>
                    </tr>
                    <tr>
                        <td><h1><?php 
    echo beautifyNumber(explode(';', $apiInfo)[0]);
    ?>
</h1></td>
                        <td><h1><?php 
    echo beautifyNumber(explode(';', $apiInfo)[1]);
    ?>
</h1></td>
                    </tr>
                </table>

                <form action="index.php">
                    <button class="btn btn-3 btn-3e icon-arrow-right" type="submit">Go back</button>
                </form>
            </section>
        <?php 
}
?>

        <div class="refresh-users-rank">
            <button class="ladda-button btn btn-3 btn-3e icon-arrow-right" data-style="expand-right"><span class="ladda-label">Refresh All Data</span></button>
示例#2
0
    ?>
                        <tr>
                            <td><?php 
    echo $i + 1;
    ?>
</td>
                            <td><?php 
    echo $users[$i]['username'];
    ?>
</td>
                            <td><?php 
    echo beautifyNumber($users[$i]['rank']);
    ?>
</td>
                            <td><?php 
    echo beautifyNumber($users[$i]['referrals']);
    ?>
</td>
                        </tr>
                    <?php 
}
?>
                </table>

                <ul class="pagination">
                    <li class="pagination-prev"><a href="?page=<?php 
echo $prevPage;
?>
">Previous</a></li>
                    <?php 
for ($i = $firstPageButtonNumber; $i <= $lastPageButtonNumber; $i++) {