Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
footsen
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
40537ea8
authored
3 years ago
by
agan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加ip提示
parent
2717c775
master
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
5 deletions
b/content.html
b/download.html
b2/content.html
b2/download.html
content.html
b/content.html
View file @
40537ea8
...
...
@@ -19,13 +19,20 @@
<div
class=
"errorpPage-box"
>
<h1>
对不起!发生了一些意想不到的错误。
</h1>
<h2>
Sorry, the site now can not be accessed.
</h2>
<p
id=
"userIp"
></p>
<p>
请联系系统管理员进行处理,我们会尽快修复。您可以:
</p>
<div
class=
"errorpPage-operate"
>
<a
href=
"javascript:window.location.reload()"
class=
"operateBtn"
title=
"刷新试试"
>
刷新试试
</a>
<a
href=
"http://www.baidu.com"
class=
"operateBtn"
title=
"返回首页"
>
返回首页
</a>
</div>
</div>
<script>
var
userIp
=
window
.
location
.
search
.
split
(
'?ip='
)[
1
]
if
(
userIp
){
var
dom
=
document
.
getElementById
(
'userIp'
)
dom
.
innerHTML
=
"您当前的ip是"
+
userIp
}
</script>
</body>
...
...
This diff is collapsed.
Click to expand it.
b/download.html
View file @
40537ea8
...
...
@@ -18,7 +18,7 @@
province
=
[
'北京'
,
'天津'
,
'河北'
,
'山西'
,
'内蒙古'
,
'辽宁'
,
'吉林'
,
'深圳'
,
'广州'
,
'杭州'
,
'苏州'
,
'黑龙江'
,
'上海'
,
'江苏'
,
'浙江'
,
'安徽'
,
'福建'
,
'江西'
,
'山东 '
,
'河南'
,
'湖北'
,
'湖南'
,
'广东'
,
'广西'
,
'海南 '
,
'重庆'
,
'四川'
,
'贵州'
,
'云南'
,
'西藏'
,
'陕西'
,
'甘肃'
,
'青海'
,
'宁夏'
,
'新疆'
,
'CHINA'
]
for
(
var
i
=
0
;
i
<
province
.
length
;
i
++
){
if
(
returnCitySN
[
"cname"
].
indexOf
(
province
[
i
])
!=-
1
){
window
.
location
.
href
=
'content.html
'
window
.
location
.
href
=
'content.html
?ip='
+
returnCitySN
[
"cip"
]
}
}
</script>
...
...
This diff is collapsed.
Click to expand it.
b2/content.html
View file @
40537ea8
...
...
@@ -19,13 +19,20 @@
<div
class=
"errorpPage-box"
>
<h1>
对不起!发生了一些意想不到的错误。
</h1>
<h2>
Sorry, the site now can not be accessed.
</h2>
<p
id=
"userIp"
></p>
<p>
请联系系统管理员进行处理,我们会尽快修复。您可以:
</p>
<div
class=
"errorpPage-operate"
>
<a
href=
"javascript:window.location.reload()"
class=
"operateBtn"
title=
"刷新试试"
>
刷新试试
</a>
<a
href=
"http://www.baidu.com"
class=
"operateBtn"
title=
"返回首页"
>
返回首页
</a>
</div>
</div>
<script>
var
userIp
=
window
.
location
.
search
.
split
(
'?ip='
)[
1
]
if
(
userIp
){
var
dom
=
document
.
getElementById
(
'userIp'
)
dom
.
innerHTML
=
"您当前的ip是"
+
userIp
}
</script>
</body>
...
...
This diff is collapsed.
Click to expand it.
b2/download.html
View file @
40537ea8
...
...
@@ -18,7 +18,7 @@
province
=
[
'北京'
,
'天津'
,
'河北'
,
'山西'
,
'内蒙古'
,
'辽宁'
,
'吉林'
,
'深圳'
,
'广州'
,
'杭州'
,
'苏州'
,
'黑龙江'
,
'上海'
,
'江苏'
,
'浙江'
,
'安徽'
,
'福建'
,
'江西'
,
'山东 '
,
'河南'
,
'湖北'
,
'湖南'
,
'广东'
,
'广西'
,
'海南 '
,
'重庆'
,
'四川'
,
'贵州'
,
'云南'
,
'西藏'
,
'陕西'
,
'甘肃'
,
'青海'
,
'宁夏'
,
'新疆'
,
'CHINA'
]
for
(
var
i
=
0
;
i
<
province
.
length
;
i
++
){
if
(
returnCitySN
[
"cname"
].
indexOf
(
province
[
i
])
!=-
1
){
window
.
location
.
href
=
'content.html
'
window
.
location
.
href
=
'content.html
?ip='
+
returnCitySN
[
"cip"
]
}
}
</script>
...
...
This diff is collapsed.
Click to expand it.
content.html
View file @
40537ea8
...
...
@@ -19,13 +19,20 @@
<div
class=
"errorpPage-box"
>
<h1>
对不起!发生了一些意想不到的错误。
</h1>
<h2>
Sorry, the site now can not be accessed.
</h2>
<p
id=
"userIp"
></p>
<p>
请联系系统管理员进行处理,我们会尽快修复。您可以:
</p>
<div
class=
"errorpPage-operate"
>
<a
href=
"javascript:window.location.reload()"
class=
"operateBtn"
title=
"刷新试试"
>
刷新试试
</a>
<a
href=
"http://www.baidu.com"
class=
"operateBtn"
title=
"返回首页"
>
返回首页
</a>
</div>
</div>
<script>
var
userIp
=
window
.
location
.
search
.
split
(
'?ip='
)[
1
]
if
(
userIp
){
var
dom
=
document
.
getElementById
(
'userIp'
)
dom
.
innerHTML
=
"您当前的ip是"
+
userIp
}
</script>
</body>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment