= $id ORDER BY id LIMIT 2"; $rs = @mysql_query( $abfrage,$con); list($id, $name, $einleitung, $subhead0, $subhead1, $subhead2, $subhead3, $subhead4, $text0, $text1, $text2, $text3, $text4, $text5, $bildname, $bildanzahl, $bildtext0, $bildtext1, $bildtext2, $bildtext3, $bildtext4, $description, $keywords) = @mysql_fetch_row($rs); list($id2, $name2, $einleitung2, $subhead02, $subhead12, $subhead22, $subhead32, $subhead42, $text02, $text12, $text22, $text32, $text42, $text52, $bildname2, $bildanzahl2, $bildtext02, $bildtext12, $bildtext22, $bildtext32, $bildtext42, $description2, $keywords2) = @mysql_fetch_row($rs); $abfrage = "SELECT id, name FROM artikel WHERE rubrikid=$rubrikid AND id < $id ORDER BY id DESC LIMIT 2"; $rs = @mysql_query($abfrage); list($id3, $name3) = @mysql_fetch_row($rs); mysql_Close($con); echo ""; echo ""; echo "Haus & Markt Online - $name"; echo ""; echo ""; echo ""; echo ""; echo " "; echo " "; echo "
"; echo " "; echo " "; //---------------------------------------------------------Navigation oben echo ""; echo "

  $rubrikname

"; // Artikel back if ($id3 != ''){ echo ""; echo "Zum vorigen Artikel: $name3"; } // Artikel vor if ($id2 != ''){ echo ""; echo "Zum nächsten Artikel: $name2"; } echo ""; echo "Zur Übersicht
"; //--------------------------------------------------------- Seitenkopf echo ""; echo ""; //echo ""; echo "

"; //+++++++ diese abfrage ergänzen, archiv-bit richtig gesetzt? //+++if($sichtbar = '2'){ //++ echo "


Aus dem Haus & Markt Archiv:

"; //++} //+++++++ echo "
$name


"; echo ""; echo""; echo""; echo ""; echo "
"; //------------------------------------------------------------- Text links if ($einleitung != '') echo "

$einleitung

"; if ($subhead0 != '') echo "

$subhead0

"; if ($text0 != '') echo "

$text0

"; if ($subhead1 != '') echo "

$subhead1

"; if ($text1 != '') echo "

$text1

"; if ($subhead2 != '') echo "

$subhead2

"; if ($text2 != '') echo "

$text2

"; if ($subhead3 != '') echo "

$subhead3

"; if ($text3 != '') echo "

$text3

"; if ($subhead4 != '') echo "

$subhead4

"; if ($text4 != '') echo "

$text4

"; echo"
 "; //--------------------------------------------------------- Tabelle mit Bildern rechts echo"0){ echo ""; } if ($bildanzahl >1){ echo ""; } if ($bildanzahl >2){ echo ""; } echo "
$bildtext0
 
$bildtext1
 
$bildtext2
 
 "; //--------------------google echo "$amazon
"; //------------------------------------------------------------- Seitenfuss echo "
"; // zweite Seite if ($bildanzahl >'3' or $text5 != ''){ echo "

"; echo "Zum zweiten Teil des Artikels

"; } echo "
"; echo "
"; echo "
"; // Artikel drucken echo "

"; echo "Artikel drucken

"; echo "
"; // Artikel vor if ($id2 != ''){ echo "

"; echo "Zum nächsten Artikel: $name2

"; } echo "
"; // Artikel zurück if ($id3 != ''){ echo "

"; echo "Zum vorigen Artikel: $name3

"; } echo "
"; // Übersicht echo "

"; echo "Zur Artikelübersicht

"; echo "
"; echo "
"; ?>