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, ""); } } ?>