diff --git a/html/Captures/SDM3045X.bmp b/html/Captures/SDM3045X.bmp
new file mode 100644
index 0000000..e7352b6
Binary files /dev/null and b/html/Captures/SDM3045X.bmp differ
diff --git a/html/Multimetre/Mesures/Unite/cmd_unite.php b/html/Multimetre/Mesures/Unite/cmd_unite.php
new file mode 100644
index 0000000..77565af
--- /dev/null
+++ b/html/Multimetre/Mesures/Unite/cmd_unite.php
@@ -0,0 +1,9 @@
+
diff --git a/html/Multimetre/Mesures/Unite/form_unite.php b/html/Multimetre/Mesures/Unite/form_unite.php
new file mode 100644
index 0000000..34e36cb
--- /dev/null
+++ b/html/Multimetre/Mesures/Unite/form_unite.php
@@ -0,0 +1,15 @@
+
+
+
';
+ /* Affichage image */
+ include('./Scripts/creation_img.php');
+ echo '
';
+ echo '';
+ /* Commandes de l'appareil */
+ echo '
';
+ echo '
Panel de commande
';
+ echo '';
+ //$chemin = getcwd().'/'.$Appareil[$i]['type'];
+ //$files = array_diff(scandir($chemin),array('..','.'));
+ echo '
';
+ /* On parcourt l'arborescence pour trouver les fichiers 'form_fichiers.php'
+ * Ces fichiers affichent les différents boutons correspondant aux commandes de l'appareil */
+ foreach($files as $dir){
+ $path = $chemin.'/'.$dir;
+ if(is_dir($path)){
+ $sub_dir = array_diff(scandir($path),array('..','.'));
+ echo '
';
+ foreach($sub_dir as $new_dir){
+ $path2 = $path.'/'.$new_dir;
+ if(is_dir($path2)){
+ $fichiers = array_diff(scandir($path2),array('..','.'));
+ foreach($fichiers as $form){
+ $path3 = $path2.'/'.$form;
+ if(is_file($path3) && strpos($path3,"form")!=false){
+ include($path3);
+ }
+ }
+ }
+ }
+ echo '
';
+ }
+ }
+ echo '
';
+ echo '
';
+ echo '';
+ ?>
+
diff --git a/html/Scripts/screenshot.php b/html/Scripts/screenshot.php
index 9041d22..d5aa5ef 100644
--- a/html/Scripts/screenshot.php
+++ b/html/Scripts/screenshot.php
@@ -6,7 +6,7 @@
$picture_name = $_SESSION['pic_name'];
$adresse = $Appareil[$i]['adresse'];
$path = getcwd().'/'.$picture_name;
- shell_exec('lxi screenshot -a '.$adresse.' '.$path);
+ $retour=shell_exec('lxi screenshot -a '.$adresse.' '.$path);
/* Partie Post pour les screens en continu (rafraichissement de l'image) */
}else if(isset($_POST['img'])){
$picture_name = $_POST['pic_name'.$_POST['img']];
diff --git a/html/main.php b/html/main.php
index 2c4740e..0974d29 100644
--- a/html/main.php
+++ b/html/main.php
@@ -76,7 +76,7 @@
/* DEBUG */
/* Affichage des données de l'appareil (nom,type et adresse IP) */
- for($i=1;$i<=count($Appareil);$i++){
+/* for($i=1;$i<=count($Appareil);$i++){
echo "Données de l'appareil $i choisi :