403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/b2b.hellogtx.com/application/views/scripts/flight/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2b.hellogtx.com/application/views/scripts/flight/e-ticket-masteragency.phtml
<?php
$baseUrl = $this->baseUrl;
$B2BType = $this->B2BType;
$CurrencyRate = $this->CurrencyRate;
$CurrencyTitle = $this->CurrencyTitle;
$MasterAgencyLogo = $this->MasterAgencyLogo;
$MasterAgencyData = $this->MasterAgencyData;
$getAgencyData = $this->getAgencyData;
$AgentAddress = $this->AgentAddress;
$FlightBookingData = $this->FlightBookingData;
$ForCustomerSession = $this->ForCustomerSession;
$SelectedBaggSessionNew = $this->SelectedBaggSessionNew;
$SelectedMealSessionNew = $this->SelectedMealSessionNew;
$selectedSeatSession = $this->selectedSeatSession;
$API_Response_Ticket = $this->FlightBookingTicketArr;
$Email = isset($this->Email) ? $this->Email : false;
$withprice = isset($this->withprice) ? $this->withprice : 0;
$getSupportContactData = $this->getSupportContactData__;
$supportEmail = (isset($getSupportContactData['EmailId']) && !empty($getSupportContactData['EmailId'])) ? trim($getSupportContactData['EmailId']) : '';
$supportContactNo = (isset($getSupportContactData['ContactNo1']) && !empty($getSupportContactData['ContactNo1'])) ? trim($getSupportContactData['ContactNo1']) : '';
$supportcountrycode = (isset($getSupportContactData['countrycode']) && !empty($getSupportContactData['countrycode'])) ? trim($getSupportContactData['countrycode']) : '';

$sessionFlightSearchParams = $post = $this->sessionFlightSearchParams;
$interNationalSearch = $sessionFlightSearchParams['interNationalSearch'];
$FlightTraceId = $sessionFlightSearchParams['FlightTraceId'];
$source = isset($sessionFlightSearchParams['source']) ? $sessionFlightSearchParams['source'][0] : '';
$destination = isset($sessionFlightSearchParams['destination']) ? $sessionFlightSearchParams['destination'][0] : '';
$departure_date = isset($sessionFlightSearchParams['departure_date']) ? $sessionFlightSearchParams['departure_date'][0] : date('d/m/Y');
$strDepatureDate = isset($sessionFlightSearchParams['strDepatureDate']) ? $sessionFlightSearchParams['strDepatureDate'][0] : date('d M Y');
$strReturnDate = isset($sessionFlightSearchParams['strReturnDate']) ? $sessionFlightSearchParams['strReturnDate'] : '';
$return_date = isset($sessionFlightSearchParams['return_date']) ? $sessionFlightSearchParams['return_date'][0] : '';
$source_city = isset($sessionFlightSearchParams['source_city']) ? $sessionFlightSearchParams['source_city'][0] : '';
$ContSysId_1 = isset($sessionFlightSearchParams['ContSysId']) ? $sessionFlightSearchParams['ContSysId'][0] : '';
$destination_city = isset($sessionFlightSearchParams['destination_city']) ? $sessionFlightSearchParams['destination_city'][0] : '';
$ContSysId = isset($sessionFlightSearchParams['ContSysId']) ? $sessionFlightSearchParams['ContSysId'][1] : '';
$route = isset($sessionFlightSearchParams['route']) ? $sessionFlightSearchParams['route'][0] : '';
$mytrip_city_from = isset($sessionFlightSearchParams['mytrip_city_from']) ? $sessionFlightSearchParams['mytrip_city_from'][0] : '';
$mytrip_city_to = isset($sessionFlightSearchParams['mytrip_city_to']) ? $sessionFlightSearchParams['mytrip_city_to'][0] : '';
$from_mytrip_city = isset($sessionFlightSearchParams['from_mytrip_city']) ? $sessionFlightSearchParams['from_mytrip_city'][0] : '';
$from_city = isset($sessionFlightSearchParams['from_city']) ? $sessionFlightSearchParams['from_city'][0] : '';
$to_city = isset($sessionFlightSearchParams['to_city']) ? $sessionFlightSearchParams['to_city'][0] : '';
$adults = isset($sessionFlightSearchParams['adults']) ? $sessionFlightSearchParams['adults'] : '';
$childs = isset($sessionFlightSearchParams['childs']) ? $sessionFlightSearchParams['childs'] : '';
$infants = isset($sessionFlightSearchParams['infants']) ? $sessionFlightSearchParams['infants'] : '';
$class = isset($sessionFlightSearchParams['class']) ? $sessionFlightSearchParams['class'] : '';
$ARR_SALUTION_TJ = unserialize(ARR_SALUTION_TJ);
$ARR_SALUTION_CHILD = unserialize(ARR_SALUTION_CHILD);
$arrDepartureDates  = explode("/", $departure_date);
$departureDates       = $arrDepartureDates[2] . "/" . $arrDepartureDates[1] . "/" . ($arrDepartureDates[0] - 1);

$BagPrice = 0;
$InbBagPrice = 0;
$MealPrice = 0;
$InbMealPrice = 0;
$SeatPrice = 0;
$SelectedBagg = [];
$SelectedMeal = [];
$SelectedSeat = [];
if ($SelectedBaggSessionNew) {
  foreach ($SelectedBaggSessionNew as $values) {
    foreach ($values as $val) {
      $BagPrice += $val['Price'];
    }
    $SelectedBagg = $values;
  }
}
if ($SelectedMealSessionNew) {
  foreach ($SelectedMealSessionNew as $values) {
    foreach ($values as $val) {
      $MealPrice += $val['Price'];
    }
    $SelectedMeal = $values;
  }
}
if ($selectedSeatSession) {
  foreach ($selectedSeatSession as $values) {
    foreach ($values as $val) {
      $SeatPrice += $val['amount'];
    }
    $SelectedSeat = $values;
  }
}

$intNetPublishedFare = 0;
$AdditionalTxnFeePub = 0;
$TotalBaseFare = 0;
$AdditionalTxnFeePubR = 0;
$TotalTaxsandFees = 0;
$TotalExtraMarkUpSum = 0;
$TotalExtraMarkup = 0;
$TotalExtraMarkupOnGST = 0;
$CommRetained = 0;
$TotalCommEarned = 0;
$TotalAgentMarkUp = 0;
$TotalAgencyComm = 0;
$TotalGSTOnAgentMarkUp = 0;
$CostToAgent = 0;
$TotalIntCommission = 0;
$ToTalGSTFees = 0;
$TotalYourCost = 0;
$YourSalesPrice = 0;
$YourProfit = 0;
$FareRules = isset($FlightBookingData[0]['FareRules']) ? $FlightBookingData[0]['FareRules'] : '';
$CancellationPolicy = isset($FlightBookingData[0]['CancellationPolicy']) ? $FlightBookingData[0]['CancellationPolicy'] : '';
$Currency = $FlightBookingData[0]['FairRules']['Currency'];
$bookingId = $FlightBookingData[0]['bookingId'];
$api_type = isset($FlightBookingData[0]['api_type']) ? $FlightBookingData[0]['api_type'] : '';
$IsSeriesFareData = isset($FlightBookingData[0]['IsSeriesFareData']) ? $FlightBookingData[0]['IsSeriesFareData'] : 0;
$ICSourceSysId = isset($FlightBookingData[0]['ICSourceSysId']) ? $FlightBookingData[0]['ICSourceSysId'] : 0;
if (!empty($this->ICSourceSysId)) {
  $ICSourceSysId = $this->ICSourceSysId;
} else {
  $ICSourceSysId = $ICSourceSysId;
}
$SegmentsBaggageArr = [];
$SegmentsArr = [];

if ($FlightBookingData) {
  foreach ($FlightBookingData as $Data) {
    $intNetPublishedFare += $Data['FairRules']['PublishedFare'];
    $ExtraMarkup = isset($Data['FairRules']['ExtraMarkup']) ? $Data['FairRules']['ExtraMarkup'] : 0;
    $ExtraMarkupOnGST = isset($Data['FairRules']['ExtraMarkupOnGST']) ? $Data['FairRules']['ExtraMarkupOnGST'] : 0;
    $TotalExtraMarkUp = ($ExtraMarkup + $ExtraMarkupOnGST);
    $TotalExtraMarkUpSum += ($ExtraMarkup + $ExtraMarkupOnGST);
    $TotalExtraMarkup += ($ExtraMarkup);
    $TotalExtraMarkupOnGST += ($ExtraMarkupOnGST);

    if ($Data['FairRules']['FareBreakdown']) {
      foreach ($Data['FairRules']['FareBreakdown'] as $value) {
        //echo '<pre>';print_r($value);echo '</pre>';
        $TDS = $value['TDS']; //Management Fee
        $MF = $value['MF']; //Management Fee
        $YQ = $value['YQ']; //Fuel Surcharge
        $AGST = $value['AGST']; //Airline GST Component
        $MFT = $value['MFT']; //Management Fee Tax
        $OT = $value['OT']; //Other Charges
        $YR = $value['YR'];
        $other = $MF + $YQ + $AGST + $MFT + $OT + $YR;

        $PBaseFare = $value['BaseFare'];
        $intTotalGST = $value['intTotalGST'];
        $intGTXMarkUp = $value['intGTXMarkUp'];
        $GTXMarkUpGST = $value['GTXMarkUpGST'];
        $apiMarkup = $value['apiMarkup'];
        $AgentMarkUp = $value['AgentMarkUp'];
        $CommEarned = $value['CommEarned'];
        $IntCommission = $value['Agencycommission'];
        $GSTOnAgentMarkUp = $value['GSTOnAgentMarkUp'];
        $apiTaxOnMarkup = $value['apiTaxOnMarkup'];
        $GSTOnMarkUp = $value['GSTOnMarkUp'];
        $FixedMarkUp = $value['FixedMarkUp'];
        $OtherCharges = $value['OtherCharges'];

        $paxPublishedFare = ($PBaseFare);
        $PassengerType = $value['PassengerType'];
        $PassengerCount = $value['PassengerCount'];
        $AdditionalTxnFeePub += $value['AdditionalTxnFeePub'];

        $CommRetained += $value['AdminComminAmount_ag'];
        $TotalCommEarned += $CommEarned;
        $TotalAgentMarkUp += $AgentMarkUp;
        $TotalAgencyComm += $value['Agencycommission'];
        $TotalGSTOnAgentMarkUp += $GSTOnAgentMarkUp;
        $CostToAgent += $value['CostToAgent'];
        $TotalIntCommission += $IntCommission;

        //$TaxesFees = ($apiMarkup + $intGTXMarkUp + $GTXMarkUpGST + $intTotalGST + $other + $AgentMarkUp + $GSTOnAgentMarkUp - $IntCommission);
        $otherBase = ($apiMarkup + $intGTXMarkUp + $GTXMarkUpGST + $intTotalGST + $other);
        if ($ICSourceSysId == 7 || $ICSourceSysId == 8) {
          $OTTax = ($MF + $MFT + $OT + $YR + $GSTOnMarkUp + $FixedMarkUp);
        } else {
          $OTTax = ($MF + $MFT + $OT + $YR + $GSTOnMarkUp + $FixedMarkUp + $TDS);
        }
        $ServiceFee = ($apiMarkup + $apiTaxOnMarkup);
        $TotalFare = ($PBaseFare);
        if ($IsSeriesFareData == 1) {
          //$TotalFare = ($PBaseFare);
          //$TaxesFees = ($AgentMarkUp + $OTTax + $ServiceFee);
        } else {
          //$TotalFare = ($PBaseFare + $AGST + $YQ + $OTTax + $ServiceFee);
          // $TaxesFees = ($AgentMarkUp);
        }

        if ($ICSourceSysId == 7 || $ICSourceSysId == 8) {
          $otherCharge = ($YQ + $AGST + $MFT + $MF + $OT + $YR + $intGTXMarkUp + $GTXMarkUpGST);
          $TaxesFees = (($FixedMarkUp + $apiMarkup));
          $YourCost = (($PBaseFare + $otherCharge) - $IntCommission);
          $YourMarkup = (($intTotalGST + $FixedMarkUp + $apiMarkup));
        } else {
          $otherCharge = ($AGST + $MFT + $MF + $OT + $YR + $intGTXMarkUp + $GTXMarkUpGST + $TDS + $OtherCharges);
          $TaxesFees = (($FixedMarkUp + $apiMarkup));
          $YourCost = (($PBaseFare + $otherCharge) - $IntCommission);
          $YourMarkup = (($intTotalGST + $FixedMarkUp + $apiMarkup));
        }
        $ToTalGSTFees += ($intTotalGST);
        $TotalBaseFare += ($YourCost);
        $TotalTaxsandFees += ($TaxesFees);
        $TotalYourCost += ($YourCost);
        $YourSalesPrice += ($YourCost + $YourMarkup);
        $YourProfit += ($YourMarkup);
      }
    }
    foreach ($Data['Segments'] as $seg) {
      $SegmentsArr[] = $seg;
      $SegmentsBaggageArr[] = ['Baggage' => $seg['Baggage'], 'CabinBaggage' => $seg['CabinBaggage']];
    }
  }
}
$PNRArray = [];
//echo $TotalBaseFare.' + '.$TotalExtraMarkUpSum.' + '.$TotalTaxsandFees.' + '.$ToTalGSTFees;
if (($ICSourceSysId == 7) || ($ICSourceSysId == 8)) { //&& $IsSeriesFareData == 1

  $success = $API_Response_Ticket['status']['success'];
  $status = $API_Response_Ticket['order']['status'];
  $errorsMessage = $API_Response_Ticket['errors'];
  $bookingIds = $API_Response_Ticket['order']['bookingId'];
  $tripInfos = $API_Response_Ticket['itemInfos']['AIR']['tripInfos'];
  $travellerInfos = $API_Response_Ticket['itemInfos']['AIR']['travellerInfos'];
  $pnrDetails = $travellerInfos[0]['pnrDetails'];
  $sector = implode(",<br>", array_keys($pnrDetails));
  $PNRNumber = implode(",", $pnrDetails);
  $TotalBaseFare = ($TotalBaseFare + $BagPrice + $MealPrice + $SeatPrice);
  if (!empty($api_type)) {
    $bookingId = $API_Response_Ticket['order']['bookingId'][0];
  }
  //print_r($API_Response_Ticket);die('Please wait..');
} else {
  $TotalBaseFare = ($TotalBaseFare + $BagPrice + $MealPrice + $SeatPrice);
  $Response['onward'] = $API_Response_Ticket[0];
  if (isset($API_Response_Ticket[1])) {
    $Response['return'] = $API_Response_Ticket[1];
  }
  $ErrorMessageonward = !empty($Response['onward']['Response']['Error']['ErrorMessage']) ? $Response['onward']['Response']['Error']['ErrorMessage'] : 'Oops somethings went wrong. please note reference number for future use.';
  $ResponseStatusonward  = $success = $Response['onward']['Response']['ResponseStatus'];
  if ($ResponseStatusonward == 1) {
    $status = 'SUCCESS';
  } else {
    $status = '';
  }

  $Responseonward = $Response['onward']['Response']['Response'];
  $Responsereturn = $Response['return']['Response']['Response'];
  $FlightItineraryonward = $Response['onward']['Response']['Response']['FlightItinerary'];
  $PNR = $Responseonward['PNR'];
  $BookingId = $Responseonward['BookingId'];
  $PNReturn = $Responsereturn['PNR'];
  $BookingIdReturn = $Responsereturn['BookingId'];
  $FareRules = $FlightItineraryonward['FareRules'];
  if ($FlightItineraryonward['Segments']) {
    foreach ($FlightItineraryonward['Segments'] as $key => $value) {
      $PNRArray[] = $value['AirlinePNR'];
    }
  }
  // echo '<pre>';
  // print_r($FareRules);
  // echo '</pre>';
  if ($PNReturn) {
    $PNRNumber = $PNR . ',' . $PNReturn;
  } else {
    $PNRNumber = $PNR;
  }
  if ($BookingIdReturn) {
    $bookingId = $BookingId . ',' . $BookingIdReturn;
  } else {
    $bookingId = $BookingId;
  }
  $TicketArray = [];
  if ($FlightBookingData) {
    foreach ($FlightBookingData as $key => $Data) {
      $TBORes = isset($API_Response_Ticket[$key]) ? $API_Response_Ticket[$key] : '';
      $Origin = $TBORes['Response']['Response']['FlightItinerary']['Origin'];
      $Destination = $TBORes['Response']['Response']['FlightItinerary']['Destination'];
      $PassengerTBO = $TBORes['Response']['Response']['FlightItinerary']['Passenger'];
      if ($PassengerTBO) {
        foreach ($PassengerTBO as $ps => $pass) {
          $TicketArray[][$ps] = array(
            'Origin' => $Origin,
            'Destination' => $Destination,
            'Ticket' => $pass['Ticket'],
            'Ssr' => $pass['Ssr'],
          );
        }
      }
    }
  }
}
$ARR_SALUTION_TJ = unserialize(ARR_SALUTION_TJ);
$gtxagencysysid = $this->MasterAgencySysId;
$IsCancellationProtection = (isset($this->BookingData['IsCancellationProtection'])) ? $this->BookingData['IsCancellationProtection'] : 0;
$CancellationProtectionPrice = 0;
if ($IsCancellationProtection == 1) {
  $CancellationProtectionPrice = $this->BookingData['CancellationProtectionPrice'];
}
$TPSysId = $this->BookingData['TPSysId'];

if (!empty($getAgencyData['UserPicPath'])) {
  $UserPicPath = $getAgencyData['UserPicPath'];
} else {
  $UserPicPath = $getAgencyData['Logo'];
}

$Tittle = $getAgencyData['Title'];
$Address = $getAgencyData['Address'];
$cityTitle = $getAgencyData['cityTitle'];
$PinCode = $getAgencyData['PinCode'];
$CountryTitle = $getAgencyData['CountryTitle'];
if ($this->B2BType == 2) {
  $Tittle = $MasterAgencyData['DisplayName'];
  $Address = $MasterAgencyData['Address'];
  $cityTitle = $MasterAgencyData['CityName'];
  $PinCode = $MasterAgencyData['Pincode'];
  $CountryTitle = $MasterAgencyData['CountryName'];
}
?>
<!DOCTYPE html>
<html>

<head lang="en">
  <meta charset="UTF-8">
  <title>E-Ticket</title>
  <link rel="icon" type="image/png" sizes="32x32" href="<?php echo $baseUrl; ?>public/upload/<?php echo $gtxagencysysid; ?>/images/favicon-icon.png" />
  <link href="https://fonts.googleapis.com/css?family=Lato&display=swap" rel="stylesheet">
</head>

<style>
  .block {
    display: block;
  }

  body {
    font-family: 'Roboto', sans-serif;
  }

  body {
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  @media print {
    #button-container {
      display: none;
    }
  }

  @media print {
    @page {
      margin-top: 0;
      margin-bottom: 0;
    }

    body {
      padding-top: 72px;
      padding-bottom: 72px;
    }
  }
</style>

<body>
  <input type="hidden" id="FlightSeatSession" value="">
  <table width="900px" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr>
      <td>Dear <?= $MasterAgencyData['DisplayName'] ?>, </td>
    </tr>
    <tr>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>A ticket has been issued as below:</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>Your Cost: <?= $CurrencyTitle ?> <?= number_format($TotalYourCost, 2) ?>
        <?php if ($IsCancellationProtection == 1) { ?>
          | Refund Upgrade: <?= $CurrencyTitle ?> <?= number_format($CancellationProtectionPrice, 2) ?>
        <?php } ?>
        | Your Sales Price: <?= $CurrencyTitle ?> <?= number_format(((($YourSalesPrice) * $CurrencyRate) + $CancellationProtectionPrice), 2) ?>
        | Your Profit: <?= $CurrencyTitle ?> <?= number_format($YourProfit, 2) ?>
      </td>
    </tr>
  </table>
  <table width="900px" border="0" cellspacing="0" cellpadding="0" align="center" style="position: relative;background: #ffffff;border-top: 3px solid #d2d6de;padding:15px;
    margin-bottom: 20px;box-shadow: 0 1px 1px rgb(0 0 0 / 10%);border: 1px solid #d7d7d7;">
    <?php if (!$Email) { ?>
      <tr id="printDiv">
        <td colspan="3" align="right" valign="top">
          <!-- <a href="javascript://" class="ETicketEmail" style="text-decoration: none;color: #fff;background-color: #0076ca;border-color: #0076ca;font-size: 16px;padding: 5px 18px;line-height: 1.5; font-family: 'Lato'; margin-right:10px;">E-Mail</a> -->
          <a href="javascript://" id="button-container" onclick="printDiv()" style="text-decoration: none;color: #fff;background-color: #0076ca;border-color: #0076ca;font-size: 16px;padding: 5px 18px;line-height: 1.5; font-family: 'Lato';">Print</a>
        </td>
      </tr>
    <?php } ?>
    <tr>
      <td colspan="3" align="right" valign="top"><span style="padding:10px 0;display: block;color: #444; font-weight: 700; text-align: center; font-size:20px; font-family: 'Lato';">E - TICKET</span>
      </td>
    </tr>

    <tr>
      <td colspan="3" align="left" valign="top">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="100%" align="left" valign="top">
              <?php if (!empty($UserPicPath) && $B2BType != 2) { ?>
                <img src="<?= $UserPicPath ?>" height="60" style="vertical-align: middle;">
              <?php } else if ($B2BType == 2) { ?>
                <img src="<?= $MasterAgencyLogo ?>" height="50" style="vertical-align: middle; height: 110px;">
              <?php } else { ?>
                <img src="<?php echo $baseUrl; ?>public/upload/<?php echo $gtxagencysysid; ?>/images/logo.png" height="50" style="vertical-align: middle; height: 50px;">
              <?php } ?>
              <br />

            </td>

          </tr>
        </table>


      </td>
    </tr>
    <tr>
      <td colspan="3" align="left" valign="top">&nbsp;</td>
    </tr>

    <tr>
      <td colspan="3" align="left" valign="top">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="48%" align="left" valign="top" style="background: #333333;border-radius: 8px;padding: 20px;line-height: 6px;">
              <div style="width:100%;color: #fff;font-size: 14px;display: block;font-weight: 700; line-height:15px;">Name: <span style="color: #fff;"><?= $ARR_SALUTION_TJ[$this->ForCustomerSession[0]['Salutation']] ?>. <?= $this->ForCustomerSession[0]['FirstName'] ?> <?= $this->ForCustomerSession[0]['LastName'] ?></span></div><br>
              <div style="width:100%;color: #fff; font-size: 12px;display: block;font-weight: 700; line-height:15px;">Mob: <span style="color: #fff;"><a href="tel:<?= (isset($this->ForCustomerSession[0]['countryCode']) && $this->ForCustomerSession[0]['countryCode'] != '') ? $this->ForCustomerSession[0]['countryCode'] . '-' : ''; ?><?= $this->ForCustomerSession[0]['Contacts'] ?>" style="color: #fff; text-decoration: none;"> <?= (isset($this->ForCustomerSession[0]['countryCode']) && $this->ForCustomerSession[0]['countryCode'] != '') ? $this->ForCustomerSession[0]['countryCode'] . '-' : ''; ?><?= $this->ForCustomerSession[0]['Contacts'] ?></a></span></div>
              <div style="width:100%;font-size: 13px;font-weight: 700; padding:8px 0px; display: block; color: #fff; text-decoration: none;">Email: <a href="mailto:<?= $this->ForCustomerSession[0]['EmailId'] ?>" style="color: #fff; text-decoration: none;"><?= $this->ForCustomerSession[0]['EmailId'] ?></a></div>
            </td>
            <td width="2%" align="left" valign="top">&nbsp;</td>
            <td width="48%" align="left" valign="top" style="background: #333333;border-radius: 8px;padding: 20px;line-height: 6px;">
              <div style="width:100%;color: #fff;font-size: 14px;display: block;font-weight: 700; line-height:15px;">PNR: <span style="color: #fff;"><?= $PNRNumber ?> <?= ($ICSourceSysId == 3) ? '(' . implode(',', $PNRArray) . ')' : '' ?></span></div><br>
              <div style="width:100%;color: #fff; font-size: 12px;display: block;font-weight: 700; line-height:15px;">Booking Id: <span style="color: #fff;"><?= $bookingId ?></span></div>
              <div style="width:100%;font-size: 13px;font-weight: 700; padding:8px 0px; display: block; color: #fff;">Booking Date: <?= date('d-m-Y H:s:i', strtotime($this->created_at)) ?></div>
              <div style="width:100%;font-size: 13px;font-weight: 700; padding:8px 0px; display: block; color: #fff;">Status: <?= $status ?></div>
            </td>
          </tr>
        </table>


      </td>
    </tr>

    <tr>
      <td colspan="3" align="left" valign="top">&nbsp;</td>
    </tr>

    <?php
    $AirlineCodeArr = [];
    if ($SegmentsArr) {
      foreach ($SegmentsArr as $key => $value) {
        $originDepTime = Zend_Controller_Action_HelperBroker::getStaticHelper("Flight")->getArrivalDepartureIndianFormat($value['originDepTime']);
        $destinationArrTime = Zend_Controller_Action_HelperBroker::getStaticHelper("Flight")->getArrivalDepartureIndianFormat($value['destinationArrTime']);
        $originTime = Zend_Controller_Action_HelperBroker::getStaticHelper("Flight")->getTimeFromApiString($value['originDepTime']);
        $destinationTime = Zend_Controller_Action_HelperBroker::getStaticHelper("Flight")->getTimeFromApiString($value['destinationArrTime']);
        $Duration = Zend_Controller_Action_HelperBroker::getStaticHelper("Flight")->convertMinutesToHoursFormat((isset($value['Duration']) ? $value['Duration'] : 0));
        $LAYOVERMinutes = ((isset($value['GroundTime']) ? $value['GroundTime'] : 0));
        $LAYOVERDuration = Zend_Controller_Action_HelperBroker::getStaticHelper('Flight')->convertMinutesToHoursFormat($LAYOVERMinutes);
        $AirlineCodeArr[] = $value['AirlineCode'];
        $FlightItinerary = isset($FlightItineraryonward['Segments'][$key]) ? $FlightItineraryonward['Segments'][$key] : [];
        $AirlinePNR = $FlightItinerary['AirlinePNR'];
        // echo "<pre>";
        // print_r($value);
        // echo "</pre>";
    ?>
        <tr>
          <td colspan="3" align="left" valign="top" style="padding: 14px 0 5px;">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <?php if ($value['GroundTime'] > 0 && $ICSourceSysId == 3) { ?>
                <tr>
                  <td colspan="3"><br>
                    <div style="font-size: 11px;font-weight: bold; line-height: 30px; width: 200px; margin: auto;color: #444;border: 1px solid #58585d;vertical-align: middle;text-align: center; padding-top: 0px;">
                      <img src="<?= $baseUrl ?>public/asset/images/clock.png" style="height: 18px; vertical-align: middle;" /> LAYOVER <?= $LAYOVERDuration ?>
                    </div>
                  </td>
                </tr>
              <?php } ?>
              <tr>
                <td width="33%" align="left" valign="top">
                  <div style="padding:0 0px; clear:both; display:block;">
                    <div style="font-size: 22px;font-weight: bold;line-height: 20px;color: #444;"><?= $value['originAirportCode'] ?></div>
                    <div style="font-size: 12px;font-weight: bold;line-height: 20px;color: #444;"><?= $value['originAirportName'] ?>, <br>(Terminal - <?= $value['DepTerminal'] ?>, <?= $value['originCountryName'] ?>), <?= $originTime ?>, <?= $originDepTime ?></div>


                  </div>
                </td>
                <td width="33%" align="center" valign="top">
                  <div style="padding:20px 40px 0; clear:both; display:block;line-height: 17px;">
                    <div style="font-size: 12px;font-weight: bold;line-height: 20px;color: #444;"><?= $value['AirlineName'] ?> <?= $value['SegFlightNumber'] ?>, <br /><?= $value['FlightDuration'] ?> <?= ($value['FareClass'] != '') ? ', Class:' . $value['FareClass'] : ''; ?></div>


                  </div>
                </td>
                <td width="33%" align="right" valign="top">
                  <div style="padding:0 0px; clear:both; display:block; width:100%;">
                    <div style="font-size: 22px;font-weight: bold;line-height: 20px;color: #444;"><?= $value['destinationAirportCode'] ?></div>
                    <div style="font-size: 12px;font-weight: bold;line-height: 20px;color: #444;"><?= $value['destinationAirportName'] ?>, <br>(Terminal - <?= $value['ArrTerminal'] ?>, <?= $value['destinationCountryName'] ?>), <?= $destinationTime ?>, <?= $destinationArrTime ?></div>
                    <?php if ($ICSourceSysId == 3) { ?>
                      <div style="font-size: 12px;font-weight: bold;line-height: 20px;color: #444;">PNR Ref.: <?= $AirlinePNR ?></div>
                    <?php } ?>

                  </div>
                </td>
              </tr>

              <?php if ($value['GroundTime'] > 0 && ($ICSourceSysId == 7 || $ICSourceSysId == 8)) { ?>
                <tr>
                  <td colspan="3"><br>
                    <div style="font-size: 11px;font-weight: bold; line-height: 30px; width: 200px; margin: auto;color: #444;border: 1px solid #58585d;vertical-align: middle;text-align: center; padding-top: 0px;">
                      <img src="<?= $baseUrl ?>public/asset/images/clock.png" style="height: 18px; vertical-align: middle;" /> LAYOVER <?= $LAYOVERDuration ?>
                    </div>
                  </td>
                </tr>
              <?php } ?>
            </table>

          </td>
        </tr>

    <?php
      }
    }
    ?>

    <tr>
      <td colspan="3" align="left" valign="top">&nbsp;</td>
    </tr>

    <tr>
      <td colspan="3" align="left" valign="top" bgcolor="#d7d7d7" height="2"></td>
    </tr>

    <!-- <tr>
            <td colspan="3" align="left" valign="top">&nbsp;</td>
        </tr>-->

    <tr>
      <td colspan="3" align="center" valign="top">
        <div style="color: #444; font-size:14px; font-weight:bold; line-height:22px;padding: 8px 12px;">Passenger Details</div>
      </td>
    </tr>

    <tr>
      <td colspan="3" align="left" valign="top">
        <table width="100%" border="1" bordercolor="#d7d7d7" cellspacing="0" cellpadding="0" style="padding:0px;">
          <tr bgcolor="#333333">
            <td width="20%" align="left" valign="center" style="padding: 5px 12px;"><span style="color: #fff;font-size: 13px;display: block; line-height:18px;"><strong>Sr. Name <br> & FF</strong></span></td>
            <td width="12%" align="left" valign="center" style="padding: 5px 12px;"><span style="color: #fff;font-size: 13px;display: block; line-height:18px;"><strong>Sector</strong></span></td>
            <td width="20%" align="left" valign="center" style="padding: 5px 12px;"><span style="color: #fff;font-size: 13px;display: block; line-height:18px;"><strong>PNR <br> & Ticket No.</strong></span></td>
            <td width="20%" align="left" valign="center" style="padding: 5px 12px;"><span style="color: #fff;font-size: 13px;display: block; line-height:18px;"><strong>Baggage <br> Check-in | Cabin</strong></span></td>
            <td width="8%" align="left" valign="center" style="padding: 5px 12px;"><span style="color: #fff;font-size: 13px;display: block;  line-height:18px;"><strong>Seat</strong></span></td>
            <td width="20%" align="left" valign="center" style="padding: 5px 12px;"><span style="color: #fff;font-size: 13px;display: block; line-height:18px;"><strong>Add On <br>Meal & Baggage</strong></span></td>
          </tr>
          <?php
          //&& $IsSeriesFareData == 1
          if (($this->passengerData && $ICSourceSysId == 7) || ($ICSourceSysId == 8)) {
            $count = 1;

            foreach ($this->passengerData as $k => $value) {
              $pnrDetails = isset($value['PNR_Number']) ? $value['PNR_Number'] : '';
              //$sectors = isset($value['sectors']) ? $value['sectors'] : '';
              $ticketNumberDetails = isset($value['TicketNumber']) ? $value['TicketNumber'] : '';
              $DateOfBirth = isset($value['dob']) ? $value['dob'] : '';

              //$sector = implode("<br>", $sectors);
              //$PNRNumber = implode("<br>", $pnrDetails);

              $ARR_SALUTION_TJ_ = $ARR_SALUTION_CHILD;
              if ($value['paxType'] == 1) {
                $ARR_SALUTION_TJ_ = $ARR_SALUTION_TJ;
              }
              if ($value['paxType'] == 1) {
                $paxdetail = 'ADULT';
              } elseif ($value['paxType'] == 2) {
                $paxdetail = 'CHILD';
              } else {
                $paxdetail = 'INFANT';
              }
              $traveller = isset($travellerInfos[$k]) ? $travellerInfos[$k] : '';
              $ssrBaggageInfos = [];
              $ssrMealInfos = [];
              $ssrSeatInfos = [];
              if (!empty($traveller) && isset($traveller['ssrBaggageInfos'])) {
                $ssrBaggageInfos = $traveller['ssrBaggageInfos'];
              }
              if (!empty($traveller) && isset($traveller['ssrMealInfos'])) {
                $ssrMealInfos = $traveller['ssrMealInfos'];
              }
              if (!empty($traveller) && isset($traveller['ssrSeatInfos'])) {
                $ssrSeatInfos = $traveller['ssrSeatInfos'];
              }
              $pnrDetailsAPI = [];
              if (!empty($traveller)) {
                $pnrDetailsAPI = isset($traveller['pnrDetails']) ? $traveller['pnrDetails'] : '';
              }

              $Seat = '';
              $Meal = '';
              if ($value['ChangeRequestStatus'] != 1) {

          ?>
                <tr>
                  <td align="left" valign="center" width="20%" style="padding: 8px 12px;border-top: 1px solid #d7d7d7;"><span style="color: #030303;font-size: 13px;display: block;font-weight: 500; line-height:22px;"><?= $count; ?>. <strong class="colorblue"><?= $ARR_SALUTION_TJ_[$value['Salutation']] ?>. <?= $value['FirstName'] ?> <?= $value['LastName'] ?></strong>, <br> <?= $paxdetail ?></span></td>
                  <td align="left" valign="center" width="12%" style="padding: 8px 12px;border-top: 1px solid #d7d7d7;"><span style="color: #030303;font-size: 13px;display: block;font-weight: 500; line-height:22px;">
                      <?php
                      //                                        foreach ($pnrDetails as $sec => $pnr) {
                      //                                            $TicketNumber = isset($ticketNumberDetails[$sec]) ? $ticketNumberDetails[$sec] : '';
                      ?>
                      <div><span><?= $sector ?></span></div>
                      <?php
                      //                                        }
                      ?>
                    </span></td>
                  <td align="left" valign="center" width="20%" style="padding: 8px 12px;border-top: 1px solid #d7d7d7;"><span style="color: #030303;font-size: 13px;display: block;font-weight: 500; line-height:22px;">
                      <?php
                      //                                        foreach ($pnrDetails as $sec => $pnr) {
                      //                                            $TicketNumber = isset($ticketNumberDetails[$sec]) ? $ticketNumberDetails[$sec] : '';
                      ?>
                      <div><span><?= $pnrDetails ?> <?= ($TicketNumber) ? '(' . $TicketNumber . ')' : '' ?></span></div>
                      <?php
                      //                                        }
                      ?>
                    </span></td>
                  <td align="left" valign="center" width="20%" style="padding: 8px 12px;border-top: 1px solid #d7d7d7;"><span style="color: #030303;font-size: 13px;display: block;font-weight: 500; line-height:22px;">
                      <?php

                      ?>
                      <div><span><?= ($value['Baggage']) ? $value['Baggage'] : 'NA' ?> | <?= ($value['CabinBaggage']) ? $value['CabinBaggage'] : 'NA' ?> &nbsp; <?php if (!empty($Baggage)) { ?><?= !empty($Baggage['desc']) ? $Baggage['desc'] : '' ?><?php } else {
                                                                                                                                                                                                                                                        echo 'NA';
                                                                                                                                                                                                                                                      } ?></span></div>
                      <?php

                      ?>
                    </span></td>
                  <td align="left" valign="center" width="8%" style="padding: 8px 12px;border-top: 1px solid #d7d7d7;"><span style="color: #030303;font-size: 13px;display: block;font-weight: 500; line-height:22px;">
                      <?php
                      if (array_keys($pnrDetailsAPI)) {
                        foreach (array_keys($pnrDetailsAPI) as $sec) {
                          $Baggage = isset($ssrBaggageInfos[$sec]) ? $ssrBaggageInfos[$sec] : [];
                          $Meal = isset($ssrMealInfos[$sec]) ? $ssrMealInfos[$sec] : [];
                          $Seat = isset($ssrSeatInfos[$sec]) ? $ssrSeatInfos[$sec] : [];
                      ?>
                          <?php if (!empty($Seat)) { ?>
                            <div><span class="graycolor" style="font-weight: bold;"> <?= !empty($Seat['code']) ? $Seat['code'] : '' ?> </span></div>
                          <?php } else {
                            echo '<div>----</div>';
                          } ?>
                      <?php
                        }
                      }
                      ?>

                    </span></td>
                  <td width="20%" align="left" valign="center" style="padding: 8px 12px;border-top: 1px solid #d7d7d7;">
                    <span style="color: #030303;font-size: 13px;display: block;font-weight: 500; line-height:22px;">
                      <?php
                      if (array_keys($pnrDetailsAPI)) {
                        foreach (array_keys($pnrDetailsAPI) as $sec) {
                          $Baggage = isset($ssrBaggageInfos[$sec]) ? $ssrBaggageInfos[$sec] : [];
                          $Meal = isset($ssrMealInfos[$sec]) ? $ssrMealInfos[$sec] : [];
                      ?>
                          <?php if (!empty($Meal)) { ?>
                            <div><span> <?= !empty($Meal['code']) ? $Meal['code'] : '' ?> <?= !empty($Meal['desc']) ? $Meal['desc'] : '' ?> </span></div>
                          <?php } else {
                            echo '<div>----</div>';
                          }
                          ?>
                          <?php if (!empty($Baggage)) { ?>
                            <div><span> <?= !empty($Baggage['code']) ? $Baggage['code'] : '' ?> <?= !empty($Baggage['desc']) ? $Baggage['desc'] : '' ?> </span></div>
                          <?php } else {
                            echo '<div>----</div>';
                          }
                          ?>
                      <?php
                        }
                      } ?>

                    </span>
                  </td>
                </tr>
              <?php $count++;
              }
            }
          } else {
            $TotalBaggage = 0;
            $TotalMeal = 0;
            if ($FlightItineraryonward['Passenger']) {
              foreach ($FlightItineraryonward['Passenger'] as $bkey => $value) {
                if ($value['PaxType'] == 1) {
                  $paxdetail = 'Adult';
                } elseif ($value['PaxType'] == 2) {
                  $paxdetail = 'Child';
                } else {
                  $paxdetail = 'Infant';
                }
                $TotalBaggage += $value['Fare']['TotalBaggageCharges'];
                $TotalMeal += $value['Fare']['TotalMealCharges'];

                $Baggage = isset($value['Baggage']) ? $value['Baggage'] : '';
                $MealDynamic = isset($value['MealDynamic']) ? $value['MealDynamic'] : array($value['Meal']);
                $SeatDynamic = isset($value['SeatDynamic']) ? $value['SeatDynamic'] : [];

                $FreeMeal = isset($value['Meal']['Description']) ? $value['Meal']['Code'] . '- ' . $value['Meal']['Description'] : '';
                $AddBaggArr = [];
                if (isset($value['SegmentAdditionalInfo']) && !empty($value['SegmentAdditionalInfo'])) {
                  foreach ($value['SegmentAdditionalInfo'] as $adbagg) {
                    $MealAd = !empty($adbagg['Meal']) ? 'Total Meal - ' . $adbagg['Meal'] : '';
                    $BaggageAd = !empty($adbagg['Baggage']) ? 'Total Baggage - ' . $adbagg['Baggage'] : '';
                    $SeatAd = !empty($adbagg['Seat']) ? 'Seat - ' . $adbagg['Seat'] : '';
                    $AddBaggArr[] = $BaggageAd . '<br>' . $MealAd . '<br>' . $SeatAd;
                  }
                }
                // echo "<pre>";
                // print_r(($value));
                // echo "</pre>";
              ?>
                <tr>
                  <td align="left" valign="center" width="21%" style="padding: 8px 12px;border-top: 1px solid #d7d7d7;"><span style="color: #030303;font-size: 13px;display: block;font-weight: 500; line-height:22px;"><?= $bkey + 1 ?>. <strong class="colorblue"><?= $value['Title'] ?>. <?= $value['FirstName'] ?> <?= $value['LastName'] ?></strong>, <?= $paxdetail ?></span></td>
                  <td align="left" valign="center" width="10%" style="padding: 8px 12px;border-top: 1px solid #d7d7d7;"><span style="color: #030303;font-size: 13px;display: block;font-weight: 500; line-height:22px;">
                      <?php
                      foreach ($TicketArray as $val) {
                        $pnrval = isset($val[$bkey]) ? $val[$bkey] : '';
                        if ($pnrval) {
                          $Origin = isset($pnrval['Origin']) ? $pnrval['Origin'] : '';
                          $Destination = isset($pnrval['Destination']) ? $pnrval['Destination'] : '';
                          $sec = $Origin . '-' . $Destination;
                      ?>
                          <div><span><?= $sec ?></span></div>
                      <?php
                        }
                      }
                      ?>
                    </span></td>
                  <td align="left" valign="center" width="21%" style="padding: 8px 12px;border-top: 1px solid #d7d7d7;"><span style="color: #030303;font-size: 13px;display: block;font-weight: 500; line-height:22px;">
                      <?php
                      foreach ($TicketArray as $val) {
                        $pnrval = isset($val[$bkey]) ? $val[$bkey] : '';
                        if ($pnrval) {
                          $pnr = isset($pnrval['Ticket']['TicketNumber']) ? $pnrval['Ticket']['TicketNumber'] : '';
                          $TicketNumber = isset($pnrval['Ticket']['TicketId']) ? $pnrval['Ticket']['TicketId'] : '';

                      ?>
                          <div><span><?= $pnr ?> <?= ($TicketNumber) ? '(' . $TicketNumber . ')' : '' ?></span></div>
                      <?php
                        }
                      }
                      ?>
                    </span></td>
                  <td align="left" valign="center" width="21%" style="padding: 8px 12px;border-top: 1px solid #d7d7d7;"><span style="color: #030303;font-size: 13px;display: block;font-weight: 500; line-height:22px;">
                      <?php
                      if (array_keys($pnrDetails)) {
                        foreach (array_keys($pnrDetails) as $kkk => $sec) {
                          $Baggage = isset($ssrBaggageInfos[$sec]) ? $ssrBaggageInfos[$sec] : [];
                          $Meal = isset($ssrMealInfos[$sec]) ? $ssrMealInfos[$sec] : [];
                          $Seat = isset($ssrSeatInfos[$sec]) ? $ssrSeatInfos[$sec] : [];
                          $SegmentsBaggage = isset($SegmentsBaggageArr[$kkk]) ? $SegmentsBaggageArr[$kkk] : '';
                      ?>
                          <div><span><?= $SegmentsBaggage['Baggage'] ?> | <?= $SegmentsBaggage['CabinBaggage'] ?> &nbsp; <?php if (!empty($Baggage)) { ?><?= !empty($Baggage['desc']) ? $Baggage['desc'] : '' ?><?php } else {
                                                                                                                                                                                                                echo 'NA';
                                                                                                                                                                                                              } ?></span></div>
                      <?php
                        }
                      } else {
                        echo '<div>----</div>';
                      }
                      ?>
                    </span></td>
                  <td align="left" valign="center" width="8%" style="padding: 8px 12px;border-top: 1px solid #d7d7d7;"><span style="color: #030303;font-size: 13px;display: block;font-weight: 500; line-height:22px;">
                      <?php if (!empty($SeatDynamic)) {
                        foreach ($SeatDynamic as $Seat) { ?>
                          <span class="graycolor" style="font-weight: bold;"> <?= !empty($Seat['Code']) ? $Seat['Code'] : '' ?> </span>
                      <?php }
                      } else {
                        echo 'NA';
                      } ?>
                    </span></td>

                  <td width="21%" align="left" valign="center" style="padding: 8px 12px;border-top: 1px solid #d7d7d7;">
                    <span style="color: #030303;font-size: 13px;display: block;font-weight: 500; line-height:22px;">
                      <div> <?= !empty($FreeMeal) ? $FreeMeal . '<br>' : '' ?></div>
                      <div><?= !empty($AddBaggArr) ? implode(',', $AddBaggArr) : '' ?></div>
                    </span>
                  </td>
                </tr>
          <?php
              }
            }
          }
          ?>


        </table>


      </td>
    </tr>

    <!--   <tr>
            <td colspan="3" align="left" valign="top">&nbsp;</td>
        </tr>-->
    <?php if (isset($API_Response_Ticket['gstInfo']) && !empty($API_Response_Ticket['gstInfo'])) { ?>
      <tr>
        <td colspan="3" align="left" valign="top">

          <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:1px solid #d7d7d7; padding:0px;">


            <tr>
              <td colspan="42" align="left" valign="top" bgcolor="#000">
                <div style="color: #fff; font-size:12px; font-weight:600; line-height:22px;padding: 8px 12px;">GST Details</div>
              </td>


            </tr>

            <tr bgcolor="#bcbec0">
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><strong>GST Name</strong></div>
              </td>
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><strong>GST No</strong></div>
              </td>
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><strong>GST Address</strong></div>
              </td>
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><strong>GST Email</strong></div>
              </td>
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><strong>GST Phone</strong></div>
              </td>
            </tr>
            <tr>
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><?= $API_Response_Ticket['gstInfo']['registeredName'] ?></div>
              </td>
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><?= $API_Response_Ticket['gstInfo']['gstNumber'] ?></div>
              </td>
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><?= $API_Response_Ticket['gstInfo']['address'] ?></div>
              </td>
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><?= $API_Response_Ticket['gstInfo']['email'] ?></div>
              </td>
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><?= $API_Response_Ticket['gstInfo']['mobile'] ?></div>
              </td>
            </tr>

          </table>

          <!-- <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:1px solid #d7d7d7; padding:10px;">


          <tr>
            <td colspan="2" width="70%" align="left" valign="top">
              <div style="color: #000; font-size:12px; font-weight:600; line-height:22px;">Payment Details</div>

              <div style="color: #000; font-size: 12px;display: block;width: 75%;">This is an Electronic ticket. Please carry a physical identification for Check in</div>
            </td>
            <?php /*if ($withprice != 0) { */ ?>
              <td width="30%" align="left" valign="top">
                <br />
                <table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolor="#d7d7d7">
                  <tr>
                    <td width="40%">
                      <div style="color: #000; font-size: 13px;display: block; padding:3px 8px;"><strong>Fare :</strong></div>
                    </td>
                    <td width="25%">
                      <div style="color: #000; font-size: 13px;display: block; padding:3px 8px;"><?/*= $CurrencyTitle */ ?> <?/*= number_format((($TotalBaseFare) * $CurrencyRate), 2) */ ?></div>
                    </td>

                  </tr>
                  <tr>
                    <td>
                      <div style="color: #000; font-size: 13px;display: block; padding:3px 8px;"><strong>Fee & Surcharges :</strong></div>
                    </td>
                    <td>
                      <div style="color: #000; font-size: 13px;display: block; padding:3px 8px;"><?/*= $CurrencyTitle */ ?> <?/*= number_format((($TotalTaxsandFees + $TotalExtraMarkup) * $CurrencyRate), 2) */ ?> </div>
                    </td>

                  </tr>
                  <tr>
                    <td>
                      <div style="color: #000; font-size: 13px;display: block; padding:3px 8px;"><strong>GST :</strong></div>
                    </td>
                    <td>
                      <div style="color: #000; font-size: 13px;display: block; padding:3px 8px;"><?/*= $CurrencyTitle */ ?> <?/*= number_format((($ToTalGSTFees + $TotalExtraMarkupOnGST) * $CurrencyRate), 2) */ ?></div>
                    </td>

                  </tr>
                  <tr>
                    <td>
                      <div style="color: #000; font-size: 13px;display: block;width: 80%; padding:3px 8px;"><strong>Total Amount :</strong></div>
                    </td>
                    <td>
                      <div style="color: #000; font-size: 13px;display: block; padding:3px 8px;"><?/*= $CurrencyTitle */ ?> <?/*= number_format((($TotalBaseFare + $TotalExtraMarkUpSum + $TotalTaxsandFees + $ToTalGSTFees) * $CurrencyRate), 2) */ ?></div>
                    </td>

                  </tr>
                </table>
              </td>
            <?php /*} */ ?>
          </tr>
          <tr>


          </tr>
        </table>-->

        </td>
      </tr>
    <?php } ?>

    <!--<tr>
            <td colspan="3" align="left" valign="top">&nbsp;</td>
        </tr>-->
    <tr>
      <td colspan="3" align="center" valign="top">
        <div style="color: #444; font-size:14px; font-weight:bold; line-height:22px;padding: 8px 12px 2px 12px;">Payment Details</div>
      </td>
    </tr>

    <tr>
      <td colspan="3" align="left" valign="top">

        <table width="100%" border="1" bordercolor="#d7d7d7" cellspacing="0" cellpadding="0" style="padding:0px;">

          <?php if ($withprice != 0) { ?>
            <tr bgcolor="#333333">
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #fff; font-size: 13px;display: block; padding:3px 0px;"><strong>Fare</strong></div>
              </td>
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #fff; font-size: 13px;display: block; padding:3px 0px;"><strong>Fee & Surcharges</strong></div>
              </td>
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #fff; font-size: 13px;display: block; padding:3px 0px;"><strong>GST</strong></div>
              </td>
              <?php if ($IsCancellationProtection == 1) { ?>
                <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                  <div style="color: #fff; font-size: 13px;display: block; padding:3px 0px;"><strong>Refund Upgrade</strong></div>
                </td>
              <?php } ?>
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #fff; font-size: 13px;display: block; padding:3px 0px;"><strong>Rounding</strong></div>
              </td>
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #fff; font-size: 13px;display: block; padding:3px 0px;"><strong>Total&nbsp;Amount</strong></div>
              </td>

            </tr>
            <tr>
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><?= $CurrencyTitle ?> <?= number_format((($TotalBaseFare) * $CurrencyRate), 2) ?></div>
              </td>
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><?= $CurrencyTitle ?> <?= number_format((($TotalTaxsandFees + $TotalExtraMarkUpSum) * $CurrencyRate), 2) ?></div>
              </td>
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><?= $CurrencyTitle ?> <?= number_format((($ToTalGSTFees) * $CurrencyRate), 2) ?></div>
              </td>
              <?php if ($IsCancellationProtection == 1) { ?>
                <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                  <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><?= $CurrencyTitle ?> <?= number_format(($CancellationProtectionPrice), 2) ?></div>
                </td>
              <?php }

              $num = round((($TotalBaseFare + $TotalExtraMarkUpSum + $TotalTaxsandFees + $ToTalGSTFees + $CancellationProtectionPrice)), 2);
              $whole = (int) $num;
              $frac  = ($num - $whole);
              ?>
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><?= $CurrencyTitle ?> <?= number_format($frac, 2) ?></div>
              </td>
              <td align="left" valign="center" width="20%" style="padding: 8px 12px;">
                <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><?= $CurrencyTitle ?> <?= number_format(ceil((($TotalBaseFare + $TotalExtraMarkUpSum + $TotalTaxsandFees + $ToTalGSTFees) * $CurrencyRate) + $CancellationProtectionPrice), 2) ?></div>
              </td>

            </tr>
          <?php } ?>
        </table>

        <!-- <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:1px solid #d7d7d7; padding:10px;">


          <tr>
            <td colspan="2" width="70%" align="left" valign="top">
              <div style="color: #000; font-size:12px; font-weight:600; line-height:22px;">Payment Details</div>

              <div style="color: #000; font-size: 12px;display: block;width: 75%;">This is an Electronic ticket. Please carry a physical identification for Check in</div>
            </td>
            <?php /*if ($withprice != 0) { */ ?>
              <td width="30%" align="left" valign="top">
                <br />
                <table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolor="#d7d7d7">
                  <tr>
                    <td width="40%">
                      <div style="color: #000; font-size: 13px;display: block; padding:3px 8px;"><strong>Fare :</strong></div>
                    </td>
                    <td width="25%">
                      <div style="color: #000; font-size: 13px;display: block; padding:3px 8px;"><?/*= $CurrencyTitle */ ?> <?/*= number_format((($TotalBaseFare) * $CurrencyRate), 2) */ ?></div>
                    </td>

                  </tr>
                  <tr>
                    <td>
                      <div style="color: #000; font-size: 13px;display: block; padding:3px 8px;"><strong>Fee & Surcharges :</strong></div>
                    </td>
                    <td>
                      <div style="color: #000; font-size: 13px;display: block; padding:3px 8px;"><?/*= $CurrencyTitle */ ?> <?/*= number_format((($TotalTaxsandFees + $TotalExtraMarkup) * $CurrencyRate), 2) */ ?> </div>
                    </td>

                  </tr>
                  <tr>
                    <td>
                      <div style="color: #000; font-size: 13px;display: block; padding:3px 8px;"><strong>GST :</strong></div>
                    </td>
                    <td>
                      <div style="color: #000; font-size: 13px;display: block; padding:3px 8px;"><?/*= $CurrencyTitle */ ?> <?/*= number_format((($ToTalGSTFees + $TotalExtraMarkupOnGST) * $CurrencyRate), 2) */ ?></div>
                    </td>

                  </tr>
                  <tr>
                    <td>
                      <div style="color: #000; font-size: 13px;display: block;width: 80%; padding:3px 8px;"><strong>Total Amount :</strong></div>
                    </td>
                    <td>
                      <div style="color: #000; font-size: 13px;display: block; padding:3px 8px;"><?/*= $CurrencyTitle */ ?> <?/*= number_format((($TotalBaseFare + $TotalExtraMarkUpSum + $TotalTaxsandFees + $ToTalGSTFees) * $CurrencyRate), 2) */ ?></div>
                    </td>

                  </tr>
                </table>
              </td>
            <?php /*} */ ?>
          </tr>
          <tr>


          </tr>
        </table>-->

      </td>
    </tr>
    <tr>
      <td colspan="3" align="center" valign="top">
        <div style="color: #000; font-size: 12px;display: block;width: 100%; padding: 0px 12px 12px 12px;">This is an Electronic ticket. Please carry a physical identification for Check in</div>
      </td>
    </tr>
    <!-- <tr>
            <td colspan="3" align="left" valign="top">&nbsp;</td>
        </tr>-->
    <?php if ($IsCancellationProtection == 1) { ?>
      <tr>
        <td colspan="3" align="center" valign="top">
          <div style="color: #444; font-size:14px; font-weight:bold; line-height:22px;padding: 8px 12px;">Refundable Booking</div>
        </td>
      </tr>
      <tr>
        <td colspan="3" align="left" valign="top">
          <table width="100%" border="1" bordercolor="#d7d7d7" cellspacing="0" cellpadding="0" style="padding:0px; font-family: Roboto, sans-serif; font-size: 12px; color: #4f4f50; word-spacing: 2px;">

            <tr>
              <td align="left" valign="center" width="100%" style="padding: 8px 12px;">
                <span style="border-radius: 100%;     font-size: 16px;background: #4f4f50; width: 0px; height: 0px; line-height: 0px; display: list-item; margin: 6px 4px 0 16px; float: left;">&nbsp;</span>
                <span style=" font-size: 12px; font-weight: bold;display:table;padding:0 0 0 3px;">
                  To make changes to your booking or where it is cancelled or changed by the provider, please contact our Customer Service Team at <a href="mailto:<?php echo trim($getAgencyData['EmailId']); ?>"><?php echo trim($getAgencyData['EmailId']); ?></a>.
                  <br>This is a refundable booking. If you are unable to attend your booking due to unforeseen circumstances and can provide evidence as listed in the <a target="_blank" href="https://www.refundable.me/extended/en/" style="text-decoration:underline;color:rgb(0, 0, 238);">Terms & Conditions</a> here, you may be entitled to a full refund. Your booking reference number is <?php echo $TPSysId; ?>.<br><a target="_blank" href="https://form.refundable.me/forms/refund?memberId=268&bookingReference=<?php echo $TPSysId; ?>" style="text-decoration:underline;">Apply for a refund using the form here</a>.
                </span>

              </td>
            </tr>

          </table>
        </td>
      </tr>
    <?php } ?>
    <tr>
      <td colspan="3" align="center" valign="top">
        <div style="color: #444; font-size:14px; font-weight:bold; line-height:22px;padding: 8px 12px;">Important Information</div>
      </td>
    </tr>
    <tr>
      <td colspan="3" align="left" valign="top">
        <table width="100%" border="1" bordercolor="#d7d7d7" cellspacing="0" cellpadding="0" style="padding:0px; font-family: Roboto, sans-serif; font-size: 12px; color: #4f4f50; word-spacing: 2px;">
          <tr>
            <td align="left" valign="center" width="100%" style="padding: 8px 12px;"><span style=" font-size: 11px; font-weight: bold;"><span style="border-radius: 100%; background: #4f4f50; width: 5px; height: 5px;line-height: 5px;display: inline-block;margin: 6px 4px 0 0;
    float: left;">&nbsp;</span>&nbsp;&nbsp;Check-in Time : </span>Check-in desks will close 1 hour before departure.</td>
          </tr>

          <tr>
            <td align="left" valign="center" width="100%" style="padding: 8px 12px;"><span style=" font-size: 11px; font-weight: bold;"><span style="border-radius: 100%; background: #4f4f50; width: 5px; height: 5px;line-height: 5px;display: inline-block;margin: 6px 4px 0 0;
    float: left;">&nbsp;</span>&nbsp;&nbsp;Valid ID proof needed : </span>Carry a valid photo identification proof (Driver Licence, Aadhar Card, Pan Card or any other Government recognised photo identification).</td>
          </tr>
          <tr>
            <td align="left" valign="center" width="100%" style="padding: 8px 12px;"><span style=" font-size: 11px; font-weight: bold;"><span style="border-radius: 100%; background: #4f4f50; width: 5px; height: 5px;line-height: 5px;display: inline-block;margin: 6px 4px 0 0;
    float: left;">&nbsp;</span>&nbsp;&nbsp;Web Check-in (opens 48 hrs. before departure) : </span>Airlines - Use PNR and last name only.</td>
          </tr>


          <tr>
            <td align="left" valign="center" width="100%" style="padding: 8px 12px;"><span style="font-size: 11px; font-weight: bold;"><span style="border-radius: 100%; background: #4f4f50; width: 5px; height: 5px;line-height: 5px;display: inline-block;margin: 6px 4px 0 0;
    float: left;">&nbsp;</span></span>&nbsp;&nbsp;You must web check-In on the airline website and obtain a boarding pass.</td>
          </tr>
          <tr>
            <td align="left" valign="center" width="100%" style="padding: 8px 12px;"><span style=" font-size: 11px; font-weight: bold;"><span style="border-radius: 100%; background: #4f4f50; width: 5px; height: 5px;line-height: 5px;display: inline-block;margin: 6px 4px 0 0;
    float: left;">&nbsp;</span></span>&nbsp;&nbsp;You must download & register on the Aarogya Setu App and carry a valid ID.</td>
          </tr>
          <tr>
            <td align="left" valign="center" width="100%" style="padding: 8px 12px;"><span style=" font-size: 11px; font-weight: bold;"><span style="border-radius: 100%; background: #4f4f50; width: 5px; height: 5px;line-height: 5px;display: inline-block;margin: 6px 4px 0 0;
    float: left;">&nbsp;</span></span>&nbsp;&nbsp;It is mandatory to wear a mask and carry other protective gear.</td>
          </tr>

          <tr>
            <td align="left" valign="center" width="100%" style="padding: 8px 12px;"><span style=" font-size: 11px; font-weight: bold;"><span style="border-radius: 100%; background: #4f4f50; width: 5px; height: 5px;line-height: 5px;display: inline-block;margin: 6px 4px 0 0;
    float: left;">&nbsp;</span></span>&nbsp;&nbsp;Reach the terminal at least 2 hours prior to the departure for domestic flight and 4 hours prior to the departure of international flight.</td>
          </tr>
          <tr>
            <td align="left" valign="center" width="100%" style="padding: 8px 12px;"><span style=" font-size: 11px; font-weight: bold;"><span style="border-radius: 100%; background: #4f4f50; width: 5px; height: 5px;line-height: 5px;display: inline-block;margin: 6px 4px 0 0;
    float: left;">&nbsp;</span></span>&nbsp;&nbsp;For departure terminal please check with the airline first.</td>
          </tr>
          <tr>
            <td align="left" valign="center" width="100%" style="padding: 8px 12px;"><span style=" font-size: 11px; font-weight: bold;"><span style="border-radius: 100%; background: #4f4f50; width: 5px; height: 6px;line-height: 12px;display: inline-block;margin: 6px 4px 0 0;
    float: left;">&nbsp;</span></span>&nbsp;&nbsp;Date & Time is calculated based on the local time of the city/destination.</td>
          </tr>
          <tr>
            <td align="left" valign="center" width="100%" style="padding: 8px 12px;"><span style=" font-size: 11px; font-weight: bold;"><span style="border-radius: 100%; background: #4f4f50; width: 5px; height: 5px;line-height: 5px;display: inline-block;margin: 6px 4px 0 0;
    float: left;">&nbsp;</span></span>&nbsp;&nbsp;Use the Airline PNR for all Correspondence directly with the Airline.</td>
          </tr>
          <tr>
            <td align="left" valign="center" width="100%" style="padding: 8px 12px;"><span style=" font-size: 11px; font-weight: bold;"><span style="border-radius: 100%; background: #4f4f50; width: 5px; height: 5px;line-height: 5px;display: inline-block;margin: 6px 4px 0 0;
    float: left;">&nbsp;</span></span>&nbsp;&nbsp;For rescheduling/cancellation within 4 hours of the departure time contact the airline directly.</td>
          </tr>

          <tr>
            <td align="left" valign="center" width="100%" style="padding: 8px 12px;"><span style=" font-size: 11px; font-weight: bold;"><span style="border-radius: 100%; background: #4f4f50; width: 5px; height: 5px;line-height: 5px;display: inline-block;margin: 6px 4px 0 0;
    float: left;">&nbsp;</span></span>&nbsp;&nbsp;Your ability to travel is at the sole discretion of the airport authorities and we shall not be held responsible.</td>
          </tr>


        </table>

      </td>
    </tr>

    <tr>
      <td colspan="3" align="left" valign="top">&nbsp;</td>
    </tr>
    <?php if (!empty($CancellationPolicy)) { ?>
      <tr>
        <td colspan="3" align="left" valign="top">
          <table width="100%" border="1" bordercolor="#d7d7d7" cellspacing="0" cellpadding="0" style="padding:0px;">
            <tr bgcolor="#333333">
              <td align="left" colspan="2" valign="center" width="50%" style="padding: 8px 12px;">
                <div style="color: #fff; font-size: 13px;display: block; padding:3px 0px;"><strong>Cancellation Policy</strong></div>
              </td>
            </tr>
            <tr>
              <td align="left" valign="center" width="25%" style="padding: 8px 12px;">
                <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><?= $CancellationPolicy ?></div>
              </td>
            </tr>
          </table>
        </td>
      </tr>
    <?php } ?>
    <tr>
      <td colspan="3" align="center" valign="top">
        <div style="color: #444; font-size:14px; font-weight:bold; line-height:22px;padding: 8px 12px;">24x7 Customer Support</div>
      </td>
    </tr>
    <tr>
      <td colspan="3" align="left" valign="top">


        <table width="100%" border="1" bordercolor="#d7d7d7" cellspacing="0" cellpadding="0" style="padding:0px;">

          <?php if ($withprice != 0) { ?>
            <tr bgcolor="#333333">
              <td align="left" colspan="2" valign="center" width="50%" style="padding: 8px 12px;">
                <div style="color: #fff; font-size: 13px;display: block; padding:3px 0px;"><strong> Support</strong></div>
              </td>
              <td align="left" colspan="2" valign="center" width="50%" style="padding: 8px 12px;">
                <div style="color: #fff; font-size: 13px;display: block; padding:3px 0px;"><strong>Address</strong></div>
              </td>


            </tr>
            <tr>
              <td align="left" valign="center" width="25%" style="padding: 8px 12px;">
                <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><a href="tel:<?= !empty($supportcountrycode) ? $supportcountrycode : $getAgencyData['countrycode'] ?><?= !empty($supportContactNo) ? $supportContactNo : $getAgencyData['Contacts'] ?>">+<?= !empty($supportcountrycode) ? $supportcountrycode : $getAgencyData['countrycode'] ?>-<?= !empty($supportContactNo) ? $supportContactNo : $getAgencyData['Contacts'] ?></a></div>
              </td>
              <td align="left" valign="center" width="25%" style="padding: 8px 12px;">
                <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><a href="mailto:<?= !empty($supportEmail) ? $supportEmail : $getAgencyData['EmailId'] ?>"><?= !empty($supportEmail) ? $supportEmail : $getAgencyData['EmailId'] ?></a></div>
              </td>
              <td align="left" valign="center" width="50%" colspan="2" style="padding: 8px 12px;">
                <?php
                if ($this->getAirlinesSupport) {
                  foreach ($this->getAirlinesSupport as $key => $value) {

                ?>
                    <!-- <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;">
                                            <b>Address</b> : <?= $value['address1'] ?><br>
                                            <b>Telephone</b> : <?= $value['phoneno'] ?><br>
                                            <b>Mobile</b> : <?= $value['mobileno'] ?>
                                        </div> -->
                <?php
                  }
                }
                ?>
                <div style="padding:0 0px; clear:both; display:block;">
                  <div style="font-size: 12px;line-height: 15px;color: #444;">
                    <strong><?= $Tittle ?></strong>,<br>
                    <?= $Address ?><br>
                    <?= $cityTitle ?> -
                    <?= $PinCode ?>,
                    <?= $CountryTitle ?>

                  </div>
                </div>
              </td>


            </tr>
          <?php } ?>
        </table>
      </td>
    </tr>
    <tr>
      <td colspan="3" align="left" valign="top">&nbsp;</td>
    </tr>
    <tr>
      <td colspan="3" align="center" valign="top">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">

          <tr>
            <!-- <td width="50%" align="left" valign="top">
                            <div style="padding:0 0px; clear:both; display:block;">
                                <div style="font-size: 12px;font-weight: bold;line-height: 20px;color: #444;"><?= $getAgencyData['Title'] ?>,<br>
                                    <?= $AgentAddress['Address'] ?><br>
                                    <?= $AgentAddress['CityName'] ?> -
                                    <?= $AgentAddress['Pincode'] ?>,
                                    <?= $AgentAddress['CountryName'] ?>
                                    <br>Email: <a href="mailto:<?= $getAgencyData['EmailId'] ?>"><?= $getAgencyData['EmailId'] ?></a>
                                </div>
                            </div>
                        </td> -->
            <td width="33%" align="right" valign="top">
              <!-- <div style="padding:0 0px; clear:both; display:block; width:100%;">
                                <div style="font-size: 12px;font-weight: bold;line-height: 20px;color: #444;">
                                    <a href="#">Click here</a> for T&Cs <br>
                                    Reservations Helpline No:<br>
                                    <a href="tel:91xxxxxxxx">+91xxxxxxxxxx </a>
                                </div>
                            </div> -->
            </td>
          </tr>
        </table>

      </td>
    </tr>
    <tr>
      <td colspan="3" align="left" valign="top">&nbsp;</td>
    </tr>
    <?php if (!empty($FareRules)) { ?>
      <tr>
        <td colspan="3" align="left" valign="top">
          <table width="100%" border="1" bordercolor="#d7d7d7" cellspacing="0" cellpadding="0" style="padding:0px;">
            <tr bgcolor="#333333">
              <td align="left" colspan="2" valign="center" width="50%" style="padding: 8px 12px;">
                <div style="color: #fff; font-size: 13px;display: block; padding:3px 0px;"><strong>Fare Rules</strong></div>
              </td>
            </tr>
            <?php if ($IsSeriesFareData == 1) { ?>
              <tr>
                <td align="left" valign="center" width="25%" style="padding: 8px 12px;">
                  <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><?= $FareRules ?></div>
                </td>
              </tr>
            <?php } ?>
            <?php if ($this->IsTJFlightAPI == 0) { ?>
              <?php if ($FareRules) {
                foreach ($FareRules as $fl) { ?>
                  <tr>
                    <td align="left" valign="center" width="25%" style="padding: 8px 12px;">
                      <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><?= $fl['Origin'] ?> - <?= $fl['Destination'] ?></div>
                      <div style="color: #000; font-size: 13px;display: block; padding:3px 0px;"><?= $fl['FareRuleDetail'] ?> </div>
                    </td>
                  </tr>
              <?php }
              } ?>
            <?php } ?>
          </table>
        </td>
      </tr>
    <?php } ?>


  </table>
  <script type="text/javascript">
    function printDiv() {
      document.getElementById('printDiv').style.display = "none";
      window.print();
      document.body.innerHTML = printContents;
      document.body.innerHTML = originalContents;
    }
    window.onafterprint = function() {
      document.getElementById('printDiv').style.display = "block";
      //window.close();
    }
  </script>
</body>

</html>

Youez - 2016 - github.com/yon3zu
LinuXploit