public function ajax_overall() { $r = getMyRatingWithName($this->db, $this->fid); $mRanking = getMyRanking($this->db, $r['rating']); $this->load->view('/player/over_all', array('ranking' => $mRanking, 'rating' => $r['rating'], "game" => getOverall($this->db, $this->fid), "speed" => getMySpeed($this->db, $this->fid))); }
?> ) no-repeat center center; background-size: cover; /* Backgrounds by https://unsplash.com/ `*/ } </style> </head> <body> <div class="row"> <div class="col-centered col-lg-6 col-md-6 col-md-offset-3 transparent"> <div class="field"> <h1><center>Live Platform Uptime Statistics</center></h1> <?php //var_dump($results); $print = getOverall($results); //All Time Ratio echo '<div id="alltime">'; echo "<h4 class='positive'>" . $print['alltime'] . "%</h4> \n <span class='ratio-title'><p>all time</p></span>"; echo '</div>'; // 24 Hour Ratio echo "<h4 class='positive'>" . $print['day'] . "%</h4> \n <span class='ratio-title'><p>last 24 hours</p></span>"; // 7 day ratio echo "<h4 class='positive'>" . $print['week'] . "%</h4> \n <span class='ratio-title'><p>last 7 days</p></span>"; // 30 day ratio echo "<h4 class='positive'>" . $print['month'] . "%</h4> \n <span class='ratio-title'><p>last 30 days</p></span>"; ?> </div> </div> </div>