Beispiel #1
0
?>
</td></tr>
            <tr class="report_heading">
                <td>Id User</td>
                <td>User</td>
                <td>Total Contacts</td>
                <td>Total Notes</td>
                <td>Total Projects</td>
                <td>Total Tasks</td>
                <td>Total Discussions</td>
                <td>Total Invoices</td>
                <td>Last Login</td>
            </tr>
        <?php 
$do_report = new ReportUserUsage();
$do_report->getActiveUsersReport();
$count = 1;
while ($do_report->next()) {
    $class = $count % 2 == 0 ? 'even' : 'odd';
    ?>

            <tr class="<?php 
    echo $class;
    ?>
">
                <td><?php 
    echo $do_report->getData('iduser');
    ?>
</td>
                <td><?php 
    echo $do_report->getData('firstname') . ' ' . $do_report->getData('middlename') . ' ' . $do_report->getData('lastname');