Compare commits
2 Commits
84053095b4
...
1bacc014b5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1bacc014b5 | ||
|
|
1346c1ca10 |
@@ -48,6 +48,10 @@
|
||||
哈哈哈哈、真是没想到
|
||||
</b>
|
||||
</div>
|
||||
<?php
|
||||
include '../navbar/footer.html';
|
||||
// footer
|
||||
?>
|
||||
</div>
|
||||
<!-- 图床来源 https://www.dmoe.cc/ -->
|
||||
<div id="div_under">
|
||||
|
||||
@@ -72,6 +72,10 @@
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
include '../navbar/footer.html';
|
||||
// footer
|
||||
?>
|
||||
</div>
|
||||
<!-- 图床来源 https://www.dmoe.cc/ -->
|
||||
<div id="div_under">
|
||||
@@ -81,7 +85,4 @@
|
||||
<body id="body_img">
|
||||
</body>
|
||||
</body>
|
||||
<?php
|
||||
include '../navbar/footer.html';
|
||||
?>
|
||||
</html>
|
||||
|
||||
@@ -3,4 +3,5 @@
|
||||
/* 页面边距 上、右、下、左 */
|
||||
margin: -64px 0px 0px 0px;
|
||||
background-color: rgba(0, 0, 0, 0.433);
|
||||
list-style:none;
|
||||
}
|
||||
@@ -48,6 +48,10 @@
|
||||
感谢各位,考古学家们的挖掘于奉献
|
||||
</b>
|
||||
</div>
|
||||
<?php
|
||||
include './navbar/footer.html';
|
||||
// footer
|
||||
?>
|
||||
</div>
|
||||
<!-- 图床来源 https://www.dmoe.cc/ -->
|
||||
<div id="div_under">
|
||||
@@ -58,7 +62,4 @@
|
||||
</body>
|
||||
<!-- 图床区 body背景 -->
|
||||
</body>
|
||||
<?php
|
||||
include './navbar/footer.html';
|
||||
?>
|
||||
</html>
|
||||
@@ -1,4 +1,16 @@
|
||||
<!-- 导航栏页尾 -->
|
||||
<footer>
|
||||
Copyright ©2025 open-green-dam-project</a>
|
||||
</footer>
|
||||
<div id="copyright">
|
||||
<a>Copyright ©2025 open-green-dam-project</a>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
<style>
|
||||
#copyright
|
||||
{
|
||||
color: rgba(255, 255, 255, 0.438);
|
||||
/* 页面边距 上、右、下、左 */
|
||||
margin: 0px 0px -3% 0px;
|
||||
}
|
||||
</style>
|
||||
39
public/video/anonymous/index.php
Normal file
39
public/video/anonymous/index.php
Normal 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>
|
||||
3
public/video/anonymous/nb/icon.html
Executable file
3
public/video/anonymous/nb/icon.html
Executable file
@@ -0,0 +1,3 @@
|
||||
<!-- 页首 header -->
|
||||
|
||||
<link rel="icon" href="../../icon/original.ico" type="image/x-icon"> <!-- 添加网页图标 -->
|
||||
43
public/video/index.php
Executable file → Normal file
43
public/video/index.php
Executable file → Normal file
@@ -34,39 +34,17 @@
|
||||
<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 id="video-frame">
|
||||
<h2><b>视频列表:</b></h2>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
include '../navbar/footer.html';
|
||||
// footer
|
||||
?>
|
||||
</div>
|
||||
<!-- 图床来源 https://www.dmoe.cc/ -->
|
||||
<div id="div_under">
|
||||
@@ -76,7 +54,4 @@
|
||||
<body id="body_img">
|
||||
</body>
|
||||
</body>
|
||||
<?php
|
||||
include '../navbar/footer.html';
|
||||
?>
|
||||
</html>
|
||||
82
public/video/index.php.php
Executable file
82
public/video/index.php.php
Executable 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>
|
||||
Reference in New Issue
Block a user