Default IBE Child
git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3404 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
12446a9f10
commit
69a644c67e
1 changed files with 9 additions and 24 deletions
|
|
@ -242,19 +242,9 @@ class DefaultController extends Controller
|
|||
else { $bli=""; }
|
||||
|
||||
if(!empty($get_array['ttexpedient'])) { $exp=$get_array['ttexpedient']; }
|
||||
|
||||
|
||||
else { $exp=""; }
|
||||
/* http://www.sterntours.de/tt-suche?&KID=&formular=&detail=termine&showresult=1&personen=25;25&IFF=86796&termin=1532210400&ruecktermin=1532815200&dauer=6_7&marke=ETI&sleistung=HRGSWWCH;;;DSDA&apc_bin_loadfile(filename)ughafen=ZRH&bplink=1&ttexpedient=Franziska%20Mohsen&ttbueroid=DRS32
|
||||
|
||||
http://www.sterntours.de/tt-suche?&KID=&formular=&detail=termine&showresult=1&personen=25;25;8&IFF=18567&termin=1538949600&ruecktermin=1539295200&dauer=6_4&marke=FTI&sleistung=HRG501;PAUS;;DZKH&abflughafen=STR&bplink=1&ttexpedient=Franziska%20Mohsen&ttbueroid=DRS32
|
||||
*/
|
||||
|
||||
/* http://sterntours.local/tt-suche?&KID=&formular=&detail=termine&showresult=1&personen=25;25&IFF=2286&termin=1525298400&ruecktermin=1525730400&dauer=6_5&marke=SLR&sleistung=PMI501;;;A12H&abflughafen=HAM&bplink=1&ttexpedient=Maria%20Bedel&ttbueroid=DRS32
|
||||
|
||||
|
||||
http://www.sterntours.de/tt-suche?&KID=&formular=&detail=termine&showresult=1&personen=25;25&IFF=2286&termin=1525298400&ruecktermin=1525730400&dauer=6_5&marke=SLR&sleistung=PMI501;;;A12H&abflughafen=HAM&bplink=1&ttexpedient=Maria%20Bedel&ttbueroid=DRS32
|
||||
|
||||
*/
|
||||
|
||||
if($dau != "" && strpos($dau, "_")){
|
||||
$dau = explode("_", $dau);
|
||||
asort($dau);
|
||||
|
|
@ -262,23 +252,18 @@ class DefaultController extends Controller
|
|||
}
|
||||
$adult = substr_count($pers, '25');
|
||||
$child = "";
|
||||
$ps = explode($per, ';');
|
||||
foreach ($ps as $key => $p) {
|
||||
$ps = explode(';', $pers);
|
||||
|
||||
foreach ($ps as $p) {
|
||||
if($p < 25){
|
||||
$child = $p.",";
|
||||
$child .= $p.",";
|
||||
}
|
||||
}
|
||||
$child = rtrim($child, ',');
|
||||
$url = "http://dtps-ibe.traveltainment.de/offer?&taid=DRS32";
|
||||
$url .= '&ibe=package&adult='.$adult.'&ddate='.date("Y-m-d", $hin).'&rdate='.date("Y-m-d", $rueck).'&depap='.$airp.'&aid='.$airp.'&brand='.$va.'&dur='.$dau.'&child='.$child;
|
||||
$url = "http://dtps-ibe.traveltainment.de/offer?taid=DRS32";
|
||||
$url .= '&ibe=package&adult='.$adult.'&ddate='.date("Y-m-d", $hin).'&rdate='.date("Y-m-d", $rueck).'&depap='.$airp.'&aid='.$iff.'&brand='.$va.'&dur='.$dau.'&child='.$child;
|
||||
|
||||
|
||||
/* $url = $url."&ibe=package&adult=".substr_count($pers, '25')."&aid=$iff&ddate=".date("Y-m-d", $hin)."&rdate=".date("Y-m-d", $rueck)."."&brand=$va&depap=$airp";*/
|
||||
//$url .= "&aidList=".str_replace(";", ",", $sleist);*/
|
||||
$ttUrl = urldecode($url);
|
||||
|
||||
|
||||
/*$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";*///'http://www.vidado.com/booking/ibe_bp2/index.php?CID=8ce65750ce5af9d9a6b22c9b04772ea7&formular=4&engine=pauschal&showresult=1&'.$_SERVER['QUERY_STRING'];
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue