diff options
author | Minteck <46352972+Minteck@users.noreply.github.com> | 2021-07-20 01:15:15 +0200 |
---|---|---|
committer | Minteck <46352972+Minteck@users.noreply.github.com> | 2021-07-20 01:15:15 +0200 |
commit | af9e5ef458b93ef2003905e1ccc5665e7266c242 (patch) | |
tree | 989ac25a8b75578788cd7157308f37b9b83cf8f5 /creations/dev/kartik/index.php | |
download | main-af9e5ef458b93ef2003905e1ccc5665e7266c242.tar.gz main-af9e5ef458b93ef2003905e1ccc5665e7266c242.tar.bz2 main-af9e5ef458b93ef2003905e1ccc5665e7266c242.zip |
Commit
Diffstat (limited to 'creations/dev/kartik/index.php')
-rw-r--r-- | creations/dev/kartik/index.php | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/creations/dev/kartik/index.php b/creations/dev/kartik/index.php new file mode 100644 index 0000000..6dff4ea --- /dev/null +++ b/creations/dev/kartik/index.php @@ -0,0 +1,50 @@ +<?php $_TITLE = "Kartik"; 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("Kartik, a relaxing and easy car racing game", "Kartik, un jeu de course de voiture facile et calme") ?></h2> + + <p><a href="https://kartik.hopto.org" target="_blank">→ Kartik's official website</a></p> + + <h3>Download Kartik</h3> + <div class="card-group"> + <div class="card"> + <div class="card-body" style="text-align: center;"> + <?php + + $stable = file_get_contents("https://kartik.hopto.org/latest.php?v=stable"); + + ?> + <h3><?= $stable ?></h3> + <h5>Latest Stable Release</h5> + <p>Downstream from the older development version</p> + <div class="btn-group"> + <a href="https://kartik.hopto.org/cdn/release/stable/0/windows" class="btn btn-primary">Download for Windows</a> + <a href="https://kartik.hopto.org/cdn/release/stable/0/linux" class="btn btn-outline-primary">... Linux</a> + <a href="https://kartik.hopto.org/cdn/release/stable/0/darwin" class="btn btn-outline-primary">... macOS</a> + </div> + </div> + </div> + <div class="card"> + <div class="card-body" style="text-align: center;"> + <?php + + $eap = file_get_contents("https://kartik.hopto.org/latest.php?v=eap"); + + ?> + <h3><?= $eap ?></h3> + <h5>Latest Development Release</h5> + <p><span class="text-warning">Experimental release, use with caution.</span></p> + <div class="btn-group"> + <a href="https://kartik.hopto.org/cdn/release/eap/0/windows" class="btn btn-primary">Download for Windows</a> + <a href="https://kartik.hopto.org/cdn/release/eap/0/linux" class="btn btn-outline-primary">... Linux</a> + <a href="https://kartik.hopto.org/cdn/release/eap/0/darwin" class="btn btn-outline-primary">... macOS</a> + </div> + </div> + </div> + </div> + <small><a href="https://kartik.hopto.org" target="_blank">Thanks, I'd rather download from the official website.</a></small> + </div> + + <br> +</div> +<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/footer.php"; ?> |