kc-website/diy.php

80 lines
2.3 KiB
PHP
Raw Normal View History

2022-12-12 15:35:14 +01:00
<!doctype html>
<?php
$lang=$_GET['lang'];
if ( in_array ($lang, array('en-US'))){
$loc = "$lang".".utf8";
$loc1 = $lang;
}
else {
$loc = "de-DE";
$loc1 = "de-DE";
}
include "Spyc.php";
$localeYaml = Spyc::YAMLLoad('locale.yaml');
$domain = "messages";
setlocale(LC_MESSAGES, $loc);
setlocale(LC_ALL, $loc);
$results = putenv("LC_ALL=$loc");
$results = putenv("LC_MESSAGES=$loc");
?>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title><?php echo $localeYaml['title'][$loc1]?></title>
<link rel="stylesheet" href="index.css">
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src='https://git.io/zengine.js'></script>
<script src='script.js'></script>
2022-12-12 15:35:14 +01:00
</head>
<body>
<center>
<header style="height: 10 vh;">
<img style="float: right; height: 15vh;" src="static/KaosCubeLogo.png" alt="logo">
<div class="linkContainer">
<a href="/" style="text-decoration:none; color:black;"><p class="pLink"><?php echo $localeYaml['indexLink'][$loc1]?></p></a>
<a href="diy.php" style="text-decoration:none; color:black;"><p class="pLink"><b><?php echo $localeYaml['diyLink'][$loc1]?></b></p></a>
2022-12-12 15:35:14 +01:00
<a href="buy.php" style="text-decoration:none; color:black;"><p class="pLink"><?php echo $localeYaml['buyLink'][$loc1]?></p></a>
<a href="3d.php" style="text-decoration:none; color:black;"><p class="pLink"><?php echo $localeYaml['3d'][$loc1]?></p></a>
2022-12-12 15:35:14 +01:00
</div>
</header>
</br></br></br></br></br>
<h1 style="color:deeppink;">Here you get to the documentation on how to set up the KaosCube yourself <a href="https://code.basabuuka.org/alpcentaur/kc-interface#diy-setting-up-the-kaoscube"><p class="pLink" style="color: deeppink;"> a gitea instance </p> </a>
</br></br></br></br></br>
2022-12-12 15:35:14 +01:00
</br></br></br></br></br>
<footer>
<a href="mailto:info@cannabinieri.de"><p class="pLink" style="color: deeppink;"><?php echo $localeYaml['contact'][$loc1]?></p></a>
<p>© Cannabinieri 2022-CC BY-NC 4.0</p>
<a href="https://www.cannabinieri.de"><p class="pLink" style="color: deeppink;"> <?php echo $localeYaml['contactWebsite'][$loc1]?> </p> </a> <br>
</footer>
</center>
</body>
</html>