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
43912cc7
Commit
43912cc7
authored
Nov 24, 2022
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更多大赛
parent
21ab6f16
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
IndexAction.class.php
app/Lib/Action/Vip/IndexAction.class.php
+1
-1
PkTopAction.class.php
app/Lib/Action/Vip/PkTopAction.class.php
+1
-1
moreDs.html
app/Tpl/Vip/Index/moreDs.html
+1
-1
top.html
app/Tpl/Vip/Index/top.html
+3
-3
index.html
app/Tpl/Vip/PkTop/index.html
+1
-1
No files found.
app/Lib/Action/Vip/IndexAction.class.php
View file @
43912cc7
...
...
@@ -239,7 +239,7 @@ class IndexAction extends IdentityAction {
// $groupInfo=M('Group')->field('group_id,web_id,category,name,startTime,endTime')->where(array('group_id'=>$groupId))->find();
$groupInfo
=
M
(
'Group a'
)
->
join
(
'left join cofool_group_info b on a.group_id=b.group_id'
)
->
field
(
'a.group_id,a.web_id,a.category,a.name,startTime,endTime,wechat'
)
->
where
([
'a.group_id'
=>
$groupId
])
->
find
();
$bmContent
=
'您正在报名全民争霸赛,请添加
管理员微信加入【大赛高手交流群】,陪伴
老师微信号:'
.
$groupInfo
[
'wechat'
];
$bmContent
=
'您正在报名全民争霸赛,请添加
陪伴老师微信加入【大赛高手交流群】,
老师微信号:'
.
$groupInfo
[
'wechat'
];
//大赛是否结束
$groupStatus
=
0
;
...
...
app/Lib/Action/Vip/PkTopAction.class.php
View file @
43912cc7
...
...
@@ -542,7 +542,7 @@ class PkTopAction extends IdentityAction{
$field
=
'a.group_id,a.name,question_privacy,reg_answer,a.type,a.web_id,a.capital,a.teamid,a.category,is_open,wechat'
;
$group
=
M
(
'Group a'
)
->
join
(
'left join cofool_group_info b on a.group_id=b.group_id'
)
->
field
(
$field
)
->
where
([
'a.group_id'
=>
$groupId
])
->
find
();
$bmContent
=
'您正在报名全民争霸赛,请添加
管理员微信加入【大赛高手交流群】,陪伴
老师微信号:'
.
$group
[
'wechat'
];
$bmContent
=
'您正在报名全民争霸赛,请添加
陪伴老师微信加入【大赛高手交流群】,
老师微信号:'
.
$group
[
'wechat'
];
if
(
$group
[
'is_open'
]
==
0
){
return
array
(
'status'
=>
0
,
'info'
=>
'当前大赛不允许加入!'
);
...
...
app/Tpl/Vip/Index/moreDs.html
View file @
43912cc7
...
...
@@ -49,7 +49,7 @@
<a
href=
"javascript:;"
class=
"join-btn baoming"
>
报名参赛
</a>
<else/>
<eq
name=
"vo.joinStatus"
value=
"1"
>
<a
href=
"{$Think.config.WWW_URL}/Trade/Stock/index/gid/{$
_GET.gid|default=PRIZE_GROUP_2021
}"
class=
"join-btn"
>
进入交易
</a>
<a
href=
"{$Think.config.WWW_URL}/Trade/Stock/index/gid/{$
vo['group_id']
}"
class=
"join-btn"
>
进入交易
</a>
<else/>
<a
href=
"{$vo.url}"
class=
"join-btn"
target=
"_blank"
>
报名参赛
</a>
</eq>
...
...
app/Tpl/Vip/Index/top.html
View file @
43912cc7
...
...
@@ -38,9 +38,9 @@
<img
src=
"__PUBLIC__/images/2022/gdjj.png"
style=
"width: 78px;position: absolute;right: 20%;top: -20px;"
>
</a>
</div>
<!--gid:{$_GET.gid|default=FINALS_GROUP}-->
<eq
name=
"joinStatus"
value=
"1"
>
<a
href=
"{$Think.config.WWW_URL}/Trade/Stock/index/gid/{$
_GET.gid|default=
PRIZE_GROUP_2021}"
style=
"color:#D80000"
>
<a
href=
"{$Think.config.WWW_URL}/Trade/Stock/index/gid/{$
Think.const.
PRIZE_GROUP_2021}"
style=
"color:#D80000"
>
<div
class=
"white-tab-r"
>
进入交易
</div>
</a>
<else/>
...
...
@@ -49,7 +49,7 @@
</eq>
<gt
name=
"user.userID"
value=
"0"
>
<eq
name=
"joinStatus"
value=
"1"
>
<a
href=
"{$Think.config.WWW_URL}/Trade/Stock/index/gid/{$
_GET.gid|default=
PRIZE_GROUP_2021}"
>
<a
href=
"{$Think.config.WWW_URL}/Trade/Stock/index/gid/{$
Think.const.
PRIZE_GROUP_2021}"
>
<span
class=
"user-photo"
>
{:getPortraitPath($user['userID'],'middle',FALSE,65,65)}
</span>
</a>
<else/>
...
...
app/Tpl/Vip/PkTop/index.html
View file @
43912cc7
...
...
@@ -705,4 +705,4 @@
</script>
</html>
<!--userId:{$user.userID}-userName:{$user.userName}-popType:{$popType}----gid:{$_GET.gid} -->
\ No newline at end of file
<!--userId:{$user.userID}-userName:{$user.userName}-popType:{$popType}-->
\ No newline at end of file
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