0"); while($row = mysql_fetch_array($result_kat_1)) { $bild_1=$row["bild1"]; $text=$row["text"]; $html1=$row["html1"]; $html2=$row["html2"]; $html3=$row["html3"]; $kat1=$row["kat1"]; $kat2=$row["kat2"]; $f_name=$row["f_name"]; $user_id=$row["id"]; if($netzwerk_frei== "1") {include "config/config.php";include "config/netzwerk_config1.php";} mysql_query("insert into buchung_".$nr."_zimmer values ('$user_id','','','','1','', '','','','','','','$f_name' ,'$text','','','','','','','' ,'','','$kat1','$kat2','','$user_id','','','','' ,'','','')"); } } $bis10=(60*60*1); $bise00=$datjoint+$bis10; mysql_query("UPDATE hp4_mitglieder_".$nr."_globale_optionen SET name='$bise00' WHERE id='1'"); } if($netzwerk_frei== "1") {include "config/netzwerk_config.php";} if (isset($_GET['kat'])) $kat=$_GET['kat'];if (isset($_POST['kat'])) $kat=$_POST['kat']; $kat= htmlentities($kat, ENT_QUOTES);$kat =substr($kat, 0,40); $kat= mysql_real_escape_string($kat); if ($action=="kat1"){ $result_kat_1=mysql_query("SELECT * from buchung_".$nr."_kat_1 WHERE id='$kat'"); while($row = mysql_fetch_array($result_kat_1)) {$kat_1_name =$row["name"];}$counter_seite="$kat_1_name"; $counter_seite2="$kat_1_name"; } if ($action=="kat2"){ $result_kat_1=mysql_query("SELECT * from buchung_".$nr."_kat_2 WHERE id='$kat'"); while($row = mysql_fetch_array($result_kat_1)) {$kat_1_name =$row["name"]; $kat1 =$row["kat"]; } $result_kat_1=mysql_query("SELECT * from buchung_".$nr."_kat_1 WHERE id='$kat1'"); while($row = mysql_fetch_array($result_kat_1)) {$kat_2_name =$row["name"];} $counter_seite="$kat_2_name"; $counter_seite2="$kat_2_name"; $result_kat_1=mysql_query("SELECT * from buchung_".$nr."_kat_2 WHERE id='$kat'"); while($row = mysql_fetch_array($result_kat_1)) {$kat_1_name =$row["name"];} $counter_seite="$kat_1_name"; $counter_seite2="$kat_1_name"; } if ($action=="objekt"){ $result_kat_1=mysql_query("SELECT * from buchung_".$nr."_zimmer WHERE id='$kat'"); while($row = mysql_fetch_array($result_kat_1)) {$kat_1_name =$row["f_name"];} $counter_seite="$kat_1_name";$counter_seite2="$kat_1_name";} if ($action=="buchen"){ $result_kat_1=mysql_query("SELECT * from buchung_".$nr."_zimmer WHERE id='$kat'"); while($row = mysql_fetch_array($result_kat_1)) {$kat_1_name =$row["f_name"];} $counter_seite="Unverbindliche Buchungsanfragen"; $counter_seite2="Unverbindliche Buchungsanfragen"; } $counter_seite="$counter_seite [0]Ferienobjekte"; if($netzwerk_frei== "1") {include "config/config.php";include "config/netzwerk_config1.php";} include("include/menus/header.php"); include("include/menus/left_side.php"); include("include/menus/mitte.php"); if($netzwerk_frei== "1") {include "config/netzwerk_config.php";} $result_kat_1=mysql_query("SELECT * from buchung_".$nr."_einstellungen WHERE id='1'"); while($row = mysql_fetch_array($result_kat_1)) { $eur=$row["euro_w"]; $anzahl=$row["anzahl"]; } if ($gesehen=="1"){if ($gesehen1=="0"){include("include/buchung/besuchte.php");}} if ($action=="kat1"){include("include/buchung/ferienobjekte_kat_1.php");} if ($action=="kat2"){include("include/buchung/ferienobjekte_kat_2.php");} if ($action=="objekt"){include("include/buchung/ferienobjekte.php");} if ($action=="buchen"){include("include/buchung/buchen.php");} if ($gesehen=="1"){if ($gesehen1=="1"){include("include/buchung/besuchte.php");}} if($netzwerk_frei== "1") {include "config/config.php";include "config/netzwerk_config1.php";} include("include/menus/mitte1.php"); include("include/menus/right_side.php"); include("include/menus/footer.php"); ?>