?
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/system/application/views/Master/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/drafthr/system/application/views/Master/editcondition.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ foreach($viewinfo as $updata) { $cover_id=$updata['cover_id']; $conditions=$updata['conditions']; $description=$updata['description']; $conditionid=$updata['id']; } $cr=$this->mastermodel->get_data_srow('covers',$cover_id,'id'); $sg=$this->mastermodel->get_data_srow('segment_insurances',$cr->segment_id,'id'); ?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="loadcondition()" alt="Back" align = "center" width="25" height="25" /></label> </div> <fieldset> <legend>Update Condition</legend> <?php $attributes = array('id' => 'customForm'); echo form_open('master/editcondition',$attributes); echo form_hidden('conditionid',$conditionid); ?> <ul> <li id="typelist"> <?php echo " <label for='branch'>Insurance Classification</label><select name='segment_id' id='segment_id' onchange=\"showcover()\">"; echo "<option value='".$sg->id."'>".$sg->segment."</option>"; foreach($segment as $seg) { if($seg['segment']!=$sg->segment) echo "<option value='".$seg['id']."'>".$seg['segment']."</option>"; } // echo "<option value='". $list['id'] . "'>" . $list['segment'] . "</option>"; echo "</select>"; ?> <span id="segment_idInfo" class="red_bold">*</span> </li> <li id="coverlist"> <?php echo " <label for='branch'>Type Of Cover</label><select name='cover_id' id='cover_id' >"; echo "<option value='".$cr->id."'>".$cr->cover."</option>"; foreach($cover as $clist) { if($clist['cover']!=$cr->cover) echo "<option value='".$clist['id']."'>".$clist['cover']."</option>"; } // echo "<option value='". $list['id'] . "'>" . $list['segment'] . "</option>"; echo "</select>"; echo form_hidden('conditionid',$conditionid); ?><span id="cover_idInfo" class="red_bold">*</span> </li> <li> <label for="country">Condition</label> <?php $data = array( 'name' => 'condition', 'id' => 'condition', 'value' => $conditions, 'style' =>'width:250px;' ); echo form_input($data).form_error($data); ?><span id="conditionInfo" class="red_bold">*</span> </li> <li> <label for="country">Description</label> <?php echo form_textarea('description',$description); ?> </li> <li><label for="submit"> </label> <button type="submit" id="submit" class="clickimage" onclick="return validateform('segment_id','cover_id','condition');">Update</button> </li> </ul> <?php echo form_close();?> </fieldset>