?
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/addbranch.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <?php if($action=='update') { foreach($viewinfo as $adb) { $branch=$adb['branch']; $id=$adb['id']; } } else{ $branch=''; } ?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="showbranch()" alt="Back" align = "center" width="25" height="25" /></label> </div> <fieldset> <?php $attributes = array('id' => 'customForm'); if($action=='add') { echo '<legend>Add Branch of Insurance</legend>'; echo form_open('master/addbranch',$attributes); } else if($action=='update') { echo '<legend>Update Branch of Insurance</legend>'; echo form_open('master/editbranch',$attributes); echo '<input type="hidden" name="branchid" value="'.$id.'">'; } ?> <ul > <?php $data = array( 'name' => 'branch', 'id' => 'branch', 'value' => ''.$branch.'', ); ?> <li> <label for="branch">Branch of Insurance</label> <?php echo form_input($data).form_error($data); ?> <span id="branchInfo" class="red_bold">*</span> </li> <li><label for="submit"> </label> <button type="submit" class="clickimage" id="submit" onclick="return validateform('branch');">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>