Under Construction


\"Under
"); define("_INDEX",1); include_once("_config.php"); include_once("_mysql.php"); include_once('ip2c/ip2country.php'); $ip2c=new ip2country(); $ip2c->table_name='ip2country'; $client_countrycode = $ip2c->get_country_code(); $counter_country = $client_countrycode; if(empty($_GET['lang'])){ $_GET['lang'] = "de";} $counter_lang = $_GET['lang']; function getUnder($id) { $result = mysql_query("SELECT under FROM menu WHERE id='".$id."' ORDER BY sort ASC "); $data = mysql_fetch_array($result); return $data['under']; } $menu = ''; $result = mysql_query("SELECT id, type, name_".$_GET[lang]." FROM menu WHERE under='0' ORDER BY sort ASC "); for($i=1;$i<=mysql_num_rows($result);$i++){ $data = mysql_fetch_array($result); if($_GET['id'] == $data['id'] || getUnder($_GET['id']) == $data['id']){ $menu .= ''; $result2 = mysql_query("SELECT id, type, name_".$_GET[lang]." FROM menu WHERE under='".$data['id']."' ORDER BY sort ASC "); for($i2=1;$i2<=mysql_num_rows($result2);$i2++){ $data2 = mysql_fetch_array($result2); $menu .= ''; } } else{ $menu .= '';} } $menu .= '
> '.$data['name_'.$_GET[lang]].' <
• '.$data2['name_'.$_GET[lang]].'
'.$data['name_'.$_GET[lang]].'
'; if($_GET['site']){ $map_site = "site=".$_GET['site']."&";} else{ $map_site = "";} if($_GET['id']){ $map_id = "id=".$_GET['id']."&";} else{ $map_id = "";} echo ' '.$seitentitel.' '; echo '
www.tauchen-in-hurghada.de
'.$menu; echo '
'; echo '
'; if(file_exists($_GET['site'].'.php')){ @include(str_replace("/","",$_GET['site']).'.php'); $counter_site = $_GET['site']."|||".$_GET['id']; } else{ $data = mysql_fetch_array(mysql_query("SELECT id, type FROM menu WHERE start='1'")); $_GET['id'] = $data['id']; $counter_site = $data['type']."|||".$_GET['id']; @include($data['type'].".php"); } echo '

© 2012 Oxlivexr Titxze | alle Rechte vorbehalten | Kontakt: Oxlivexr(ät)Titxze.net
Impressum | AGB
'; echo ' '; include("counter.php"); ?>