Subversion Repositories SvarDOS

Rev

Rev 10 | Rev 18 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10 Rev 14
Line 13... Line 13...
13
 
13
 
14
    <div style="background-color: #FAFAFA; width: 70%; min-width: 800px; margin: 0 auto; height: auto !important; min-height: 100%; box-shadow: 0 0 2em 0.25em #202020;"><div style="padding: 0.5em 0.5em 2em 0.5em;">
14
    <div style="background-color: #FAFAFA; width: 70%; min-width: 800px; margin: 0 auto; height: auto !important; min-height: 100%; box-shadow: 0 0 2em 0.25em #202020;"><div style="padding: 0.5em 0.5em 2em 0.5em;">
15
 
15
 
16
    <p style="margin: 0 0 -1em auto; font-size: 0.9em; text-align: right;"><a href="/">Main page</a> I <a href="?p=why">Why Svarog386</a> I <a href="?p=tech">Tech</a></p>
16
    <p style="margin: 0 0 -1em auto; font-size: 0.9em; text-align: right;"><a href="/">Main page</a> I <a href="?p=why">Why Svarog386</a> I <a href="?p=tech">Tech</a></p>
17
 
17
 
18
    <?php
18
<?php
19
 
19
 
20
    $p = '';
20
    $p = '';
21
    if (! empty($_GET['p'])) $p = $_GET['p'];
21
    if (! empty($_GET['p'])) $p = $_GET['p'];
22
 
22
 
23
    if ($p == 'why') {
23
    if ($p == 'why') {
Line 41... Line 41...
41
 
41
 
42
      <p class="chapt">Distribution allowed</p>
42
      <p class="chapt">Distribution allowed</p>
43
      <p>The program must allow distribution without restrictions, and must not forbid being redistributed in a re-packaged form.</p>
43
      <p>The program must allow distribution without restrictions, and must not forbid being redistributed in a re-packaged form.</p>
44
      ';
44
      ';
45
    } else { // else display the front page
45
    } else { // else display the front page
46
      echo '
-
 
47
      <p class="title">Svarog386 - a FreeDOS distribution for 386+ computers</p>
-
 
48
      <p class="copyr">brought to you by <a href="http://mateusz.viste.fr/" class="mateusz">Mateusz Viste</a></p>
-
 
49
      <img src="svarog386.png" alt="logo" style="height: 10em; float: right; margin: 0 0 0.5em 0.5em;">
-
 
50
 
-
 
51
      <p>Svarog386 is a 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>
-
 
52
      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 update repositories or by using the latest ISO image as your local package repository.</p>
-
 
53
 
-
 
54
      <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>
-
 
55
 
-
 
56
      <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>.
46
      include 'index-main.php';
57
      ';
-
 
58
 
-
 
59
      // find the latest ISO file available
-
 
60
      $files = glob("*.iso", GLOB_NOSORT);
-
 
61
      $files = array_combine($files, array_map("filemtime", $files));
-
 
62
      arsort($files);
-
 
63
      $latest_iso = key($files);
-
 
64
 
-
 
65
      // compute file size and date
-
 
66
      $fsize = filesize($latest_iso) >> 20;
-
 
67
      $ftime = date("d M Y", $files[$latest_iso]);
-
 
68
 
-
 
69
      echo "<p style=\"margin: 1.2em auto 0 auto; font-size: 1.2em; text-align: center; font-weight: bold;\"><a href=\"http://svarog386.viste.fr/{$latest_iso}\">Download the latest Svarog386 ISO</a></p>\n";
-
 
70
      echo '<p style="margin: 0 auto 1.4em auto; font-size: 1em; text-align: center; color: #333;">
-
 
71
      ';
47
    }
72
 
-
 
73
      echo "({$fsize}M, last update: {$ftime}, <a href=\"{$latest_iso}.md5\" style=\"color: inherit;\">MD5</a>)";
-
 
74
 
-
 
75
      echo '
-
 
76
      </p>
-
 
77
 
-
 
78
      <p>You might want to know what it is exactly that you are about to download, before fetching the 450M+ ISO file. Feel free to browse the <a href="http://svarog386.viste.fr/repos/listing.txt">listing</a> of all the packages that come with Svarog386.</p>';
48
?>
79
 
-
 
80
      }
-
 
81
      ?>
-
 
82
 
-
 
83
    </div></div>
49
    </div></div>
84
  </body>
50
  </body>
85
</html>
51
</html>