Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
s_ibanshou
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋林
s_ibanshou
Commits
db5eee17
Commit
db5eee17
authored
Apr 09, 2018
by
夏彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
行为分析打点
parent
e090ff8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
1 deletion
+47
-1
indexloginstatus.php
e/member/login/indexloginstatus.php
+24
-1
loginstatus.php
e/member/login/loginstatus.php
+23
-0
No files found.
e/member/login/indexloginstatus.php
View file @
db5eee17
<?php
require
(
"../../class/connect.php"
);
require
(
__DIR__
.
"/../../class/db_sql.php"
);
require
(
__DIR__
.
"/../../member/class/user.php"
);
require
(
__DIR__
.
"/../../class/q_functions.php"
);
$iscas
=
getcvar
(
'mlcas'
);
if
(
$iscas
){
$link
=
db_connect
();
$empire
=
new
mysqlquery
();
$user
=
islogin
();
$ucid
=
$user
[
'ucid'
];
}
?>
<?php
if
(
!
$iscas
)
{
?>
$(function(){
$(".books").attr("href", "/e/member/login");
});
<?php
}
?>
<?php
}
else
{
?>
var zhugeCheckRunHandler = false;
function zhugeCheckRun(){
if(!window.zhuge){
zhugeCheckRunHandler = setTimeout(zhugeCheckRun,500);
}else{
clearTimeout(zhugeCheckRunHandler);
if(!$isGuest){
window.zhuge.identify("
<?=
$ucid
?>
");
}
}
}
zhugeCheckRun();
<?php
}
?>
\ No newline at end of file
e/member/login/loginstatus.php
View file @
db5eee17
<?php
require
(
"../../class/connect.php"
);
require
(
__DIR__
.
"/../../class/db_sql.php"
);
require
(
__DIR__
.
"/../../member/class/user.php"
);
require
(
__DIR__
.
"/../../class/q_functions.php"
);
$iscas
=
getcvar
(
'mlcas'
);
if
(
$iscas
){
$link
=
db_connect
();
$empire
=
new
mysqlquery
();
$user
=
islogin
();
$ucid
=
$user
[
'ucid'
];
}
?>
<?php
if
(
!
$iscas
)
{
?>
$(".send-comment").attr("href", "/e/member/login");
<?php
}
else
{
?>
var zhugeCheckRunHandler = false;
function zhugeCheckRun(){
if(!window.zhuge){
zhugeCheckRunHandler = setTimeout(zhugeCheckRun,500);
}else{
clearTimeout(zhugeCheckRunHandler);
if(!$isGuest){
window.zhuge.identify("
<?=
$ucid
?>
");
}
}
}
zhugeCheckRun();
<?php
}
?>
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