Suche IBE raus
git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3390 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
83de9a1ae5
commit
f07ee29a67
4 changed files with 27 additions and 27 deletions
|
|
@ -112,7 +112,7 @@ class DefaultController extends Controller
|
|||
{
|
||||
$data = $form->getData();
|
||||
|
||||
$ttUrl = "http://dtps-ibe.traveltainment.de/search?&taid=DRS32"; //ibe=package";
|
||||
$ttUrl = "http://dtps-ibe.traveltainment.de/offer/?&taid=DRS32"; //ibe=package";
|
||||
|
||||
/*$requests = "&ibe=package&aidgiata=49720&ddate=".date("Y-m-d", 1523397600)."&depap=TXL&rdate=".date("Y-m-d", 1524002400)."&dur=6,2&brand=FTI&oid=ASW318;PAUS;;DSQF&adult=2";*/
|
||||
|
||||
|
|
@ -136,9 +136,14 @@ class DefaultController extends Controller
|
|||
$ttUrl .= '&child='. $count;
|
||||
}
|
||||
$ttUrl .= '&ibe=';
|
||||
if (!empty($data['topRegion']) && isset(TtSearchRequestType::$DESTINATION_CHOICES[$data['topRegion']]))
|
||||
{
|
||||
$ttUrl .= 'hotel&rgid='. TtSearchRequestType::$DESTINATION_CHOICES[$data['topRegion']];
|
||||
if (!empty($data['topRegion']))
|
||||
{
|
||||
if(isset(TtSearchRequestType::$DESTINATION_CHOICES[$data['topRegion']])){
|
||||
$ttUrl .= 'package&rgid='. TtSearchRequestType::$DESTINATION_CHOICES[$data['topRegion']];
|
||||
}else{
|
||||
$ttUrl .= 'package&rgid='. $data['topRegion'];
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -200,45 +205,46 @@ class DefaultController extends Controller
|
|||
}else{
|
||||
if(strpos($_SERVER['QUERY_STRING'], 'ttexpedient')){
|
||||
|
||||
if(isset($_GET['formular'])) { $form=$_GET['formular']; }
|
||||
else { $form=""; }
|
||||
$get_array = array();
|
||||
parse_str($_SERVER['QUERY_STRING'], $get_array);
|
||||
|
||||
if(isset($_GET['detail'])) { $det=$_GET['detail']; }
|
||||
if(!empty($get_array['detail'])) { $det=$get_array['detail']; }
|
||||
else { $det=""; }
|
||||
|
||||
if(isset($_GET['IFF'])) { $hotel=$_GET['IFF']; }
|
||||
if(!empty($get_array['IFF'])) { $hotel=$get_array['IFF']; }
|
||||
else { $hotel=""; }
|
||||
|
||||
if(isset($_GET['abflughafen'])) { $airp=$_GET['abflughafen']; }
|
||||
if(!empty($get_array['abflughafen'])) { $airp=$get_array['abflughafen']; }
|
||||
else { $airp=""; }
|
||||
|
||||
if(isset($_GET['sleistung'])) { $sleist=$_GET['sleistung']; }
|
||||
if(!empty($get_array['sleistung'])) { $sleist=$get_array['sleistung']; }
|
||||
else { $sleist=""; }
|
||||
|
||||
if(isset($_GET['showresult'])) { $show=$_GET['showresult']; }
|
||||
if(!empty($get_array['showresult'])) { $show=$get_array['showresult']; }
|
||||
else { $show=""; }
|
||||
|
||||
if(isset($_GET['personen'])) { $pers=$_GET['personen']; }
|
||||
if(!empty($get_array['personen'])) { $pers=$get_array['personen']; }
|
||||
else { $pers=""; }
|
||||
|
||||
if(isset($_GET['marke'])) { $va=$_GET['marke']; }
|
||||
if(!empty($get_array['marke'])) { $va=$get_array['marke']; }
|
||||
else { $va=""; }
|
||||
|
||||
if(isset($_GET['termin'])) { $hin=$_GET['termin']; }
|
||||
if(!empty($get_array['termin'])) { $hin=$get_array['termin']; }
|
||||
else { $hin=""; }
|
||||
|
||||
if(isset($_GET['ruecktermin'])) { $rueck=$_GET['ruecktermin']; }
|
||||
if(!empty($get_array['ruecktermin'])) { $rueck=$get_array['ruecktermin']; }
|
||||
else { $rueck=""; }
|
||||
|
||||
if(isset($_GET['dauer'])) { $dau=$_GET['dauer']; }
|
||||
if(!empty($get_array['dauer'])) { $dau=$get_array['dauer']; }
|
||||
else { $dau=""; }
|
||||
|
||||
if(isset($_GET['bplink'])) { $bli=$_GET['bplink']; }
|
||||
if(!empty($get_array['bplink'])) { $bli=$get_array['bplink']; }
|
||||
else { $bli=""; }
|
||||
|
||||
if(isset($_GET['ttexpedient'])) { $exp=$_GET['ttexpedient']; }
|
||||
if(!empty($get_array['ttexpedient'])) { $exp=$get_array['ttexpedient']; }
|
||||
else { $exp=""; }
|
||||
|
||||
|
||||
$url = "http://dtps-ibe.traveltainment.de/search?&taid=DRS32"; //&ibe=package";
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue