mirror of
https://github.com/Daichimarukana/uwuzu.git
synced 2026-06-05 11:34:41 +00:00
uwuzu version 1.2.12
This commit is contained in:
+271
-30
@@ -1165,12 +1165,12 @@ main h1{
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.ueuse .favbox .tuduki{
|
.ueuse .favbox .tuduki{
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border: none;
|
border: none;
|
||||||
display: block;
|
display: block;
|
||||||
width:auto;
|
width:auto;
|
||||||
padding: 8px auto;
|
|
||||||
|
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
margin-right: 12px;
|
margin-right: 12px;
|
||||||
@@ -1178,8 +1178,8 @@ main h1{
|
|||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
|
|
||||||
|
|
||||||
padding-top: 5px;
|
padding-top: 2px;
|
||||||
padding-bottom: 5px;
|
padding-bottom: 2px;
|
||||||
padding-left: 12px;
|
padding-left: 12px;
|
||||||
padding-right: 12px;
|
padding-right: 12px;
|
||||||
|
|
||||||
@@ -1193,8 +1193,6 @@ main h1{
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
transition: box-shadow 250ms ease-in-out;
|
|
||||||
transition: width 250ms ease-out;
|
|
||||||
transition: all 250ms ease-out;
|
transition: all 250ms ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1203,20 +1201,15 @@ main h1{
|
|||||||
border: none;
|
border: none;
|
||||||
display: block;
|
display: block;
|
||||||
width:auto;
|
width:auto;
|
||||||
padding: 8px auto;
|
|
||||||
|
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
margin-right: 12px;
|
margin-right: 12px;
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
|
padding-top: 2px;
|
||||||
|
padding-bottom: 2px;
|
||||||
padding-top: 5px;
|
|
||||||
padding-bottom: 5px;
|
|
||||||
padding-left: 12px;
|
padding-left: 12px;
|
||||||
padding-right: 12px;
|
padding-right: 12px;
|
||||||
|
|
||||||
|
|
||||||
background-color: #FFC832;
|
background-color: #FFC832;
|
||||||
|
|
||||||
border-radius: 50px;
|
border-radius: 50px;
|
||||||
@@ -1230,7 +1223,10 @@ main h1{
|
|||||||
transition: width 250ms ease-out;
|
transition: width 250ms ease-out;
|
||||||
transition: all 250ms ease-out;
|
transition: all 250ms ease-out;
|
||||||
}
|
}
|
||||||
|
.ueuse .favbox .tuduki svg {
|
||||||
|
fill: currentColor;
|
||||||
|
transition: all 250ms ease-out;
|
||||||
|
}
|
||||||
.ueuse .favbox .delbtn{
|
.ueuse .favbox .delbtn{
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border: none;
|
border: none;
|
||||||
@@ -1843,7 +1839,9 @@ label>input {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: rgba(0, 0, 0, 0.5);
|
background-color: rgba(0, 0, 0, 0.5);
|
||||||
|
backdrop-filter: blur(5px);
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
|
transition: all 250ms ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.show {
|
.show {
|
||||||
@@ -1853,11 +1851,11 @@ label>input {
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
width: 60%;
|
width: 20%;
|
||||||
max-width: 400px;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 30%;
|
||||||
left: 50%;
|
left: 40%;
|
||||||
|
right: 40%;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
box-shadow:0 0px 48px 0 rgba(0, 0, 0, .05);
|
box-shadow:0 0px 48px 0 rgba(0, 0, 0, .05);
|
||||||
}
|
}
|
||||||
@@ -1977,6 +1975,35 @@ label>input {
|
|||||||
width:115px;
|
width:115px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.modal-content.slideUp {
|
||||||
|
animation: SlideUp .3s ease-out forwards;
|
||||||
|
}
|
||||||
|
.modal-content.slideDown {
|
||||||
|
animation: SlideDown .15s ease-in-out forwards;
|
||||||
|
}
|
||||||
|
/*下から上*/
|
||||||
|
@keyframes SlideUp {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(-1%);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(-20%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/*上から下*/
|
||||||
|
@keyframes SlideDown {
|
||||||
|
0% {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(-20%);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(-1%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.topbox {
|
.topbox {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|
||||||
@@ -2682,6 +2709,98 @@ hr{
|
|||||||
border-bottom: 3px solid #ffffff;
|
border-bottom: 3px solid #ffffff;
|
||||||
transform: rotate(-45deg);
|
transform: rotate(-45deg);
|
||||||
}
|
}
|
||||||
|
.new_ueuse {
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
.new_ueuse_text {
|
||||||
|
width: auto;
|
||||||
|
height: 24px;
|
||||||
|
animation: slideDown 3.0s ease forwards;
|
||||||
|
position: absolute;
|
||||||
|
z-index: 101;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
margin-left: 40%;
|
||||||
|
margin-right: 40%;
|
||||||
|
background: #FFC832;
|
||||||
|
text-align: center;
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow:0 0px 48px 0 rgba(0, 0, 0, .05);
|
||||||
|
border-radius: 25px;
|
||||||
|
padding-top: 8px;
|
||||||
|
padding-bottom: 0px;
|
||||||
|
padding-left: 0px;
|
||||||
|
padding-right: 0px;
|
||||||
|
color:#FFF;
|
||||||
|
font-family: 'BIZ UDPGothic', sans-serif;
|
||||||
|
}
|
||||||
|
@keyframes slideDown {
|
||||||
|
0%, 100% { transform: translateY(-64px); }
|
||||||
|
10%, 90% { transform: translateY(32px); }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.buruburu {
|
||||||
|
display: inline-block;
|
||||||
|
animation: hurueru .1s infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes hurueru {
|
||||||
|
0% {
|
||||||
|
transform: translate(0px, 0px) rotateZ(0deg)
|
||||||
|
}
|
||||||
|
|
||||||
|
25% {
|
||||||
|
transform: translate(2px, 2px) rotateZ(1deg)
|
||||||
|
}
|
||||||
|
|
||||||
|
50% {
|
||||||
|
transform: translate(0px, 2px) rotateZ(0deg)
|
||||||
|
}
|
||||||
|
|
||||||
|
75% {
|
||||||
|
transform: translate(2px, 0px) rotateZ(-1deg)
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
transform: translate(0px, 0px) rotateZ(0deg)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-shine {
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-shine:after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
top: -50%;
|
||||||
|
left: -50%;
|
||||||
|
width: 10%;
|
||||||
|
height: 150%;
|
||||||
|
background: #fff;
|
||||||
|
transform: rotate(45deg);
|
||||||
|
animation: reflect 3s ease-in-out infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes reflect {
|
||||||
|
|
||||||
|
0%,
|
||||||
|
75% {
|
||||||
|
transform: rotate(45deg) scale(0);
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
transform: rotate(45deg) scale(100);
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*------------------------------------------------------------------------------------------------------------*/
|
/*------------------------------------------------------------------------------------------------------------*/
|
||||||
/*--------------------------------------------------スマホ向け--------------------------------------------------*/
|
/*--------------------------------------------------スマホ向け--------------------------------------------------*/
|
||||||
@@ -2918,7 +3037,7 @@ hr{
|
|||||||
.ueuse .favbox .tuduki{
|
.ueuse .favbox .tuduki{
|
||||||
|
|
||||||
display: block;
|
display: block;
|
||||||
width:26%;
|
width:auto;
|
||||||
padding: 8px auto;
|
padding: 8px auto;
|
||||||
|
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
@@ -2927,17 +3046,17 @@ hr{
|
|||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
|
|
||||||
|
|
||||||
padding-top: 8px;
|
padding-top: 2px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 2px;
|
||||||
padding-left: 6px;
|
padding-left: 12px;
|
||||||
padding-right: 6px;
|
padding-right: 12px;
|
||||||
|
|
||||||
|
|
||||||
background-color: #FFFAE6;
|
background-color: #FFFAE6;
|
||||||
|
|
||||||
border-radius: 50px;
|
border-radius: 50px;
|
||||||
color:#FFC832;
|
color:#FFC832;
|
||||||
font-size: 12px;
|
font-size: 16px;
|
||||||
font-family: 'Zen Maru Gothic', sans-serif;
|
font-family: 'Zen Maru Gothic', sans-serif;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
@@ -2946,24 +3065,23 @@ hr{
|
|||||||
|
|
||||||
.ueuse .favbox .tuduki:hover{
|
.ueuse .favbox .tuduki:hover{
|
||||||
background-color: #FFC832;
|
background-color: #FFC832;
|
||||||
|
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
margin-right: 12px;
|
margin-right: 12px;
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
|
|
||||||
|
|
||||||
padding-top: 8px;
|
padding-top: 2px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 2px;
|
||||||
padding-left: 6px;
|
padding-left: 12px;
|
||||||
padding-right: 6px;
|
padding-right: 12px;
|
||||||
|
|
||||||
width:28%;
|
width:auto;
|
||||||
border-radius: 50px;
|
border-radius: 50px;
|
||||||
color:#FFFAE6;
|
color:#FFFAE6;
|
||||||
font-family: 'Zen Maru Gothic', sans-serif;
|
font-family: 'Zen Maru Gothic', sans-serif;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 16px;
|
||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
@@ -3579,6 +3697,129 @@ hr{
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.modal{
|
||||||
|
top:0;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100dvh;
|
||||||
|
background-color: rgba(0, 0, 0, 0.2);
|
||||||
|
backdrop-filter: blur(4px);
|
||||||
|
z-index: 9999;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
.modal-content {
|
||||||
|
margin-top:40dvh;
|
||||||
|
width: calc(100% - 48px);
|
||||||
|
margin-bottom: 0px;
|
||||||
|
height: 55dvh;
|
||||||
|
padding: 24px;
|
||||||
|
bottom: 0px;
|
||||||
|
left: 0;
|
||||||
|
animation: SlideUp .5s ease-in-out forwards;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-content textarea{
|
||||||
|
text-align: left;
|
||||||
|
width:100%;
|
||||||
|
height:90px;
|
||||||
|
border-radius: 12px;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-content .btn_area{
|
||||||
|
display: flex;
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 12px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-content .fbtn{
|
||||||
|
cursor: pointer;
|
||||||
|
border: none;
|
||||||
|
display: block;
|
||||||
|
width:48%;
|
||||||
|
padding: 8px auto;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: 0px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
padding-top: 6px;
|
||||||
|
padding-bottom: 6px;
|
||||||
|
border-radius: 50px;
|
||||||
|
font-size: 16px;
|
||||||
|
font-family: 'Zen Maru Gothic', sans-serif;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration:none;
|
||||||
|
text-align: center;
|
||||||
|
transition: box-shadow 250ms ease-in-out;
|
||||||
|
transition: width 250ms ease-out;
|
||||||
|
transition: all 250ms ease-out;
|
||||||
|
}
|
||||||
|
.modal-content .fbtn:hover{
|
||||||
|
width:50%;
|
||||||
|
}
|
||||||
|
.modal-content .fbtn:active{
|
||||||
|
width:45%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-content .fbtn_no{
|
||||||
|
cursor: pointer;
|
||||||
|
border: none;
|
||||||
|
display: block;
|
||||||
|
width:48%;
|
||||||
|
padding: 8px auto;
|
||||||
|
margin-left: 0px;
|
||||||
|
margin-right: auto;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
padding-top: 6px;
|
||||||
|
padding-bottom: 6px;
|
||||||
|
border-radius: 50px;
|
||||||
|
font-size: 16px;
|
||||||
|
font-family: 'Zen Maru Gothic', sans-serif;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration:none;
|
||||||
|
text-align: center;
|
||||||
|
transition: box-shadow 250ms ease-in-out;
|
||||||
|
transition: width 250ms ease-out;
|
||||||
|
transition: all 250ms ease-out;
|
||||||
|
}
|
||||||
|
.modal-content .fbtn_no:hover{
|
||||||
|
width:50%;
|
||||||
|
}
|
||||||
|
.modal-content .fbtn_no:active{
|
||||||
|
width:45%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-content.slideUp {
|
||||||
|
animation: SlideUp .3s ease-out forwards;
|
||||||
|
}
|
||||||
|
.modal-content.slideDown {
|
||||||
|
animation: SlideDown .15s ease-in-out forwards;
|
||||||
|
}
|
||||||
|
/*下から上*/
|
||||||
|
@keyframes SlideUp {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(-1%);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(-40%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/*上から下*/
|
||||||
|
@keyframes SlideDown {
|
||||||
|
0% {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(-40%);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(-1%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*------------------------------------------------------------------------------------------------------------*/
|
/*------------------------------------------------------------------------------------------------------------*/
|
||||||
|
|||||||
+1
-1
@@ -139,7 +139,7 @@ if( !empty($pdo) ) {
|
|||||||
|
|
||||||
$dbh = new PDO('mysql:charset=UTF8;dbname='.DB_NAME.';host='.DB_HOST , DB_USER, DB_PASS, $option);
|
$dbh = new PDO('mysql:charset=UTF8;dbname='.DB_NAME.';host='.DB_HOST , DB_USER, DB_PASS, $option);
|
||||||
|
|
||||||
$rerole = $dbh->prepare("SELECT username, userid, password, mailadds, profile, iconname, iconcontent, icontype, iconsize, headname, headcontent, headtype, headsize, role, datetime FROM account WHERE userid = :userid");
|
$rerole = $dbh->prepare("SELECT username, userid, password, mailadds, profile, iconname, headname, role, datetime FROM account WHERE userid = :userid");
|
||||||
|
|
||||||
$rerole->bindValue(':userid', $userid);
|
$rerole->bindValue(':userid', $userid);
|
||||||
// SQL実行
|
// SQL実行
|
||||||
|
|||||||
+3
-3
@@ -19,7 +19,7 @@ $termsdata = file_get_contents($termsfile);
|
|||||||
<html lang="ja">
|
<html lang="ja">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<link rel="stylesheet" href="../css/home.css">
|
<link rel="stylesheet" href="/css/home.css">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>400 Bad Request - <?php echo file_get_contents($servernamefile);?></title>
|
<title>400 Bad Request - <?php echo file_get_contents($servernamefile);?></title>
|
||||||
</head>
|
</head>
|
||||||
@@ -28,7 +28,7 @@ $termsdata = file_get_contents($termsfile);
|
|||||||
|
|
||||||
<div class="topbox">
|
<div class="topbox">
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
<img src="../img/uwuzulogo.svg">
|
<img src="/img/uwuzulogo.svg">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -42,7 +42,7 @@ $termsdata = file_get_contents($termsfile);
|
|||||||
<p><(_ _)><br>はいっ!エラーです!!!<br>原因はわかりません!!!!!!!!</p>
|
<p><(_ _)><br>はいっ!エラーです!!!<br>原因はわかりません!!!!!!!!</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a href="../home/" class="irobutton">ホームへ行く</a>
|
<a href="/home/" class="irobutton">ホームへ行く</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -19,7 +19,7 @@ $termsdata = file_get_contents($termsfile);
|
|||||||
<html lang="ja">
|
<html lang="ja">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<link rel="stylesheet" href="../css/home.css">
|
<link rel="stylesheet" href="/css/home.css">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>401 Unauthorized - <?php echo file_get_contents($servernamefile);?></title>
|
<title>401 Unauthorized - <?php echo file_get_contents($servernamefile);?></title>
|
||||||
</head>
|
</head>
|
||||||
@@ -28,7 +28,7 @@ $termsdata = file_get_contents($termsfile);
|
|||||||
|
|
||||||
<div class="topbox">
|
<div class="topbox">
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
<img src="../img/uwuzulogo.svg">
|
<img src="/img/uwuzulogo.svg">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -42,7 +42,7 @@ $termsdata = file_get_contents($termsfile);
|
|||||||
<p>...(* ̄0 ̄)ノ< アクセス権が無いようです()<br>サービス管理者によってアクセス権の変更をされた可能性がございます。</p>
|
<p>...(* ̄0 ̄)ノ< アクセス権が無いようです()<br>サービス管理者によってアクセス権の変更をされた可能性がございます。</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a href="../home/" class="irobutton">ホームへ行く</a>
|
<a href="/home/" class="irobutton">ホームへ行く</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -19,7 +19,7 @@ $termsdata = file_get_contents($termsfile);
|
|||||||
<html lang="ja">
|
<html lang="ja">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<link rel="stylesheet" href="../css/home.css">
|
<link rel="stylesheet" href="/css/home.css">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>403 Forbidden - <?php echo file_get_contents($servernamefile);?></title>
|
<title>403 Forbidden - <?php echo file_get_contents($servernamefile);?></title>
|
||||||
</head>
|
</head>
|
||||||
@@ -28,7 +28,7 @@ $termsdata = file_get_contents($termsfile);
|
|||||||
|
|
||||||
<div class="topbox">
|
<div class="topbox">
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
<img src="../img/uwuzulogo.svg">
|
<img src="/img/uwuzulogo.svg">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -42,7 +42,7 @@ $termsdata = file_get_contents($termsfile);
|
|||||||
<p>...(* ̄0 ̄)ノ< 閲覧権限が無いようです()<br>サービス管理者によって閲覧権限の変更をされた可能性がございます。</p>
|
<p>...(* ̄0 ̄)ノ< 閲覧権限が無いようです()<br>サービス管理者によって閲覧権限の変更をされた可能性がございます。</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a href="../home/" class="irobutton">ホームへ行く</a>
|
<a href="/home/" class="irobutton">ホームへ行く</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -19,7 +19,7 @@ $termsdata = file_get_contents($termsfile);
|
|||||||
<html lang="ja">
|
<html lang="ja">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<link rel="stylesheet" href="../css/home.css">
|
<link rel="stylesheet" href="/css/home.css">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>404 Not found - <?php echo file_get_contents($servernamefile);?></title>
|
<title>404 Not found - <?php echo file_get_contents($servernamefile);?></title>
|
||||||
</head>
|
</head>
|
||||||
@@ -28,7 +28,7 @@ $termsdata = file_get_contents($termsfile);
|
|||||||
|
|
||||||
<div class="topbox">
|
<div class="topbox">
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
<img src="../img/uwuzulogo.svg">
|
<img src="/img/uwuzulogo.svg">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -42,7 +42,7 @@ $termsdata = file_get_contents($termsfile);
|
|||||||
<p>申し訳ございませんがお探しのページは見つかりませんでした!<br>ページの移動や削除が行われた可能性がございます。</p>
|
<p>申し訳ございませんがお探しのページは見つかりませんでした!<br>ページの移動や削除が行われた可能性がございます。</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a href="../home/" class="irobutton">ホームへ行く</a>
|
<a href="/home/" class="irobutton">ホームへ行く</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -19,7 +19,7 @@ $termsdata = file_get_contents($termsfile);
|
|||||||
<html lang="ja">
|
<html lang="ja">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<link rel="stylesheet" href="../css/home.css">
|
<link rel="stylesheet" href="/css/home.css">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>500 Internal Server Error - <?php echo file_get_contents($servernamefile);?></title>
|
<title>500 Internal Server Error - <?php echo file_get_contents($servernamefile);?></title>
|
||||||
</head>
|
</head>
|
||||||
@@ -28,7 +28,7 @@ $termsdata = file_get_contents($termsfile);
|
|||||||
|
|
||||||
<div class="topbox">
|
<div class="topbox">
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
<img src="../img/uwuzulogo.svg">
|
<img src="/img/uwuzulogo.svg">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -42,7 +42,7 @@ $termsdata = file_get_contents($termsfile);
|
|||||||
<p>\(^o^)/<br>サーバーオワタ☆</p>
|
<p>\(^o^)/<br>サーバーオワタ☆</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a href="../home/" class="irobutton">ホームへ行く</a>
|
<a href="/home/" class="irobutton">ホームへ行く</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -19,7 +19,7 @@ $termsdata = file_get_contents($termsfile);
|
|||||||
<html lang="ja">
|
<html lang="ja">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<link rel="stylesheet" href="../css/home.css">
|
<link rel="stylesheet" href="/css/home.css">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<title>503 Service Unavailable - <?php echo file_get_contents($servernamefile);?></title>
|
<title>503 Service Unavailable - <?php echo file_get_contents($servernamefile);?></title>
|
||||||
</head>
|
</head>
|
||||||
@@ -28,7 +28,7 @@ $termsdata = file_get_contents($termsfile);
|
|||||||
|
|
||||||
<div class="topbox">
|
<div class="topbox">
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
<img src="../img/uwuzulogo.svg">
|
<img src="/img/uwuzulogo.svg">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -42,7 +42,7 @@ $termsdata = file_get_contents($termsfile);
|
|||||||
<p>(´。_。`;)< サーバーに過負荷がかかっているようです...<br>時間をおいてから再度アクセスしてください!</p>
|
<p>(´。_。`;)< サーバーに過負荷がかかっているようです...<br>時間をおいてから再度アクセスしてください!</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a href="../home/" class="irobutton">ホームへ行く</a>
|
<a href="/home/" class="irobutton">ホームへ行く</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
+41
-5
@@ -506,6 +506,7 @@ if ("serviceWorker" in navigator) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<?php require('../require/rightbox.php');?>
|
<?php require('../require/rightbox.php');?>
|
||||||
<?php require('../require/botbox.php');?>
|
<?php require('../require/botbox.php');?>
|
||||||
|
|
||||||
@@ -603,15 +604,22 @@ $(document).ready(function() {
|
|||||||
var modal = document.getElementById('myDelModal');
|
var modal = document.getElementById('myDelModal');
|
||||||
var deleteButton = document.getElementById('deleteButton');
|
var deleteButton = document.getElementById('deleteButton');
|
||||||
var cancelButton = document.getElementById('cancelButton'); // 追加
|
var cancelButton = document.getElementById('cancelButton'); // 追加
|
||||||
|
var modalMain = $('.modal-content');
|
||||||
|
|
||||||
$(document).on('click', '.delbtn', function (event) {
|
$(document).on('click', '.delbtn', function (event) {
|
||||||
modal.style.display = 'block';
|
modal.style.display = 'block';
|
||||||
|
modalMain.addClass("slideUp");
|
||||||
|
modalMain.removeClass("slideDown");
|
||||||
|
|
||||||
var uniqid2 = $(this).attr('data-uniqid2');
|
var uniqid2 = $(this).attr('data-uniqid2');
|
||||||
var postElement = $(this).closest('.ueuse');
|
var postElement = $(this).closest('.ueuse');
|
||||||
|
|
||||||
deleteButton.addEventListener('click', () => {
|
deleteButton.addEventListener('click', () => {
|
||||||
|
modalMain.removeClass("slideUp");
|
||||||
|
modalMain.addClass("slideDown");
|
||||||
|
window.setTimeout(function(){
|
||||||
modal.style.display = 'none';
|
modal.style.display = 'none';
|
||||||
|
}, 150);
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: '../delete/delete.php',
|
url: '../delete/delete.php',
|
||||||
@@ -632,25 +640,54 @@ $(document).ready(function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
cancelButton.addEventListener('click', () => { // 追加
|
cancelButton.addEventListener('click', () => { // 追加
|
||||||
|
modalMain.removeClass("slideUp");
|
||||||
|
modalMain.addClass("slideDown");
|
||||||
|
window.setTimeout(function(){
|
||||||
modal.style.display = 'none';
|
modal.style.display = 'none';
|
||||||
|
}, 150);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
var more_modal = document.getElementById('myMoreModal');
|
||||||
|
var m_cancelButton = document.getElementById('m_c_button'); // 追加
|
||||||
|
var modalMain = $('.modal-content');
|
||||||
|
|
||||||
|
$(document).on('click', '.more_btn', function (event) {
|
||||||
|
more_modal.style.display = 'block';
|
||||||
|
modalMain.addClass("slideUp");
|
||||||
|
modalMain.removeClass("slideDown");
|
||||||
|
|
||||||
|
m_cancelButton.addEventListener('click', () => {
|
||||||
|
modalMain.removeClass("slideUp");
|
||||||
|
modalMain.addClass("slideDown");
|
||||||
|
window.setTimeout(function(){
|
||||||
|
more_modal.style.display = 'none';
|
||||||
|
}, 150);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
var abimodal = document.getElementById('myAbiModal');
|
var abimodal = document.getElementById('myAbiModal');
|
||||||
var AbiAddButton = document.getElementById('AbiAddButton');
|
var AbiAddButton = document.getElementById('AbiAddButton');
|
||||||
var AbiCancelButton = document.getElementById('AbiCancelButton');
|
var AbiCancelButton = document.getElementById('AbiCancelButton');
|
||||||
|
var modalMain = $('.modal-content');
|
||||||
|
|
||||||
$(document).on('click', '.addabi', function (event) {
|
$(document).on('click', '.addabi', function (event) {
|
||||||
|
|
||||||
abimodal.style.display = 'block';
|
abimodal.style.display = 'block';
|
||||||
|
modalMain.addClass("slideUp");
|
||||||
|
modalMain.removeClass("slideDown");
|
||||||
|
|
||||||
var uniqid2 = $(this).attr('data-uniqid2');
|
var uniqid2 = $(this).attr('data-uniqid2');
|
||||||
var postAbiElement = $(this).closest('.addabi');
|
var postAbiElement = $(this).closest('.addabi');
|
||||||
|
|
||||||
AbiCancelButton.addEventListener('click', () => {
|
AbiCancelButton.addEventListener('click', () => {
|
||||||
|
modalMain.removeClass("slideUp");
|
||||||
|
modalMain.addClass("slideDown");
|
||||||
|
window.setTimeout(function(){
|
||||||
abimodal.style.display = 'none';
|
abimodal.style.display = 'none';
|
||||||
|
}, 150);
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#AbiForm').off('submit').on('submit', function (event) {
|
$('#AbiForm').off('submit').on('submit', function (event) {
|
||||||
@@ -660,7 +697,11 @@ $(document).ready(function() {
|
|||||||
var abitext = document.getElementById("abitexts").value;
|
var abitext = document.getElementById("abitexts").value;
|
||||||
|
|
||||||
if(abitext == ""){
|
if(abitext == ""){
|
||||||
|
modalMain.removeClass("slideUp");
|
||||||
|
modalMain.addClass("slideDown");
|
||||||
|
window.setTimeout(function(){
|
||||||
abimodal.style.display = 'none';
|
abimodal.style.display = 'none';
|
||||||
|
}, 150);
|
||||||
}else{
|
}else{
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: '../abi/addabi.php',
|
url: '../abi/addabi.php',
|
||||||
@@ -685,11 +726,6 @@ $(document).ready(function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// 10秒後に実行
|
|
||||||
setTimeout(() => {
|
|
||||||
console.log("Execution 10sec"); // Execution 10sec
|
|
||||||
}, 10000);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
<svg version="1.1" id="more_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 -960 760 960" width="24px"><path d="M189.199-423Q166-423 149-439.38q-17-16.379-17-40.093Q132-504 148.809-520.5q16.808-16.5 40.412-16.5 23.079 0 40.929 16.33Q248-504.341 248-480.527 248-456 230.199-439.5t-41 16.5Zm291.328 0Q456-423 439.5-439.38 423-455.759 423-479.473 423-504 439.38-520.5q16.379-16.5 40.093-16.5Q504-537 520.5-520.67q16.5 16.329 16.5 40.143Q537-456 520.67-439.5 504.341-423 480.527-423Zm290.287 0q-24.443 0-41.629-16.38Q712-455.759 712-479.473 712-504 729.261-520.5t41.5-16.5Q795-537 812-520.67q17 16.329 17 40.143Q829-456 811.922-439.5 794.845-423 770.814-423Z"/></svg>
|
||||||
|
After Width: | Height: | Size: 723 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg version="1.1" id="reply_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 -960 960 960" width="24px"><path d="M779.891-182.804v-172.435q0-57.283-36.543-93.826-36.544-36.544-93.826-36.544H251.935l155.891 156.131-55.63 54.108-249.392-249.391 249.392-249.63 55.63 55.348-155.891 156.13h397.587q88.956 0 148.435 59.598 59.478 59.598 59.478 148.076v172.435h-77.544Z"/></svg>
|
||||||
|
After Width: | Height: | Size: 432 B |
@@ -17,6 +17,10 @@ if (isset($_SERVER['HTTP_COOKIE'])) {
|
|||||||
setcookie($name, '', time()-1000, '/settings');
|
setcookie($name, '', time()-1000, '/settings');
|
||||||
setcookie($name, '', time()-1000, '/emoji');
|
setcookie($name, '', time()-1000, '/emoji');
|
||||||
setcookie($name, '', time()-1000, '/user');
|
setcookie($name, '', time()-1000, '/user');
|
||||||
|
setcookie('admin_login', '', time()-1000, '');
|
||||||
|
setcookie('loginid', '', time()-1000, '');
|
||||||
|
setcookie('userid', '', time()-1000, '');
|
||||||
|
setcookie('username', '', time()-1000, '');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -56,6 +56,15 @@ if (!empty($pdo)) {
|
|||||||
$message['username'] = $userData['username'];
|
$message['username'] = $userData['username'];
|
||||||
$message['role'] = $userData['role'];
|
$message['role'] = $userData['role'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$rpQuery = $pdo->prepare("SELECT COUNT(*) as reply_count FROM ueuse WHERE rpuniqid = :rpuniqid");
|
||||||
|
$rpQuery->bindValue(':rpuniqid', $message['uniqid']);
|
||||||
|
$rpQuery->execute();
|
||||||
|
$rpData = $rpQuery->fetch(PDO::FETCH_ASSOC);
|
||||||
|
|
||||||
|
if ($rpData){
|
||||||
|
$message['reply_count'] = $rpData['reply_count'];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!empty($messages)){
|
if(!empty($messages)){
|
||||||
|
|||||||
@@ -61,6 +61,15 @@ if (!empty($pdo)) {
|
|||||||
$message['username'] = $userData['username'];
|
$message['username'] = $userData['username'];
|
||||||
$message['role'] = $userData['role'];
|
$message['role'] = $userData['role'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$rpQuery = $pdo->prepare("SELECT COUNT(*) as reply_count FROM ueuse WHERE rpuniqid = :rpuniqid");
|
||||||
|
$rpQuery->bindValue(':rpuniqid', $message['uniqid']);
|
||||||
|
$rpQuery->execute();
|
||||||
|
$rpData = $rpQuery->fetch(PDO::FETCH_ASSOC);
|
||||||
|
|
||||||
|
if ($rpData){
|
||||||
|
$message['reply_count'] = $rpData['reply_count'];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!empty($messages)){
|
if(!empty($messages)){
|
||||||
|
|||||||
@@ -72,6 +72,15 @@ if (!empty($pdo)) {
|
|||||||
$message['username'] = $userData['username'];
|
$message['username'] = $userData['username'];
|
||||||
$message['role'] = $userData['role'];
|
$message['role'] = $userData['role'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$rpQuery = $pdo->prepare("SELECT COUNT(*) as reply_count FROM ueuse WHERE rpuniqid = :rpuniqid");
|
||||||
|
$rpQuery->bindValue(':rpuniqid', $message['uniqid']);
|
||||||
|
$rpQuery->execute();
|
||||||
|
$rpData = $rpQuery->fetch(PDO::FETCH_ASSOC);
|
||||||
|
|
||||||
|
if ($rpData){
|
||||||
|
$message['reply_count'] = $rpData['reply_count'];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!empty($messages)){
|
if(!empty($messages)){
|
||||||
|
|||||||
@@ -70,6 +70,15 @@ if (!empty($pdo)) {
|
|||||||
$message['username'] = $userData['username'];
|
$message['username'] = $userData['username'];
|
||||||
$message['role'] = $userData['role'];
|
$message['role'] = $userData['role'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$rpQuery = $pdo->prepare("SELECT COUNT(*) as reply_count FROM ueuse WHERE rpuniqid = :rpuniqid");
|
||||||
|
$rpQuery->bindValue(':rpuniqid', $message['uniqid']);
|
||||||
|
$rpQuery->execute();
|
||||||
|
$rpData = $rpQuery->fetch(PDO::FETCH_ASSOC);
|
||||||
|
|
||||||
|
if ($rpData){
|
||||||
|
$message['reply_count'] = $rpData['reply_count'];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!empty($messages)){
|
if(!empty($messages)){
|
||||||
|
|||||||
+9
-9
@@ -1,22 +1,22 @@
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
function processMarkdownAndWrapEmptyLines($markdownText){
|
||||||
function processMarkdownAndWrapEmptyLines($markdownText) {
|
$markdownText = preg_replace('/^\[\[buruburu (.+)\]\]/m', '<p class="buruburu">$1</p>', $markdownText);//←ここ!!!!!!!!!!!!!!
|
||||||
|
|
||||||
// コード(#code)をHTMLのdiv class="code"タグに変換
|
// コード(#code)をHTMLのdiv class="code"タグに変換
|
||||||
$markdownText = preg_replace('/^#code (.+)/m', '<div class="code"><p>$1</p></div>', $markdownText);
|
$markdownText = preg_replace('/^#code (.+)/m', '<div class="code"><p>$1</p></div>', $markdownText);
|
||||||
|
|
||||||
|
// 画像(#img)をHTMLのimgタグに変換
|
||||||
|
$markdownText = preg_replace('/^#img (.+)/m', '<img src="$1">', $markdownText);
|
||||||
|
|
||||||
// タイトル(#、##、###)をHTMLのhタグに変換
|
// タイトル(#、##、###)をHTMLのhタグに変換
|
||||||
$markdownText = preg_replace('/^# (.+)/m', '<h1>$1</h1>', $markdownText);
|
$markdownText = preg_replace('/^# (.+)/m', '<h2>$1</h2>', $markdownText);
|
||||||
$markdownText = preg_replace('/^## (.+)/m', '<h2>$1</h2>', $markdownText);
|
$markdownText = preg_replace('/^## (.+)/m', '<h3>$1</h3>', $markdownText);
|
||||||
$markdownText = preg_replace('/^### (.+)/m', '<h3>$1</h3>', $markdownText);
|
$markdownText = preg_replace('/^### (.+)/m', '<h4>$1</h4>', $markdownText);
|
||||||
|
|
||||||
// 箇条書き(-)をHTMLのul/liタグに変換
|
// 箇条書き(-)をHTMLのul/liタグに変換
|
||||||
$markdownText = preg_replace('/^- (.+)/m', '<ul><li>$1</li></ul>', $markdownText);
|
$markdownText = preg_replace('/^- (.+)/m', '<ul><li>$1</li></ul>', $markdownText);
|
||||||
|
|
||||||
// 空行の前に何もない行をHTMLのpタグに変換
|
|
||||||
$markdownText = preg_replace('/(^\s*)(?!\s)(.*)/m', '$1<p>$2</p>', $markdownText);
|
|
||||||
|
|
||||||
return $markdownText;
|
return $markdownText;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -154,7 +154,7 @@ class MessageDisplay {
|
|||||||
}else{
|
}else{
|
||||||
echo '<button class="favbtn" id="favbtn" data-uniqid="' . htmlentities($this->value['uniqid']) . '" data-userid2="' . htmlentities($this->value['account']) . '"><img src="../img/sysimage/favorite_1.svg" alt="いいね" /> <span class="like-count">' . htmlentities($this->value['favcnt']) . '</span></button>';
|
echo '<button class="favbtn" id="favbtn" data-uniqid="' . htmlentities($this->value['uniqid']) . '" data-userid2="' . htmlentities($this->value['account']) . '"><img src="../img/sysimage/favorite_1.svg" alt="いいね" /> <span class="like-count">' . htmlentities($this->value['favcnt']) . '</span></button>';
|
||||||
}
|
}
|
||||||
echo '<a href="/!'.htmlentities($this->value['uniqid']). '~' . htmlentities($this->value['account']) . '" class="tuduki">返信をみる&する</a>';
|
echo '<a href="/!'.htmlentities($this->value['uniqid']). '~' . htmlentities($this->value['account']) . '" class="tuduki"><svg><use xlink:href="../img/sysimage/reply_1.svg#reply_1"></use></svg>'.htmlentities($this->value['reply_count']).'</a>';
|
||||||
if($this->value['account'] === $this->userid){
|
if($this->value['account'] === $this->userid){
|
||||||
if($this->value['abi'] === "none"){
|
if($this->value['abi'] === "none"){
|
||||||
echo '<input type="submit" name="addabi" id="addabi" data-uniqid2="' . htmlentities($this->value['uniqid']) . '" class="addabi" value="追記する">';
|
echo '<input type="submit" name="addabi" id="addabi" data-uniqid2="' . htmlentities($this->value['uniqid']) . '" class="addabi" value="追記する">';
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ if( !empty($pdo) ) {
|
|||||||
|
|
||||||
$dbh = new PDO('mysql:charset=utf8mb4;dbname='.DB_NAME.';host='.DB_HOST , DB_USER, DB_PASS, $option);
|
$dbh = new PDO('mysql:charset=utf8mb4;dbname='.DB_NAME.';host='.DB_HOST , DB_USER, DB_PASS, $option);
|
||||||
|
|
||||||
$rerole = $dbh->prepare("SELECT username, userid, password, mailadds, profile, iconname, iconcontent, icontype, iconsize, headname, headcontent, headtype, headsize, role, datetime FROM account WHERE userid = :userid");
|
$rerole = $dbh->prepare("SELECT username, userid, password, mailadds, profile, iconname, headname, role, datetime FROM account WHERE userid = :userid");
|
||||||
|
|
||||||
$rerole->bindValue(':userid', $userid);
|
$rerole->bindValue(':userid', $userid);
|
||||||
// SQL実行
|
// SQL実行
|
||||||
|
|||||||
@@ -25,11 +25,12 @@ daichimarukana < 「うぃずゆー(With you)」「うぃじゅー(witzou)」「
|
|||||||
|
|
||||||
## 4. 開発言語は?
|
## 4. 開発言語は?
|
||||||
uwuzuはPHPとJS、HTML(プログラミング言語じゃないか)、CSSで作られています!
|
uwuzuはPHPとJS、HTML(プログラミング言語じゃないか)、CSSで作られています!
|
||||||
ライブラリはjQuery、Reactを導入しています!
|
ライブラリはjQueryを導入しています!
|
||||||
|
|
||||||
## 5. サーバーの建て方
|
## 5. サーバーの建て方
|
||||||
※MySQLの設定結構めんどいです。
|
※MySQLの設定結構めんどいです。
|
||||||
まず、Apache2とPHP 8とmysql Ver 15が導入されているサーバーを準備します!
|
まず、Apache2とPHP 8とmysql Ver 15が導入されているサーバーを準備します!
|
||||||
|
PHP 8では事前にGDを有効化しておいてください!(QRコードの生成に必要です。)
|
||||||
次にSQLを設定します。(InnoDB)
|
次にSQLを設定します。(InnoDB)
|
||||||
まず、お好きな名前でDBを作成し、その中に、account,emoji,notice,role,ueuse,notificationとテーブルを作成します。
|
まず、お好きな名前でDBを作成し、その中に、account,emoji,notice,role,ueuse,notificationとテーブルを作成します。
|
||||||
テーブルの中身は以下のとおりです。
|
テーブルの中身は以下のとおりです。
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
uwuzu
|
uwuzu
|
||||||
1.2.11
|
1.2.12
|
||||||
2023/08/25
|
2023/08/27
|
||||||
daichimarukana,putonfps
|
daichimarukana,putonfps
|
||||||
@@ -1,6 +1,14 @@
|
|||||||
## リリースノートだぜぇぇぇぇぇぇい!!!!!!!
|
## リリースノートだぜぇぇぇぇぇぇい!!!!!!!
|
||||||
ここにはuwuzuの更新情報を載せてくぜぇ~!(いやまてテンションおかしいだろ...)
|
ここにはuwuzuの更新情報を載せてくぜぇ~!(いやまてテンションおかしいだろ...)
|
||||||
|
|
||||||
|
## Version 1.2.12
|
||||||
|
リリース日:2023/08/27
|
||||||
|
致命的なバグを修正しました。
|
||||||
|
モバイル向けUIを変更しました。
|
||||||
|
リプライ数を表示するようにしました。
|
||||||
|
文字をぶるぶるできるようにしました。(?)
|
||||||
|
[[buruburu ここにぶるぶるさせたい文字]]でできます。
|
||||||
|
|
||||||
## Version 1.2.11
|
## Version 1.2.11
|
||||||
リリース日:2023/08/25
|
リリース日:2023/08/25
|
||||||
モバイル向けUIを変更しました。
|
モバイル向けUIを変更しました。
|
||||||
|
|||||||
+1
-1
@@ -134,7 +134,7 @@ if( !empty($pdo) ) {
|
|||||||
|
|
||||||
$dbh = new PDO('mysql:charset=utf8mb4;dbname='.DB_NAME.';host='.DB_HOST , DB_USER, DB_PASS, $option);
|
$dbh = new PDO('mysql:charset=utf8mb4;dbname='.DB_NAME.';host='.DB_HOST , DB_USER, DB_PASS, $option);
|
||||||
|
|
||||||
$rerole = $dbh->prepare("SELECT username, userid, password, mailadds, profile, iconname, iconcontent, icontype, iconsize, headname, headcontent, headtype, headsize, role, datetime, authcode FROM account WHERE userid = :userid");
|
$rerole = $dbh->prepare("SELECT username, userid, password, mailadds, profile, iconname, headname, role, datetime, authcode FROM account WHERE userid = :userid");
|
||||||
|
|
||||||
$rerole->bindValue(':userid', $userid);
|
$rerole->bindValue(':userid', $userid);
|
||||||
// SQL実行
|
// SQL実行
|
||||||
|
|||||||
Reference in New Issue
Block a user