Action non autorisee.
"; die(); } $restriction_parcs = "n"; if (is_admin("system_is_admin", $login) != "Y") { $restriction_parcs = "y"; $tab_delegated_parcs = list_delegated_parcs($login); if (count($tab_delegated_parcs) == 0) { echo "Aucun parc ne vous a ete delegue.
\n"; die(); } } if ($_GET['mode'] == 'ping_ip') { $resultat = fping($_GET['ip']); if ($resultat) { //echo ""; echo ""; } else { //echo ""; echo ""; } } elseif ($_GET['mode'] == 'session') { $res = get_smbsess($_GET['nom_machine']); echo $res['html']; } elseif ($_GET['mode'] == 'wake_shutdown_or_reboot') { wake_shutdown_or_reboot($_GET['ip'], $_GET['nom'], $_GET['wake'], $_GET['shutdown_reboot']); } elseif ($_GET['mode'] == 'check_versions_sysresccd') { $resultat2 = exec("/usr/bin/sudo /usr/share/se3/scripts/se3_get_sysresccd.sh 'check_version'", $retour); foreach ($retour as $key => $value) { echo $value; } } elseif ($_GET['mode'] == 'check_versions_udpcast') { $resultat2 = exec("/usr/bin/sudo /usr/share/se3/scripts/se3_get_udpcast.sh 'check_version'", $retour); foreach ($retour as $key => $value) { echo $value; } } elseif ($_GET['mode'] == 'check_versions_slitaz') { $resultat2 = exec("/usr/bin/sudo /usr/share/se3/scripts/se3_get_slitaz.sh 'check_version'", $retour); foreach ($retour as $key => $value) { echo $value; } } elseif ($_GET['mode'] == 'check_versions_pxe_client_linux') { $resultat2 = exec("/usr/bin/sudo /usr/share/se3/scripts/se3_get_install_client_linux.sh 'check_version'", $retour); foreach ($retour as $key => $value) { echo $value; } } ?>