ibe update
git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3391 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
f07ee29a67
commit
28ebfa1b85
1 changed files with 21 additions and 6 deletions
|
|
@ -211,8 +211,8 @@ class DefaultController extends Controller
|
|||
if(!empty($get_array['detail'])) { $det=$get_array['detail']; }
|
||||
else { $det=""; }
|
||||
|
||||
if(!empty($get_array['IFF'])) { $hotel=$get_array['IFF']; }
|
||||
else { $hotel=""; }
|
||||
if(!empty($get_array['IFF'])) { $iff=$get_array['IFF']; }
|
||||
else { $iff=""; }
|
||||
|
||||
if(!empty($get_array['abflughafen'])) { $airp=$get_array['abflughafen']; }
|
||||
else { $airp=""; }
|
||||
|
|
@ -243,13 +243,28 @@ class DefaultController extends Controller
|
|||
|
||||
if(!empty($get_array['ttexpedient'])) { $exp=$get_array['ttexpedient']; }
|
||||
else { $exp=""; }
|
||||
|
||||
|
||||
|
||||
$url = "http://dtps-ibe.traveltainment.de/search?&taid=DRS32"; //&ibe=package";
|
||||
/* 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
|
||||
|
||||
|
||||
$url = $url."&adult=".substr_count($pers, '25')."&aid=$hotel&ddate=".date("Y-m-d", $hin)."&rdate=".date("Y-m-d", $rueck)."&dur=".str_replace("_", ",", $dau)."&brand=$va&depap=$airp";
|
||||
$url .= "&aidList=".str_replace(";", ",", $sleist);
|
||||
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);
|
||||
$dau = implode(",", $dau);
|
||||
}
|
||||
|
||||
$url = "http://dtps-ibe.traveltainment.de/offer?&taid=DRS32";
|
||||
|
||||
$url .= '&ibe=package&adult='.substr_count($pers, '25').'&ddate='.date("Y-m-d", $hin).'&rdate='.date("Y-m-d", $rueck).'&depap='.$airp.'&aid=2286&brand='.$va.'&dur='.$dau;
|
||||
|
||||
|
||||
/* $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);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue