예제 #1
0
 public function index()
 {
     /*
     $data = array("error"=>"Opps you can't login ipray admin at this moment. sorry.");
     $this->load->view('invalidtoken',$data);
     return;
     */
     parent::initView('dashboard', 'dashboard', 'dashboard', array('registered_users' => $this->Mdl_Users->get_length(), 'online_users' => $this->Mdl_Users->online_usercnt(), 'requests' => count($this->Mdl_Requests->getAll()), 'prays' => count($this->Mdl_Prays->getAll())));
     parent::loadView();
 }