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