Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
quxiu
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
quxiu
Commits
004fd035
Commit
004fd035
authored
Mar 28, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
踢人
parent
c82e6f7b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
3 deletions
+68
-3
admin/themes/simplebootx/Admin/Liveing/image.html
+66
-0
application/Admin/Controller/LiveingController.class.php
+2
-3
No files found.
admin/themes/simplebootx/Admin/Liveing/image.html
0 → 100644
View file @
004fd035
<admintpl
file=
"header"
/>
</head>
<body>
<div
class=
"wrap"
>
<ul
class=
"nav nav-tabs"
>
<li
class=
"active"
><a
>
直播封面图审核
</a></li>
</ul>
<form
class=
"well form-search"
method=
"post"
action=
"{:U('Liveing/image')}"
>
时间:
<input
type=
"text"
name=
"start_time"
class=
"js-date date"
value=
"{$formget.start_time}"
style=
"width: 80px;"
autocomplete=
"off"
>
-
<input
type=
"text"
class=
"js-date date"
name=
"end_time"
value=
"{$formget.end_time}"
style=
"width: 80px;"
autocomplete=
"off"
>
关键字:
<input
type=
"text"
name=
"keyword"
style=
"width: 200px;"
value=
"{$formget.keyword}"
placeholder=
"请输入会员id..."
>
<input
type=
"submit"
class=
"btn btn-primary"
value=
"搜索"
>
</form>
<form
method=
"post"
class=
"js-ajax-form"
>
<table
class=
"table table-hover table-bordered"
>
<thead>
<tr>
<th
align=
"center"
>
编号
</th>
<th>
会员昵称
</th>
<th>
直播ID
</th>
<th>
直播状态
</th>
<th>
直播开始时间
</th>
<th>
直播分类
</th>
<th>
房间类型
</th>
<th>
封面图
</th>
<th>
视频类型
</th>
<th>
操作
</th>
</tr>
</thead>
<tbody>
<php>
$islive=array("0"=>"直播结束","1"=>"直播中");$type=array("0"=>"普通房间","1"=>"密码房间","2"=>"门票房间","3"=>"计时房间");
</php>
<foreach
name=
"lists"
item=
"vo"
>
<tr>
<td
align=
"center"
>
{$vo.uid}
</td>
<td>
{$vo['userinfo']['user_nicename']}
</td>
<td>
{$vo['live']['showid']}
</td>
<td>
{$islive[$vo['live']['islive']]}
</td>
<td>
{$vo['live']['starttime']|date="Y-m-d H:i:s",###}
</td>
<td>
{$liveclass[$vo['live']['liveclassid']]}
</td>
<td>
{$type[$vo['live']['type']]}
</td>
<td><a
href=
"{$vo['thumb']}"
target=
"_blank"
><img
width=
"25"
height=
"25"
src=
"{$vo['thumb']}"
/></a></td>
<td><if
condition=
"$vo['live']['anyway'] eq 0"
>
竖屏
<else/>
横屏
</if></td>
<if
condition=
"$vo['isvideo']==1"
>
<td>
<a
href=
"{:U('Liveing/edit',array('uid'=>$vo['uid']))}"
>
编辑
</a>
|
<a
href=
"{:U('Liveing/del',array('uid'=>$vo['uid']))}"
class=
"js-ajax-dialog-btn"
data-msg=
"您确定要删除吗?"
>
删除
</a>
</td>
<else/>
<td></td>
</if>
</tr>
</foreach>
</tbody>
</table>
<div
class=
"pagination"
>
{$page}
</div>
</form>
</div>
<script
src=
"__PUBLIC__/js/common.js"
></script>
</body>
</html>
application/Admin/Controller/LiveingController.class.php
View file @
004fd035
...
@@ -244,13 +244,12 @@ class LiveingController extends AdminbaseController {
...
@@ -244,13 +244,12 @@ class LiveingController extends AdminbaseController {
->
select
();
->
select
();
foreach
(
$lists
as
$k
=>
$v
){
foreach
(
$lists
as
$k
=>
$v
){
$userinfo
=
getUserInfo
(
$v
[
'uid'
]);
$userinfo
=
getUserInfo
(
$v
[
'uid'
]);
$v
[
'thumb'
]
=
get_upload_path
(
$v
[
'thumb'
]);
$v
[
'userinfo'
]
=
$userinfo
;
$v
[
'userinfo'
]
=
$userinfo
;
$v
[
'live'
]
=
M
(
"users_live"
)
->
where
(
"id='
{
$v
[
'uid'
]
}
'"
)
->
find
();
$lists
[
$k
]
=
$v
;
$lists
[
$k
]
=
$v
;
}
}
var_dump
(
$map
,
$lists
);
die
;
$this
->
assign
(
'lists'
,
$lists
);
$this
->
assign
(
'lists'
,
$lists
);
$this
->
assign
(
'formget'
,
$_GET
);
$this
->
assign
(
'formget'
,
$_GET
);
$this
->
assign
(
"page"
,
$page
->
show
(
'Admin'
));
$this
->
assign
(
"page"
,
$page
->
show
(
'Admin'
));
...
...
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