240 lines
11 KiB
PHP
240 lines
11 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<title>Atonix9X - Developer Tools Archive</title>
|
|
<meta name="description" content="Download classic compilers, IDEs, and SDKs for vintage Windows development.">
|
|
<meta name="keywords"
|
|
content="visual studio 6, win32 development, legacy compilers, old ides, windows 9x development">
|
|
<meta name="author" content="Atonix9X">
|
|
<meta name="robots" content="index, follow">
|
|
<meta name="theme-color" content="#1a1a1a">
|
|
<link rel="icon" href="favicon.ico" sizes="any">
|
|
</head>
|
|
<?php
|
|
$JDB = json_decode(file_get_contents("./lzdb.json"));
|
|
?>
|
|
|
|
<body bgcolor="#fff5f5" text="#451a1a" link="#dc2626" vlink="#991b1b" alink="#991b1b"
|
|
style="margin:10px; border:2px solid;height:100%;">
|
|
<table cellspacing="0" cellpadding="10" style="width:100%;">
|
|
<tr style="background-color:#311010;">
|
|
<td align="left">
|
|
<font size="5" color="#ffffff" face="Courier New, Courier, monospace"><b>ATONIX9X::ARCHIVE_SYSTEM</b>
|
|
</font>
|
|
<font size="2" face="Courier New, Courier, monospace" style="float:right; margin-top:5px;">
|
|
<a href="index.html">
|
|
<font color="#ffffff"><b>[HOME]</b></font>
|
|
</a>
|
|
<a href="categories.html">
|
|
<font color="#ffffff"><b>[CATEGORIES]</b></font>
|
|
</a>
|
|
<a href="contact.html">
|
|
<font color="#ffffff"><b>[CONTACT]</b></font>
|
|
</a>
|
|
<a href="blog.html">
|
|
<font color="#ffffff"><b>[BLOG]</b></font>
|
|
</a>
|
|
</font>
|
|
</td>
|
|
</tr>
|
|
<tr style="background-color:#fee2e2;">
|
|
<?php
|
|
if(isset($_GET["t"]))
|
|
{
|
|
$Tag = strtoupper($_GET["t"]);
|
|
|
|
echo(
|
|
"<td align='center'>
|
|
<hr noshade style='border: dashed 1.5px #991b1b; background-color:transparent;'>
|
|
DIRECTORY INDEX: /BIN/<br>
|
|
<hr noshade style='border: dashed 1.5px #991b1b; background-color:transparent;'>
|
|
<font size=\"3\" color='#7f1d1d' face=\"Courier New, Courier, monospace\">Viewing all software tagged with \"$Tag\"</font>
|
|
</td>");
|
|
}
|
|
else if(isset($_GET["c"])){
|
|
$Category = strtoupper($_GET['c']);
|
|
if(property_exists($JDB->CategoryData,$Category)){
|
|
$Index = $JDB->CategoryData->$Category->Index;
|
|
$Tagline = $JDB->CategoryData->$Category->Tagline;
|
|
echo(
|
|
"<td align='center'>
|
|
<hr noshade style='border: dashed 1.5px #991b1b; background-color:transparent;'>
|
|
DIRECTORY INDEX: $Index<br>
|
|
<hr noshade style='border: dashed 1.5px #991b1b; background-color:transparent;'>
|
|
<font size=\"3\" color='#7f1d1d' face=\"Courier New, Courier, monospace\">$Tagline</font>
|
|
</td>");
|
|
}
|
|
else{
|
|
header("Location: /");
|
|
}
|
|
}
|
|
else{
|
|
echo(
|
|
"<td align='center'>
|
|
<hr noshade style='border: dashed 1.5px #991b1b; background-color:transparent;'>
|
|
DIRECTORY INDEX: /BIN/<br>
|
|
<hr noshade style='border: dashed 1.5px #991b1b; background-color:transparent;'>
|
|
<font size=\"3\" color='#7f1d1d' face=\"Courier New, Courier, monospace\">You are currently viewing all software in our repository.</font>
|
|
</td>");
|
|
}
|
|
?>
|
|
|
|
</tr>
|
|
<tr style="background-color:#fffdec;">
|
|
<td style="padding:4px;">
|
|
<div style="width:72%;float:left;padding-right:5px;">
|
|
<?php
|
|
if(isset($_GET["c"])){
|
|
foreach($JDB->TileData as $Entry){
|
|
if($Entry->Category === strtoupper($_GET["c"]))
|
|
{
|
|
echo(CreateEntry($Entry));
|
|
}
|
|
}
|
|
}
|
|
else if(isset($_GET["t"])){
|
|
$Tag = strtoupper($_GET["t"]);
|
|
foreach($JDB->TileData as $Entry)
|
|
{
|
|
if(in_array($Tag,$Entry->Tags)){
|
|
echo(CreateEntry($Entry));
|
|
}
|
|
}
|
|
}
|
|
else{
|
|
foreach ($JDB->TileData as $Entry) {
|
|
echo(CreateEntry($Entry));
|
|
}
|
|
}
|
|
?>
|
|
</div>
|
|
<div>
|
|
<table
|
|
style="margin-bottom:4px;width:27%;float:left;border:2px solid; background-color:#f7f4db; padding:5px;"
|
|
cellspacing="9">
|
|
<tr>
|
|
<td>
|
|
<font size="2" color="#451a1a" face="Courier New, Courier, monospace"><b>::
|
|
CATEGORIES</b>
|
|
</font>
|
|
<hr size="1" noshade="" color="#fca5a5">
|
|
<font size="1" face="Courier New, Courier, monospace">
|
|
<a href='./'><b>All</b></a><br>
|
|
<?php
|
|
foreach($JDB->CategoryData as $Category)
|
|
{
|
|
$BackendName = strtolower(array_search($Category,(array)$JDB->CategoryData));
|
|
echo("├─ <a href='./?c=$BackendName'><b>$Category->NiceName</b></a><br>");
|
|
}
|
|
?>
|
|
</font>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table border="1" cellspacing="0" cellpadding="10" bgcolor="#ffffff" style="width:27%;">
|
|
<tr>
|
|
<td>
|
|
<font size="2" color="#451a1a" face="Courier New, Courier, monospace"><b>::
|
|
SYS_NOTICE</b></font>
|
|
<hr size="1" noshade="" color="#fca5a5">
|
|
<font style="font-size:12px;" face="Courier New, Courier, monospace" color="#222222">
|
|
For direct, native compatibility, execute installations using full local system
|
|
administrative accounts. If dependencies fail on launch, verify your system
|
|
configuration path updates.
|
|
</font>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" style="background-color:#311010;">
|
|
<font size="2" color="#ffffff" face="Courier New, Courier, monospace">
|
|
© 2026 Atonix. All Rights Reserved. All downloads are archived, scanned, and verified secure.<br>
|
|
Atonix9X would like to personally thank tunnull for hosting (we love you tunnull)
|
|
</font>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</body>
|
|
<!--#311010-->
|
|
|
|
</html>
|
|
|
|
<?php
|
|
|
|
function CreateEntry($Entry){
|
|
$Platforms = implode(", ", $Entry->Platforms);
|
|
$Links = array();
|
|
|
|
// echo ("<font size='1' face='Courier New, Courier, monospace'><a href='$Artifact->URI'><b>Download CD #$CDNTH($Artifact->Platform)</b></a></font> ");
|
|
// echo ("<font size='1' face='Courier New, Courier, monospace'><a href='$Artifact->URI'><b>Download Archive ($Artifact->Platform)</b></a></font> ");
|
|
// echo ("<font size='1' face='Courier New, Courier, monospace'><a href='$Artifact->URI'><b>Download Binary ($Artifact->Platform)</b></a></font> ");
|
|
|
|
$CDNTH = 0;
|
|
foreach ($Entry->Artifacts as $Artifact) {
|
|
switch ($Artifact->Type) {
|
|
case "IMAGE":
|
|
++$CDNTH;
|
|
$Links[] = "<font size='1' face='Courier New, Courier, monospace'><a href='$Artifact->URI'><b>Download CD #$CDNTH($Artifact->Platform)</b></a></font> ";
|
|
break;
|
|
case "COMPRESS":
|
|
$Links[] = "<font size='1' face='Courier New, Courier, monospace'><a href='$Artifact->URI'><b>Download Archive ($Artifact->Platform)</b></a></font> ";
|
|
break;
|
|
case "BINARY":
|
|
$Links[] = "<font size='1' face='Courier New, Courier, monospace'><a href='$Artifact->URI'><b>Download Binary ($Artifact->Platform)</b></a></font> ";
|
|
break;
|
|
}
|
|
}
|
|
|
|
$Result = "<table bgcolor=\"#ffffff\" cellpadding=\"5\" style=\"border:2px solid; width:100%;\">
|
|
<tr>
|
|
<td valign=\"top\">
|
|
";
|
|
$TagCount = 0;
|
|
foreach($Entry->Tags as $Tag){
|
|
++$TagCount;
|
|
$Result .= "<a href='./?t=$Tag'><font size='2' color='#991b1b' face='Courier New, Courier, monospace'><b>$Tag</b></font>";
|
|
; if($TagCount != count($Entry->Tags)){
|
|
$Result .=", </a>";
|
|
}
|
|
else{
|
|
$Result .="</a>";
|
|
}
|
|
}
|
|
$Result .= "
|
|
<hr size='1' noshade color='#fca5a5'>
|
|
<font size='4' color='#000000' face='Courier New, Courier, monospace'><b>$Entry->Title</b></font><br>
|
|
<font size='2' color='#991b1b' face='Courier New, Courier, monospace'><b>
|
|
$Platforms
|
|
</b></font>
|
|
<br><br>
|
|
<font size='2' face='Courier New, Courier, monospace' color='#451a1a'>$Entry->Description</font>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor='#fff5f5' style='height:4px; vertial-align:bottom; position:relative; bottom:0;'>
|
|
";
|
|
foreach($Links as $Link) {
|
|
$Result .= $Link;
|
|
}
|
|
$Result .= "</td>
|
|
</tr>
|
|
</table> ";
|
|
return $Result;
|
|
}
|
|
|
|
|
|
class Link {
|
|
public $URI;
|
|
public $Platform;
|
|
public $Type;
|
|
public $Count;
|
|
}
|
|
?>
|