?
Current Path : /home1/savoy/www/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/www/savoyglobal.net/drafthr/system/application/views/Master/editextension.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']; $extension=$updata['extension']; $description=$updata['description']; $extensionid=$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="loadextension()" alt="Back" align = "center" width="25" height="25" /></label> </div> <fieldset> <legend>Update Extensions</legend> <?php $attributes = array('id' => 'customForm'); echo form_open('master/editextension',$attributes); echo form_hidden('extensionid',$extensionid); ?> <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 "</select>"; ?><span id="cover_idInfo" class="red_bold">*</span> </li> <li> <label for="country">Extension</label> <?php $data = array( 'name' => 'extension', 'id' => 'extension', 'value' => $extension, 'style' =>'width:250px;' ); echo form_input($data).form_error($data); ?><span id="extensionInfo" 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','extension');">Update</button> </li> </ul> <?php echo form_close();?> </fieldset>