This commit is contained in:
teasiu
2025-02-19 15:34:29 +08:00
parent bb74b3b953
commit e86d0583b9
2 changed files with 38 additions and 100 deletions

View File

@@ -1,111 +1,49 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html lang="zh">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta charset="utf-8">
<title>海纳思系统官方通告</title> <meta name="viewport" content="width=device-width, initial-scale=1">
<style> <title>海纳思系统官方通告</title>
body { <meta name="description" content="海纳思系统官方通告页面,提供广告位招租信息及系统使用统计。">
width: 40em; <style>
margin: 0 auto; body {
font-family: Tahoma, Verdana, Arial, sans-serif; max-width: 40em;
} margin: 0 auto;
.content pre{ padding: 20px;
position: relative; font-family: Tahoma, Verdana, Arial, sans-serif;
background-color: #f5f5f5; }
border: 1px solid #ccc; #cookieConsent {
border-radius: 4px; background: #f1f1f1;
padding: 10px; padding: 10px;
} margin: 10px 0;
pre .btn-pre-copy{ border-radius: 4px;
-webkit-user-select: none; }
-moz-user-select: none; </style>
-ms-user-select: none;
-khtml-user-select: none;
user-select: none;
position: absolute;
top: 10px;
right: 12px;
font-size: 12px;
line-height: 1;
cursor: pointer;
color: hsla(0,0%,54.9%,.8);
transition: color .1s;
}
</style>
</head> </head>
<body> <body>
<header>
<h1>海纳思系统官方广告位招租</h1>
</header>
<header> <h2>42000+装机数</h2>
<h1>海纳思系统官方广告位招租</h1> <h2>日活8000+</h2>
</header> <h2>日增约100台</h2>
<h2>要求:符合海纳思服务器的环境需求</h2>
<h2>捐助并投放,与作者共赢!请联系:<a href="mailto:teasiu@163.com">teasiu@163.com</a></h2>
<h2>22000+装机数</h2> <div id="visitCounter"></div>
<h2>日活6000+</h2>
<h2>日增约100台</h2>
<h2>要求:符合海纳思服务器的环境需求</h2>
<h2>捐助并投放,与作者共赢!请联系本站</h2>
<br/>
<br/>
<script language="JavaScript"> <footer>
<!-- 版权 © <span id="currentYear"></span> <a href="https://www.ecoo.top/">www.ecoo.top</a>
var caution = false </footer>
function setCookie(name, value, expires, path, domain, secure) {
var curCookie = name + "=" + escape(value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure" : "")
if (!caution || (name + "=" + escape(value)).length <= 4000)
document.cookie = curCookie
else
if (confirm("Cookie exceeds 4KB and will be cut!"))
document.cookie = curCookie
}
function getCookie(name) {
var prefix = name + "="
var cookieStartIndex = document.cookie.indexOf(prefix)
if (cookieStartIndex == -1)
return null
var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length)
if (cookieEndIndex == -1)
cookieEndIndex = document.cookie.length
return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex))
}
function deleteCookie(name, path, domain) {
if (getCookie(name)) {
document.cookie = name + "=" +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
"; expires=Thu, 01-Jan-70 00:00:01 GMT"
}
}
function fixDate(date) {
var base = new Date(0)
var skew = base.getTime()
if (skew > 0)
date.setTime(date.getTime() - skew)
}
var now = new Date()
fixDate(now)
now.setTime(now.getTime() + 365 * 24 * 60 * 60 * 1000)
var visits = getCookie("counter")
if (!visits)
visits = 1
else
visits = parseInt(visits) + 1
setCookie("counter", visits, now)
document.write("您是到访的第" + visits + "位用户!")
// -->
</script>
<footer>
版权 © <span class="year">2025</span> <a href="http://www.ecoo.top/">www.ecoo.top</a> <script>
</footer> // 动态年份
<br/><br/> document.getElementById('currentYear').textContent = new Date().getFullYear();
</script>
</body> </body>
</html> </html>

View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# scripts for ota update # scripts for ota update
dl_mirrors=("https://www.ecoo.top" "https://dl.ecoo.top") dl_mirrors=("https://www.ecoo.top" "https://www.hinas.top")
readonly COLOUR_RESET='\e[0m' readonly COLOUR_RESET='\e[0m'
declare -A COLORS declare -A COLORS