\n"; print " \n"; $i++; } dbclose(); ?>
\n"; print "
\n"; print " \n"; if(empty($row['titel'])) $row['titel'] = "..."; if(mysql_num_rows($items) > 0) print " \n"; print " \n"; print "
".$row['titel']."
\n"; else print "
".$row['titel']."
\n"; print " \n"; print " \n"; $j=1; while($item = mysql_fetch_array($items)) { $subitems = dbquery("SELECT id,titel_".$lang." AS titel FROM menu WHERE parent_id='$item[id]' ORDER BY id ASC"); if(empty($item['titel'])) $item['titel'] = "..."; if(mysql_num_rows($subitems) > 0) { print " \n"; } else { print " \n"; } $j++; } print " \n"; print "
  ".$item['titel']."
\n"; print " \n"; while($subitem = mysql_fetch_array($subitems)) { if(empty($subitem['titel'])) $subitem['titel'] = "..."; print " \n"; } print "
   ".$subitem['titel']."
\n"; print "
  ".$item['titel']."
\n"; print "
\n"; print "
  
\"".$row['land']."\"\n"; } ?>