Subversion Repositories SvarDOS

Rev

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

Rev 1224 Rev 1226
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<html lang="en">
2
<html>
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
    <meta name="viewport" content="width=device-width, initial-scale=1">
9
    <meta name="viewport" content="width=device-width, initial-scale=1">
10
    <link rel="stylesheet" href="style.css">
10
    <link rel="stylesheet" href="style.css">
11
  </head>
11
  </head>
12
  <body>
12
  <body>
13
 
13
 
14
    <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=forum">Forum</a>  <!-- I <a href="?p=nls">NLS</a>--></p>
14
    <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=forum">Forum</a>  <!-- I <a href="?p=nls">NLS</a>--></p>
15
 
15
 
16
<?php
16
<?php
17
 
17
 
18
    $p = '';
18
    $p = '';
19
    if (! empty($_GET['p'])) $p = $_GET['p'];
19
    if (! empty($_GET['p'])) $p = $_GET['p'];
20
 
20
 
21
    if ($p == 'nls') {
21
    if ($p == 'nls') {
22
      readfile('index-nls.htm');
22
      readfile('index-nls.htm');
23
    } else if ($p == 'repo') {
23
    } else if ($p == 'repo') {
24
      include 'index-repo.php';
24
      include 'index-repo.php';
25
    } else if ($p == 'help') {
25
    } else if ($p == 'help') {
26
      include 'index-help.php';
26
      include 'index-help.php';
27
    } else if ($p == 'files') {
27
    } else if ($p == 'files') {
28
      include 'index-files.php';
28
      include 'index-files.php';
29
    } else if ($p == 'forum') {
29
    } else if ($p == 'forum') {
30
      include 'index-forum.php';
30
      include 'index-forum.php';
31
    } else { // else display the front page
31
    } else { // else display the front page
32
      include 'index-main.php';
32
      include 'index-main.php';
33
    }
33
    }
34
?>
34
?>
35
  </body>
35
  </body>
36
</html>
36
</html>
37
 
37