Line 8... |
Line 8... |
8 |
<p>Svarog386 is <b>not</b> designed for strict 8086 compatibility. Many parts of it might require a 386-class CPU. If you look for a simple 8086 FreeDOS distribution, take a look at <a href="http://svarog86.sourceforge.net">Svarog86</a>.</p>
|
8 |
<p>Svarog386 is <b>not</b> designed for strict 8086 compatibility. Many parts of it might require a 386-class CPU. If you look for a simple 8086 FreeDOS distribution, take a look at <a href="http://svarog86.sourceforge.net">Svarog86</a>.</p>
|
9 |
|
9 |
|
10 |
<p>Need to get in touch, or wish to contribute some packages? Feel free to drop a line to the usenet group <b>alt.os.free-dos</b>. Alternatively, you could also reach me directly via <a href="https://sourceforge.net/u/userid-1220451/">sourceforge</a>.
|
10 |
<p>Need to get in touch, or wish to contribute some packages? Feel free to drop a line to the usenet group <b>alt.os.free-dos</b>. Alternatively, you could also reach me directly via <a href="https://sourceforge.net/u/userid-1220451/">sourceforge</a>.
|
11 |
|
11 |
|
12 |
<?php
|
12 |
<?php
|
13 |
// find the latest ISO file available
|
13 |
// find the latest 'full' ISO available
|
14 |
$files = glob("svarog386-full-*.iso", GLOB_NOSORT);
|
14 |
$files = glob("svarog386-full-*.iso", GLOB_NOSORT);
|
15 |
$files = array_combine($files, array_map("filemtime", $files));
|
15 |
$files = array_combine($files, array_map("filemtime", $files));
|
16 |
arsort($files);
|
16 |
arsort($files);
|
17 |
$latest_iso = key($files);
|
17 |
$latest_iso_full = key($files);
|
- |
|
18 |
// compute file size and date of the 'full' ISO
|
- |
|
19 |
$fsize_full = filesize($latest_iso_full) >> 20;
|
- |
|
20 |
$ftime_full = date("d M Y", $files[$latest_iso_full]);
|
18 |
|
21 |
|
- |
|
22 |
// find the latest 'nosrc' ISO available
|
- |
|
23 |
$files = glob("svarog386-nosrc-*.iso", GLOB_NOSORT);
|
- |
|
24 |
$files = array_combine($files, array_map("filemtime", $files));
|
- |
|
25 |
arsort($files);
|
- |
|
26 |
$latest_iso_nosrc = key($files);
|
19 |
// compute file size and date
|
27 |
// compute file size and date of the 'nosrc' ISO
|
20 |
$fsize = filesize($latest_iso) >> 20;
|
28 |
$fsize_nosrc = filesize($latest_iso_nosrc) >> 20;
|
21 |
$ftime = date("d M Y", $files[$latest_iso]);
|
29 |
$ftime_nosrc = date("d M Y", $files[$latest_iso_nosrc]);
|
22 |
|
30 |
|
23 |
echo " <p style=\"margin: 1.2em auto 0 auto; font-size: 1.2em; text-align: center; font-weight: bold;\"><a href=\"/{$latest_iso}\">Download the latest Svarog386 ISO</a></p>\n";
|
31 |
echo " <p style=\"margin: 1.2em auto 0 auto; font-size: 1.2em; text-align: center; font-weight: bold;\"><a href=\"/{$latest_iso_full}\">Download the latest Svarog386 ISO</a></p>\n";
|
24 |
echo ' <p style="margin: 0 auto 1.4em auto; font-size: 1em; text-align: center; color: #333;">';
|
32 |
echo ' <p style="margin: 0 auto 1.4em auto; font-size: 1em; text-align: center; color: #333;">';
|
25 |
|
33 |
|
26 |
echo "({$fsize}M, last update: {$ftime}, <a href=\"/{$latest_iso}.md5\" style=\"color: inherit;\">MD5</a>)";
|
34 |
echo "({$fsize_full}M, last update: {$ftime_full}, <a href=\"/{$latest_iso_full}.md5\" style=\"color: inherit;\">MD5</a>)";
|
27 |
|
35 |
|
28 |
echo "</p>\n";
|
36 |
echo "</p>\n";
|
29 |
|
37 |
|
30 |
?>
|
38 |
?>
|
31 |
|
39 |
|