?
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/system/application/views/HR/ |
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/HR/editstatus.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) { $status=$updata['statusname']; $statuscode = $updata['statuscode']; $statusid=$updata['id']; } ?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" onclick="loadstatus('<?=$_SESSION['pagenum']?>','<?=$_SESSION['searchoption']?>','<?=$_SESSION['searchtxt']?>')" alt="Back" align = "center" width="25" height="25" /></label> </div> <fieldset> <legend>Update Status</legend> <?php $attributes = array('id' => 'customForm'); echo form_open('hr/editstatus',$attributes); echo form_hidden('statusid',$statusid); ?> <ul> <li> <label for="Status Code">Status Code</label> <?php echo $statuscode; ?> </li> <li> <label for="Status Name">Status Name</label> <?php $data = array( 'name' => 'statusname', 'id' => 'statusname', 'value' => $status, ); ?> <?php echo form_input($data).form_error($data); ?><span id="statusnameInfo" class="red_bold">*</span> </li> <li><label for="submit"> </label> <button type="submit" id="submit" onclick="return validateform('statusname');">Update</button> </li> </ul> <?php echo form_close();?> </fieldset>