Menu

School of Biological and Chemical sciences - NMR Service

Home menu

Data Download

read()) { if (($entry != '.') and (substr($entry, -4) != '.php') and (substr($entry, -5) != '.html')) { if (is_dir($entry)) { if (($entry != '..') or $show_dotdirs){ $dirs[] = $entry; } } else { $files[] = $entry; } } } $dir->close(); sort($dirs); $counter=1; foreach ($dirs as $dir) { $entriesperline=3; if($counter%$entriesperline==2) { printf(' ' . "", $dir, $dir); } else if($counter%$entriesperline==1) { printf(' ' . "", $dir, $dir); } else if($counter%$entriesperline==0) { printf(' ' . "\n", $dir, $dir); } $counter++; } sort($files); foreach ($files as $file) { $entriesperline=3; $a = fopen($file, 'r'); fseek($a, 0, SEEK_END); $size = ftell($a); fclose($a); if($counter%$entriesperline==2) { printf(' ' . "", $file, $file, $size/1048576); } else if($counter%$entriesperline==1) { printf(' ' . "", $file, $file, $size/1048576); } else if($counter%$entriesperline==0) { printf(' ' . "\n", $file, $file, $size/1048576); } $counter++; } if($counter%$entriesperline==0) { printf(''); } else if($counter%$entriesperline==2) { printf(''); } ?>
<%s>
<%s><%s>
%s (%01.2fMB)
%s (%01.2fMB)%s (%01.2fMB)
Exit door Idcheck Logout
Return to top
^ Back to Top