The website of the KaosCube
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

165 lines
4.6 KiB

<!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">
</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"><b><?php echo $localeYaml['indexLink'][$loc1]?></b></p></a>
<a href="diy.php" style="text-decoration:none; color:black;"><p class="pLink"><?php echo $localeYaml['diyLink'][$loc1]?></p></a>
<a href="buy.php" style="text-decoration:none; color:black;"><p class="pLink"><?php echo $localeYaml['buyLink'][$loc1]?></p></a>
</div>
</header>
<div class="banner">
<div class="withinBanner">
<h1 class="bannerHeader glow"><?php echo $localeYaml['inputSite_header'][$loc1]?></h1><br/>
<p class="bannerSubtext glow"><?php echo $localeYaml['inputSite_title_subtext_1'][$loc1]?></p>
</div>
</div>
</br></br>
</br></br>
<center>
<div class="infoContainer">
<div class="infoImgDiv">
<img style="width: 20vw;" src="static/icons/freedom.png" alt="logo">
</div>
<div class="infoDiv">
<h2 class="infoHeader"><?php echo $localeYaml['info1Header'][$loc1]?></h2>
<p class="info"><?php echo $localeYaml['info1'][$loc1]?></p>
</div>
</div>
</center>
</br></br>
</br></br>
<center>
<div class="infoContainer">
<div class="infoDiv">
<h2 class="infoHeader"><?php echo $localeYaml['info2Header'][$loc1]?></h2>
<p class="info"><?php echo $localeYaml['info2'][$loc1]?></p>
</div>
<div class="infoImgDiv">
<img style="width: 20vw;" src="static/icons/sustainability.png" alt="logo">
</div>
</div>
</center>
</br></br>
</br></br>
<center>
<div class="infoContainer">
<div class="infoImgDiv">
<img style="width: 30vw;" src="static/icons/opensource.png" alt="logo">
</div>
<div class="infoDiv">
<h2 class="infoHeader"><?php echo $localeYaml['info3Header'][$loc1]?></h2>
<p class="info"><?php echo $localeYaml['info3'][$loc1]?></p>
</div>
</div>
</center>
</br></br>
</br></br>
<center>
<div class="infoContainer">
<div class="infoDiv">
<h2 class="infoHeader"><?php echo $localeYaml['info4Header'][$loc1]?></h2>
<p class="info"><?php echo $localeYaml['info4'][$loc1]?></p>
</div>
<div class="infoImgDiv">
<img style="width: 30vw;" src="static/icons/simplicity.png" alt="logo">
</div>
</div>
</center>
</br></br>
</br></br>
<center>
<div class="infoContainer">
<div class="infoImgDiv">
<img style="width: 30vw;" src="static/icons/onion_icon.png" alt="logo">
</div>
<div class="infoDiv">
<h2 class="infoHeader"><?php echo $localeYaml['info5Header'][$loc1]?></h2>
<p class="info"><?php echo $localeYaml['info5'][$loc1]?></p>
</div>
</div>
</center>
</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>
<p>free open source Icons were taken from</p> <a href="https://thenounproject.com"><p class="pLink" style="color: deeppink;">the noun project </p> </a>
</footer>
</center>
</body>
</html>