Subversion Repositories SvarDOS

Rev

Rev 1563 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1563 Rev 1564
1
<!DOCTYPE html><?php include 'settings.php' ?>
1
<!DOCTYPE html><?php include 'settings.php' ?>
2
<html lang="en">
2
<html lang="en">
3
  <head>
3
  <head>
4
    <title><?php echo $PROJNAME; ?></title>
4
    <title><?php echo $PROJNAME; ?></title>
5
    <meta name="keywords" content="svardos,command.com,shell">
5
    <meta name="keywords" content="svardos,command.com,shell">
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
    <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 class="partofsvardos"><?php echo $PROJNAME; ?> is part of the <a href="/">SvarDOS project</a></p>
13
  <p class="partofsvardos"><?php echo $PROJNAME; ?> is part of the <a href="/">SvarDOS project</a></p>
14
 
14
 
15
  <h1><?php echo $PROJNAME; ?></h1>
15
  <h1><?php echo $PROJNAME; ?></h1>
16
  <p class="copyr"><?php echo $SHORT ?></p>
16
  <p class="copyr"><?php echo $SHORT ?></p>
17
 
17
 
18
  <?php echo $LONGHTML; ?>
18
  <?php echo $LONGHTML; ?>
19
 
19
 
20
  <h2>DOWNLOAD</h2>
20
  <h2>DOWNLOAD</h2>
21
 
21
 
22
  <table>
22
  <table>
23
  <?php
23
  <?php
24
    $fcount = 0;
24
    $fcount = 0;
25
    $flist = scandir("./", SCANDIR_SORT_DESCENDING);
25
    $flist = scandir("./", SCANDIR_SORT_DESCENDING);
26
    foreach ($flist as $f) {
26
    foreach ($flist as $f) {
27
      if (strpos($f, '.zip') == false) continue;
27
      if (strpos($f, '.zip') == false) continue;
28
      $fsz = intval(filesize($f) / 1024);
28
      $fsz = intval(filesize($f) / 1024);
29
      echo "<tr><td><a href=\"{$f}\">{$f}</a></td><td class=\"siz\"> {$fsz} KiB</td></tr>\n";
29
      echo "<tr><td><a href=\"{$f}\">{$f}</a></td><td class=\"siz\"> {$fsz} KiB</td></tr>\n";
30
      $fcount++;
30
      $fcount++;
31
    }
31
    }
32
    if ($fcount == 0) echo "<tr><td>NO ZIP FILES AVAILABLE</td></tr>";
32
    if ($fcount == 0) echo "<tr><td>NO ZIP FILES AVAILABLE</td></tr>";
33
  ?>
33
  ?>
34
  </table>
34
  </table>
35
 
35
 
36
  <h2>LICENSE (MIT)</h2>
36
  <h2>LICENSE (MIT)</h2>
37
 
37
 
38
  <p>Copyright &copy; <?php echo $COPYRDATE; ?> <?php if (empty($COPYRHOLDER)) echo 'Mateusz Viste' else echo $COPYRHOLDER; ?></p>
38
  <p>Copyright &copy; <?php echo $COPYRDATE; ?>
-
 
39
 <?php
-
 
40
    if (empty($COPYRHOLDER)) {
-
 
41
      echo 'Mateusz Viste';
-
 
42
    } else {
-
 
43
      echo $COPYRHOLDER;
-
 
44
    } ?></p>
39
 
45
 
40
  <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
46
  <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
41
 
47
 
42
  <p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
48
  <p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
43
 
49
 
44
  <p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
50
  <p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
45
 
51
 
46
  </body>
52
  </body>
47
</html>
53
</html>
48
 
54