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 , Welcome to policybot
load->view('front/includes/leftmenu'); ?>

Edit Profile Picture

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; $profilepic=$ud->profilepic; $country=$ud->country; } ?>

load->view('front/includes/footer'); ?>