public function decks()
 {
     $decks = new Deck();
     $this->data['decks'] = $decks->get();
     $this->data['current_function_view'] = $this->load->view('admin/cards/list_categories', $this->data, true);
     $this->load->view('admin/master', $this->data);
 }
 /**
  * Index Page for this controller.
  *
  * Maps to the following URL
  * 		http://example.com/index.php/welcome
  *	- or -  
  * 		http://example.com/index.php/welcome/index
  *	- or -
  * Since this controller is set as the default controller in 
  * config/routes.php, it's displayed at http://example.com/
  *
  * So any other public methods not prefixed with an underscore will
  * map to /index.php/welcome/<method_name>
  * @see http://codeigniter.com/user_guide/general/urls.html
  */
 public function index()
 {
     $decks = new Deck();
     $this->data['decks'] = $decks->get();
     $this->load->view('/online/decks', $this->data);
 }