Newer
Older
Import / projects / Gameloft / bne_lib / tools / metaserver / make-list.php
@John John on 29 Dec 2020 998 bytes bulk import from macbookpro checkouts
<html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  <title>Builds</title>
  <?php include $_SERVER['DOCUMENT_ROOT']."/style.php"; ?>
 </head>
 <body>
  <?php include $_SERVER['DOCUMENT_ROOT']."/navbar.php"; ?>
  <br>
  <div class="container">
   <div class="jumbotron">
    <h1>Builds</h1>
    <p><small>Built packages for testing.</small></p>
   </div>
   <div class="panel panel-primary">
   <br>
   <div class="container">

  <?php
    $directoryContents = scandir('./', SCANDIR_SORT_DESCENDING);
    natsort($directoryContents);
    $directoryContents = array_reverse($directoryContents);
    foreach ($directoryContents as $content)
    {
      if ($content[0] == '.' || $content == 'index.php' ||  $content == 'make-list.php' )
      {
        continue;
      }
      echo "<a role=\"button\" class=\"btn btn-lg btn-primary\" href=\"$content\"><h1>$content</h1></a><br><br>";
    }
  ?>

   </div>
   <br>
   </div>
  </div>
 </body>
</html>