• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dashboard navigation problem

#1
i am having two dashboard one for user and another of Admin
In the header when i click the admin page it cannot navigate to the corresponding page.


<a href="<?php echo base_url(); ?>users/dashboard"><?php echo $this->session->userdata('username'); ?></a>

User dashboard
Code:
$data['title'] = 'Dashboard';
            $this->load->model('user_model');          
     $data['appdetails_show'] = $this->user_model->getapp();    


            $this->load->view('templates/header');
            $this->load->view('user/dashboard', $data);
            $this->load->view('templates/footer');


Admin Dashboard
Code:
$data['title'] = 'Admin Dashboard';
     $this->load->model('user_model');          
     $data['appdetails_admin'] = $this->user_model->getapp_admin();    


     $this->load->view('templates/header');
     $this->load->view('users/admin_dashboard', $data);
     $this->load->view('templates/footer');


how to redirect ?
Reply


Messages In This Thread
Dashboard navigation problem - by kvanaraj - 09-18-2018, 06:13 AM
RE: Dashboard navigation problem - by Pertti - 09-18-2018, 06:23 AM
RE: Dashboard navigation problem - by Wouter60 - 09-18-2018, 10:02 AM
RE: Dashboard navigation problem - by kvanaraj - 09-19-2018, 06:12 AM
RE: Dashboard navigation problem - by Wouter60 - 09-19-2018, 07:37 AM
RE: Dashboard navigation problem - by kvanaraj - 09-19-2018, 09:28 PM
RE: Dashboard navigation problem - by InsiteFX - 09-20-2018, 03:30 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.