Changeset 929 for trunk/Modules/NetworkShare
- Timestamp:
- May 11, 2022, 12:14:42 PM (3 years ago)
- Location:
- trunk/Modules/NetworkShare
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkShare/SharePage.php
r912 r929 88 88 if (array_key_exists('order', $_GET) and ($_SESSION['order'] == $_GET['order'])) $_GET['order'] .= ' DESC'; 89 89 90 //print_r($_POST);91 90 foreach ($this->Promene as $Index => $Prvek) 92 91 { -
trunk/Modules/NetworkShare/browse.php
r899 r929 22 22 exec($SambaBinDir.'smbclient -d0 -N -L='.$Host,$Output); 23 23 echo("OK\n"); 24 //print_r($Output); 24 25 25 if ($Output[0]=='Connection to '.$Host.' failed') die('Pocitac '.$Host." nenalezen!\n"); 26 26 $Output = array_slice($Output,3); -
trunk/Modules/NetworkShare/online.php
r873 r929 7 7 echo('Nacitam strom sdileni...'); 8 8 $Output = array(); 9 exec('smbtree -N -S',$Output,$Return); 10 //print_r($Output); 9 exec('smbtree -N -S',$Output,$Return); 11 10 //echo($Return."\n"); 12 11 echo("OK\n\nSeznam online pocitacu:\n"); … … 59 58 } else $Section = 2; 60 59 } else $Section = 1; 61 } else $Section = 0; 62 //print_r($Output); 60 } else $Section = 0; 63 61 $Output = explode(' ',$Output[1]); 64 62 $MAC = substr($Output[4],1,-1); … … 71 69 // Deaktivuj predchozi online pocitace 72 70 $Database->update('hosts', 1, array('online' => 0)); 73 74 //print_r($Online); 71 75 72 // Aktivuj online pocitace 76 73 foreach ($Online as $Item) … … 88 85 { 89 86 echo($Row['name'].", "); 90 } 91 //print_r($Output); 87 } 92 88 // sleep(1000); 93 89 //echo("\nCekam minutu...");
Note:
See TracChangeset
for help on using the changeset viewer.