<!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";
|
|
}
|
|
|
|
$color=$_GET['color'];
|
|
|
|
if (strlen($color) <= 1){
|
|
$color = "deeppink";
|
|
}
|
|
|
|
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="css/index.css">
|
|
|
|
|
|
</head>
|
|
|
|
<style>
|
|
|
|
body {
|
|
background: <?php echo $color?>;
|
|
}
|
|
|
|
input[type="text"] {
|
|
background: <?php echo $color?>;
|
|
}
|
|
input[type="text"]:focus {
|
|
background: <?php echo $color?>;
|
|
}
|
|
|
|
|
|
</style>
|
|
|
|
<body>
|
|
|
|
<center>
|
|
<div id="containerdiv">
|
|
<a href="/"><p id="linktext"><b><?php echo $localeYaml['connect'][$loc1]?></b></p></a>
|
|
<a href="changeKCPW.php"><p id="linktext"><?php echo $localeYaml['changePassword'][$loc1]?></p></a>
|
|
<a href="info.php"><p id="linktext"><?php echo $localeYaml['info'][$loc1]?></p></a>
|
|
<a href="onion.php"><p id="linktext"><?php echo $localeYaml['onionFeatures'][$loc1]?></p></a>
|
|
<a href="freedom.php"><p id="linktext"><?php echo $localeYaml['freedom'][$loc1]?></p></a>
|
|
</div>
|
|
</center>
|
|
|
|
</header>
|
|
|
|
<br><br><br><br><br><br>
|
|
<form action="/connect2Network.php" method="post" enctype="multipart/form-data">
|
|
<center>
|
|
<img src="images/name_graffiti_digitalized.png"><br>
|
|
<input style="width:80vw;" type="text" id="name" name="name" placeholder="<?php echo $localeYaml['placeholderName'][$loc1]?>"><br>
|
|
<img src="images/password_graffiti_digitalized.png"><br>
|
|
<input style="width:80vw;" type="text" id="password" name="password" placeholder="<?php echo $localeYaml['placeholderPassword'][$loc1]?>"><br><br>
|
|
<img src="images/root_graffiti_digitalized.png"><img src="images/password_graffiti_digitalized.png"><br>
|
|
<input style="width:80vw;" type="text" id="rootPW" name="rootPW" placeholder="<?php echo $localeYaml['placeholderrootPW'][$loc1]?>"><br><br>
|
|
<br><br><br><br><br><br>
|
|
<input type="submit" value="<?php echo $localeYaml['submitButton'][$loc1]?>">
|
|
</center>
|
|
|
|
</form>
|
|
</br></br></br></br></br>
|
|
|
|
<footer>
|
|
<center>
|
|
<a href="mailto:contact@cannabinieri.de"><p id="linktext"><?php echo $localeYaml['contact'][$loc1]?></p></a>
|
|
<p>© 2022 by Cannabinieri </p>
|
|
<address>
|
|
https://www.cannabinieri.de<br>
|
|
E-Mail: contact@cannabinieri.de<br><br>
|
|
</address>
|
|
</center>
|
|
</footer>
|
|
</center>
|
|
<center>
|
|
<div id="containerdiv2">
|
|
<a href="/?color=deeppink"><p id="linktext"><b>pink</b></p></a>
|
|
<a href="/?color=lightblue"><p id="linktext">azurro</p></a>
|
|
</div>
|
|
</center>
|
|
|
|
|
|
</body>
|
|
</html>
|