Subversion Repositories SvarDOS

Compare Revisions

Ignore whitespace Rev 101 → Rev 102

/website/index-test.php
1,5 → 1,66
<p class="title">Svarog386 - a FreeDOS distribution for 386+ computers</p>
<p class="copyr">brought to you by <a href="http://mateusz.viste.fr/" class="mateusz">Mateusz Viste</a></p>
 
<div style="overflow: auto;">
<img src="svarog386.png" alt="logo" style="height: 10em; float: right; margin: 0 0 0.5em 0.5em;">
 
<p>Svarog386 is a free, multilingual DOS distribution based on FreeDOS. It's released in the form of a single bootable CD image (ISO) that contains the FreeDOS kernel, a command interpreter and a variety of third-party packages.<br>
Svarog386 is a "rolling release", meaning that it doesn't follow the concept of "versions". Svarog386 can be kept up-to-date either via online <a href="?p=tech&amp;art=onlinerepos">update repositories</a> or by using the latest ISO image as your local package repository.</p>
 
<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>
 
<p>Need to get in touch? Wish to contribute some packages, translate Svarog386 to your language, or otherwise contribute? Feel free to drop a line or two to the usenet group <b><a href="?p=tech&amp;art=support">alt.os.free-dos</a></b>.
</div>
 
<?php
// find the latest 'full' ISO available
$files = glob("svarog386-full-*.iso", GLOB_NOSORT);
$files = array_combine($files, array_map("filemtime", $files));
arsort($files);
$latest_iso_full = key($files);
// compute file size and date of the 'full' ISO
$fsize_full = filesize($latest_iso_full) >> 20;
$ftime_full = date("d M Y", $files[$latest_iso_full]);
 
echo "<p>this is a test page</p>\n";
// find the latest 'nosrc' ISO available
$files = glob("svarog386-nosrc-*.iso", GLOB_NOSORT);
$files = array_combine($files, array_map("filemtime", $files));
arsort($files);
$latest_iso_nosrc = key($files);
// compute file size and date of the 'nosrc' ISO
$fsize_nosrc = filesize($latest_iso_nosrc) >> 20;
$ftime_nosrc = date("d M Y", $files[$latest_iso_nosrc]);
 
// find the latest 'micro' ISO available
$files = glob("svarog386-micro-*.iso", GLOB_NOSORT);
$files = array_combine($files, array_map("filemtime", $files));
arsort($files);
$latest_iso_micro = key($files);
// compute file size and date of the 'micro' ISO
$fsize_micro = filesize($latest_iso_micro) >> 20;
$ftime_micro = date("d M Y", $files[$latest_iso_micro]);
 
//echo " <p style=\"margin: 1.2em auto 0 auto; font-size: 1.2em; text-align: center; font-weight: bold;\">Download the latest Svarog386 ISO</p>\n";
 
echo " <div style=\"width: 45%; float: left; margin: 1.2em 5% 0 0;\">\n";
echo " <p style=\"text-align: center; font-weight: bold;\"><a href=\"/{$latest_iso_nosrc}\">Download Svarog386</a></p>\n";
echo " <p style=\"margin: 0 auto 1.4em auto; font-size: 1em; text-align: center; color: #333;\">({$fsize_nosrc}M, last update: {$ftime_nosrc}, <a href=\"/{$latest_iso_nosrc}.md5\" style=\"color: inherit;\">MD5</a>)</p>\n";
echo " </div>\n";
 
echo " <div style=\"width: 45%; float: right; margin: 1.2em 0 0 5%;\">\n";
echo " <p style=\"text-align: center; font-weight: bold;\"><a href=\"/{$latest_iso_full}\">Download Svarog386 (+sources)</a></p>\n";
echo " <p style=\"margin: 0 auto 1.4em auto; font-size: 1em; text-align: center; color: #333;\">({$fsize_full}M, last update: {$ftime_full}, <a href=\"/{$latest_iso_full}.md5\" style=\"color: inherit;\">MD5</a>)</p>\n";
echo " </div>\n";
 
echo " <div style=\"width: 100%; margin: 1.2em 0 0 0;\">\n";
echo " <p style=\"text-align: center; font-weight: bold;\"><a href=\"/{$latest_iso_micro}\">Download Svarog386 micro (core OS only)</a></p>\n";
echo " <p style=\"margin: 0 auto 1.4em auto; font-size: 1em; text-align: center; color: #333;\">({$fsize_micro}M, last update: {$ftime_micro}, <a href=\"/{$latest_iso_micro}.md5\" style=\"color: inherit;\">MD5</a>)</p>\n";
echo " </div>\n";
 
?>
 
<p>You might want to know what it is exactly that you are about to download, before fetching the multi-megabytes ISO file. Feel free to browse the <a href="listing.txt">listing</a> of all the packages that come with Svarog386.</p>
 
<p>If your computer is unable to boot from a CD, you can use Svarog386's <a href="boot.img">boot floppy image</a> to install Svarog386 (you still need to put Svarog386's CD in your drive).</p>
 
<p>Wondering how Svarog386 is built? You might be interested in taking a look at the <a href="https://sourceforge.net/p/svarog386/code">project's SVN</a>, where all the build-related files are stored.</p>