Esempio n. 1
0
<?php

include "dashboardHead.php";
/* Count Member */
$memberCountObj = new memberModel();
$nbMember = $memberCountObj->countRow();
/* Count Picture */
$pictureCountObj = new pictureModel();
$nbPicture = $pictureCountObj->countRow();
/* Count Contest */
$contestCountObj = new contestModel();
$nbContest = $contestCountObj->countRow();
// Select user limit 8
$memberListObj = new memberModel();
$members = $memberListObj->getUserByLimit();
// Select contest limit 8
$contestListObj = new contestModel();
$contests = $contestListObj->getContestByLimit();
?>

<div id="wrapper">
    <div id="page-wrapper">
        <div class="container-fluid">
            <!-- Page Heading -->
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header">
                        Dashboard
                        <small>Statistics</small>
                    </h1>
                    <ol class="breadcrumb">