76 lines
2.2 KiB
PHP
76 lines
2.2 KiB
PHP
<?php require "script.php"; ?>
|
|
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Supercardinality</title>
|
|
|
|
<meta name="robots" content="noindex" />
|
|
<meta name="description" content="If mid doesn't exist you can't run it down." />
|
|
<meta name="author" content="Thayol" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta charset="UTF-8" />
|
|
|
|
<link rel="icon" type="image/png" href="favicon/128.png">
|
|
<link rel="icon" type="image/png" sizes="64x64" href="favicon/64.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="favicon/32.png">
|
|
|
|
<link rel="stylesheet" href="styles.css">
|
|
</head>
|
|
<body>
|
|
<div></div>
|
|
<main>
|
|
<div class="divider">
|
|
<div class="divider-gem"></div>
|
|
</div>
|
|
|
|
<h1>
|
|
Supercardinality
|
|
</h1>
|
|
|
|
<p class="divider subtitle">
|
|
NO MID NO FEED
|
|
</p>
|
|
|
|
<?php
|
|
$download_link = $options[$os_guess]["download_path"];
|
|
$download_filename = $options[$os_guess]["download_filename"];
|
|
?>
|
|
<a class="recommended build" href="<?= $download_link ?>" download="<?= $download_filename ?>">
|
|
<div>
|
|
|
|
<?php
|
|
$primary_button_text = [
|
|
"linux" => "Download for Linux",
|
|
"windows" => "Download for Windows",
|
|
];
|
|
?>
|
|
Download for <?= $options[$os_guess]["name"] ?>
|
|
</div>
|
|
</a>
|
|
|
|
<ul class="other-builds">
|
|
<p>Other builds</p>
|
|
<?php foreach($options as $os => $target): ?>
|
|
<li>
|
|
<a class="other build" href="<?= $target["download_path"] ?>" download="<?= $target["download_filename"] ?>">
|
|
<?= $target["name"] ?><span class="architecture"><?= $target["architecture"] ?></span>
|
|
</a>
|
|
</li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</main>
|
|
<footer>
|
|
<p>In case of any questions, message <a href="<?= $contact_link ?>"><?= $contact_name ?></a>.</p>
|
|
|
|
<?php if (!empty($version)): ?>
|
|
<p>
|
|
<?= $version ?>
|
|
<?php if (!empty($version_timestamp)): ?>
|
|
・ built <?= $version_timestamp_in_words ?>
|
|
<?php endif; ?>
|
|
</p>
|
|
<?php endif; ?>
|
|
</footer>
|
|
</body>
|
|
</html>
|