? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/application/views/Employee/

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/sgms/application/views/Employee/view_settlement_office.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_office','Employee')" alt="Add New" align = "center" width="25" height="25"  />
    </label>
</div>

<div id="searchdiv">
<?php
    $attributes=array('id'=>'searchvalidateform','class'=>'customForm');
    echo form_open('employee/viewinemployeesearch/search_settlement_office/view_settlement_office/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="office_employee_name">Select</option>
         <option <?php if ($searchfield == "office_employee_name") echo "selected"; ?> value="office_employee_name">Employee Name</option>
         <option <?php if ($searchfield == "office_employee_no") echo "selected"; ?> value="office_employee_no">Employee No</option>
         <option <?php if ($searchfield == "leave_type_name") echo "selected"; ?> value="leave_type_name">Leave Type</option>
         <option <?php if ($searchfield == "office_settlement_status") echo "selected"; ?> value="office_settlement_status">Settlement Status</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>Employee Settlement Information</caption>
    <thead>
        <tr>
        <th>Sl No</th>
        <th>Employee Name</th>
        <th>Employee No</th>
        <th>Leave Type</th>
        <th>Starting Date</th>
        <th>Ending Date</th>
        <th>Settlement Date</th>
        <th>Settlement Status </th>
        <th width="10%">Action</th>
        </tr>
    </thead>
<tbody>

<?php
    if ($viewinfo->num_rows() > 0)
    {
        $table="";
        $field="";
        $z=1;
        foreach ($viewinfo->result() as $row)
        {
            $num = $this->mastermodel->get_num_rows('office_settlement','office_settlement_leave_id',$row->office_leave_id);
            $settlement = $this->mastermodel->get_data_srow('office_settlement',$row->office_leave_id,'office_settlement_leave_id');
            if($z%2==0)
                $alt="alt";
            else
                $alt="alt1";
            
?>
            <tr class="'.$alt.'">
                <td><?=$id;?></td>
                <td>
                 <?php
                        if ($num!=0)
                        {
                    ?>
                    <a href="#" onclick="displayformdata('employee','single_page','<?=$row->office_leave_id;?>','office_leave','office_leave_id','single_settlement_office')" ><?=$row->office_employee_name;?></a>
                    <?php
                        }
                        else
                        {
                    ?>
                            <?=$row->office_employee_name;?>
                    <?php
                        }
                    ?>
                </td>
                <td><?=$row->office_employee_no;?></td>
                <td><?=$row->leave_type_name;?></td>
                <td><?=$this->mastermodel->convertdatenormalformat($row->office_leave_starting_date);?></td>
                <td><?=$this->mastermodel->convertdatenormalformat($row->office_leave_ending_date);?></td>
                <td><?php if(!empty($settlement)) { ?><?=$this->mastermodel->convertdatenormalformat($settlement->office_settlement_date);?><?php } ?></td>
                <td><?php if(!empty($settlement)) { ?><?=$settlement->office_settlement_status;?><?php } ?></td>
                <td>
                    <?php
                        if ($num==0)
                        {
                    ?>
                        <div class="fronticons">
                            <img src="<?=base_url()?>assets/images/add-icon.png"  title="Add Employee Settlement Details" width="20" height="20" alt="Edit" align = "center" class="clickimage" onclick="editformdata('employee','edit_page','<?=$row->office_leave_id;?>','office_leave','office_leave_id','add_settlement_office','')" alt="" />
                        </div>
                     <?php
                        }
                        else
                        {
                     ?>
                    <div id="console_fronticons">
                        <div class="fronticons">
                            <img src="<?=base_url()?>assets/images/edit-icon.gif"  title="Edit Leave Details" width="20" height="20" alt="Edit" align = "center" class="clickimage" onclick="editformdata('employee','edit_page','<?=$row->office_leave_id;?>','office_leave','office_leave_id','edit_settlement_office')" alt="" />
                        </div>
                        <div class="fronticons">
                             <img src="<?=base_url()?>assets/images/delete-icon.png"  title="Delete" width="20" height="20" onclick="deletedata('office_settlement',<?=$row->office_leave_id;?>,'office_settlement_leave_id','employee','viewinemployeesearch','search_settlement_office','view_settlement_office','<?=$table?>','<?=$field?>')" alt="Delete" align = "center"/>
                        </div>
                    </div>
                    <?php
                            }
                        ?>
                </td>
            </tr>

<?php
            $id++;
            $z++;

        }
    }
?>
</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('employee','viewinemployeesearch','search_settlement_office','view_settlement_office',<?=$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('employee','viewinemployeesearch','search_settlement_office','view_settlement_office',<?=$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('employee','viewinemployeesearch','search_settlement_office','view_settlement_office',<?=$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