Initial commit to upload site files.

This commit is contained in:
2026-08-09 07:40:04 +00:00
commit be601b6fcc
5 changed files with 455 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
<?php
if(isset($_SERVER['QUERY_STRING'])){
$JDB = json_decode(file_get_contents("./lzdb.json"));
foreach($JDB->TileData as $Entry)
{
if($Entry->UUID == $_SERVER['QUERY_STRING'])
{
$CurrentEntry = $Entry;
}
}
echo("i$CurrentEntry->Title\niTags: ");
foreach($CurrentEntry->Tags as $Tag) {echo("$Tag");}
echo(" | Platforms:");
foreach($CurrentEntry->Platforms as $Platform) {echo(" $Platform");}
echo("\n");
echo("i------------------------------------------------\n");
echo("i$CurrentEntry->Description\n");
foreach($CurrentEntry->Artifacts as $Artifact)
{
if(isset($Artifact->MultiPart) && $Artifact->MultiPart == true)
{
$Parts = $Artifact->Parts;
$PartCount = 0;
foreach($Parts as $Part)
{
$CurrentPart = $Artifact->Parts[$PartCount];
++$PartCount;
$ArtifactURI = basename($CurrentPart);
echo("9Download Version $Artifact->Version | Part #$PartCount For $Artifact->Platform\tsoftware/$ArtifactURI\n");
}
}
else {
$ArtifactURI = basename($Artifact->URI);
if(!isset($Artifact->Version)) { echo("9Download For $Artifact->Platform\tsoftware/$ArtifactURI\n"); }
else { echo("9Download Version $Artifact->Version for $Artifact->Platform\tsoftware/$ArtifactURI\n"); }
}
}
echo("\n1Go back to listing..\t../atonix9x");
}
else{die("iYou must select a file to download..");}
?>