Subversion Repositories SvarDOS

Rev

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

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