Commit 04bb03d376d6998d98a511318a575000247daa9e

Authored by lwadbled
1 parent 499dfbda

fix(main.php): ajout commentaires

html/Captures/Siglent_SDS1102CML_SDS1MEBX2R2090_6_01_01_19.bmp
No preview for this file type
html/Captures/Siglent_Technologies_SDG1032X_SDG1XCAX3R0874_1_01_01_33R1.bmp
No preview for this file type
@@ -101,13 +101,15 @@ @@ -101,13 +101,15 @@
101 foreach($files as $type_form){ 101 foreach($files as $type_form){
102 $form_path = $chemin.'/'.$type_form; 102 $form_path = $chemin.'/'.$type_form;
103 if(is_file($form_path) and strpos($form_path,"/main")!=false){ 103 if(is_file($form_path) and strpos($form_path,"/main")!=false){
  104 + echo '<div>';
104 include($form_path); 105 include($form_path);
  106 + echo '</div>';
105 } 107 }
106 } 108 }
107 } 109 }
108 /* Appel du script du rafraichissement des images, un script par appareil */ 110 /* Appel du script du rafraichissement des images, un script par appareil */
109 for($i=0;$i<count($Appareil);$i++){ 111 for($i=0;$i<count($Appareil);$i++){
110 - include(getcwd().'/Scripts/refresh_img.php'); 112 + include('Scripts/refresh_img.php');
111 } 113 }
112 ?> 114 ?>
113 <script type="text/javascript"> 115 <script type="text/javascript">