第一次提交测试 2025.07.20 skimrme

This commit is contained in:
skimrme
2025-07-20 01:52:15 +08:00
parent d533642938
commit 7b6373f474
19 changed files with 444 additions and 0 deletions

0
public/about/index.html Executable file
View File

BIN
public/blog/icon/original.ico Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 KiB

85
public/blog/index.html Executable file
View File

@@ -0,0 +1,85 @@
<html>
<head>
<title>首页 | ww3</title>
<meta charset="utf-8" lang="zh-CN">
<link rel="icon" type="image/x-icon" href="./icon/original.ico">
</head>
<body>
<div id="navbar1">
<table border="0">
<tbody>
<tr>
<td id="td_navbar_40px"><b><a href="https://ww3.tw/" id="url_">首页</a></b></td>
<td id="td_navbar_40px"><b><a href="https://ww3.tw/about/" id="url_">关于</a></b></td>
<td id="td_navbar_75px"><b><a href="https://ww3.tw/jumping-message/" id="url_">弹幕留言</a></b></td>
<td id="td_navbar_75px"><b><a href="https://ww3.tw/short-url/" id="url_">短链生成</a></b></td>
<td id="td_navbar_52px"><b><a href="https://gitea.ww3.tw/" id="url_">gitea</a></b></td>
<td id="td_navbar_135px"><b><a href="https://ww3.tw/docker-registry/" id="url_">docker-registry</a></b></td>
</tr>
</tbody>
</table>
</div>
<!-- 屑站日志 -->
<div id="logs">
<h3>屑站日志:<br></h3>
<font size="3.2">
<table border="0">
<tbody>
<tr>
<td id="td_logs">2025.7.9</td>
<td>建立页面</td>
</tr>
</tbody>
</table>
</font>
</div>
</body>
</html>
<style>
body
{
background-color: rgba(147, 185, 255, 0.644);
}
#url_
{
text-decoration: none;
color: black;
}
#logs
{
height: 220px;
width: 450px;
overflow: auto;
background: #ffffff;
/* up、right、down、left */
margin: 40px 0px 0px 0px;
}
#td_navbar_40px
{
width: 40px;
}
#td_navbar_52px
{
width: 52px;;
}
#td_navbar_75px
{
width: 75px;
}
#td_navbar_135px
{
width: 135px;
}
#td_logs
{
width: 75px;
}
</style>

View File

@@ -0,0 +1,25 @@
<?php
// 1. 定义你的 Docker Registry 地址
// 请将 'http://localhost:5000' 替换为你的实际 Registry 地址。
// 例如:如果你的 Registry 是 'my-registry.io',就改为 'https://my-registry.io'
$registryUrl = "https://regw.ww3.tw/";
// 2. 定义你要获取的 API 端点
// 这个端点用于获取所有仓库列表。
$endpoint = "/v2/_catalog";
// 3. 组合完整的 URL
$fullUrl = $registryUrl . $endpoint;
// 4. 使用 file_get_contents() 获取 JSON 内容
// @ 符号用来抑制可能出现的错误或警告,让输出更干净。
$jsonContent = @file_get_contents($fullUrl);
// 5. 直接输出 JSON 内容
// 如果成功获取到内容,就直接打印出来。
// 如果获取失败会打印一个空字符串或PHP的错误信息如果没用@抑制)。
header('Content-Type: application/json'); // 告诉浏览器这是一个JSON响应
echo $jsonContent;
?>

View File

@@ -0,0 +1,11 @@
<html>
<head>
<title>docker-registry</title>
<meta charset="utf-8" lang="zh-CN">
</head>
<body>
<a href="./all-images/index.php">查看所有镜像</a>
<p>tags/list</p>
</body>
</html>

1
public/index.html Executable file
View File

@@ -0,0 +1 @@
<meta http-equiv="refresh" content="0.1;url=https://open-ww3-project.ww3.tw/blog/">

View File

@@ -0,0 +1,9 @@
<html>
<head>
<title>弹幕留言 | jumping-message</title>
<meta charset="utf-8" lang="zh-CN">
</head>
<body>
</body>
</html>

152
public/message/index.php Normal file
View File

@@ -0,0 +1,152 @@
<html>
<head>
<meta charset="utf-8" lang="zh-CN">
<link rel="stylesheet" type="text/css" href="./static/css/navbar/body_color.css">
<link rel="icon" type="img/icon" href="./static/icon/original.ico">
</head>
<body>
<?php
$title = "Message | 留言";
// title 变量
echo "<title>" . "$title" . "</title>";
// 页面标题
?>
<body id="body_color">
<div id="message_block">
<div id="content_page">
<?php
echo "<h1>欢迎来到 $title</h1>";
// 欢迎语
echo "感谢您的访问" . " " . "<br>" . "顾名思义" . "$title" . "就是用来记录留言的地方";
// 介绍部分
?>
<div id="back_blok">
<!-- 返回主页 -->
<a id="back_url" href="https://ww3.tw/"><b>..返回主页</b></a>
</div>
<div id="message_video">
<br>
<br>
<br>
<br>
<br>
<br>
<h1>
暂无视频
</h1>
</div>
<div id="message_com">
<br>
<br>
<br>
<br>
<br>
<br>
评论展示区
<div id="message_com_black">
发送区
</div>
</div>
</div>
</div>
</body>
</body>
</html>
<!-- php 引入 -->
<?php
include "./static/css/navbar/index-css.html";
// 引入navbar-css
?>
<!-- php 引入 -->
<style>
/* 这里是专属css */
#content_page
{
color: rgb(255, 74, 74);
text-align: left;
font-size: 18px;
}
#message_video
{
background-color: blue;
color: white;
text-align: center;
width: 60%;
height: 69%;
margin: auto;
position: absolute;
top: 22%;
left: 0;
right: 0;
bottom: 0;
/* 页面边距 上、右、下、左 */
margin: 1.89% 0px 0px 0%;
}
#message_com
{
background-color: white;
text-align: center;
width: 33%;
height: 69%;
margin: auto;
position: absolute;
top: 22%;
left: 0;
right: 0;
bottom: 0;
/* 页面边距 上、右、下、左 */
margin: 1.89% 0px 0px 63.8%;
}
#message_com_black
{
background-color: black;
color: white;
width: 100%;
height: 8%;
margin: auto;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
/* 页面边距 上、右、下、左 */
margin: 108% 0px 0px 0%;
}
#back_blok{
/* 返回主页 */
color: rgb(0, 0, 0);
width: 20%;
height: 4%;
margin: auto;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
/* 页面边距 上、右、下、左 */
margin: 4% 0px 0px 36.8%;
}
#back_url
{
color: black;
text-decoration: none;
}
</style>
<script>
//这里是专属js
</script>

49
public/message/index.php.114514 Executable file
View File

@@ -0,0 +1,49 @@
<html>
<head>
<meta charset="utf-8" lang="zh-CN">
<link rel="stylesheet" type="text/css" href="./static/css/body_color.css">
</head>
<body>
<?php
$title = "Message | 留言";
// title 变量
echo "<title>" . "$title" . "</title>";
// 页面标题
?>
<body id="body_color">
<div id="message_block">
<div id="content_page">
<?php
echo "<h1>欢迎来到 $title</h1>";
// 欢迎语
echo "感谢您的访问" . " " . "<br>" . "顾名思义" . "$title" . "就是用来记录留言的地方";
// 介绍部分
?>
</div>
</div>
</body>
</body>
</html>
<!-- php 引入 -->
<?php
include "./static/css/navbar/index-css.html";
// 引入navbar-css
?>
<!-- php 引入 -->
<style>
/* 这里是专属css */
#content_page
{
color: rgb(255, 74, 74);
text-align: left;
font-size: 18px;
}
</style>

52
public/message/index.php.back Executable file
View File

@@ -0,0 +1,52 @@
<html>
<head>
<meta charset="utf-8" lang="zh-CN">
<!-- 引入css -->
<link rel="stylesheet" type="text/css" href="./static/css/body.css">
<?php
include './static/html/content_message.html';
//css 部分 引用 html
?>
<!-- 引入css -->
</head>
<body>
<?php
$title = "message";
//定义变量 title
echo "<title>$title</title>";
// 设定网站抬头
echo "<div id='init'>";
echo "<h1>欢迎来到 $title</h1>";
// 欢迎语
echo "感谢您的访问" . " " . "<br>" . "顾名思义" . "$title" . "就是用来记录留言的地方";
// 介绍部分
echo "</div>";
?>
<div>
<?php
include './static/php/google_translate.php';
// 引入 谷歌翻译
?>
<div id="content_message_block">
</div>
<div id="content_message_video">
</div>
</div>
</body>
</html>
<style>
#init
{
position: fixed;
/* 页面边距 上、右、下、左 */
margin: 70px 0px 0px 0px;
}
</style>

View File

@@ -0,0 +1,4 @@
#body_color
{
background-color: rgba(147, 185, 255, 0.644);
}

View File

@@ -0,0 +1,14 @@
<style>
#message_block
{
background-color: rgba(0, 0, 0, 0.68);
width: 85%;
height: 100%;
margin: auto;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
</style>

View File

@@ -0,0 +1,3 @@
<style>
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 KiB

View File

@@ -0,0 +1,26 @@
<!-- 谷歌翻译 -->
<div id="google_translate_element"></div>
<!-- 翻译选项 -->
<!-- js 部分 -->
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'zh-CN'}, 'google_translate_element');
}
</script>
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<!-- js 部分 -->
<style>
#google_translate_element
{
display: flex;
position: fixed;
/* 页面边距 上、右、下、左 */
margin: -7.6px 0px 0px 0px;
overflow: hidden;
}
</style>
<!-- 谷歌翻译 -->

View File

BIN
public/short-url/icon/icon.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

12
public/short-url/index.php Executable file
View File

@@ -0,0 +1,12 @@
<html>
<head>
<title>short_url | 短链</title>
<meta charset="utf-8" lang="zh-CN">
<link rel="icon" type="image/x-icon" href="./icon/icon.jpg">
</head>
<body>
<h1>
ww3-short-url | 短链
</h1>
</body>
</html>

1
public/short_url/index.php Executable file
View File

@@ -0,0 +1 @@
<meta http-equiv="refresh" content="0.1;url=https://open-ww3-project.ww3.tw/short-url/">