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
|
|
@ -63,7 +63,7 @@
|
|||
-->
|
||||
<ul class="nav nav-tabs nav-justified" role="tablist">
|
||||
<li class="active"><a href="#tab_01" aria-controls="tab_01" role="tab" data-toggle="tab">Kulturreisen</a></li>
|
||||
<li><a href="#tab_02" aria-controls="tab_02" role="tab" data-toggle="tab">Pauschalreisen weltweit</a></li>
|
||||
<li><a href="/tt-suche">Pauschalreisen weltweit</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="tab-content">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% form_theme tt_search_form 'default/form/theme.html.twig' %}
|
||||
<div class="widget clearfix">
|
||||
<div class="widget clearfix" style="display:none">
|
||||
<form action="/tt-suche" method="get" class="searchwidget searchform row st-tt-search-form">
|
||||
<div class="form-group col-md-12">{{ form_field_pho(tt_search_form.termin, 'Früheste Anreise') }}</div>
|
||||
<div class="form-group col-md-12">{{ form_field_pho(tt_search_form.ruecktermin, 'Späteste Abreise') }}</div>
|
||||
|
|
|
|||
|
|
@ -6,16 +6,10 @@
|
|||
{% endblock %}
|
||||
{% block canonical_tag %}{% if app.debug %}<!-- Die canonical URL wird für diese Seite bewusst nicht definiert, da sie vom Suchindex ausgeschlossen wurde (Siehe meta robots) -->{% endif %}{% endblock %}
|
||||
|
||||
{#
|
||||
TODO: This doesn't work. Form labels are rendered, but widgets themselves not. Symfony / Twig bug?
|
||||
{% block search_sidebar_widget %}
|
||||
{% include 'default/components/sidebar/ttSearchSidebarWidget.html.twig' %}
|
||||
{% endblock %}
|
||||
#}
|
||||
|
||||
{% block body %}
|
||||
{% if tt_url is defined %}
|
||||
<iframe src="{{ tt_url|raw }}" scrolling="no" width="100%" height="13500"
|
||||
<iframe src="{{ tt_url|raw }}" scrolling="no" width="100%" height="3500"
|
||||
onload="window.parent.parent.scrollTo(0,0);"
|
||||
></iframe>
|
||||
{% else %}
|
||||
|
|
|
|||
|
|
@ -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