Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
6c74b05a
authored
2018-03-17 21:00:11 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
e81c0ce0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
application/controllers/Work.php
application/controllers/Work.php
View file @
6c74b05
...
...
@@ -207,9 +207,10 @@ class Work extends CI_Controller
$draw
=
$_GET
[
'draw'
];
$data
[
'recordsTotal'
]
=
57
;
$data
[
'recordsFiltered'
]
=
57
;
$start
=
$_GET
[
'start'
]
?
$_GET
[
'start'
]
:
0
;
$data
[
'data'
]
=
array
();
for
(
$i
=
0
;
$i
<
57
;
$i
++
)
{
if
(
$i
>=
(
$draw
-
1
)
&&
$i
<
$draw
*
10
){
if
(
$i
>=
$start
&&
$i
<
$start
+
10
){
$arr
=
array
(
'id'
=>
$i
,
'name'
=>
'小明'
.
$i
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment