Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOOD
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
whb
10 years ago
Commit
a0b2e3f660c481b1afbe3e2dec3e6ae18b4ccbe8
1 parent
42091890
手机视频
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
website/controller/admin/News.class.php
website/controller/admin/News.class.php
View file @
a0b2e3f
...
...
@@ -13,7 +13,8 @@ class Controller_Admin_News extends Controller_Admin_Base
$limit
=
15
;
$tag
=
$this
->
_request
->
query
(
'tag'
,
''
);
$url_args
=
$conditions
=
array
(
'tag'
=>
$tag
);
$total
=
Facade_News
::
getTotal
(
$tag
);
//手机视频去掉
$total
=
Facade_News
::
getTotal
(
$tag
,
array
(
'手机视频'
));
$pagination
=
new
Lib_Helper_Pagination
(
$total
,
$limit
);
$pagination
->
setParames
(
$url_args
);
$list
=
Facade_News
::
getList
(
$tag
,
$pagination
->
getOffset
(),
$limit
,
array
(
'手机视频'
));
...
...
Please
register
or
login
to post a comment