load->model('Policy_model'); ?> load->view('admin/includes/header');?>
load->view('admin/includes/sidebar');?>
Policy Edit
load->view('admin/includes/msg');?>
Edit Policy
num_rows()>0) { $s=$pol->row(); $id=$s->id; $name=$s->name; $image=$s->image; $company=$s->company; $category=$s->category; $catname=$s->catname; $cmpname=$s->cmpname; $intro=$s->intro; $amount=$s->amount; $amount_period=$s->amount_period; $guarantee=$s->guarantee; $policy_period=$s->policy_period; $benefits=$s->benefits; $specializations=$s->specializations; $max_cover_age=$s->max_cover_age; $is_this_top_plan=$s->is_this_top_plan; $life_cover=$s->life_cover; $claimed_settlement=$s->claimed_settlement; $pp=explode(" ", $policy_period); $ppnumber=$pp[0]; $ppperiod=$pp[1]; $g=explode(" ", $guarantee); $gnumber=$g[0]; $gperiod=$g[1]; if($life_cover!=""){ $lc=explode(" ", $life_cover); $lcnumber=$lc[0]; $lcperiod=$lc[1]; } else { $lcnumber=""; $lcperiod=""; } $com=$CI->Policy_model->get_compare_master($category); } ?>
checked value="" autocomplete="off" class="form-control" >
num_rows()>0) { $p=1; foreach($cmp_det->result() as $s) { $primary=$s->id; $pricpid=$s->compare; $compare_name=$s->compare_name; $comparedetail=$s->comparedetail; ?>
load->view('admin/includes/footer');?>