".gettext("Ajouter")." | ".gettext("Par catégorie")." | ".gettext("Par ordre alphabétique")." | ".gettext("En attente")." |
\n"; echo " | STATIONS CONCERNEES | \n"; echo "ETAT | \n"; echo "CONNEXIONS | \n"; echo "CONTROLE |
\n"; echo " | "; } else { echo "||||
"; } echo " | $mp_en_cours | \n$etat | \n$etat_session | \n"; echo ""; if ($ping) { $ts=ts($iphost); $vnc=vnc($iphost); if ($ts) { echo $ts; } if ($vnc) { echo $vnc; } if ((!$ts) and (!$vnc)) { echo "\n"; } } else { echo "\n"; } echo " |
\n"; $tableau_printer .= " | Imprimantes | \n"; $tableau_printer .= "Etat | \n"; $tableau_printer .= "Travaux d'impression | \n"; $tableau_printer .= "|||
"; $tableau_printer .= " | $mp_en_cours | \n"; $printer = $mp_en_cours; $sys= exec("/usr/bin/lpstat -p $printer | grep enabled"); $sys2= exec("/usr/bin/lpstat -a $printer | grep not"); if (($sys != "") and ($sys2 == "")) { $tableau_printer .= "\n"; } else { if ($sys2 == "") { $tableau_printer .= " | \n"; } else { $tableau_printer .= " | \n"; } } $tableau_printer .= " | \n"; // Travaux d'impression $sys= exec("/usr/bin/lpstat -o $printer"); if ($sys != "") { $tableau_printer .= "\n"; } else { $tableau_printer .= " | \n"; } $tableau_printer .= " |
".gettext("NOM")." | \n".gettext("SCRIPT")." | \n".gettext("ETAT")." | \n\n | \n
$chaine | \n"; $test_alpha=$chaine; } } echo "
$chaine | |||
".$row[0]." | ".$row[1]." | \n$alert | \n\n |