CodeIgniter:显示每个用户类型的不同导航菜单

I have searched everywhere here about showing different nav menu depends on user type. My database user table has a field named "user_type". Below is the flow on what i have in mind. The problem is I don't know how to execute it.

if($user_type == 'Admin') {
$this->load->view('navbar-menu');
} else if($user_type == 'Client') {
$this->load->view('navbar-menu-client');
} else {
$this->load->view('navbar-menu-normal');
}
also make a session code for it and pass this user_ID and compare in your database and get the user_type in your table.
i have make simple code for your .
make a condtoller in your folder with (My_controller.php) this name and than after go yo your browser and run this URL : HOSTNAME/index.php/My_controller/index

<?php

defined('BASEPATH') OR exit('No direct script access allowed');

class My_controller extends CI_Controller {

    public function my_controller()
    {
        parent::__construct();
    }

    function index()
    {
        $where = array('user_ID' => $this->session->userdata['login_ID']);
        $user_type = $this->yourmodelname->yourfunctioname($where);
        if($user_type == 'Admin') 
        {
            $this->load->view('navbar-menu');
        }
        else if($user_type == 'Client') 
        {
            $this->load->view('navbar-menu-client');
        } 
        else 
        {
            $this->load->view('navbar-menu-normal');
        }
    }
}
?>