viewing paste dashboard.php | PHP

Posted on the
1 2 3 4 5 6 7 8 9 10 11
function index(){
                $cs = file_get_contents(base_url().'chat/get_chat_setting');
                $cs = json_decode($cs);
                $userid = $cs->user_session;
                $this->load->view('layout/header');
                echo "LOGGED IN";
                echo anchor('dashboard/logout', 'LOGOUT');
                echo $this->session->userdata('dentist');
                $this->load->view('openchat',array('userid'=>$this->session->userdata($userid),'username'=>$this->session->userdata('dentist')));
                $this->load->view('layout/footer');
        }
Viewed 359 times, submitted by unknown.