Exemple #1
0
        if ($i % 2 != 0) {
            $loginId = $members[$i - 1];
            array_push($ids, $loginId);
            $scores[$loginId] = isset($members[$i]) ? $members[$i] : 0;
        }
    }
}
$rows = $userDao->getOnSearchLoginIds($ids);
$pageNo = $paginator->getPageNo();
$startId = ($pageNo - 1) * $pageSize;
$endId = $startId + $pageSize - 1;
$rowsHtml = "";
$gNumRecords = sizeof($rows);
foreach ($rows as $row) {
    $score = isset($scores[$row["login_id"]]) ? $scores[$row["login_id"]] : 0;
    $rowsHtml .= \com\indigloo\sc\html\User::getAdminWidget($row, $score);
}
?>


<!DOCTYPE html>
<html>

    <head>
        <title> 3mik.com - user analytic </title>
        <?php 
include APP_WEB_DIR . '/inc/meta.inc';
?>
        <?php 
echo \com\indigloo\sc\util\Asset::version("/css/bundle.css");
?>
Exemple #2
0
                        <a href="/monitor/users.php?ft=tainted">Tainted</a>

                    </div>
 
                    <div class="mt20">
                        <div id="chartdiv" style="height:225px;width:450px; "></div>
                        <?php 
$startId = NULL;
$endId = NULL;
$gNumRecords = sizeof($userDBRows);
if ($gNumRecords > 0) {
    $startId = $userDBRows[0]['id'];
    $endId = $userDBRows[$gNumRecords - 1]['id'];
}
foreach ($userDBRows as $userDBRow) {
    echo \com\indigloo\sc\html\User::getAdminWidget($userDBRow);
}
?>
                    </div>
                </div>
                 
            </div>
        </div> <!-- container -->
        
        <?php 
$paginator->render($baseURI, $startId, $endId, $gNumRecords);
?>

        <?php 
echo \com\indigloo\sc\util\Asset::version("/js/bundle.js");
?>