aboutsummaryrefslogtreecommitdiff
path: root/creations/dev/neutron/index.php
diff options
context:
space:
mode:
authorMinteck <46352972+Minteck@users.noreply.github.com>2021-07-27 04:47:58 +0200
committerMinteck <46352972+Minteck@users.noreply.github.com>2021-07-27 04:47:58 +0200
commitb028da9fea70c65ccd52d1d478859739027d756a (patch)
treef6ad05f4313499ebd84c2afd26320217b18ad04f /creations/dev/neutron/index.php
parentaf9e5ef458b93ef2003905e1ccc5665e7266c242 (diff)
downloadmain-b028da9fea70c65ccd52d1d478859739027d756a.tar.gz
main-b028da9fea70c65ccd52d1d478859739027d756a.tar.bz2
main-b028da9fea70c65ccd52d1d478859739027d756a.zip
Commmmmmit
Diffstat (limited to 'creations/dev/neutron/index.php')
-rw-r--r--creations/dev/neutron/index.php80
1 files changed, 0 insertions, 80 deletions
diff --git a/creations/dev/neutron/index.php b/creations/dev/neutron/index.php
deleted file mode 100644
index 309ebc1..0000000
--- a/creations/dev/neutron/index.php
+++ /dev/null
@@ -1,80 +0,0 @@
-<?php $_TITLE = "Neutron"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/header.php"; ?>
-<div style="margin-top: 56px;z-index: 5;background: #fff;padding-top: 20px;min-height: calc(100vh - 57px);" id="main-box">
- <div class="container">
- <h2><?= l("Neutron, your future website designer", "Neutron, le futur designer de votre site Web") ?></h2>
-
- <p>Neutron is software created so that you can easily manage one or more websites without any required knowledge. Whether you are developer or not, Neutron is the best way to have a ready-to-go website.</p>
- <p>Neutron is released under the GNU General Public License version 3, which means you can contribute to the project and improve it.</p>
-
- <h3>Download Neutron</h3>
- <div class="card-group">
- <div class="card">
- <div class="card-body" style="text-align: center;">
- <?php
-
- $releases = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/stats/neutron.json"), true);
- foreach ($releases as $release):
-
- ?>
- <?php if (!$release["prerelease"]): ?>
- <h3><?= $release["tag_name"] ?></h3>
- <h5>Latest Stable Release</h5>
- <p><?= $release["name"] ?><br>Downstream from branch <code><?= $release["target_commitish"] ?></code></p>
- <div class="btn-group">
- <a href="<?= $release["zipball_url"] ?>" class="btn btn-primary">Download</a>
- <a href="https://github.com/Minteck-Projects/Neutron-Core/tree/<?= $release["tag_name"] ?>" class="btn btn-outline-primary">Browse code</a>
- </div>
- <?php break; endif; endforeach; ?>
- </div>
- </div>
- <div class="card">
- <div class="card-body" style="text-align: center;">
- <?php
-
- $releases = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/stats/neutron.json"), true);
- foreach ($releases as $release):
-
- ?>
- <?php if ($release["prerelease"]): ?>
- <h3><?= $release["tag_name"] ?></h3>
- <h5>Latest Development Release</h5>
- <p><?= $release["name"] ?><br><span class="text-warning">Experimental release, use with caution.</span></p>
- <div class="btn-group">
- <a href="<?= $release["zipball_url"] ?>" class="btn btn-primary">Download</a>
- <a href="https://github.com/Minteck-Projects/Neutron-Core/tree/<?= $release["tag_name"] ?>" class="btn btn-outline-primary">Browse code</a>
- </div>
- <?php break; endif; endforeach; ?>
- </div>
- </div>
- </div>
- <small><a href="https://github.com/Minteck-Projects/Neutron-Core/releases" target="_blank">Thanks, I'd rather download from GitHub.</a></small>
- <br><br>
-
- <details>
- <summary>View all versions (including unsupported versions)</summary>
- <ul>
- <?php
-
- $releases = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/stats/neutron.json"), true);
- $unveiled = [];
- foreach ($releases as $release):
-
- ?>
- <li><a href="<?= $release["html_url"] ?>" target="_blank"><?= $release["tag_name"] ?></a> (<?= $release["name"] ?>, <b><?= $release["prerelease"] ? "experimental" : "stable" ?></b>, upstream: <code><?= $release["target_commitish"] ?></code>) — <a href="<?= $release["zipball_url"] ?>">download</a>, <a href="https://github.com/Minteck-Projects/Neutron-Core/tree/<?= $release["tag_name"] ?>" target="_blank">code</a></li>
- <?php array_push($unveiled, $release["tag_name"]);endforeach; ?>
- <?php
-
- $tags = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/stats/neutron2.json"), true);
- foreach ($tags as $tag):
-
- ?>
- <?php if (!in_array($tag["name"], $unveiled)): ?>
- <li><?= $tag["name"] ?> — <a href="<?= $tag["zipball_url"] ?>">download</a>, <a href="https://github.com/Minteck-Projects/Neutron-Core/tree/<?= $tag["name"] ?>" target="_blank">code</a></li>
- <?php endif;endforeach; ?>
- </ul>
- </details>
- </div>
-
- <br>
-</div>
-<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/footer.php"; ?>