Compare commits

..

7 Commits

Author SHA1 Message Date
skimrme
1bacc014b5 dev
2025.7.5-1

修改:
    1.导航栏的显示问题
    2.著作所有的显示层

新计划:
    1.完善video页面
    2.恢复公网访问

署名: SkimrMe_
2025-07-05 03:29:21 +08:00
skimrme
1346c1ca10 dev
2025.7.4-1
2025-07-04 20:18:07 +08:00
skimrme
84053095b4 dev
修改网页图标小问题

2025.6.29
2025-06-29 08:30:00 +08:00
skimrme
fbc4f88fc1 dev
添加网页图标
修改div_top的小问题

2025.6.29-2
2025-06-29 08:12:08 +08:00
skimrme
670072fa70 dev
再次网页导航栏修改
    使其画面不割裂
    能够自然呢自适应分辨率

    2025.6.29-1
2025-06-29 05:09:55 +08:00
skimrme
8c9e991c40 dev
网页导航栏修改

2025.6.28-2
2025-06-28 10:14:14 +08:00
skimrme
86b0e52a3e dev
修改部分地址

2025.6.28
2025-06-28 06:23:55 +08:00
21 changed files with 260 additions and 89 deletions

5
.gitignore vendored
View File

@@ -1,2 +1,3 @@
# 数据库 databases/
databases/sqlite/main.db src/
*.db

9
LICENSE Executable file
View File

@@ -0,0 +1,9 @@
MIT License
Copyright (c) 2025 open-green-dam-project
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

10
README.md Executable file
View File

@@ -0,0 +1,10 @@
### 2025.6.28
开始上传git、并且重构
<del>希望很快就好啦</del>
---
**署名**
skimrme

View File

@@ -1 +0,0 @@
# 占位用的、无意义

View File

@@ -6,10 +6,17 @@
<link rel="stylesheet" type="text/css" href="../css/body/style.css"> <link rel="stylesheet" type="text/css" href="../css/body/style.css">
<link rel="stylesheet" type="text/css" href="../css/body/a_url_none.css"> <link rel="stylesheet" type="text/css" href="../css/body/a_url_none.css">
<link rel="stylesheet" type="text/css" href="../css/body/footer.css"> <link rel="stylesheet" type="text/css" href="../css/body/footer.css">
<?php
include "../navbar/header.html";
// 引入页首 header
?>
</head> </head>
<body> <body>
<!-- 页面内容区 --> <!-- 页面内容区 -->
<div id="div_top"> <div>
<?php <?php
//include './navbar/header_li.html'; //include './navbar/header_li.html';
?> ?>
@@ -41,6 +48,10 @@
哈哈哈哈、真是没想到 哈哈哈哈、真是没想到
</b> </b>
</div> </div>
<?php
include '../navbar/footer.html';
// footer
?>
</div> </div>
<!-- 图床来源 https://www.dmoe.cc/ --> <!-- 图床来源 https://www.dmoe.cc/ -->
<div id="div_under"> <div id="div_under">

View File

@@ -7,10 +7,16 @@
<link rel="stylesheet" type="text/css" href="../css/body/a_url_none.css"> <link rel="stylesheet" type="text/css" href="../css/body/a_url_none.css">
<link rel="stylesheet" type="text/css" href="../css/body/footer.css"> <link rel="stylesheet" type="text/css" href="../css/body/footer.css">
<?php
include "../navbar/header.html";
// 引入页首 header
?>
</head> </head>
<body> <body>
<!-- 页面内容区 --> <!-- 页面内容区 -->
<div id="div_top"> <div>
<?php <?php
//include './navbar/header_li.html'; //include './navbar/header_li.html';
?> ?>
@@ -32,7 +38,7 @@
</div> </div>
<div id="div_centent_2"> <div id="div_centent_2">
<?php <?php
$dbPath = '../db/green-dam.db'; // 数据库文件路径 $dbPath = '../../databases/green-dam.db'; // 数据库文件路径
try { try {
// 创建SQLite3对象以连接到数据库 // 创建SQLite3对象以连接到数据库
@@ -66,6 +72,10 @@
} }
?> ?>
</div> </div>
<?php
include '../navbar/footer.html';
// footer
?>
</div> </div>
<!-- 图床来源 https://www.dmoe.cc/ --> <!-- 图床来源 https://www.dmoe.cc/ -->
<div id="div_under"> <div id="div_under">
@@ -75,7 +85,4 @@
<body id="body_img"> <body id="body_img">
</body> </body>
</body> </body>
<?php
include '../navbar/footer.html';
?>
</html> </html>

View File

@@ -1,4 +1,6 @@
body /* body
{ {
background-image: url('./css/body/img/index-img.jpg'); background-image: url('./css/body/img/index-img.jpg');
} } */
/* 弃用 */

View File

@@ -1,4 +1,6 @@
body /* body
{ {
background-image: url('./img/index-img.jpg'); background-image: url('./img/index-img.jpg');
} } */
/* 弃用 */

View File

@@ -39,18 +39,19 @@
/*8888888888888888888888888888888888888888*/ /*8888888888888888888888888888888888888888*/
/* 页面顶上 top */ /* 页面顶上 top */
#div_top /*#div_top
{ {
/* 页面边距 上、右、下、左 */ /* 页面边距 上、右、下、左 */
/* margin: 15px 35px 0px 10%; */ /* margin: 15px 35px 0px 10%; */
background-color: rgba(0, 0, 0, 0.616); /* background-color: rgba(0, 0, 0, 0.616);
position:absolute; left: 7.5%; top: 0%; right: 7.5%; position:absolute; left: 7.5%; top: 0%; right: 7.5%;
color:rgba(0, 0, 0, 0); color:rgba(0, 0, 0, 0);
height: 12%; height: 12%;
} } */
#div_top_navbar_li
/* #div_top_navbar_li
{ {
/* 页面边距 上、右、下、左 */ /* 页面边距 上、右、下、左 */
margin: -63px 0px 0px -8px; /* margin: -63px 0px 0px -8px;
color: rgba(0, 0, 0, 0); color: rgba(0, 0, 0, 0);
} } */

View File

@@ -0,0 +1,7 @@
#div_top_navbar_li
{
/* 页面边距 上、右、下、左 */
margin: -64px 0px 0px 0px;
background-color: rgba(0, 0, 0, 0.433);
list-style:none;
}

View File

@@ -1,2 +1,3 @@
<meta http-equiv="refresh" content="3;url= https://www.ww.3.edu.kg/php/green-dam/"> <!-- 应该不会有人访问的对吗?? -->
<meta http-equiv="refresh" content="3;url= http://0.0.0.0">
变态你打开了什么啊快滚啊qwq 变态你打开了什么啊快滚啊qwq

BIN
public/icon/original.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 KiB

View File

@@ -9,12 +9,19 @@
<link rel="stylesheet" type="text/css" href="css/body/a_url_none.css"> <link rel="stylesheet" type="text/css" href="css/body/a_url_none.css">
<link rel="stylesheet" type="text/css" href="css/body/footer.css"> <link rel="stylesheet" type="text/css" href="css/body/footer.css">
<!-- 引入js ./js/ --> <!-- 引入js ./js/ -->
<?php
include "./navbar/header.html";
// 引入页首 header
?>
</head> </head>
<body> <body>
<!-- 页面内容区 --> <!-- 页面内容区 -->
<div id="div_top"> <div>
<?php <?php
//include './navbar/header_li.html'; //include './navbar/header_li.html';
//已废用
?> ?>
</div> </div>
<div id="div_content"> <div id="div_content">
@@ -24,6 +31,7 @@
<div id="div_1"> <div id="div_1">
<?php <?php
//include './navbar/header_li.html'; //include './navbar/header_li.html';
//已废用
?> ?>
</div> </div>
<div id="div_top_navbar_li"> <div id="div_top_navbar_li">
@@ -40,6 +48,10 @@
感谢各位,考古学家们的挖掘于奉献 感谢各位,考古学家们的挖掘于奉献
</b> </b>
</div> </div>
<?php
include './navbar/footer.html';
// footer
?>
</div> </div>
<!-- 图床来源 https://www.dmoe.cc/ --> <!-- 图床来源 https://www.dmoe.cc/ -->
<div id="div_under"> <div id="div_under">
@@ -50,7 +62,4 @@
</body> </body>
<!-- 图床区 body背景 --> <!-- 图床区 body背景 -->
</body> </body>
<?php
include './navbar/footer.html';
?>
</html> </html>

View File

@@ -1,13 +1,18 @@
<!-- 导航栏页首_div_top_navbar_li --> <!-- 导航栏页首_div_top_navbar_li -->
<link rel="stylesheet" type="text/css" href="../css/body/div_top_navbar_li.css">
<div id="div_top_navbar_li">
<li> <li>
<a id="a_url_none" href="http://0.0.0.0./video">视频</a> <a id="a_url_none" href="https://green-dam.ww3.tw/video/">视频</a>
</li> </li>
<li> <li>
<a id="a_url_none" href="http://0.0.0.0./about/">关于</a> <a id="a_url_none" href="https://green-dam.ww3.tw/about/">关于</a>
</li> </li>
<li> <li>
<a id="a_url_none" href="http://0.0.0.0./bbs/">留言板</a> <a id="a_url_none" href="https://green-dam.ww3.tw/bbs/">留言板</a>
</li> </li>
<li> <li>
<a id="a_url_none" href="http://0.0.0.0./#">上传文件</a> <a id="a_url_none" href="https://green-dam.ww3.tw/#">上传文件</a>
</li> </li>
</div>

View File

@@ -1,4 +1,16 @@
<!-- 导航栏页尾 --> <!-- 导航栏页尾 -->
<footer> <footer>
Copyright ©2025 open-green-dam-project</a> <div id="copyright">
<a>Copyright ©2025 open-green-dam-project</a>
</div>
</footer> </footer>
<style>
#copyright
{
color: rgba(255, 255, 255, 0.438);
/* 页面边距 上、右、下、左 */
margin: 0px 0px -3% 0px;
}
</style>

View File

@@ -1,2 +1,2 @@
<!-- 页面标题 --> <!-- 页面标题 -->
<h1 id="id_green_center" style="margin: 8px;"><a id="a_url_none" href="https://www.ww.3.edu.kg/php/green-dam/">格林达姆-收录小屋<a></h1> <h1 id="id_green_center" style="margin: 8px;"><a id="a_url_none" href="https://green-dam.ww3.tw/">格林达姆-收录小屋<a></h1>

View File

@@ -1,13 +1,3 @@
<!-- 导航栏页首_li --> <!-- 页首 header -->
<li>
<a id="a_url_none" href="../video/">视频</a> <link rel="icon" href="../icon/original.ico" type="image/x-icon"> <!-- 添加网页图标 -->
</li>
<li>
<a id="a_url_none" href="../about/">关于</a>
</li>
<li>
<a id="a_url_none" href="../bbs/">留言板</a>
</li>
<li>
<a id="a_url_none" href="../#">上传文件</a>
</li>

View File

@@ -0,0 +1,39 @@
<!-- 匿名 video 页面 -->
<html>
<head>
<meta charset="utf-8" lang="zh-CN">
<title>green-dam | anonymous video</title>
<link rel="stylesheet" type="text/css" href="../../css/body/body_index.css">
<link rel="stylesheet" type="text/css" href="../../css/body/style.css">
<link rel="stylesheet" type="text/css" href="../../css/body/a_url_none.css">
<link rel="stylesheet" type="text/css" href="../../css/body/footer.css">
<?php
include "nb/icon.html";
// 网页图标
?>
</head>
<body>
<!-- 页面内容区 -->
<!-- 图床来源 https://www.dmoe.cc/ -->
<div id="div_content">
<?php
include '../../navbar/h1_center_green.html';
?>
<?php
include '../navbar/footer.html';
// footer
?>
</div>
<div id="div_under">
<b>图片来源</b><a href="https://www.dmoe.cc/" style="text-decoration-line: none;">樱花二次元图片API</a>
</div>
<!-- 图床区 body背景 -->
<body id="body_img">
</body>
</body>
</html>

View File

@@ -0,0 +1,3 @@
<!-- 页首 header -->
<link rel="icon" href="../../icon/original.ico" type="image/x-icon"> <!-- 添加网页图标 -->

51
public/video/index.php Executable file → Normal file
View File

@@ -7,10 +7,16 @@
<link rel="stylesheet" type="text/css" href="../css/body/a_url_none.css"> <link rel="stylesheet" type="text/css" href="../css/body/a_url_none.css">
<link rel="stylesheet" type="text/css" href="../css/body/footer.css"> <link rel="stylesheet" type="text/css" href="../css/body/footer.css">
<?php
include "../navbar/header.html";
// 引入页首 header
?>
</head> </head>
<body> <body>
<!-- 页面内容区 --> <!-- 页面内容区 -->
<div id="div_top"> <div>
<?php <?php
//include './navbar/header_li.html'; //include './navbar/header_li.html';
?> ?>
@@ -28,39 +34,17 @@
<div id="div_1"> <div id="div_1">
</div> </div>
<div id="div_centent_2"> <div id="div_centent_2">
<div id="video-frame">
<h2><b>视频列表:</b></h2>
<div>
</div>
</div>
</div>
<?php <?php
$dbPath = '../db/green-dam.db'; // 数据库文件路径 include '../navbar/footer.html';
// footer
try {
// 创建SQLite3对象以连接到数据库
$sqlite = new SQLite3($dbPath);
// 关闭数据库连接(虽然在脚本结束时连接通常会自动关闭)
$sqlite->close();
} catch (Exception $e) {
// 捕获异常并输出错误信息
echo "连接失败: " . $e->getMessage();
}
?> ?>
更多视频/视频上传
<!-- 视频上传表单 -->
<div id="div_video_upload">
<form action="upload_video.php" method="post" enctype="multipart/form-data">
<label for="vidio">视频文件:</label>
<input type="file" name="file" id="file"><br>
<input type="submit" name="submit" value="提交">
</form>
<!--div_video_upload css 部分-->
<style>
#div_video_upload
{
color: rgb(0, 0, 0);
font-size: 30px;
}
</style>
<!--div_video_upload css 部分-->
</div>
</div>
</div> </div>
<!-- 图床来源 https://www.dmoe.cc/ --> <!-- 图床来源 https://www.dmoe.cc/ -->
<div id="div_under"> <div id="div_under">
@@ -70,7 +54,4 @@
<body id="body_img"> <body id="body_img">
</body> </body>
</body> </body>
<?php
include '../navbar/footer.html';
?>
</html> </html>

82
public/video/index.php.php Executable file
View File

@@ -0,0 +1,82 @@
<!-- 视频页面 -->
<html>
<head>
<meta charset="utf-8" lang="zh-CN">
<link rel="stylesheet" type="text/css" href="../css/body/body_index.css">
<link rel="stylesheet" type="text/css" href="../css/body/style.css">
<link rel="stylesheet" type="text/css" href="../css/body/a_url_none.css">
<link rel="stylesheet" type="text/css" href="../css/body/footer.css">
<?php
include "../navbar/header.html";
// 引入页首 header
?>
</head>
<body>
<!-- 页面内容区 -->
<div>
<?php
//include './navbar/header_li.html';
?>
</div>
<div id="div_content">
<?php
include '../navbar/h1_center_green.html';
?>
<div id="div_top_navbar_li">
<?php
include "../navbar/div_top_navbar_li.html";
?>
</div>
<!-- sqlite 数据库连接 -->
<div id="div_1">
</div>
<div id="div_centent_2">
<?php
$dbPath = '../../databases/green-dam.db'; // 数据库文件路径
try {
// 创建SQLite3对象以连接到数据库
$sqlite = new SQLite3($dbPath);
// 关闭数据库连接(虽然在脚本结束时连接通常会自动关闭)
$sqlite->close();
} catch (Exception $e) {
// 捕获异常并输出错误信息
echo "连接失败: " . $e->getMessage();
}
?>
更多视频/视频上传
<!-- 视频上传表单 -->
<div id="div_video_upload">
<form action="upload_video.php" method="post" enctype="multipart/form-data">
<label for="vidio">视频文件:</label>
<input type="file" name="file" id="file"><br>
<input type="submit" name="submit" value="提交">
</form>
<!--div_video_upload css 部分-->
<style>
#div_video_upload
{
color: rgb(0, 0, 0);
font-size: 30px;
}
</style>
<!--div_video_upload css 部分-->
</div>
</div>
</div>
<!-- 图床来源 https://www.dmoe.cc/ -->
<div id="div_under">
<b>图片来源</b><a href="https://www.dmoe.cc/" style="text-decoration-line: none;">樱花二次元图片API</a>
</div>
<!-- 图床区 body背景 -->
<body id="body_img">
</body>
</body>
<?php
include '../navbar/footer.html';
?>
</html>