Ejemplo n.º 1
0
        echo '<th align="left"><font size="3">Abflughafen</th>';
        echo '<th align="left" ><font size="3">Datum
        <table ><th >von/bis</th></table></th>';
        echo '<th align="left">Dauer</th>';
        echo '<th align="left">Unterkunft</th>';
        echo '<th align="left">Verpflegung</th>';
        echo '<th align="left">Veranstalter</th>';
        echo '<th align="left">Gesamtpreis<table ><th >' . $mro->getPersons() . ' Persons</th></table>   </th>';
        echo '<th align="left">Pr&uuml;fen</th>';
        echo '</tr>';
        $date = $result->getDatesList();
        //var_dump($result);
        for ($i = 0; $i < count($date); $i++) {
            $dateListMro = new MixerRequestObject($mro->getCfg(), $mro->getXpwp(), $mro->getIp());
            $dateListMro->setParamsByArray($mro->getParamsAsArray());
            $dateListMro->setBook($date[$i]->getRef());
            $color = $i % 2 == 0 ? '#ffffff' : '#b0bec5';
            echo '<tr bgcolor="' . $color . '" width="100%">';
            echo '<td>' . $date[$i]->getDeparture() . '</td>';
            echo '<td>' . $date[$i]->getDate() . '<br>' . $date[$i]->getBday() . '</td>';
            echo '<td>' . $date[$i]->getDays() . '</td>';
            echo '<td>' . $result->getZt() . '</td>';
            echo '<td>' . $result->getVt() . '</td>';
            echo '<td>' . $result->getTourOperator() . '</td>';
            echo '<td>' . $date[$i]->getGPrice() . '</td>';
            echo '<td><a href="./SearchDateListController.php?mro=' . base64_encode(serialize($dateListMro)) . '">prüfen</a></td>';
            echo '</tr>';
        }
        echo '</table>';
    }
} catch (SoapFault $sf) {
Ejemplo n.º 2
0
 public static function searchDateListTemplateDetails($hotel, $mro)
 {
     Template::setHeader();
     echo '<table border="1" cellpadding="5" cellspacing="0" width="80%" rules="all">';
     echo '<tr bgcolor="#b0c4de">';
     echo '<th>Abflughafen</th>';
     echo '<th>Anreise</th>';
     echo '<th>R&uuml;ckreise</th>';
     echo '<th>Dauer</th>';
     echo '<th>Unterkunft</th>';
     echo '<th>Verpflegung</th>';
     echo '<th>Veranstalter</th>';
     echo '<th>Preis</th>';
     echo '<th>Prüfen</th>';
     echo '<th>FlightDetails</th>';
     echo '</tr>';
     $date = $hotel->getDatesList();
     for ($i = 0; $i < count($date); $i++) {
         $dateListMro = new MixerRequestObject($mro->getCfg(), $mro->getXpwp(), $mro->getIp());
         $dateListMro->setParamsByArray($mro->getParamsAsArray());
         $dateListMro->setBook($date[$i]->getRef());
         $flightMro = new MixerRequestObject($mro->getCfg(), $mro->getXpwp(), $mro->getIp());
         $flightMro->setParamsByArray($mro->getParamsAsArray());
         //  $flightMro->setDestination($mro->getDestination());
         $flightMro->setDepartureDate($date[$i]->getDate());
         $flightMro->setReturnDate($date[$i]->getBday());
         $flightMro->setJourneyType('FLIGHT');
         $flightMro->setDepartureAirport();
         //$flightMro->setDestination($mro->getDestination());
         $color = $i % 2 == 0 ? '#ffffff' : '#d3d3d3';
         echo '<tr bgcolor="' . $color . '" width="100%">';
         echo '<td>' . $date[$i]->getDeparture() . '</td>';
         echo '<td>' . $date[$i]->getDate() . '</td>';
         echo '<td>' . $date[$i]->getBday() . '</td>';
         echo '<td>' . $date[$i]->getDays() . '</td>';
         echo '<td>' . $hotel->getZt() . '</td>';
         echo '<td>' . $hotel->getVt() . '</td>';
         echo '<td>' . $hotel->getTourOperator() . '</td>';
         echo '<td>' . $date[$i]->getPrice() . '<br>' . $date[$i]->getGPrice() . '</td>';
         echo '<td><a href="./SearchDateListController.php?mro=' . base64_encode(serialize($dateListMro)) . '">prüfen</a></td>';
         echo '<td><a href="./SearchDateFlightController.php?mro=' . base64_encode(serialize($flightMro)) . '">flightDetails</a></td>';
         echo '</tr>';
     }
     echo '</table>';
 }