Размер файла: 571B
<?
$k_files = count_file("loads/$mne[dir_loads]");
$k_n_files = count_file_new("loads/$mne[dir_loads]", 86400);
$filesize = count_dir_size("loads/$mne[dir_loads]");
$filesize_ed='B';
if ($filesize>=1024)
{
$filesize= round($filesize/1024 , 1);
$filesize_ed='KB';
}
if ($filesize>=1024)
{
$filesize= round($filesize/1024 , 1);
$filesize_ed='MB';
}
$k_n_files2='';
if ($k_n_files>0)
{$k_n_files2="<span style=\"color:#c00000;text-decoration:blink;\">+$k_n_files сегодня!</span>";}
echo " ($k_files / $filesize $filesize_ed)$k_n_files2";
?>