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; } $CI=&get_instance(); $CI->load->model("frontend_model"); ?>

User Profile

Hi , Welcome to policybot
load->view('front/includes/leftmenu'); ?>

Your Order

num_rows()>0) { $i=1; foreach($user_ord->result() as $gq){ $quoteid=$gq->id; $agency_id=$gq->agency_id; $policyname=$gq->policyname; $category=$gq->category; $policy_id=$gq->policy_id; $cdate=$gq->cdate; $status=$gq->status; $tables="users"; $wheres=array("id"=>$agency_id); $shows=("*"); $agedet=$this->commonsql_model->selectTable($tables,$wheres,$shows); $tables="categories"; $wheres=array("id"=>$category); $shows=("*"); $categ=$this->commonsql_model->selectTable($tables,$wheres,$shows); if ($categ->num_rows()>0){ $ca=$categ->row(); $categoryname=$ca->name; } if ($agedet->num_rows()>0){ $ad=$agedet->row(); $agentname=$ad->name; } ?>
S.No Policy Name Agent Name Date Action Response
Cancel Accepted Completed Canceled Pending In Progress Completed Canceled
load->view('front/includes/footer'); ?>