blob: 4bd2cf7df9ebb2a0d9bd3a1082558e2e9346d0c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<p>Download the old of the oldest software I made. Some of this software is <u>proprietary</u> and you can't change or distribute it without my consent. Active projects are not listed here and can be downloaded from their respective page.</p>
<div class="list-group">
<?php
$files = scandir($_SERVER['DOCUMENT_ROOT'] . "/archive/get");
foreach ($files as $file) {
if (substr($file, -5) === ".json" && file_exists($_SERVER['DOCUMENT_ROOT'] . "/archive/get/" . substr($file, 0, -5) . ".zip")) {
$data = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/archive/get/" . $file), true);
echo('<a href="/archive/get/'.substr($file, 0, -5).'.zip" class="list-group-item list-group-item-action"><span class="badge bg-secondary rounded-pill">'.$data['date'].'</span> '.$data['title']);
if ($data['unreleased']) {
echo(' <span class="badge bg-warning">Unreleased</span>');
}
echo('</a>');
}
}
?>
</div>
<br>
<small><p class="text-muted">Project start dates are estimated and cannot always be accurate</p></small>
|