"; $p = 1; foreach ($menuArray as $key => $value){ if($p == 1){ echo "
  • $key\n"; $p++; }else{ echo "
  • $key\n"; $p++; } echo ""; echo "
  • "; } echo ""; } function printNodeList(){ system("bin/getattrs --web"); } ?>