/home/desid573/public_html/payment/pdd/app/Controller
NameSizeModeActions
Component/-0755rm
AppController.php19430644editdlrm
Component.zip55800644editdlrm
CustomersController.php36380644editdlrm
DashboardsController.php5420644editdlrm
PagesController.php19360644editdlrm
SettingsController.php11610644editdlrm
UsersController.php115140644editdlrm
Edit: /home/desid573/public_html/payment/pdd/app/Controller/DashboardsController.php (542B)
layout = 'admin'; $this->loadModel('User'); $this->loadModel('Customer'); $employee_data=$this->User->find('count',array('conditions'=>array('User.role_id'=>'2'))); $this->set('employee_data', $employee_data); $customer_data=$this->Customer->find('count'); $this->set('customer_data', $customer_data); } public function employee_index(){ $this->layout = 'employee'; } }