Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PA1-1617-D3TI107
Project
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Franciskus Partogu Hamonangan Napitupulu
PA1-1617-D3TI107
Commits
e905def1
Commit
e905def1
authored
May 23, 2017
by
Franciskus Partogu Hamonangan Napitupulu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perbaikan pagination
parent
fd127b97
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
24 deletions
+23
-24
allarticle.php
allarticle.php
+12
-13
allbook.php
allbook.php
+11
-11
No files found.
allarticle.php
View file @
e905def1
...
...
@@ -3,7 +3,7 @@
include
'header.php'
;
global
$sql
;
$per_hal
=
5
;
$per_hal
=
6
;
$jumlah_record
=
mysqli_query
(
$koneksi
,
"SELECT * FROM t_artikel"
);
$no
=
1
;
$jum
=
mysqli_num_rows
(
$jumlah_record
);
...
...
@@ -80,20 +80,19 @@
<?php
}
?>
<nav
class=
"numbering"
>
<div
class=
"pagination paging"
>
<?php
for
(
$page
=
1
;
$page
<=
$halaman
;
$page
++
){
?>
<li><a
href=
"?page=
<?php
echo
$page
?>
"
>
<?php
echo
$page
?>
</a></li>
<?php
}
?>
</div>
</nav>
<div
class=
"clearfix"
>
</div>
</div>
<nav
class=
"numbering"
>
<div
class=
"pagination paging"
>
<?php
for
(
$page
=
1
;
$page
<=
$halaman
;
$page
++
){
?>
<li><a
href=
"?page=
<?php
echo
$page
?>
"
>
<?php
echo
$page
?>
</a></li>
<?php
}
?>
</div>
</nav>
</div>
</div>
<!-- gourmet -->
...
...
allbook.php
View file @
e905def1
...
...
@@ -90,19 +90,19 @@
<?php
}
?>
<nav
class=
"numbering"
>
<div
class=
"pagination paging"
>
<?php
for
(
$page
=
1
;
$page
<=
$halaman
;
$page
++
){
?>
<li><a
href=
"?page=
<?php
echo
$page
?>
"
>
<?php
echo
$page
?>
</a></li>
<?php
}
?>
</div>
</nav>
<div
class=
"clearfix"
>
</div>
</div>
<nav
class=
"numbering"
>
<div
class=
"pagination paging"
>
<?php
for
(
$page
=
1
;
$page
<=
$halaman
;
$page
++
){
?>
<li><a
href=
"?page=
<?php
echo
$page
?>
"
>
<?php
echo
$page
?>
</a></li>
<?php
}
?>
</div>
</nav>
</div>
</div>
<!-- gourmet -->
...
...
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