initial commit

This commit is contained in:
i2p
2026-08-27 11:22:04 -06:00
commit 4f806d9680
640 changed files with 63855 additions and 0 deletions
@@ -0,0 +1,20 @@
<?php
function smarty_modifier_file_size($b=0)
{
if ($b == 0)
return '0 bytes';
$units = array("bytes","kB","MB","GB","TB","PB","EB","ZB","YB");
$c=0;
foreach($units as $k => $u)
{
if(($b / pow(1024,$k)) >= 1) {
$r["bytes"] = $b / pow(1024,$k);
$r["units"] = $u;
$c++;
}
}
return number_format($r["bytes"],2)." ".$r["units"];
}
?>