mirror of
https://github.com/Daichimarukana/uwuzu.git
synced 2026-06-05 03:24:41 +00:00
uwuzu version 1.2.29
This commit is contained in:
@@ -63,6 +63,17 @@ $serverinfo = file_get_contents($serverinfofile);
|
||||
|
||||
//-------------------------------------
|
||||
|
||||
//-------------------------
|
||||
$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]);
|
||||
}
|
||||
//-------------------------
|
||||
|
||||
$domain = $_SERVER['HTTP_HOST'];
|
||||
|
||||
//------------------------
|
||||
@@ -135,9 +146,9 @@ if ("serviceWorker" in navigator) {
|
||||
<body>
|
||||
|
||||
<div class="leftbox">
|
||||
<?php if(!empty($serverlogo_link[1])){ ?>
|
||||
<?php if(!empty(htmlspecialchars($serversettings["serverinfo"]["server_logo_login"], ENT_QUOTES, 'UTF-8'))){ ?>
|
||||
<div class="logo">
|
||||
<a href="../index.php"><img src=<?php echo htmlspecialchars($serverlogo_link[1], ENT_QUOTES, 'UTF-8');?>></a>
|
||||
<a href="../index.php"><img src=<?php echo htmlspecialchars($serversettings["serverinfo"]["server_logo_login"], ENT_QUOTES, 'UTF-8');?>></a>
|
||||
</div>
|
||||
<?php }else{?>
|
||||
<div class="logo">
|
||||
@@ -178,11 +189,13 @@ if ("serviceWorker" in navigator) {
|
||||
|
||||
<?php if(htmlspecialchars($serversettings["serverinfo"]["server_invitation"], ENT_QUOTES, 'UTF-8') === "true"){?>
|
||||
<p>このサーバーには招待コードがないと登録できません。<br>招待コードはお手元にありますか?</p>
|
||||
|
||||
<div class="btnbox">
|
||||
<a href="new.php" class="irobutton">アカウント登録</a>
|
||||
<a href="login.php" class="sirobutton">ログイン</a>
|
||||
</div>
|
||||
<?php }else{?>
|
||||
|
||||
<div class="cntzone">
|
||||
<div class="usercnt">
|
||||
<div class="p1">ユーザー数</div>
|
||||
@@ -193,12 +206,12 @@ if ("serviceWorker" in navigator) {
|
||||
<p><?php echo $count2."<br>"?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="btnbox">
|
||||
<a href="new.php" class="irobutton">アカウント登録</a>
|
||||
<a href="login.php" class="sirobutton">ログイン</a>
|
||||
</div>
|
||||
<?php }?>
|
||||
<div class="p2" style="margin-top:8px;margin-bottom:0px;"><?php echo $uwuzuinfo[0];?> Version <?php echo $uwuzuinfo[1];?></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user