Example #1
0
$do_breadcrumb = new Breadcrumb();
$do_breadcrumb->getBreadcrumbs();
?>
    <div class="grayline1"></div>
    <div class="spacerblock_20"></div>
    <div class="contentfull">
        <div class="mainheader">
            <div class="pad20">
                <span class="headline14">Active User Report</span>
            </div>
        </div>
        <table id="report_user_usage">
        <tbody>
        <?php 
$do_user = new User();
$active_users = $do_user->getTotalActiveUsers();
?>
            <tr class="total_users"><td colspan="9">Active Users: <?php 
echo $active_users;
?>
</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>
Example #2
0
echo $user_count;
?>
<br />
        <span class="adm_report_explanation">** Excluding today</span>
        <br /><br />

        <?php 
$user_count = $do_user->getUsersRegisteredYesterday();
?>
        3. New Registrations Yesterday: <?php 
echo $user_count;
?>
<br /><br />

        <?php 
$user_count = $do_user->getTotalActiveUsers();
?>
        4. Total Active Users: <?php 
echo $user_count;
?>
<br />
        <span class="adm_report_explanation">** Registered more than 30 days ago and had a login in the past 7 days</span>
        <br /><br />

        <?php 
$user_count = $do_user->getTotalNewActiveUsers();
?>
        5. Total New Active Users: <?php 
echo $user_count;
?>
<br />