Changeset 944
- Timestamp:
- Dec 6, 2022, 11:37:32 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/Version.php
r939 r944 1 1 <?php 2 2 3 $Revision = 9 39; // Subversion revision3 $Revision = 943; // Subversion revision 4 4 $DatabaseRevision = 939; // SQL structure revision 5 $ReleaseTime = strtotime('2022- 08-01');5 $ReleaseTime = strtotime('2022-12-06'); -
trunk/Modules/Network/Network.php
r937 r944 853 853 { 854 854 $Output = ''; 855 856 // Devices 855 857 $DbResult = $this->Database->select('NetworkDevice', 'COUNT(*)', '1'); 856 858 $DbRow = $DbResult->fetch_row(); … … 859 861 $DbResult = $this->Database->select('NetworkDevice', 'COUNT(*)', '`Used`=1'); 860 862 $DbRow = $DbResult->fetch_row(); 861 $Output .= ' použitých: <a href="'.$this->System->Link('/is/?a=list&t=NetworkDevice&filter=1&FilterUsed=1').'">'.$DbRow['0'].'</a><br/>'; 862 863 $Output .= ' použitých: <a href="'.$this->System->Link('/is/?a=list&t=NetworkDevice&filter=1&FilterUsed=1').'">'.$DbRow['0'].'</a>'; 864 865 $DbResult = $this->Database->select('NetworkDevice', 'COUNT(*)', '`Used`=1 AND `PermanentOnline`=1 AND `Online`=0'); 866 $DbRow = $DbResult->fetch_row(); 867 $Output .= ' nedostupných: <a href="'.$this->System->Link('/is/?a=list&t=NetworkDevice&filter=1&FilterUsed=1&FilterOnline=0&FilterPermanentOnline=1').'">'.$DbRow['0'].'</a>'; 868 869 $Output .= '<br/>'; 870 871 // Interfaces 863 872 $DbResult = $this->Database->select('NetworkInterface', 'COUNT(*)', '1'); 864 873 $DbRow = $DbResult->fetch_row(); … … 867 876 $DbResult = $this->Database->select('NetworkInterface', 'COUNT(*)', '`Enabled`=1'); 868 877 $DbRow = $DbResult->fetch_row(); 869 $Output .= ' použitých: <a href="'.$this->System->Link('/is/?a=list&t=NetworkInterface&filter=1&FilterEnabled=1').'">'.$DbRow['0'].'</a><br/>'; 870 878 $Output .= ' použitých: <a href="'.$this->System->Link('/is/?a=list&t=NetworkInterface&filter=1&FilterEnabled=1').'">'.$DbRow['0'].'</a>'; 879 880 //$DbResult = $this->Database->select('NetworkInterface', 'COUNT(*)', '`Enabled`=1 AND `PermanentOnline`=1 AND `Online`=0'); 881 //$DbRow = $DbResult->fetch_row(); 882 //$Output .= ' nedostupných: <a href="'.$this->System->Link('/is/?a=list&t=NetworkInterface&filter=1&FilterEnabled=1&FilterOnline=0&FilterPermanentOnline=1').'">'.$DbRow['0'].'</a>'; 883 884 $Output .= '<br/>'; 885 886 // Subnets 871 887 $DbResult = $this->Database->select('NetworkSubnet', 'COUNT(*)', '1'); 872 888 $DbRow = $DbResult->fetch_row(); 873 889 $Output .= 'Síťových podsítí: <a href="'.$this->System->Link('/is/?a=list&t=NetworkSubnet').'">'.$DbRow['0'].'</a><br/>'; 890 874 891 return $Output; 875 892 }
Note:
See TracChangeset
for help on using the changeset viewer.