init without trunk

This commit is contained in:
Kevin Adametz 2020-07-09 12:49:32 +02:00
parent ed24ac4994
commit bb809e7233
14652 changed files with 177862 additions and 94817 deletions

153
web/travelsearch.php Normal file
View file

@ -0,0 +1,153 @@
<?php
$url = "http://www.sterntours.de/tt-suche?".str_replace("/travelsearch.php?", "", $_SERVER['REQUEST_URI']);
header("Location:".$url, true, 301);
exit;
/*
$url = "http://sterntours.test/tt-suche?".str_replace("/travelsearch.php?", "", $_SERVER['REQUEST_URI']);
header("Location:".$url, true, 301);
exit;
*/
/*
http://www.sterntours.de/travelsearch.php?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
//$requests = str_replace("/travelsearch.php?", "", $_SERVER['REQUEST_URI']);
$url = "http://www.vidado.com/booking/ibe_bp2/index.php?CID=8ce65750ce5af9d9a6b22c9b04772ea7&formular=4&engine=pauschal&detail=hotel&showresult=1&";
$url .= $requests;
echo '<iframe src="'.$url.'" frameborder="0" scrolling="no" width="100%" height="13500" onload="window.parent.parent.scrollTo(0,0);"></iframe>';
*/
/*$url = 'http://www.vidado.com/booking/ibe_bp2/index.php?CID=8ce65750ce5af9d9a6b22c9b04772ea7';
$url .= '&' . $_SERVER['QUERY_STRING'];
echo '<iframe src="' . $url . '" frameborder="0" width="592" height="10000"></iframe>';*/
if(isset($_GET['formular'])) { $form=$_GET['formular']; }
else { $form=""; }
if(isset($_GET['detail'])) { $det=$_GET['detail']; }
else { $det=""; }
if(isset($_GET['IFF'])) { $hotel=$_GET['IFF']; }
else { $hotel=""; }
if(isset($_GET['abflughafen'])) { $airp=$_GET['abflughafen']; }
else { $airp=""; }
if(isset($_GET['sleistung'])) { $sleist=$_GET['sleistung']; }
else { $sleist=""; }
if(isset($_GET['showresult'])) { $show=$_GET['showresult']; }
else { $show=""; }
if(isset($_GET['personen'])) { $pers=$_GET['personen']; }
else { $pers=""; }
if(isset($_GET['marke'])) { $va=$_GET['marke']; }
else { $va=""; }
if(isset($_GET['termin'])) { $hin=$_GET['termin']; }
else { $hin=""; }
if(isset($_GET['ruecktermin'])) { $rueck=$_GET['ruecktermin']; }
else { $rueck=""; }
if(isset($_GET['dauer'])) { $dau=$_GET['dauer']; }
else { $dau=""; }
if(isset($_GET['bplink'])) { $bli=$_GET['bplink']; }
else { $bli=""; }
if(isset($_GET['ttexpedient'])) { $exp=$_GET['ttexpedient']; }
else { $exp=""; }
$url = "http://dtps-ibe.traveltainment.de/search?&taid=DRS32"; //&ibe=package";
$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);
$url = urldecode($url);
/*$destination = 0;
$requests = str_replace("/travelsearch.php?", "", $_SERVER['REQUEST_URI']);
$url = "http://www.vidado.com/booking/ibe_bp2/index.php?CID=8ce65750ce5af9d9a6b22c9b04772ea7&formular=4&engine=pauschal&detail=".($destination > 0 ? 'termine' : $detail)."&showresult=1";
$url .= $requests;*/
echo "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Frameset//EN'
'http://www.w3.org/TR/html4/frameset.dtd'>
<html>
<head>
<title>DEEPLINK Sterntours</title>
</head>
<iframe src=\"".$url."\" frameborder=\"0\" width=\"592\" height=\"10000\"></iframe>
</html>";
/* $urlLastMinute = 'http://www.vidado.com/booking/ibe_bp2/index.php?CID=8ce65750ce5af9d9a6b22c9b04772ea7';
$urlPauschal = 'http://www.vidado.com/booking/ibe_bp2/index.php?CID=8ce65750ce5af9d9a6b22c9b04772ea7';
$urlCharter = 'http://www.vidado.com/booking/ibe_bp2/index.php?CID=8ce65750ce5af9d9a6b22c9b04772ea7';
$urlHotel = 'http://www.vidado.com/booking/ibe_bp2/erde/index.php?CID=8ce65750ce5af9d9a6b22c9b04772ea7';
if (isset($_GET['ttibe']) && $_GET['ttibe'] == 'pauschal') {
$url = $urlPauschal;
} else if (isset($_GET['ttibe']) && $_GET['ttibe'] == 'charter') {
$url = $urlCharter;
} else if (isset($_GET['ttibe']) && $_GET['ttibe'] == 'hotel') {
$url = $urlHotel;
} else {
$url = $urlLastMinute;
}
$url .= '&' . $_SERVER['QUERY_STRING'];
echo '<iframe src="' . $url . '" frameborder="0" width="592"
height="10000"></iframe>';*/
/*
http://www.sterntours.de/tt-suche?termin=&ruecktermin=&dauer=&topRegion=&abflughafen=&shotel=&kategorie=&zimmer=&t=1&child0=&child1=&child2&&KID=
formular=
detail=termine
showresult=1
personen=25;25
IFF=49720
termin=1523397600
ruecktermin=1524002400
dauer=6_7
marke=FTI
sleistung=MCT328;PAUS;;DX%20F
abflughafen=TXL
bplink=1
ttexpedient=Leoni%20Stern
ttbueroid=DRS32
$form="";
$det="termine";
$hotel="49720";
&formular=$form&detail=$det&IFF=$hotel&abflughafen=$airp&sleistung=$sleist&showresult=$show&personen=$pers&marke=$va&termin=$hin&ruecktermin=$rueck&dauer=$dau&bplink=$bli&ttexpedient=$exp'
//$ttUrl = 'http://www.vidado.com/booking/ibe_bp2/index.php?CID=8ce65750ce5af9d9a6b22c9b04772ea7&formular=4&engine=pauschal&showresult=1&'.$_SERVER['QUERY_STRING'];
https://sterntours.de/travelsearch.php?KID=&formular=&detail=termine&showresult=1&personen=25;25&IFF=49720&termin=1523397600&ruecktermin=1524002400&dauer=6_7&marke=FTI&sleistung=MCT328;PAUS;;DX%20F&abflughafen=TXL&bplink=1&ttexpedient=Leoni%20Stern&ttbueroid=DRS32
http://sterntours.test/tt-suche?termin=&ruecktermin=&dauer=&topRegion=&abflughafen=&shotel=&kategorie=&zimmer=&t=1&child0=&child1=&child2&&KID=&formular=&detail=termine&showresult=1&personen=25;25&IFF=19146&termin=1528063200&ruecktermin=1528322400&dauer=6_3&marke=ITS&sleistung=EF02UXT;;F;AP2N&abflughafen=DUS&bplink=1&ttexpedient=Thomas%20Stern&ttbueroid=DRS32
http://sterntours.test/tt-suche?&formular=4&engine=erde&detail=termine&IFF=54145&sleistung=RGOLRGOL%3B%3B%3B2SAU&showresult=1&personen=25%3B25&termin=1365026400&ruecktermin=1365458400&dauer=6_5&bplink=1&marke=ATK&ttexpedient=Max+Musterman
http://www.vidado.com/booking/ibe_bp2/index.php?CID=8ce65750ce5af9d9a6b22c9b04772ea7&formular=&detail=termine&showresult=1&personen=25;25&IFF=49720&termin=1523397600&ruecktermin=1524002400&dauer=6_7&marke=FTI&sleistung=MCT328;PAUS;;DX%20F&abflughafen=TXL&bplink=1&ttexpedient=Leoni%20Stern&ttbueroid=DRS32&detail=termine&showresult=1&personen=25;25&IFF=49720&termin=1523397600&ruecktermin=1524002400&dauer=6_7&marke=FTI&sleistung=MCT328;PAUS;;DX%20F&abflughafen=TXL&bplink=1&ttexpedient=Leoni%20Stern&ttbueroid=DRS32
*/
?>