Subversion Repositories SvarDOS

Rev

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