?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/draft/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/sgms/draft/application/views/HR/manage_work_shift.php |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <?php $this->load->view('header'); ?> <script type="text/javascript"> $(document).ready(function() { viewdata('hr','viewinhrsearch','search_work_shift','view_work_shift','1'); }); function SelectMoveRows(SS1,SS2) { var SelID=''; var SelText=''; // Move rows from SS1 to SS2 from bottom to top for (i=SS1.options.length - 1; i>=0; i--) { if (SS1.options[i].selected == true) { SelID=SS1.options[i].value; SelText=SS1.options[i].text; var newRow = new Option(SelText,SelID); SS2.options[SS2.length]=newRow; SS1.options[i]=null; } } var secondbox=document.getElementById('employees_2'); for (i=secondbox.options.length - 1; i>=0; i--) { secondbox.options[i].selected = true; } SelectSort(SS2); } function SelectSort(SelList) { var ID=''; var Text=''; for (x=0; x < SelList.length - 1; x++) { for (y=x + 1; y < SelList.length; y++) { if (SelList[x].text > SelList[y].text) { // Swap rows ID=SelList[x].value; Text=SelList[x].text; SelList[x].value=SelList[y].value; SelList[x].text=SelList[y].text; SelList[y].value=ID; SelList[y].text=Text; } } } } </script> </head> <body> <?php $this->load->view('logopanel'); ?> <div id="main"> <?php $this->load->view('menu'); ?> <div id="middle"> <?php $this->load->view('leftbar'); ?> <div id="center-column"> <?php $this->load->view('topbar'); ?> <div class="table"> <p> </p> <div id="entrydiv"> </div> </div> </div> </div> <?php $this->load->view('footer'); ?> </div> </body> </html>