?
Current Path : /home1/savoy/public_html/savoyglobal.net/sibsmoved/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/sibsmoved/system/application/views/Master/editcover.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <?php foreach($viewinfo as $updata) { $segment_id=$updata['segment_id']; $cover=$updata['cover']; } ?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="showcovertype('<?=$_SESSION['searchoption']?>','<?=$_SESSION['pagenum']?>','<?=$_SESSION['searchtxt']?>')" alt="Back" align = "center" width="25" height="25" /></label> </div> <fieldset> <legend>Update Cover</legend> <?php $attributes=array('id'=>'customForm'); echo form_open('master/editcover',$attributes);?> <ul> <li > <?php echo " <label for='branch'>Insurance Classification</label><select name='segment_id' id='segment_id' onchange=\"showcover()\">"; $segmentrow=$this->mastermodel->get_data('segment_insurances',$segment_id,'id'); $seg=$this->mastermodel->getdatas('segment_insurances'); foreach($segmentrow as $sr) { echo "<option value='".$sr['id']."'>".$sr['segment']."</option>"; } foreach($seg as $sg) { if($sg['segment']!=$sr['segment']) echo "<option value='".$sg['id']."'>".$sg['segment']."</option>"; } // echo "<option value='". $list['id'] . "'>" . $list['segment'] . "</option>"; echo "</select>"; ?> </li> <?php echo '<li><label for="cover">Add Cover</label>'; $data = array( 'name' => 'cover', 'id' => 'cover', 'value' => $cover, 'style' =>'width:250px;' ); echo form_input($data).form_error('cover'); echo '</li>'; ?> <input type="hidden" name="coverid" value="<?=$id?>" > <li><label for="submit"> </label> <button type="submit" id="submit" class="clickimage">Update</button> </li> </ul> <?php echo form_close();?> </fieldset>