-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
137 lines (120 loc) · 5.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>星空云&StarVM</title>
<link rel="icon" href="https://cloud.starvm.cn/themes/clientarea/zwwhl_user/favicon.png" type="image/png">
<link rel="stylesheet" href="style.css">
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
}
#outer {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
.content {
max-width: 800px;
margin: 20px;
text-align: center;
}
.content p {
margin-bottom: 15px;
text-align: justify;
}
a {
color: #007BFF;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
#footer {
background: #f1f1f1;
text-align: center;
padding: 10px 20px;
font-size: 0.9em;
color: #555;
}
@media (max-width: 600px) {
.content {
padding: 10px;
font-size: 14px;
}
#footer {
font-size: 0.8em;
}
}
</style>
</head>
<body>
<div id="outer">
<div id="wrapper">
<div id="body" class="content" id="content">
<p>嗨,您好!</p>
<p>通过<a href="https://cloud.starvm.cn">星空云</a>(国内站)或<a href="http://www.starvm.top">StarVM</a>(国际站)使用我们的网络服务 优良的国内网络和亚太网络以及服务设施</p>
<p>一切服务将通过星空云&StarVM完成 享受网络带来的乐趣和快捷服务</p>
<p>联系销售定制需求:<a href="https://t.me/XK_cloud">@XK_cloud</a></p>
</div>
</div>
</div>
<div id="footer">
<p>监管核查违规或法律滥用处理:[email protected] | [email protected]</a></p>
<p>Copyright © 2021-2024 All Rights Reserved. 星空云 & StarVM.</p>
</div>
<script data-cfasync="false" src="email-decode.min.js"></script><script>
function getLanguage() {
const lang = navigator.language || navigator.userLanguage;
if (lang.includes('zh-CN')) {
return 'zh-CN';
} else if (lang.includes('zh-TW')) {
return 'zh-TW';
} else {
return 'en';
}
}
function translateContent(lang) {
const content = {
'zh-CN': {
greeting: '嗨,您好!',
message1: '通过<a href="https://cloud.starvm.cn">星空云</a>(国内站)或<a href="http://www.starvm.top">StarVM</a>(国际站)使用我们的网络服务 优良的国内网络和亚太网络以及服务设施',
message2: '一切服务将通过星空云&StarVM完成 享受网络带来的乐趣和快捷服务',
contact: '联系销售定制需求:<a href="https://t.me/XK_cloud">@XK_cloud</a>',
footer: '监管核查违规或法律滥用处理:[email protected] | [email protected]'
},
'zh-TW': {
greeting: '嗨,您好!',
message1: '通過<a href="https://cloud.starvm.cn">星空雲</a>(國內站)或<a href="http://www.starvm.top">StarVM</a>(國際站)使用我們的網絡服務 優良的國內網絡和亞太網絡以及服務設施',
message2: '一切服務將通過星空雲&StarVM完成享受網絡帶來的樂趣和快捷服務',
contact: '聯系銷售定制需求:<a href="https://t.me/XK_cloud">@XK_cloud</a>',
footer: '監管核查違規或法律濫用處理:[email protected] | [email protected]'
},
'en': {
greeting: 'Hi, Hello!',
message1: 'Use our network services through <a href="https://cloud.starvm.cn">星空云</a>(China) or <a href="http://www.starvm.top">StarVM</a>(International) Excellent China-Network and Asia-Pacific networks, as well as service facilities',
message2: 'All services will be completed through 星空云&StarVM to enjoy the fun and fast services brought by the internet',
contact: 'Contact sales for custom needs: <a href="https://t.me/XK_cloud">@XK_cloud</a>',
footer: 'Regulatory review of violations or legal abuse handling: [email protected] | [email protected]'
}
};
document.querySelector('#content p:nth-child(1)').innerHTML = content[lang].greeting;
document.querySelector('#content p:nth-child(2)').innerHTML = content[lang].message1;
document.querySelector('#content p:nth-child(3)').innerHTML = content[lang].message2;
document.querySelector('#content p:nth-child(4)').innerHTML = content[lang].contact;
document.querySelector('#footer').innerHTML = `<p>${content[lang].footer}</p><p>Copyright © 2021-2024 All Rights Reserved. 星空云 & StarVM.</p>`;
}
const userLang = getLanguage();
translateContent(userLang);
</script>
</body>
</html>