Ejemplo n.º 1
0
$i = 1;
while ($data = mysql_fetch_object($qry)) {
    ?>

                                        <tr class="odd gradeX">
                                            <td> <?php 
    echo $i;
    ?>
 </td>
                                            <td> <?php 
    echo getUsernameByUserId($data->uId);
    ?>
 </td>
                                            <td> <?php 
    $todayDate = new Carbon\Carbon($data->loginTime);
    echo $todayDate->toFormattedDateString();
    ?>
 </td>
                                            <td class="center"> 

                                            	<?php 
    $inTime = new Carbon\Carbon($data->loginTime);
    echo $inTime->toTimeString();
    ?>
 

                                            </td>
                                            <td class="center"> 

                                            	<?php 
    $outTime = new Carbon\Carbon($data->logoutTime);