\n"; echo "\n"; echo "Ausflugsziele in der Mecklenburgischen Seenplatte\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; include("_privat/connect.inc.php"); $linkid = connect2(); $result =mysql_query("SELECT drucken FROM zaehler where id_ausflugsziele='$id'"); $num = mysql_num_rows($result); if ($num == 0) { $result= mysql_query("INSERT INTO zaehler (id_ausflugsziele , drucken) VALUES ('$id' , '1')"); }else{ $cols = mysql_fetch_array ($result) ; $zaehler=$cols[0]+1; $result= mysql_query("UPDATE zaehler SET drucken='$zaehler' where id_ausflugsziele='$id'"); } $result =mysql_query("SELECT * FROM ausflugsziele where id='$id'"); $num = mysql_num_rows($result); $cols = mysql_fetch_array ($result); echo "\n"; echo "\n"; echo "\n"; echo "\n"; if ($cols[3] != '') { $bild = "../images/$id/".$id."_t.jpg"; $image = getimagesize($bild); $breite=$image[0]; $hoehe=$image[1]; echo "\n"; echo "\n"; echo "\n"; } echo "\n"; echo "\n"; echo "\n"; $result_anbieter =mysql_query("SELECT * FROM anbieter where id='$cols[4]'"); $num_anbieter = mysql_num_rows($result_anbieter); for ($j=0; $j<$num_anbieter; $j++) { $cols_anbieter = mysql_fetch_array ($result_anbieter); echo "\n"; echo "\n"; echo "\n"; } echo "
\"$cols[1]\"
\"$cols[1]\"
\n"; if ($cols[7] != '') { $bild = "../images/$id/$cols[7]"; $image = getimagesize($bild); $breite=$image[0]; $hoehe=$image[1]; echo "\"$cols[1]\"\n"; } echo nl2br($cols[2]); echo "
\n"; echo "
So erreichen Sie uns:

\n"; echo "$cols_anbieter[1]
\n"; echo "$cols_anbieter[2], $cols_anbieter[3]
\n"; echo "Telefon: $cols_anbieter[4]
\n"; if ($cols_anbieter[5]!='') { echo "Fax:$cols_anbieter[5]
\n"; } if ($cols_anbieter[6]!='') { echo "E-Mail:$cols_anbieter[6]
\n"; } if ($cols_anbieter[7]!='') { echo "Internet:$cols_anbieter[7]
\n"; } echo "
\n"; echo "\n"; echo "\n"; ?>