?
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/editofferletter.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <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) { $name=$updata['name']; $offerletterid=$updata['id']; $designationid=$updata['designationid']; $email=$updata['email']; $subdate=$updata['subdate']; $joindate=$updata['joindate']; $contactno=$updata['contactno']; $filename=$updata['filename']; } $desg=$this->mastermodel->get_data_srow('designation',$designationid,'id'); ?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="loadofferletter('<?=$_SESSION['pagenum']?>','<?=$_SESSION['searchoption']?>','<?=$_SESSION['searchtxt']?>')" alt="Back" align = "center" width="25" height="25" /></label> </div> <fieldset> <legend>Update Offer Letter</legend> <?php $attributes = array('id' => 'customForm'); echo form_open('hr/editofferletter',$attributes); echo form_hidden('offerletterid',$offerletterid); ?> <fieldset class ="leftalign"> <ul> <li> <?php $data = array( 'name' => 'name', 'id' => 'name', 'value' => $name, ); ?> <label for="date">Name</label> <?php echo form_input($data).form_error($data); ?><span id="nameInfo" class="red_bold">*</span> </li> <?php echo "<li> <label for='repto'>Designation</label><select name='designationid' id='designationid'>"; echo "<option value='".$desg->id."'>".$desg->designation."</option>"; foreach($design as $dlist) { if($dlist['id']!=$desg->id) echo "<option value='".$dlist['id']."'>".$dlist['designation']."</option>"; } echo "</select></li>"; ?> <li> <label for="date">Email</label> <?php echo form_input('email',$email); ?> </li> <li></li> </ul> </fieldset> <fieldset class="rightalign"> <ul> <li> <label>Submission Date</label> <input class="one" name="subdate" id="subdate" readonly="true" type="text" value="<?php echo $this->mastermodel->convdatformat($updata['subdate']);?>" style="background-image: url(../../../../assets/images/datefocus.gif);"> </li> <li> <label>Joining Date</label> <input class="two" name="joindate" id="joindate" readonly="true" type="text" value="<?php echo $this->mastermodel->convdatformat($updata['joindate']);?>" style="background-image: url(../../../../assets/images/datefocus.gif);"> </li> <li> <label for="date">Contact No</label> <?php echo form_input('contactno',$contactno); ?> </li> <li></li> </ul> </fieldset> <li></li> <fieldset> <br /><br /> <label style="padding-left: 10px" for="country">Offer Letter</label> <?php if($filename!="") { $filename = strtolower($filename) ; $exts = split("[/\\.]", $filename) ; $n = count($exts)-1; $exts = $exts[$n]; $imname=$exts.'.png'; echo '<label> <img src="'.base_url().'/assets/images/'.$imname.'" class="clickimage" >'; echo '<br/>'.$filename.'</label>'; } ?> <br /><br /> </fieldset> <ul> <li><label for="submit"> </label> <button type="submit" id="submit" onclick="return doallthetwo();">Update</button> </li> </ul> <?php echo form_close();?> </fieldset>