?
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/addgrade.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Add New" onclick="loadgrade('<?=$_SESSION['pagenum']?>','<?=$_SESSION['searchoption']?>','<?=$_SESSION['searchtxt']?>')" alt="Back" align = "center" width="25" height="25"/></label> </div> <fieldset> <legend>Add Grade</legend> <?php $attributes = array('id' => 'customForm'); echo form_open('hr/addgrade',$attributes); ?> <ul> <li> <?php $stf=$this->mastermodel->get_data_srow('grade',$norecords,'id'); if(isset($stf->gradecode)) { $num=substr($stf->gradecode, -3); $num++; } else $num=100; ?> <input type="hidden" name="gradecode" value="<?php echo "GRAD-".$num; ?>"> </li> <li> <?php $data = array( 'name' => 'gradename', 'id' => 'gradename', ); ?> <label for="country">Grade Name</label> <?php echo form_input($data).form_error($data); ?><span id="gradenameInfo" class="red_bold">*</span> </li> <li><label for="submit"> </label> <button type="submit" id="submit" onclick="return validateform('gradename');">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>