Subversion Repositories SvarDOS

Rev

Rev 832 | Rev 1224 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 832 Rev 1223
Line 8... Line 8...
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="?p=help">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="?p=help">Help</a> I <a href="?p=forum">Forum</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'];
Line 23... Line 23...
23
      include 'index-repo.php';
23
      include 'index-repo.php';
24
    } else if ($p == 'help') {
24
    } else if ($p == 'help') {
25
      include 'index-help.php';
25
      include 'index-help.php';
26
    } else if ($p == 'files') {
26
    } else if ($p == 'files') {
27
      include 'index-files.php';
27
      include 'index-files.php';
-
 
28
    } else if ($p == 'forum') {
-
 
29
      include 'index-forum.php';
28
    } else { // else display the front page
30
    } else { // else display the front page
29
      include 'index-main.php';
31
      include 'index-main.php';
30
    }
32
    }
31
?>
33
?>
32
  </body>
34
  </body>