Compare commits

..
17 Commits
Author SHA1 Message Date
Givou abc94a1e8b Hotfix 2021-03-17 15:55:49 +01:00
Givou 881211412e Hotfix 2021-03-17 15:53:37 +01:00
Givou 389f7343d3 Make impressum and privacy links able to open in a new tab 2021-03-17 14:00:18 +01:00
Givou 133be6c98d Added impressum and privacy policity links 2021-03-16 20:57:22 +01:00
Givou 8abcc0bf94 timer changed 2021-03-15 09:42:15 +01:00
Givou 169c1dbbdf "Powered By WebStatus" redesigned 2021-03-15 09:33:46 +01:00
Givou 0d8b716c4c "Powered By WebStatus" redesigned 2021-03-15 09:32:28 +01:00
Givou 7b3d77112f "Powered By WebStatus" redesigned 2021-03-15 09:31:49 +01:00
Givou 56f563e42b project link added 2021-03-15 09:27:47 +01:00
Givou d7690801fe project link added 2021-03-15 09:22:16 +01:00
Givou 99d80228ba Hotfixed 2021-03-12 20:56:14 +01:00
Givou 051caa6c32 „readme.txt“ ändern 2021-03-12 20:42:53 +01:00
Givou f9cda8bbee „js/checking.js“ ändern 2021-03-12 20:42:17 +01:00
Givou 58ea014443 A lightweit status site 2021-03-12 18:43:32 +01:00
Givou cac67f667f „README.md“ löschen 2021-03-12 18:42:12 +01:00
Givou 3e0bb41207 „LICENSE“ löschen 2021-03-12 18:42:08 +01:00
Givou e4c80a2f19 Initial commit 2021-03-12 18:39:41 +01:00
5 changed files with 4 additions and 95 deletions

No files matched your search

-8
View File
@@ -1,8 +0,0 @@
<?php
$config=array(
"DBHOST"=>"data2.thiemoo.at",
"DBNAME"=>"webstatus",
"DBPWD"=>"X5G3njgZ4s@E4S9J",
"DBUSER"=>"webstatus"
);
?>
-62
View File
@@ -650,65 +650,3 @@ label::after {
text-decoration: underline;
text-decoration-color: #a6a6a6;
}
.cookies {
position: fixed;
width: 99.7%;
height: 100px;
border-color: #3f9066;
border-style: solid;
background-color: #222c3b;
bottom: 0;
left: 0;
}
.cookies .cogs {
position: absolute;
top: 35%;
left: 15px;
font-size: 2em;
color: white;
}
.cookies h1 {
left: 0px;
font-size: 1vw;
color: white;
margin-top: 25px;
}
.cookies p {
margin-top: -10px;
color: #a6a6a6;
}
.cookies .text {
position: absolute;
left: 5%;
}
.cookies button {
position: fixed;
right: 15px;
bottom: 35px;
cursor: pointer;
border-radius: 5px;
border: none;
outline: none;
transition: 0.7s;
width: 100px;
height: 40px;
font-size: 20px;
color: white;
box-shadow: 0 0 5px rgba(0, 0, 0, 0);
background-color: #83be4e;
}
.cookies button:hover {
background-color: #578230;
}
.cookies .handshake {
margin-left: 10px;
}
+2 -24
View File
@@ -16,6 +16,7 @@
$instancename = mysqli_fetch_assoc(mysqli_query($con, "SELECT value FROM settings WHERE type='instancename'"))["value"];
$autoreload_setting = mysqli_fetch_assoc(mysqli_query($con, "SELECT value FROM settings WHERE type='autoreload'"))["value"];
$modular_setting = mysqli_fetch_assoc(mysqli_query($con, "SELECT value FROM settings WHERE type='modularwindow'"))["value"];
$privacy = mysqli_fetch_assoc(mysqli_query($con, "SELECT value FROM settings WHERE type='privacy'"))["value"];
$impressum = mysqli_fetch_assoc(mysqli_query($con, "SELECT value FROM settings WHERE type='impressum'"))["value"];
$newtab = mysqli_fetch_assoc(mysqli_query($con, "SELECT value FROM settings WHERE type='newtab'"))["value"];
@@ -255,6 +256,7 @@ echo '</div>';
}
}
?>
<!-- FOOTER -->
<footer class="footer">
<p class="footer">Powered by <a class="underline" href="http://git.thiemoo.at/Givou/WebStatus.git" target="_blank">WebStatus</a></p>
@@ -278,30 +280,6 @@ echo '</div>';
<span class="legend-lastdown legend-text"> Last time down</span>
<span class="legend-problems legend-text"> Offline / Problems</span>
</div>
<?php
if(isset($_GET["disclaimcookie"])) {
setcookie('disclaimed', 'true');
}
if(!isset($_COOKIE['disclaimed']) && !isset($_GET["disclaimcookie"])) {
echo '
<div class="cookies">
<i class="cogs fa fa-cogs" aria-hidden="true"></i>
<div class="text">
<h1>Cookie disclaimer</h1>
<p>This website only uses technical cookies to store session information or to hide this disclaimer!</p>
<a href="index.php?disclaimcookie"><button class="button-green button-up">Got it<i class="handshake fa fa-handshake-o" aria-hidden="true"></i></button></a>
</div>
</div>
';
}
?>
</body>
+1 -1
View File
@@ -9,7 +9,7 @@ Made with love by Givou
#Demo
https://status.thiemoo.at
https://status.nerdcity.at
#License
This Project is Licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) License
+1
View File
@@ -29,6 +29,7 @@ $newtab = mysqli_fetch_assoc(mysqli_query($con, "SELECT value FROM settings WHER
if($role == "administrator") {
$autoreload_setting = mysqli_fetch_assoc(mysqli_query($con, "SELECT value FROM settings WHERE type='autoreload'"))["value"];
$modular_setting = mysqli_fetch_assoc(mysqli_query($con, "SELECT value FROM settings WHERE type='modularwindow'"))["value"];
}
?>