mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-09 03:41:58 +01:00
35 lines
677 B
PHP
35 lines
677 B
PHP
<?php
|
|
|
|
|
|
class ControllerStatGraph extends Controller {
|
|
private $error = array();
|
|
|
|
public function index(){
|
|
|
|
$request = Registry::get('request');
|
|
$db = Registry::get('db');
|
|
$db_history = Registry::get('db_history');
|
|
|
|
$this->load->model('user/user');
|
|
|
|
|
|
$this->load->model('stat/chart');
|
|
|
|
$this->load->helper('libchart/classes/libchart');
|
|
|
|
$this->data['username'] = Registry::get('username');
|
|
|
|
$timespan = @$this->request->get['timespan'];
|
|
|
|
$db->select_db($db->database);
|
|
|
|
$aa = new ModelStatChart();
|
|
|
|
$aa->lineChartHamSpam($timespan, $this->data['text_archived_messages'], SIZE_X, SIZE_Y, "");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|