Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cof_vip
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
houdong
cof_vip
Commits
a6ff7bd1
Commit
a6ff7bd1
authored
Feb 11, 2022
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
baidu统计
parent
7e05460c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
5 deletions
+20
-5
PkTopAction.class.php
app/Lib/Action/Vip/PkTopAction.class.php
+9
-2
footer.html
app/Tpl/Vip/Index/footer.html
+10
-2
index.html
app/Tpl/Vip/PkTop/index.html
+1
-1
No files found.
app/Lib/Action/Vip/PkTopAction.class.php
View file @
a6ff7bd1
...
...
@@ -37,7 +37,7 @@ class PkTopAction extends IdentityAction{
}
}
else
{
//第二次请求
if
(
md5
(
$userIdParam
.
C
(
'login_user_id_salt'
))
==
$key2
||
md5
(
'user_id='
.
$userIdParam
.
C
(
'login_user_id_salt'
)
)
==
$key
)
{
if
(
md5
(
$userIdParam
.
'abcd4321'
)
==
$key2
||
md5
(
'user_id='
.
$userIdParam
.
'abcd4321'
)
==
$key
)
{
$userId
=
$userIdParam
;
}
}
...
...
@@ -218,7 +218,14 @@ class PkTopAction extends IdentityAction{
$this
->
assign
(
'weixin'
,
$weixin
);
$ua
=
strtolower
(
$_SERVER
[
'HTTP_USER_AGENT'
]);
$this
->
assign
(
'hideShiPan'
,
strpos
(
$ua
,
'oppo'
)
||
strpos
(
$ua
,
'huawei_jt'
)
||
strpos
(
$ua
,
'tencent_new_simplify'
)
?
1
:
0
);
$hideShiPan
=
0
;
if
(
strpos
(
$ua
,
'oppo'
)
||
strpos
(
$ua
,
'huawei_jt'
)
||
strpos
(
$ua
,
'xiaomi'
)){
$hideShiPan
=
1
;
}
if
(
I
(
'channel'
)
==
'tencent_new_simplify'
&&
I
(
'version'
)
<
'A3.7.9R'
){
$hideShiPan
=
1
;
}
$this
->
assign
(
'hideShiPan'
,
$hideShiPan
);
$this
->
display
();
}
...
...
app/Tpl/Vip/Index/footer.html
View file @
a6ff7bd1
...
...
@@ -129,8 +129,16 @@ footer 开始
<a
href=
'javascript:;'
id=
"bottomPopImg"
>
2008年被上海证券交易所选为年度投资者教育训练网站
</a>
- 曾为腾讯模拟炒股,网易模拟炒股,中金在线模拟炒股提供软件支持
<script
type=
"text/javascript"
>
var
_bdhmProtocol
=
((
"https:"
==
document
.
location
.
protocol
)
?
" https://"
:
" http://"
);
document
.
write
(
unescape
(
"%3Cscript src='"
+
_bdhmProtocol
+
"hm.baidu.com/h.js%3F14678c95555c4a60bf207c106ffb4058' type='text/javascript'%3E%3C/script%3E"
));
// var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
// document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F14678c95555c4a60bf207c106ffb4058' type='text/javascript'%3E%3C/script%3E"));
var
_hmt
=
_hmt
||
[];
(
function
()
{
var
hm
=
document
.
createElement
(
"script"
);
hm
.
src
=
"https://hm.baidu.com/hm.js?be6b536e55d696417c6ca56f9db0c052"
;
var
s
=
document
.
getElementsByTagName
(
"script"
)[
0
];
s
.
parentNode
.
insertBefore
(
hm
,
s
);
})();
</script>
</span>
</p>
...
...
app/Tpl/Vip/PkTop/index.html
View file @
a6ff7bd1
...
...
@@ -567,7 +567,7 @@
var
scrollHeight
=
$
(
document
).
height
();
//当前页面的总高度
var
clientHeight
=
$
(
this
).
height
();
//当前可视的页面高度
var
totalHeight
=
parseFloat
(
clientHeight
)
+
parseFloat
(
scrollTop
);
if
(
scrollHeight
-
totalHeight
<
4
0
)
{
if
(
scrollHeight
-
totalHeight
<
6
0
)
{
if
(
loading
==
false
)
{
loading
=
true
;
$
(
".loading.l_2"
).
click
();
...
...
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