"; # function printList ($db){ global $nav_punkt, $show, $unter_nav_punkt, $id, $pos1; } $result = mysql_query("SELECT nav_punkt,id,pos1 FROM $tabelle where pos2 = '99999' and webview='web' order by pos1 ",$db); while ($myrow = mysql_fetch_row($result)) { $rest = substr($myrow[0], 0, 5); if($show=="$myrow[2]"){ $result4 = mysql_query("SELECT nav_punkt,unter_nav_punkt,target1,id FROM $tabelle where pos1 = '55555' and target1 = '$myrow[0]' and webview='web' order by pos2",$db); $anz4 = mysql_num_rows($result4); echo" "; $result2 = mysql_query("SELECT nav_punkt,unter_nav_punkt,target1,id FROM $tabelle where pos1 = '55555' and target1 = '$myrow[0]' and webview='web' order by pos2",$db); $anz = mysql_num_rows($result2); while ($myrows = mysql_fetch_row($result2)) { if($unter_nav_punkt=="$myrows[1]"){ print" "; } if($unter_nav_punkt!="$myrows[1]"){ print""; } if($label == "menXX"){ print"       $myrows[1]"; print"
"; } } } }else{ $result3 = mysql_query("SELECT nav_punkt,unter_nav_punkt,target1,id FROM $tabelle where pos1 = '55555' and target1 = '$myrow[0]' and webview='web' order by pos2",$db); $anz3 = mysql_num_rows($result3); echo""; } } #print""; #print""; # # ?> "; ?>
    $liste   $myrow[0]     ";if($anz4 != "0"){print" ($anz4)";}print"
       $myrows[1]
"; if($label != "menXX"){ print"       $myrows[1]"; print"
"; if($anz3 != "0"){ print"    $liste   $myrow[0]     ";if($anz3 != "0"){print" ($anz3)";}print""; } if($anz3 == "0"){ print"    $liste   $myrow[0]"; } print"