?
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/addstatus.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="loadstatus('<?=$_SESSION['pagenum']?>','<?=$_SESSION['searchoption']?>','<?=$_SESSION['searchtxt']?>')" alt="Back" align = "center" width="25" height="25"/></label> </div> <fieldset> <legend>Add Status</legend> <?php $attributes = array('id' => 'customForm'); echo form_open('hr/addstatus',$attributes); ?> <ul> <li> <?php $stf=$this->mastermodel->get_data_srow('status',$norecords,'id'); if(isset($stf->statuscode)) { $num=substr($stf->statuscode, -3); $num++; } else $num=100; ?> <input type="hidden" name="statuscode" value="<?php echo "STAT-".$num; ?>"> </li> <li> <?php $data = array( 'name' => 'statusname', 'id' => 'statusname', ); ?> <label for="country">Status Name</label> <?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');">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>