Ejemplo n.º 1
0
                    <!-- /.tabcontent -->
                    <div class="tabcontent" id="history">
                        <p class="text-right clearhistory"> <a href="#" class="color-red">  Clear all my history</a></p>
                        <!-- /.text-right -->
                        <div class="row upload_file_info">
                            <table class="table table-bordered history-data">
                                <thead>
                                <tr>
                                    <th> Action </th>
                                    <th> Timesstamp </th>
                                    <th> Details </th>
                                </tr>
                                </thead>
                                <tbody>
                                <?php 
$all_history = $history->get_history(10);
if ($all_history != NULL) {
    foreach ($all_history as $item) {
        ?>
                                <tr data-id="<?php 
        echo $item->id;
        ?>
">
                                    <td> <p>  <?php 
        echo $item->action;
        ?>
 </p></td>
                                    <td> <p> <?php 
        echo date('H:i A', strtotime($item->upd));
        ?>
  / <?php