Subversion Repositories SvarDOS

Rev

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

Rev 663 Rev 664
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="phpamb.php?fname=help/help-en">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=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 == 'help') {
-
 
25
      include 'index-help.php';
24
    } else if ($p == 'test') {
26
    } else if ($p == 'test') {
25
      include 'index-main.php';
27
      include 'index-main.php';
26
    } else { // else display the front page
28
    } else { // else display the front page
27
      include 'index-main.php';
29
      include 'index-main.php';
28
    }
30
    }