dev
2025.7.5-1
修改:
1.导航栏的显示问题
2.著作所有的显示层
新计划:
1.完善video页面
2.恢复公网访问
署名: SkimrMe_
This commit is contained in:
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>
|
||||
Reference in New Issue
Block a user