Changeset 406 for global.php
- Timestamp:
- Feb 6, 2009, 7:39:30 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
global.php
r404 r406 30 30 //array('Death%20Dealers%20Profese.php', 'Profese', 'profese'), 31 31 ); 32 33 $UnitNames = array('B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB'); 34 35 function HumanSize($Value) 36 { 37 global $UnitNames; 38 39 $UnitIndex = 0; 40 while($Value > 1024) 41 { 42 $Value = round($Value / 1024, 3); 43 $UnitIndex++; 44 } 45 return($Value.' '.$UnitNames[$UnitIndex]); 46 } 32 47 33 48 function HumanDate($DateTime) … … 236 251 // --> 237 252 </SCRIPT> 238 | Provozováno na <a href="http://game.zdechov.net/">game.zdechov.net</a> | 239 240 253 | Provozováno na <a href="http://game.zdechov.net/">game.zdechov.net</a> |'); 254 // Použitá paměť: '.HumanSize(memory_get_peak_usage(FALSE)).' | 255 echo(' </DIV> 241 256 </td> 242 257 </tr> … … 272 287 $Result .= '<a href="'.$URL.$i.'">'.($i + 1).'</a> '; 273 288 if($i == $Page) $Result .= '</strong>'; 274 } 289 } 275 290 if($PagesMax < ($Count - 1)) $Result .= ' .. '; 276 291 if($Page < ($Count - 1))
Note:
See TracChangeset
for help on using the changeset viewer.