Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新增站点运营时间计时 #4

Merged
merged 1 commit into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,29 @@ <h4 style="color: white;">链接:<a href="https://pd.qq.com/s/a0pnslseu" target=
</p>
</div>
</div>
<div style="color: white;">
Copyright © 2022-2023 红警指战员!
<span id="span"></span>
<script type="text/javascript">
function runtime(){
// 初始时间,日/月/年 时:分:秒
X = new Date("07/03/2023 16:00:00");
Y = new Date();
T = (Y.getTime()-X.getTime());
M = 24*60*60*1000;
a = T/M;
A = Math.floor(a);
b = (a-A)*24;
B = Math.floor(b);
c = (b-B)*60;
C = Math.floor((b-B)*60);
D = Math.floor((c-C)*60);
//信息写入到DIV中
span.innerHTML = "本站已安全运行: "+A+"天"+B+"小时"+C+"分"+D+"秒"
}
setInterval(runtime, 1000);
</script>
</div>
</body>

</html>
23 changes: 23 additions & 0 deletions download.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,29 @@ <h2 style="color:whitesmoke">
</li>
</ul>
</div>
<div style="color: white;">
Copyright © 2022-2023 红警指战员!
<span id="span"></span>
<script type="text/javascript">
function runtime(){
// 初始时间,日/月/年 时:分:秒
X = new Date("07/03/2023 16:00:00");
Y = new Date();
T = (Y.getTime()-X.getTime());
M = 24*60*60*1000;
a = T/M;
A = Math.floor(a);
b = (a-A)*24;
B = Math.floor(b);
c = (b-B)*60;
C = Math.floor((b-B)*60);
D = Math.floor((c-C)*60);
//信息写入到DIV中
span.innerHTML = "本站已安全运行: "+A+"天"+B+"小时"+C+"分"+D+"秒"
}
setInterval(runtime, 1000);
</script>
</div>
</body>

</html>
23 changes: 23 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,29 @@ <h1 class="fontcolor">
<b>Mod</b>版权为 君悦OwO 所有,如对平台进行二次修改,请标注原作者。
</span>
</div>
<div style="color: white;">
Copyright © 2022-2023 红警指战员!
<span id="span"></span>
<script type="text/javascript">
function runtime(){
// 初始时间,日/月/年 时:分:秒
X = new Date("07/03/2023 16:00:00");
Y = new Date();
T = (Y.getTime()-X.getTime());
M = 24*60*60*1000;
a = T/M;
A = Math.floor(a);
b = (a-A)*24;
B = Math.floor(b);
c = (b-B)*60;
C = Math.floor((b-B)*60);
D = Math.floor((c-C)*60);
//信息写入到DIV中
span.innerHTML = "本站已安全运行: "+A+"天"+B+"小时"+C+"分"+D+"秒"
}
setInterval(runtime, 1000);
</script>
</div>
</body>

</html>
23 changes: 23 additions & 0 deletions network.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,29 @@ <h2 style="color: whitesmoke;">
</tbody>
</table>
</div>
<div style="color: white;">
Copyright © 2022-2023 红警指战员!
<span id="span"></span>
<script type="text/javascript">
function runtime(){
// 初始时间,日/月/年 时:分:秒
X = new Date("07/03/2023 16:00:00");
Y = new Date();
T = (Y.getTime()-X.getTime());
M = 24*60*60*1000;
a = T/M;
A = Math.floor(a);
b = (a-A)*24;
B = Math.floor(b);
c = (b-B)*60;
C = Math.floor((b-B)*60);
D = Math.floor((c-C)*60);
//信息写入到DIV中
span.innerHTML = "本站已安全运行: "+A+"天"+B+"小时"+C+"分"+D+"秒"
}
setInterval(runtime, 1000);
</script>
</div>
</body>

</html>
23 changes: 23 additions & 0 deletions uplog.html
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,29 @@ <h2 style="color: whitesmoke;">
1.发布
</span>
</div>
<div style="color: white;">
Copyright © 2022-2023 红警指战员!
<span id="span"></span>
<script type="text/javascript">
function runtime(){
// 初始时间,日/月/年 时:分:秒
X = new Date("07/03/2023 16:00:00");
Y = new Date();
T = (Y.getTime()-X.getTime());
M = 24*60*60*1000;
a = T/M;
A = Math.floor(a);
b = (a-A)*24;
B = Math.floor(b);
c = (b-B)*60;
C = Math.floor((b-B)*60);
D = Math.floor((c-C)*60);
//信息写入到DIV中
span.innerHTML = "本站已安全运行: "+A+"天"+B+"小时"+C+"分"+D+"秒"
}
setInterval(runtime, 1000);
</script>
</div>
</body>

</html>