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

import release v1.1.3

This commit is contained in:
Ryo Kanbayashi
2023-08-17 19:38:56 +09:00
parent 3f835cc697
commit f6417823af
71 changed files with 13028 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
<?php ?>
<div class="botbox">
<div class="lbtnzone">
<a href="/home" class="btmbutton">ホーム</a>
<a href="/search" class="btmbutton">検索</a>
<a href="/@<?php echo $userid; ?>" class="btmbutton">自情報</a>
<a href="/settings" class="btmbutton">設定</a>
</div>
</div>
<?php ?>
+26
View File
@@ -0,0 +1,26 @@
<?php ?>
<div class="userleftbox">
<div class="logo">
<img src="../img/uwuzucolorlogo.svg">
</div>
<hr>
<div class="lbtnzone">
<a href="/home" class="leftbutton">🏠ホーム</a>
<a href="/search" class="leftbutton">検索</a>
<a href="/notification" class="leftbutton">通知</a>
<a href="/emoji" class="leftbutton">絵文字</a>
<a href="/@<?php echo $userid; ?>" class="leftbutton">プロフィール</a>
<a href="/settings" class="leftbutton">設定</a>
<a href="/others" class="leftbutton">その他</a>
<?php if($res["admin"] === "yes"){?>
<hr>
<a href="/emoji/addemoji.php" class="leftbutton">絵文字登録</a>
<a href="/notice/addnotice.php" class="leftbutton">お知らせ配信</a>
<hr>
<?php }?>
<form method="post">
<input type="submit" name="logout" class="leftbutton" value="ログアウト">
</form>
</div>
</div>
<?php ?>
+45
View File
@@ -0,0 +1,45 @@
<div class="rightbox">
<?php
require('../notice/notice.php');
$servernamefile = "../server/servername.txt";
//-------------------------------------
$domain = $_SERVER['HTTP_HOST'];
//------------------------
$softwarefile = "../server/uwuzuinfo.txt";
$softwaredata = file_get_contents($softwarefile);
$softwaredata = explode( "\n", $softwaredata );
$cnt = count( $softwaredata );
for( $i=0;$i<$cnt;$i++ ){
$uwuzuinfo[$i] = ($softwaredata[$i]);
}
?>
<h1>お知らせ</h1>
<div class="noticearea">
<?php foreach ($notices as $valuen) {?>
<div class="noticebox">
<h4><?php echo $valuen['title'];?></h4>
<p><?php echo nl2br($valuen['note']);?></p>
<div class="makeup"><p>編集者 : <a href="/<?php echo $uneinoticeaccount?>"><?php echo htmlspecialchars($uneinoticeaccount)?></a></p></div>
<div class="time"><p><?php echo date('Y年m月d日 H:i', strtotime($valuen['datetime']));?></p></div>
</div>
<?php }?>
</div>
<h1>サーバー情報</h1>
<div class="btmbox">
<h2>Server</h2>
<h3><?php echo file_get_contents($servernamefile);?></h3>
<p><?php echo $domain;?></p>
<a href="/rule/terms">利用規約</a><a href="/rule/privacypolicy">プライバシーポリシー</a>
<h2>Software</h2>
<h3><?php echo $uwuzuinfo[0]?></h3>
<p>Version : <?php echo $uwuzuinfo[1]?></p>
<p>Developer : <?php echo $uwuzuinfo[3]?></p>
<a href="/rule/uwuzuabout">もっと詳しく!</a><a href="/rule/releasenotes">リリースノート</a>
</div>
</div>