1
0
mirror of https://github.com/Daichimarukana/uwuzu.git synced 2026-06-05 03:24:41 +00:00

uwuzu version 1.2.27

This commit is contained in:
Daichimarukana
2023-11-29 00:40:59 +09:00
parent c51582a221
commit 6367282bb5
70 changed files with 1748 additions and 258 deletions
+5 -1
View File
@@ -20,8 +20,12 @@ $termsdata = file_get_contents($termsfile);
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/css/home.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script src="../js/unsupported.js"></script>
<script src="../js/console_notice.js"></script>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="apple-touch-icon" type="image/png" href="../favicon/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="../favicon/icon-192x192.png">
<title>400 Bad Request - <?php echo file_get_contents($servernamefile);?></title>
</head>
@@ -29,7 +33,7 @@ $termsdata = file_get_contents($termsfile);
<div class="topbox">
<div class="logo">
<img src="/img/uwuzulogo.svg">
<a href="../index.php"><img src="/img/uwuzulogo.svg"></a>
</div>
</div>
+5 -1
View File
@@ -20,8 +20,12 @@ $termsdata = file_get_contents($termsfile);
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/css/home.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script src="../js/unsupported.js"></script>
<script src="../js/console_notice.js"></script>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="apple-touch-icon" type="image/png" href="../favicon/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="../favicon/icon-192x192.png">
<title>401 Unauthorized - <?php echo file_get_contents($servernamefile);?></title>
</head>
@@ -29,7 +33,7 @@ $termsdata = file_get_contents($termsfile);
<div class="topbox">
<div class="logo">
<img src="/img/uwuzulogo.svg">
<a href="../index.php"><img src="/img/uwuzulogo.svg"></a>
</div>
</div>
+5 -1
View File
@@ -20,8 +20,12 @@ $termsdata = file_get_contents($termsfile);
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/css/home.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script src="../js/unsupported.js"></script>
<script src="../js/console_notice.js"></script>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="apple-touch-icon" type="image/png" href="../favicon/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="../favicon/icon-192x192.png">
<title>403 Forbidden - <?php echo file_get_contents($servernamefile);?></title>
</head>
@@ -29,7 +33,7 @@ $termsdata = file_get_contents($termsfile);
<div class="topbox">
<div class="logo">
<img src="/img/uwuzulogo.svg">
<a href="../index.php"><img src="/img/uwuzulogo.svg"></a>
</div>
</div>
+62 -3
View File
@@ -19,13 +19,16 @@ $termsfile = "../server/terms.txt";
$termsdata = file_get_contents($termsfile);
?>
<html lang="ja">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/css/home.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script src="../js/unsupported.js"></script>
<script src="../js/console_notice.js"></script>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="apple-touch-icon" type="image/png" href="../favicon/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="../favicon/icon-192x192.png">
<title>404 Not found - <?php echo file_get_contents($servernamefile);?></title>
</head>
@@ -33,7 +36,7 @@ $termsdata = file_get_contents($termsfile);
<div class="topbox">
<div class="logo">
<img src="/img/uwuzulogo.svg">
<a href="../index.php"><img src="/img/uwuzulogo.svg"></a>
</div>
</div>
@@ -61,4 +64,60 @@ $termsdata = file_get_contents($termsfile);
</body>
</html>
</html>
<script>
const nowTime = new Date().getHours();
const $background = $("body");
if(nowTime >= 0 && nowTime < 4){
$background.addClass("night")
}
</script>
<style>
.night .terms{
padding: 12px;
background:linear-gradient(#000315, #4c5f78);
border-radius:12px;
}
.night .terms .err404 h1{
margin-top: 64px;
line-height:64px;
font-family: 'BIZ UDPGothic', sans-serif;
font-weight: bold;
font-size: 64px;
text-align: center;
color: #f5f5f5;
}
.night .terms .err404 p{
margin-top: 2px;
margin-bottom: 2px;
line-height:32px;
font-family: 'BIZ UDPGothic', sans-serif;
font-weight: normal;
font-size: 16px;
text-align: center;
color: #f5f5f5;
}
.night .terms .p2c{
margin-top: 0px;
margin-bottom: 10px;
text-align: left;
word-wrap: break-word;
line-height: 20px;
color: #CCC;
font-size: 12px;
font-family: 'BIZ UDPGothic', sans-serif;
font-weight: normal;
}
.night .terms .p3{
margin-top: 24px;
text-align: left;
word-wrap: break-word;
line-height: 24px;
color: #f5f5f5;
font-size: 22px;
font-family: 'BIZ UDPGothic', sans-serif;
font-weight: bold;
}
</style>
+5 -1
View File
@@ -20,8 +20,12 @@ $termsdata = file_get_contents($termsfile);
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/css/home.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script src="../js/unsupported.js"></script>
<script src="../js/console_notice.js"></script>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="apple-touch-icon" type="image/png" href="../favicon/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="../favicon/icon-192x192.png">
<title>500 Internal Server Error - <?php echo file_get_contents($servernamefile);?></title>
</head>
@@ -29,7 +33,7 @@ $termsdata = file_get_contents($termsfile);
<div class="topbox">
<div class="logo">
<img src="/img/uwuzulogo.svg">
<a href="../index.php"><img src="/img/uwuzulogo.svg"></a>
</div>
</div>
+5 -1
View File
@@ -25,8 +25,12 @@ $termsdata = file_get_contents($termsfile);
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/css/home.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script src="../js/unsupported.js"></script>
<script src="../js/console_notice.js"></script>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="apple-touch-icon" type="image/png" href="../favicon/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="../favicon/icon-192x192.png">
<title>503 Service Unavailable - <?php echo file_get_contents($servernamefile);?></title>
</head>
@@ -34,7 +38,7 @@ $termsdata = file_get_contents($termsfile);
<div class="topbox">
<div class="logo">
<img src="/img/uwuzulogo.svg">
<a href="../index.php"><img src="/img/uwuzulogo.svg"></a>
</div>
</div>
+19 -5
View File
@@ -4,6 +4,13 @@ $serverstopfile = "../server/serverstop.txt";
$servernamefile = "../server/servername.txt";
$domain = $_SERVER['HTTP_HOST'];
if(!empty(file_get_contents($serverstopfile))){
$serverstop = htmlspecialchars(file_get_contents($serverstopfile), ENT_QUOTES, 'UTF-8');
}else{
$serverstop = "現在原因不明の問題によりサーバーを停止しております。";
}
?>
<!DOCTYPE html>
@@ -11,9 +18,13 @@ $domain = $_SERVER['HTTP_HOST'];
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/css/home.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script src="../js/unsupported.js"></script>
<script src="/js/console_notice.js"></script>
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>サーバー停止中 - </title>
<link rel="apple-touch-icon" type="image/png" href="../favicon/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="../favicon/icon-192x192.png">
<title>サーバー停止中 - <?php echo file_get_contents($servernamefile);?></title>
</head>
@@ -21,7 +32,7 @@ $domain = $_SERVER['HTTP_HOST'];
<div class="topbox">
<div class="logo">
<img src="/img/uwuzulogo.svg">
<a href="../index.php"><img src="/img/uwuzulogo.svg"></a>
</div>
</div>
@@ -31,11 +42,14 @@ $domain = $_SERVER['HTTP_HOST'];
<div class="p2c"><?php echo $domain;?></div>
<div class="err404">
<h1>サーバー停止中</h1>
<p>(/´・ヮ・`\)<br>現在サーバーが管理者によって停止されています...<br>停止の理由は以下の通りです。</p>
<p>現在サーバーが管理者によって停止されています...<br>停止の理由は以下の通りです。</p>
<hr>
<p><?php if( !empty(file_get_contents($serverstopfile)) ){ echo htmlspecialchars(file_get_contents($serverstopfile), ENT_QUOTES, 'UTF-8'); } ?></p>
<p><?php
$s_stop = explode("\n", $serverstop);
foreach ($s_stop as $info) {
echo $info.'<br>';
}?></p>
</div>