Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- defined('BASEPATH') OR exit('No direct script access allowed');
- class Dashboard extends CI_Controller {
- public function __construct()
- {
- parent::__construct();
- verify_login_status();
- }
- public function index()
- {
- $data['jumlah_customer'] = $this->db->get('customer')->num_rows();
- $data['jumlah_pendaftaran'] = $this->db->get('pendaftaran')->num_rows();
- //debug($data);
- $this->template->load('main', $this->router->fetch_class().'/record', $data);
- }
- }
- /* End of file Dashboard.php */
- /* Location: ./application/controllers/Dashboard.php */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement