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
d17d3626
Commit
d17d3626
authored
Apr 27, 2018
by
汪波
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/test' into test
parents
b42ada3b
794f53b9
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
766 additions
and
27 deletions
+766
-27
indexloginstatus.php
e/member/login/indexloginstatus.php
+26
-23
index_dev.html
index_dev.html
+8
-4
index_prod.html
index_prod.html
+492
-0
index_test.html
index_test.html
+240
-0
No files found.
e/member/login/indexloginstatus.php
View file @
d17d3626
...
@@ -4,31 +4,34 @@ require(__DIR__ . "/../../class/db_sql.php");
...
@@ -4,31 +4,34 @@ require(__DIR__ . "/../../class/db_sql.php");
require
(
__DIR__
.
"/../../member/class/user.php"
);
require
(
__DIR__
.
"/../../member/class/user.php"
);
require
(
__DIR__
.
"/../../class/q_functions.php"
);
require
(
__DIR__
.
"/../../class/q_functions.php"
);
$iscas
=
getcvar
(
'mlcas'
);
$iscas
=
getcvar
(
'mlcas'
);
if
(
$iscas
)
{
if
(
$iscas
)
{
$link
=
db_connect
();
$link
=
db_connect
();
$empire
=
new
mysqlquery
();
$empire
=
new
mysqlquery
();
$user
=
islogin
();
$user
=
islogin
();
$ucid
=
$user
[
'ucid'
];
$ucid
=
$user
[
'ucid'
];
}
?>
<?php
$isShow
=
true
;
if
(
time
()
>
strtotime
(
'2018-05-01 00:00:00'
)
&&
time
()
<=
strtotime
(
'2018-05-10 23:59:59'
))
{
$isShow
=
true
;
}
}
?>
?>
<?php
if
(
!
$iscas
)
{
?>
<?php
if
(
!
$iscas
)
{
?>
$(function(){
$(function(){
<!-- $(".books").attr("href", "/e/member/login");-->
<?php
if
(
$isShow
)
{
?>
showRedpack();
showRedpack();$("#invite-main").attr("style", "display:block;");
$("#loginGits").attr("style", "display:block;");
<?php
}
?>
});
<!-- $(".books").attr("href", "/e/member/login");-->
$("#loginGits").attr("style", "display:block;"); });
<?php
}
else
{
?>
<?php
}
else
{
?>
showRedpack("
<?=
$ucid
?>
");
var zhugeCheckRunHandler = false;
<?php
if
(
$isShow
)
{
?>
function zhugeCheckRun(){
showRedpack("
<?=
$ucid
?>
");$("#invite-main").attr("style", "display:block;");
if(!window.zhuge){
<?php
}
?>
zhugeCheckRunHandler = setTimeout(zhugeCheckRun,500);
}else{
var zhugeCheckRunHandler = false; function zhugeCheckRun(){ if(!window.zhuge){ zhugeCheckRunHandler = setTimeout(zhugeCheckRun,500); }else{ clearTimeout(zhugeCheckRunHandler); window.zhuge.identify("
<?=
$ucid
?>
"); } } zhugeCheckRun();
clearTimeout(zhugeCheckRunHandler);
<?php
}
?>
window.zhuge.identify("
<?=
$ucid
?>
");
\ No newline at end of file
}
}
zhugeCheckRun();
<?php
}
?>
bb
.html
→
index_dev
.html
View file @
d17d3626
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
</div>
</div>
<div
class=
"enter-img"
>
<div
class=
"enter-img"
>
<a
href=
"[!--temp.ucenterurl--]invite-redpack/index"
><img
src=
"/skin/default/images/enter.png"
></a>
<a
href=
"[!--temp.ucenterurl--]invite-redpack/index"
id=
"invite-redpack"
><img
src=
"/skin/default/images/enter.png"
></a>
</div>
</div>
<div
class=
"recommend-info"
>
<div
class=
"recommend-info"
>
...
@@ -213,8 +213,7 @@
...
@@ -213,8 +213,7 @@
}
}
</style>
</style>
<div
class=
"red-packet"
id=
"redpack"
style=
"display: none"
>
<div
class=
"red-packet"
id=
"redpack"
style=
"display: none"
></div>
</div>
<script
src=
"[!--news.url--]e/member/login/logincas.php"
></script>
<script
src=
"[!--news.url--]e/member/login/logincas.php"
></script>
<script
type=
'text/javascript'
src=
"[!--news.url--]skin/default/js/swiper.min.js"
></script>
<script
type=
'text/javascript'
src=
"[!--news.url--]skin/default/js/swiper.min.js"
></script>
...
@@ -378,7 +377,12 @@
...
@@ -378,7 +377,12 @@
};
};
function
inviteRedpack
()
{
function
inviteRedpack
()
{
window
.
location
.
href
=
"[!--temp.ucenterurl--]invite-redpack/index"
;
if
(
!
/Android|webOS|iPhone|iPod|BlackBerry/i
.
test
(
navigator
.
userAgent
)){
window
.
location
.
href
=
"http://a.app.qq.com/o/simple.jsp?pkgname=com.wxhkj.weixiuhui&ckey=CK1391535911216"
;
}
else
{
window
.
location
.
href
=
"[!--temp.ucenterurl--]invite-redpack/index"
;
}
}
}
$
(
function
()
{
$
(
function
()
{
...
...
index_prod.html
0 → 100644
View file @
d17d3626
This diff is collapsed.
Click to expand it.
aa
.html
→
index_test
.html
View file @
d17d3626
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