From 6719c4fbe8c24f238c2192830ef4c22faf3563ef Mon Sep 17 00:00:00 2001 From: skimrme Date: Fri, 27 Jun 2025 16:16:53 +0800 Subject: [PATCH] Original commit -----------2025.6.27 skimrme --- .gitignore | 2 + public/about/index.php | 56 +++++++++++++++++++ public/bbs/index.php | 81 ++++++++++++++++++++++++++++ public/css/body/a_url_none.css | 6 +++ public/css/body/background-color.css | 4 ++ public/css/body/background-image.css | 4 ++ public/css/body/body_index.css | 56 +++++++++++++++++++ public/css/body/footer.css | 9 ++++ public/css/body/style.css | 21 ++++++++ public/db/index.php | 2 + public/index.php | 56 +++++++++++++++++++ public/navbar/div_top_navbar_li.html | 13 +++++ public/navbar/footer.html | 4 ++ public/navbar/h1_center_green.html | 2 + public/navbar/header.html | 13 +++++ public/video/index.php | 76 ++++++++++++++++++++++++++ public/video/upload_video.php | 0 17 files changed, 405 insertions(+) create mode 100644 .gitignore create mode 100755 public/about/index.php create mode 100755 public/bbs/index.php create mode 100755 public/css/body/a_url_none.css create mode 100755 public/css/body/background-color.css create mode 100755 public/css/body/background-image.css create mode 100755 public/css/body/body_index.css create mode 100755 public/css/body/footer.css create mode 100755 public/css/body/style.css create mode 100755 public/db/index.php create mode 100755 public/index.php create mode 100755 public/navbar/div_top_navbar_li.html create mode 100755 public/navbar/footer.html create mode 100755 public/navbar/h1_center_green.html create mode 100755 public/navbar/header.html create mode 100755 public/video/index.php create mode 100755 public/video/upload_video.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..441906d --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +databases/ +*.db diff --git a/public/about/index.php b/public/about/index.php new file mode 100755 index 0000000..266ed16 --- /dev/null +++ b/public/about/index.php @@ -0,0 +1,56 @@ + + + + + + + + + + + +
+ +
+
+ + +
+ +
+
+ +
+
+ +

+ about | 关于 +

+ #2025.4.2 +
+ 本小站成立于2025.4.1日,正好是愚人节呢 +
+ 哈哈哈哈、真是没想到 +
+
+
+ +
+ 图片来源樱花二次元图片API +
+ + + + + + \ No newline at end of file diff --git a/public/bbs/index.php b/public/bbs/index.php new file mode 100755 index 0000000..0335ca7 --- /dev/null +++ b/public/bbs/index.php @@ -0,0 +1,81 @@ + + + + + + + + + + + + +
+ +
+
+ + +
+ +
+
+ +
+
+ "; + + // 执行查询 + $result = $sqlite->query('SELECT * FROM bbs_anonymous'); + + // 检查查询是否成功 + if (!$result) { + die('查询失败: ' . $sqlite->lastErrorMsg()); + } + echo "今日匿名"; + echo '
'; + echo '
'; + // 遍历结果集并输出 + while ($row = $result->fetchArray(SQLITE3_ASSOC)) { + // 假设表中有id, name, email字段,这里根据您的实际字段进行修改 + echo 'id: ' . htmlspecialchars($row['id']) . '
'; + echo 'name: ' . htmlspecialchars($row['name']) . '
'; + echo 'content: ' . htmlspecialchars($row['content']) . '
'; + echo 'time: ' . htmlspecialchars($row['time']) . '

'; + } + + // 关闭数据库连接(虽然在脚本结束时连接通常会自动关闭) + $sqlite->close(); + } catch (Exception $e) { + // 捕获异常并输出错误信息 + echo "连接失败: " . $e->getMessage(); + } + ?> +
+
+ +
+ 图片来源樱花二次元图片API +
+ + + + + + diff --git a/public/css/body/a_url_none.css b/public/css/body/a_url_none.css new file mode 100755 index 0000000..1f66b02 --- /dev/null +++ b/public/css/body/a_url_none.css @@ -0,0 +1,6 @@ +#a_url_none +{ + text-decoration-line: none; + color: rgba(27, 255, 95, 0.64); +} +/*8888888888888888888888888888888888888888*/ \ No newline at end of file diff --git a/public/css/body/background-color.css b/public/css/body/background-color.css new file mode 100755 index 0000000..8689513 --- /dev/null +++ b/public/css/body/background-color.css @@ -0,0 +1,4 @@ +body +{ + background-image: url('./css/body/img/index-img.jpg'); +} \ No newline at end of file diff --git a/public/css/body/background-image.css b/public/css/body/background-image.css new file mode 100755 index 0000000..22b0483 --- /dev/null +++ b/public/css/body/background-image.css @@ -0,0 +1,4 @@ +body +{ + background-image: url('./img/index-img.jpg'); +} \ No newline at end of file diff --git a/public/css/body/body_index.css b/public/css/body/body_index.css new file mode 100755 index 0000000..70f8869 --- /dev/null +++ b/public/css/body/body_index.css @@ -0,0 +1,56 @@ +/* 图床配置css */ +#body_img +{ + /* 引入图床 https://www.dmoe.cc/ */ + background-image :url(https://www.dmoe.cc/random.php); + background-size: cover; + background-repeat: no-repeat; + margin: 0; + height: 100vh; +} +/*8888888888888888888888888888888888888888*/ + +/* 页面内容 css */ +#div_content +{ + background-color: rgba(0, 0, 0, 0.68); + width: 85%; + height: 100%; + margin: auto; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; +} +#div_centent_2 +{ + /* 页面边距 上、右、下、左 */ + margin: 60px 35px 0px 35px; + color: rgb(255, 0, 0); + background-color: rgba(132, 132, 255, 0.096); +} + +#div_1 +/* 页面边距 上、右、下、左 */ +{ + margin: 0px 35px 0px 35px; +} +/*8888888888888888888888888888888888888888*/ + +/* 页面顶上 top */ +#div_top +{ + /* 页面边距 上、右、下、左 */ + /* margin: 15px 35px 0px 10%; */ + background-color: rgba(0, 0, 0, 0.616); + position:absolute; left: 7.5%; top: 0%; right: 7.5%; + color:rgba(0, 0, 0, 0); + height: 12%; +} +#div_top_navbar_li +{ + /* 页面边距 上、右、下、左 */ + margin: -63px 0px 0px -8px; + color: rgba(0, 0, 0, 0); +} \ No newline at end of file diff --git a/public/css/body/footer.css b/public/css/body/footer.css new file mode 100755 index 0000000..c706062 --- /dev/null +++ b/public/css/body/footer.css @@ -0,0 +1,9 @@ +/* 页尾 css */ +footer{ + color: rgb(0, 0, 0); + position: fixed; + right: 42%; + bottom: 20px; + z-index: 9999; +} +/*8888888888888888888888888888888888888888*/ \ No newline at end of file diff --git a/public/css/body/style.css b/public/css/body/style.css new file mode 100755 index 0000000..2ad728c --- /dev/null +++ b/public/css/body/style.css @@ -0,0 +1,21 @@ + /* 图床来源页面css */ + #div_under + { + color: rgb(0, 0, 0); + position: fixed; + right: 20px; + bottom: 20px; + z-index: 9999; + } + #id_green_center + { + text-align: center; + color: rgb(35, 255, 27); + } + /*8888888888888888888888888888888888888888*/ + + + + + + diff --git a/public/db/index.php b/public/db/index.php new file mode 100755 index 0000000..5e05a62 --- /dev/null +++ b/public/db/index.php @@ -0,0 +1,2 @@ + +变态,你打开了什么啊,快滚啊qwq \ No newline at end of file diff --git a/public/index.php b/public/index.php new file mode 100755 index 0000000..d3a0bcb --- /dev/null +++ b/public/index.php @@ -0,0 +1,56 @@ + + + + + green-dam + + + + + + + + + +
+ +
+
+ +
+ +
+
+ +
+
+ + 格林达姆-收录小屋、顾名思义,就是收录关于格林达姆——绿坝娘的文件,数据,音频,图片,视频的小站 +
+ 同时,致力于保护互联网的即将消失的数据 +
+ 感谢各位,考古学家们的挖掘于奉献 +
+
+
+ +
+ 图片来源樱花二次元图片API +
+ + + + + + + \ No newline at end of file diff --git a/public/navbar/div_top_navbar_li.html b/public/navbar/div_top_navbar_li.html new file mode 100755 index 0000000..d5a9a8a --- /dev/null +++ b/public/navbar/div_top_navbar_li.html @@ -0,0 +1,13 @@ + +
  • + 视频 +
  • +
  • + 关于 +
  • +
  • + 留言板 +
  • +
  • + 上传文件 +
  • diff --git a/public/navbar/footer.html b/public/navbar/footer.html new file mode 100755 index 0000000..68ffc9e --- /dev/null +++ b/public/navbar/footer.html @@ -0,0 +1,4 @@ + + \ No newline at end of file diff --git a/public/navbar/h1_center_green.html b/public/navbar/h1_center_green.html new file mode 100755 index 0000000..4df4339 --- /dev/null +++ b/public/navbar/h1_center_green.html @@ -0,0 +1,2 @@ + +

    格林达姆-收录小屋

    \ No newline at end of file diff --git a/public/navbar/header.html b/public/navbar/header.html new file mode 100755 index 0000000..84bc71e --- /dev/null +++ b/public/navbar/header.html @@ -0,0 +1,13 @@ + +
  • + 视频 +
  • +
  • + 关于 +
  • +
  • + 留言板 +
  • +
  • + 上传文件 +
  • \ No newline at end of file diff --git a/public/video/index.php b/public/video/index.php new file mode 100755 index 0000000..0d70365 --- /dev/null +++ b/public/video/index.php @@ -0,0 +1,76 @@ + + + + + + + + + + + + +
    + +
    +
    + +
    + +
    + +
    +
    +
    + close(); + } catch (Exception $e) { + // 捕获异常并输出错误信息 + echo "连接失败: " . $e->getMessage(); + } + ?> + 更多视频/视频上传 + +
    +
    + +
    + +
    + + + +
    +
    +
    + +
    + 图片来源樱花二次元图片API +
    + + + + + + \ No newline at end of file diff --git a/public/video/upload_video.php b/public/video/upload_video.php new file mode 100755 index 0000000..e69de29