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 Admin extends CI_Controller
- {
- function __construct()
- {
- parent::__construct();
- $this->load->library('template');
- }
- public function index()
- {
- $this->load->view('admin/dashboard');
- }
- function get_where($table = null)
- {
- $this->db->from($table);
- $this->db->where($where);
- return $this->db->get();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement