<?php define("__ROOT__", __DIR__ . "/../"); require_once __ROOT__ . "models/GameUsers.class.php"; $page_var = "gamestats"; $page_js = array(); array_push($page_js, HOSTNAME . "scripts/gameStats.js"); //remane this include_once __ROOT__ . 'admin/admin_header_layout.php'; $total_user = GameUsers::getTotalUserCount(); $total_coin = GameUsers::getTotalCoins(); $total_game = GameUsers::getTotalGame(); $start = strtotime(date("d-m-Y") . " 00:00:00"); $end = strtotime(date("d-m-Y") . " 23:59:59"); $total_game_today = GameUsers::getTotalGameDate($start, $end); ?> <div class="container"> <div class="row"> <div class="span12" style="height: 40px;"></div> </div> <div class="row"> <div class="span12" style="height: 40px; color: #7ba29a; font-weight: bold;">Economy</div> <div class="span12"> <table class="table table-bordered"> <tr> <td style ="color: #7ba29a; font-weight: bold;">Total Coin</td> <td style ="color: #7ba29a; font-weight: bold;">Total User</td> <td style ="color: #7ba29a; font-weight: bold;">Total Coin / Total User</td> </tr> <tr> <td><?php