?
Current Path : /home1/savoy/public_html/savoyglobal.net/piadraft/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/piadraft/system/application/views/HR/singleofferletter.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) { $name=$updata['name']; $designationid=$updata['designationid']; $joindate=$this->mastermodel->convdatformat($updata['joindate']); $email=$updata['email']; $subdate=$this->mastermodel->convdatformat($updata['subdate']); $filename=$updata['filename']; $contactno=$updata['contactno']; } $designation=$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>Offer Letter</legend> <fieldset class ="leftalign"> <ul> <li> <?php $data = array( 'name' => 'name', 'id' => 'name', 'value' => $name, ); ?> <label for="date">Name</label> <label class="lbl_title"> <?php echo $name; ?></label> </li> <li> <label for="date">Designation</label> <label class="lbl_title"> <?php echo $designation->designation; ?></label> </li> <li> <label for="date">Email</label> <label class="lbl_title"> <?php echo $email; ?></label> </li> </ul> </fieldset> <fieldset class="rightalign"> <ul> <li> <label>Submission Date</label> <label class="lbl_title"> <?=$subdate;?></label> </li> <li> <label>Joining Date</label> <label class="lbl_title"> <?=$joindate;?></label> </li> <li> <label for="date">Contact No</label> <label class="lbl_title"> <?php echo $contactno; ?></label> </li> </ul> </fieldset> <li></li> <ul> </ul> <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><a href="'.base_url().'/offerletter/'.$filename.' "> <img src="'.base_url().'/assets/images/'.$imname.'" class="clickimage" ></a>'; echo '<br/>'.$filename.'</label>'; } ?> <br /><br /> </fieldset> <?php echo form_close();?> </fieldset>