Subversion Repositories SvarDOS

Rev

Rev 566 | Rev 664 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 566 Rev 663
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<html lang="en">
2
<html lang="en">
3
  <head>
3
  <head>
4
    <title>SvarDOS</title>
4
    <title>SvarDOS</title>
5
    <meta name="keywords" content="svardos,svarog386,freedos">
5
    <meta name="keywords" content="svardos,svarog386,freedos">
6
    <meta name="author" content="Mateusz Viste">
6
    <meta name="author" content="Mateusz Viste">
7
    <meta name="robots" content="index, follow">
7
    <meta name="robots" content="index, follow">
8
    <meta charset="UTF-8">
8
    <meta charset="UTF-8">
9
    <link rel="stylesheet" href="style.css">
9
    <link rel="stylesheet" href="style.css">
10
  </head>
10
  </head>
11
  <body>
11
  <body>
12
 
12
 
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="phpamb.php?fname=help/help-en.amb">Help</a><!-- I <a href="?p=nls">NLS</a>--></p>
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="phpamb.php?fname=help/help-en">Help</a><!-- I <a href="?p=nls">NLS</a>--></p>
14
 
14
 
15
<?php
15
<?php
16
 
16
 
17
    $p = '';
17
    $p = '';
18
    if (! empty($_GET['p'])) $p = $_GET['p'];
18
    if (! empty($_GET['p'])) $p = $_GET['p'];
19
 
19
 
20
    if ($p == 'nls') {
20
    if ($p == 'nls') {
21
      readfile('index-nls.htm');
21
      readfile('index-nls.htm');
22
    } else if ($p == 'repo') {
22
    } else if ($p == 'repo') {
23
      include 'index-repo.php';
23
      include 'index-repo.php';
24
    } else if ($p == 'test') {
24
    } else if ($p == 'test') {
25
      include 'index-main.php';
25
      include 'index-main.php';
26
    } else { // else display the front page
26
    } else { // else display the front page
27
      include 'index-main.php';
27
      include 'index-main.php';
28
    }
28
    }
29
?>
29
?>
30
  </body>
30
  </body>
31
</html>
31
</html>
32
 
32