Subversion Repositories SvarDOS

Rev

Rev 664 | Rev 1223 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 mv_fox 1
<!DOCTYPE html>
2
<html lang="en">
3
  <head>
175 mateuszvis 4
    <title>SvarDOS</title>
5
    <meta name="keywords" content="svardos,svarog386,freedos">
3 mv_fox 6
    <meta name="author" content="Mateusz Viste">
7
    <meta name="robots" content="index, follow">
8
    <meta charset="UTF-8">
9
    <link rel="stylesheet" href="style.css">
10
  </head>
11
  <body>
12
 
664 mateusz.vi 13
    <p style="margin: 0 0 -1em auto; font-size: 0.9em; text-align: right;"><a href="/">Main page</a> I <a href="?p=repo">Packages</a> I <a href="?p=help">Help</a><!-- I <a href="?p=nls">NLS</a>--></p>
3 mv_fox 14
 
14 mv_fox 15
<?php
3 mv_fox 16
 
17
    $p = '';
18
    if (! empty($_GET['p'])) $p = $_GET['p'];
19
 
287 mateuszvis 20
    if ($p == 'nls') {
106 mv_fox 21
      readfile('index-nls.htm');
188 mateuszvis 22
    } else if ($p == 'repo') {
23
      include 'index-repo.php';
664 mateusz.vi 24
    } else if ($p == 'help') {
25
      include 'index-help.php';
832 mateusz.vi 26
    } else if ($p == 'files') {
27
      include 'index-files.php';
3 mv_fox 28
    } else { // else display the front page
188 mateuszvis 29
      include 'index-main.php';
14 mv_fox 30
    }
31
?>
3 mv_fox 32
  </body>
33
</html>