?
Current Path : /home1/savoy/public_html/savoyglobal.net/sibs_draft/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/sibs_draft/system/application/views/HR/editholidays.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <link href="<?=base_url()?>/assets/css/calendar.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="<?=base_url()?>/assets/js/cal.js"></script> <script type="text/javascript"> jQuery(document).ready(function () { $('.one').datepick({dateFormat: 'dd-mm-yyyy'}); $('.two').datepick({dateFormat: 'dd-mm-yyyy'}); }); </script> <?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ foreach($viewinfo as $updata) { $holidays=$updata['occasion']; $holidaysdate = $updata['start_date']; $holidayedate = $updata['end_date']; $holidaysid=$updata['id']; } ?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" onclick="loadholidays('<?=$_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/editholidays',$attributes); echo form_hidden('holidaysid',$holidaysid); ?> <ul> <li> <label>Date</label> <input class="one" name="start_date" id="start_date" readonly="true" value="<?php echo $this->mastermodel->convdatformat($holidaysdate);?>" type="text" style="background-image: url(../../../../assets/images/datefocus.gif);"> </li> <li> <label >End Date</label><input class="two" name="end_date" id="end_date" readonly="true" value="<?php echo $this->mastermodel->convdatformat($holidayedate);?>" type="text" style="background-image: url(../../../../assets/images/datefocus.gif);"> </li> <li> <label>Occasion</label> <?php $data = array( 'name' => 'occasion', 'id' => 'occasion', 'value' => $holidays, ); ?> <?php echo form_input($data).form_error($data); ?><span id="occasionInfo" class="red_bold">*</span> </li> <li><label for="submit"> </label> <button type="submit" id="submit" onclick="return doallthetwo();">Update</button> </li> </ul> <?php echo form_close();?> </fieldset>