db_query("select value from sc_adm_currencies where id='USD'","ONE"); $_SESSION['currency']['id'] = 'EUR'; $_SESSION['currency']['value'] = '1'; $_GET['qlang']='EN'; $fblang = 'en_US'; $headlang = 'en'; $accountlang = 'en'; $edlang = 'en'; $langorig = 'english'; $gpluslang = 'en-US'; $txtobj = 'f.EN'; $txtshort = 'sh.EN'; $txtfooter = 'ft.EN'; $txtobjcit = 'ci.EN'; $txtobjloc = 'lo.EN'; $txtobjarr = 'ar.EN'; } ////////////////////////////// if(strpos($_SESSION["LANG"],"DE") !== false) { $_SESSION['currency']['id'] = 'EUR'; $_SESSION['currency']['value'] = '1'; $_GET['qlang']='DE'; $fblang = 'de_DE'; $headlang = 'de'; $accountlang = 'de'; $edlang = 'de'; $langorig = 'german'; $gpluslang = 'de'; $txtobj = 'f.DE'; $txtshort = 'sh.DE'; $txtfooter = 'ft.DE'; $txtobjcit = 'ci.DE'; $txtobjloc = 'lo.DE'; $txtobjarr = 'ar.DE'; } if(strpos($_SESSION["LANG"],"FR") !== false) { $_SESSION['currency']['id'] = 'EUR'; $_SESSION['currency']['value'] = '1'; $_GET['qlang']='FR'; $fblang = 'fr_FR'; $headlang = 'fr'; $accountlang = 'fr'; $edlang = 'fr'; $langorig = 'french'; $gpluslang = 'fr'; $txtobj = 'f.FR'; $txtshort = 'sh.FR'; $txtfooter = 'ft.FR'; $txtobjcit = 'ci.FR'; $txtobjloc = 'lo.FR'; $txtobjarr = 'ar.FR'; } if(strpos($_SESSION["LANG"],"ES") !== false) { $_SESSION['currency']['id'] = 'EUR'; $_SESSION['currency']['value'] = '1'; $_GET['qlang']='ES'; $fblang = 'es_LA'; $headlang = 'es'; $accountlang = 'es'; $edlang = 'es'; $langorig = 'spanish'; $gpluslang = 'es'; $txtobj = 'f.ES'; $txtshort = 'sh.ES'; $txtfooter = 'ft.ES'; $txtobjcit = 'ci.ES'; $txtobjloc = 'lo.ES'; $txtobjarr = 'ar.ES'; } ///////////////////////////// if ($_SESSION["LANG"] == "NL-BE") { $_SESSION["LANG"] == "NL"; } if(strpos($_SESSION["LANG"],"NL") !== false) { $_SESSION['currency']['id'] = 'EUR'; $_SESSION['currency']['value'] = '1'; $_GET['qlang']='NL'; $fblang = 'nl_NL'; $headlang = 'nl'; $accountlang = 'nl'; $edlang = 'en'; $langorig = 'dutch'; $gpluslang = 'nl'; $txtobj = 'f.NL'; $txtshort = 'sh.NL'; $txtfooter = 'ft.NL'; $txtobjcit = 'ci.NL'; $txtobjloc = 'lo.NL'; $txtobjarr = 'ar.NL'; } if(strpos($_SESSION["LANG"],"IT") !== false) { $_SESSION['currency']['id'] = 'EUR'; $_SESSION['currency']['value'] = '1'; $_GET['qlang']='IT'; $fblang = 'it_IT'; $headlang = 'it'; $accountlang = 'it'; $edlang = 'it'; $langorig = 'italian'; $gpluslang = 'it'; $txtobj = 'f.IT'; $txtshort = 'sh.IT'; $txtfooter = 'ft.IT'; $txtobjcit = 'ci.IT'; $txtobjloc = 'lo.IT'; $txtobjarr = 'ar.IT'; } if(strpos($_SESSION["LANG"],"PT") !== false) { $_SESSION['currency']['id'] = 'EUR'; $_SESSION['currency']['value'] = '1'; $_GET['qlang']='PT'; $fblang = 'pt_PT'; $headlang = 'pt'; $accountlang = 'pt'; $edlang = 'en'; $langorig = 'portuguese'; $gpluslang = 'pt'; $txtobj = 'f.PT'; $txtshort = 'sh.PT'; $txtfooter = 'ft.PT'; $txtobjcit = 'ci.PT'; $txtobjloc = 'lo.PT'; $txtobjarr = 'ar.PT'; } if(strpos($_SESSION["LANG"],"RU") !== false) { $CURVAL = $DBA->db_query("select * from sc_adm_currencies where id='RUB'","ONE"); $_SESSION['currency']['id'] = 'RUB'; $_SESSION['currency']['value'] = ''.$CURVAL["value"].''; $_GET['qlang']='RU'; $fblang = 'ru_RU'; $headlang = 'ru'; $accountlang = 'ru'; $edlang = 'en'; $langorig = 'russian'; $gpluslang = 'ru'; $txtobj = 'f.RU'; $txtshort = 'sh.RU'; $txtfooter = 'ft.RU'; $txtobjcit = 'ci.RU'; $txtobjloc = 'lo.RU'; $txtobjarr = 'ar.RU'; } if(strpos($_SESSION["LANG"],"HR") !== false) { $CURVAL = $DBA->db_query("select * from sc_adm_currencies where id='HRK'","ONE"); $_SESSION['currency']['id'] = 'HRK'; $_SESSION['currency']['value'] = ''.$CURVAL["value"].''; $_GET['qlang']='HR'; $fblang = 'hr_HR'; $headlang = 'hr'; $accountlang = 'hr'; $edlang = 'en'; $langorig = 'croatian'; $gpluslang = 'hr'; $txtobj = 'f.HR'; $txtshort = 'sh.HR'; $txtfooter = 'ft.HR'; $txtobjcit = 'ci.HR'; $txtobjloc = 'lo.HR'; $txtobjarr = 'ar.HR'; } if(strpos($_SESSION["LANG"],"SR") !== false) { $CURVAL = $DBA->db_query("select * from sc_adm_currencies where id='RSD'","ONE"); $_SESSION['currency']['id'] = 'RSD'; $_SESSION['currency']['value'] = ''.$CURVAL["value"].''; $_GET['qlang']='SR'; $fblang = 'sr_RS'; $headlang = 'sr'; $accountlang = 'sr'; $edlang = 'en'; $langorig = 'serbian'; $gpluslang = 'sr'; $txtobj = 'f.SR'; $txtshort = 'sh.SR'; $txtfooter = 'ft.SR'; $txtobjcit = 'ci.SR'; $txtobjloc = 'lo.SR'; $txtobjarr = 'ar.SR'; } if(strpos($_SESSION["LANG"],"PL") !== false) { $CURVAL = $DBA->db_query("select * from sc_adm_currencies where id='PLN'","ONE"); $_SESSION['currency']['id'] = 'PLN'; $_SESSION['currency']['value'] = ''.$CURVAL["value"].''; $_GET['qlang']='PL'; $fblang = 'pl_PL'; $headlang = 'pl'; $accountlang = 'pl'; $edlang = 'pl'; $langorig = 'polish'; $gpluslang = 'pl'; $txtobj = 'f.PL'; $txtshort = 'sh.PL'; $txtfooter = 'ft.PL'; $txtobjcit = 'ci.PL'; $txtobjloc = 'lo.PL'; $txtobjarr = 'ar.PL'; } if(strpos($_SESSION["LANG"],"CS") !== false) { $CURVAL = $DBA->db_query("select * from sc_adm_currencies where id='CZK'","ONE"); $_SESSION['currency']['id'] = 'CZK'; $_SESSION['currency']['value'] = ''.$CURVAL["value"].''; $_GET['qlang']='CS'; $fblang = 'cs_CZ'; $headlang = 'cs'; $accountlang = 'cs'; $edlang = 'en'; $langorig = 'czech'; $gpluslang = 'cs'; $txtobj = 'f.CS'; $txtshort = 'sh.CS'; $txtfooter = 'ft.CS'; $txtobjcit = 'ci.CS'; $txtobjloc = 'lo.CS'; $txtobjarr = 'ar.CS'; } if(strpos($_SESSION["LANG"],"DA") !== false) { $CURVAL = $DBA->db_query("select * from sc_adm_currencies where id='DKK'","ONE"); $_SESSION['currency']['id'] = 'DKK'; $_SESSION['currency']['value'] = ''.$CURVAL["value"].''; $_GET['qlang']='DA'; $fblang = 'da_DK'; $headlang = 'da'; $accountlang = 'da'; $edlang = 'en'; $langorig = 'danish'; $gpluslang = 'da'; $txtobj = 'f.DA'; $txtshort = 'sh.DA'; $txtfooter = 'ft.DA'; $txtobjcit = 'ci.DA'; $txtobjloc = 'lo.DA'; $txtobjarr = 'ar.DA'; } if(strpos($_SESSION["LANG"],"SV") !== false) { $CURVAL = $DBA->db_query("select * from sc_adm_currencies where id='SEK'","ONE"); $_SESSION['currency']['id'] = 'SEK'; $_SESSION['currency']['value'] = ''.$CURVAL["value"].''; $_GET['qlang']='SV'; $fblang = 'sv_SE'; $headlang = 'sv'; $accountlang = 'sv'; $edlang = 'en'; $langorig = 'swedish'; $gpluslang = 'sv'; $txtobj = 'f.SV'; $txtshort = 'sh.SV'; $txtfooter = 'ft.SV'; $txtobjcit = 'ci.SV'; $txtobjloc = 'lo.SV'; $txtobjarr = 'ar.SV'; } if(strpos($_SESSION["LANG"],"NO") !== false) { $CURVAL = $DBA->db_query("select * from sc_adm_currencies where id='NOK'","ONE"); $_SESSION['currency']['id'] = 'NOK'; $_SESSION['currency']['value'] = ''.$CURVAL["value"].''; $_GET['qlang']='NO'; $fblang = 'nb_NO'; $headlang = 'no'; $accountlang = 'no'; $edlang = 'en'; $langorig = 'norwegian'; $gpluslang = 'no'; $txtobj = 'f.NO'; $txtshort = 'sh.NO'; $txtfooter = 'ft.NO'; $txtobjcit = 'ci.NO'; $txtobjloc = 'lo.NO'; $txtobjarr = 'ar.NO'; } if(strpos($_SESSION["LANG"],"FI") !== false) { $_SESSION['currency']['id'] = 'EUR'; $_SESSION['currency']['value'] = '1'; $_GET['qlang']='FI'; $fblang = 'fi_FI'; $headlang = 'fi'; $accountlang = 'fi'; $edlang = 'en'; $langorig = 'finnish'; $gpluslang = 'fi'; $txtobj = 'f.FI'; $txtshort = 'sh.FI'; $txtfooter = 'ft.FI'; $txtobjcit = 'ci.FI'; $txtobjloc = 'lo.FI'; $txtobjarr = 'ar.FI'; } if(strpos($_SESSION["LANG"],"EL") !== false) { $_SESSION['currency']['id'] = 'EUR'; $_SESSION['currency']['value'] = '1'; $_GET['qlang']='EL'; $fblang = 'el_GR'; $headlang = 'el'; $accountlang = 'el'; $edlang = 'en'; $langorig = 'greek'; $gpluslang = 'el'; $txtobj = 'f.EL'; $txtshort = 'sh.EL'; $txtfooter = 'ft.EL'; $txtobjcit = 'ci.EL'; $txtobjloc = 'lo.EL'; $txtobjarr = 'ar.EL'; } if(strpos($_SESSION["LANG"],"TR") !== false) { $CURVAL = $DBA->db_query("select * from sc_adm_currencies where id='TRY'","ONE"); $_SESSION['currency']['id'] = 'TRY'; $_SESSION['currency']['value'] = ''.$CURVAL["value"].''; $_GET['qlang']='TR'; $fblang = 'tr_TR'; $headlang = 'tr'; $accountlang = 'tr'; $edlang = 'en'; $langorig = 'turkish'; $gpluslang = 'tr'; $txtobj = 'f.TR'; $txtshort = 'sh.TR'; $txtfooter = 'ft.TR'; $txtobjcit = 'ci.TR'; $txtobjloc = 'lo.TR'; $txtobjarr = 'ar.TR'; } if(strpos($_SESSION["LANG"],"BG") !== false) { $CURVAL = $DBA->db_query("select * from sc_adm_currencies where id='BGN'","ONE"); $_SESSION['currency']['id'] = 'BGN'; $_SESSION['currency']['value'] = ''.$CURVAL["value"].''; $_GET['qlang']='BG'; $fblang = 'bg_BG'; $headlang = 'bg'; $accountlang = 'bg'; $edlang = 'en'; $langorig = 'bulgarian'; $gpluslang = 'bg'; $txtobj = 'f.BG'; $txtshort = 'sh.BG'; $txtfooter = 'ft.BG'; $txtobjcit = 'ci.BG'; $txtobjloc = 'lo.BG'; $txtobjarr = 'ar.BG'; } if(strpos($_SESSION["LANG"],"HU") !== false) { $CURVAL = $DBA->db_query("select * from sc_adm_currencies where id='HUF'","ONE"); $_SESSION['currency']['id'] = 'HUF'; $_SESSION['currency']['value'] = ''.$CURVAL["value"].''; $_GET['qlang']='HU'; $fblang = 'hu_HU'; $headlang = 'hu'; $accountlang = 'hu'; $edlang = 'en'; $langorig = 'hungarian'; $gpluslang = 'hu'; $txtobj = 'f.HU'; $txtshort = 'sh.HU'; $txtfooter = 'ft.HU'; $txtobjcit = 'ci.HU'; $txtobjloc = 'lo.HU'; $txtobjarr = 'ar.HU'; } if($_GET['currency']){ $sqlresult = $DBA->db_query('SELECT id, value FROM sc_adm_currencies WHERE id="'.$_GET['currency'].'"', 'ALL'); if(is_array($sqlresult)){ $_SESSION['currency']['id'] = $sqlresult[0]['id']; $_SESSION['currency']['value'] = $sqlresult[0]['value']; } } /////////////////////END LANGAUGE CURRENCY if($_GET['firstlang']) $_SESSION['firstlang'] = $_GET['firstlang']; if($_GET['secondlang']) $_SESSION['secondlang'] = $_GET['secondlang']; if($_GET['selectitem']) $_SESSION['selectitem'] = $_GET['selectitem']; if($_GET['objfh']) $_SESSION['objfh'] = $_GET['objfh']; if($_GET['objfw']) $_SESSION['objfw'] = $_GET['objfw']; if($_GET['objgt']) $_SESSION['objgt'] = $_GET['objgt']; if($_GET['objfc']) $_SESSION['objfc'] = $_GET['objfc']; if($_GET['objch']) $_SESSION['objch'] = $_GET['objch']; if($_GET['objbb']) $_SESSION['objbb'] = $_GET['objbb']; if($_GET['objh']) $_SESSION['objh'] = $_GET['objh']; if($_GET['objmt']) $_SESSION['objmt'] = $_GET['objmt']; if($_GET['objps']) $_SESSION['objps'] = $_GET['objps']; if($_GET['objjh']) $_SESSION['objjh'] = $_GET['objjh']; if($_GET['objcp']) $_SESSION['objcp'] = $_GET['objcp']; if($_GET['objbs']) $_SESSION['objbs'] = $_GET['objbs']; if($_GET['pet']) $_SESSION['pet'] = $_GET['pet']; if($_GET['frees']) $_SESSION['frees'] = $_GET['frees']; if($_GET['belebt']) $_SESSION['belebt'] = $_GET['belebt']; if($_GET['incity']) $_SESSION['incity'] = $_GET['incity']; if($_GET['nature']) $_SESSION['nature'] = $_GET['nature']; if($_GET['winterg']) $_SESSION['winterg'] = $_GET['winterg']; if($_GET['balkony']) $_SESSION['balkony'] = $_GET['balkony']; if($_GET['terrasse']) $_SESSION['terrasse'] = $_GET['terrasse']; if($_GET['umzaeunt']) $_SESSION['umzaeunt'] = $_GET['umzaeunt']; if($_GET['wiese']) $_SESSION['wiese'] = $_GET['wiese']; if($_GET['dsl']) $_SESSION['dsl'] = $_GET['dsl']; if($_GET['telefonh']) $_SESSION['telefonh'] = $_GET['telefonh']; if($_GET['sattv']) $_SESSION['sattv'] = $_GET['sattv']; if($_GET['mobilja']) $_SESSION['mobilja'] = $_GET['mobilja']; if($_GET['klimaa']) $_SESSION['klimaa'] = $_GET['klimaa']; if($_GET['safeh']) $_SESSION['safeh'] = $_GET['safeh']; if($_GET['sauna']) $_SESSION['sauna'] = $_GET['sauna']; if($_GET['waschm']) $_SESSION['waschm'] = $_GET['waschm']; if($_GET['tvja']) $_SESSION['tvja'] = $_GET['tvja']; if($_GET['dvd']) $_SESSION['dvd'] = $_GET['dvd']; if($_GET['comp']) $_SESSION['comp'] = $_GET['comp']; if($_GET['wheelc']) $_SESSION['wheelc'] = $_GET['wheelc']; if($_GET['smoke']) $_SESSION['smoke'] = $_GET['smoke']; if($_GET['childf']) $_SESSION['childf'] = $_GET['childf']; if($_GET['allerg']) $_SESSION['allerg'] = $_GET['allerg']; if($_GET['water']) $_SESSION['water'] = $_GET['water']; if($_GET['internet']) $_SESSION['internet'] = $_GET['internet']; if($_GET['pool']) $_SESSION['pool'] = $_GET['pool']; if($_GET['orderby']) $_SESSION['orderby'] = $_GET['orderby']; if(!$_SESSION['persons']) $_SESSION['persons']=1; if($_GET['persons']) $_SESSION['persons'] = $_GET['persons']; if($_GET['sleeproom']) $_SESSION['sleeproom'] = $_GET['sleeproom']; if($_GET['duration']){ $_SESSION['duration'] = $_GET['duration']; } if(!$_SESSION['duration']){ $_SESSION['duration'] = '7'; } if(!$_SESSION['showamount']) $_SESSION['showamount']=20; if($_GET['arrday'] && $_GET['arrmonth'] && $_GET['arryear']){ $_SESSION['arrday']=$_GET['arrday']; $_SESSION['arrmonth']=$_GET['arrmonth']; $_SESSION['arryear']=$_GET['arryear']; } if($_GET['addtonotepad']){ if(is_array($_SESSION['notepad'])){ $_SESSION['notepad'][count($_SESSION['notepad'])] = $_GET['addtonotepad']; } else { $_SESSION['notepad'][0]=$_GET['addtonotepad']; } } if($_GET['deletefromnotepad']){ foreach($_SESSION['notepad'] as $key => $value){ if($_GET['deletefromnotepad']==$value){ $_SESSION['notepad'][$key] = 0; } } } if ( $_GET['backto'] ) { header('Location: '.$_GET['backto']); } if(!$_GET['page']) $_GET['page']='home'; include('frontend/'.$_GET['page'].'.php'); require('frontend/template.php'); ?>