<?php

include_once '../LMwebSoapClient.php';
include_once '../classes/MixerRequestObject.php';
include_once '../Template.php';
$sc = new LMwebSoapClient(LMwebSoapClient::$wsdl);
//$mro = new MixerRequestObject('88', 'HGD7777', '');
$mro = new MixerRequestObject('235', 'HR74A69Q', '');
if (isset($_GET['mro'])) {
    $mro = unserialize(base64_decode($_GET['mro']));
}
$mro->setParamsByArray($_POST);
if ($mro->getAgb() == "on") {
    $mro->setAgb(1);
} else {
    $mro->setAgb(0);
}
try {
    $result = $sc->bookingConfirmation($mro);
    if ($result != null) {
        Template::bookingConfirmationTemplate($result, $mro);
    }
} catch (SoapFault $sf) {
    print_r($sf->getMessage());
}
Пример #2
0
<?php

include __DIR__ . '/LMwebSoapClient/LMwebSoapClient.php';
include __DIR__ . '/LMwebSoapClient/classes/MixerRequestObject.php';
include __DIR__ . '/LMwebSoapClient/Template.php';
header('Content-Type:text/html; charset=utf-8');
//$mro = new MixerRequestObject('88', 'HGD7777', '');
$wsdl = "http://web3dev.travel-it.com/TravelItMixer/SoapMixer?wsdl";
$sc = new LMwebSoapClient(LMwebSoapClient::$wsdl);
$mro = new MixerRequestObject('235', 'HR74A69Q', '');
if (isset($_GET['mro'])) {
    var_dump($_GET['mro']);
    // $mro = unserialize(base64_decode($_GET['mro']));
}
$mro->setParamsByArray($_POST);
try {
    $result = $sc->searchDateList($mro);
    if ($result != null) {
        echo '<h1> ' . $result->getHotel() . '</h1>';
        echo '<table border="1" cellpadding="5" cellspacing="0" width="80%" rules="all">';
        echo '<tr bgcolor="#E6E6E6">';
        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>';
Пример #3
0
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 nospacing">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 nospacing">
                    <div class="main-image-text text-center col-lg-12 col-md-12 col-sm-12 col-xs-12">Neuigkeiten</div>
                </div>
                <img src="' . get_bloginfo('template_url') . '/images/neuigkeiten.jpg" class="full-width-img img-responsive" alt="" />
            </div>
        </div>
        <div class="clearfix"></div>
        <div class="voffset2"></div>

        <div class="container nospacing content"> ';
    include __DIR__ . '/LMwebSoapClient/LMwebSoapClient.php';
    include __DIR__ . '/LMwebSoapClient/classes/MixerRequestObject.php';
    include __DIR__ . '/LMwebSoapClient/Template.php';
    $wsdl = "http://web3dev.travel-it.com/TravelItMixer/SoapMixer?wsdl";
    $sc = new LMwebSoapClient(LMwebSoapClient::$wsdl);
    $mro = new MixerRequestObject('235', 'HR74A69Q', '');
    $mro->setJourneyType($journeytype);
    $mro->setDestination($nach);
    if (isset($journeytype) && $journeytype == "JOURNEY") {
        $mro->setDepartureAirport($von);
    }
    $mro->setPerson('2');
    $mro->setDepartureDate($abreiseDate->format('Y-m-d'));
    $mro->setReturnDate($ruckreiseDate->format('Y-m-d'));
    try {
        if ($mro->getJourneyType() == 'FLIGHT') {
            echo 'index controller search flights';
            $result = $sc->searchFlights($mro);
            if ($result != null) {
                //	Template::searchFlightsTemplate($result, $mro);
<?php

include_once '../LMwebSoapClient.php';
include_once '../classes/MixerRequestObject.php';
include_once '../Template.php';
$sc = new LMwebSoapClient(LMwebSoapClient::$wsdl);
//$mro = new MixerRequestObject('88', 'HGD7777', '');
$mro = new MixerRequestObject('235', 'HR74A69Q', '');
if (isset($_GET['mro'])) {
    $mro = unserialize(base64_decode($_GET['mro']));
}
$mro->setParamsByArray($_POST);
try {
    echo 'searchdatelistcontroller';
    $result = $sc->bookingRequest($mro);
    if ($result != null) {
        Template::bookingRequestTemplate($result, $mro);
    }
} catch (SoapFault $sf) {
    print_r($sf->getMessage());
}
<?php

include_once '../LMwebSoapClient.php';
include_once '../classes/MixerRequestObject.php';
include_once '../Template.php';
$sc = new LMwebSoapClient(LMwebSoapClient::$wsdl);
//$mro = new MixerRequestObject('88', 'HGD7777', '');
$mro = new MixerRequestObject('235', 'HR74A69Q', '');
if (isset($_GET['mro'])) {
    $mro = unserialize(base64_decode($_GET['mro']));
}
$mro->setParamsByArray($_POST);
try {
    echo 'Search Flight List controller';
    $result = $sc->searchFlights($mro);
    if ($result != null) {
        Template::searchFlightsTemplate($result, $mro);
    }
} catch (SoapFault $sf) {
    print_r($sf->getMessage());
}
<?php

include_once '../LMwebSoapClient.php';
include_once '../classes/MixerRequestObject.php';
include_once '../Template.php';
$sc = new LMwebSoapClient(LMwebSoapClient::$wsdl);
//$mro = new MixerRequestObject('88', 'HGD7777', '');
$mro = new MixerRequestObject('235', 'HR74A69Q', '');
if (isset($_GET['mro'])) {
    $mro = unserialize(base64_decode($_GET['mro']));
}
$mro->setParamsByArray($_POST);
try {
    echo 'searchdestinationcontroller';
    $result = $sc->searchOffers($mro);
    if ($result != null) {
        Template::searchOfferTemplate($result, $mro);
    }
} catch (SoapFault $sf) {
    print_r($sf->getMessage());
}