load->view('front/includes/header'); ?> session->userdata('primaryid'); $userrole=$this->session->userdata('userrole'); $loggedname=$this->session->userdata('loggedname'); $tables="users"; $wheres=array("id"=>$primaryid); $shows=("*"); $userdet=$this->commonsql_model->selectTable($tables,$wheres,$shows); if($userdet->num_rows()>0) { $u=$userdet->row(); $loggedusername=$u->name; } ?> Agent Profile Hi =ucwords($loggedusername);?> , Welcome to policybot load->view('front/includes/leftmenu'); ?> Change Password num_rows()>0) { $ud=$userdet->row(); $id=$ud->id; $name=$ud->name; $email=$ud->email; $mobile=$ud->mobile; $pincode=$ud->pincode; $state=$ud->state; $city=$ud->city; $address=$ud->address; $country=$ud->country; $password=$ud->password; } ?> Change Password * Conform Password * load->view('front/includes/footer'); ?>