コード例 #1
0
        ?>
</td>
									</tr>
									<?php 
    }
    ?>
							<?php 
}
?>
						</tbody>
					</table>
				</div>
				<nav>
					<ul class="pagination">
					<?php 
$allPages = $sparring->pageCount(15);
// 다음부터 수정(a.k.a. 복붙)할때 이부분에 게시판 이름을 수정하면 된다
$pagingStart = $page % 5 == 0 ? $page - 4 : $page - $page % 5 + 1;
?>
					<?php 
echo $page <= 5 ? '' : '<li>
						<a href="index.php?page=' . ($pagingStart - 1) . '" aria-label="Previous">
						<span aria-hidden="true">&laquo;</span>
						</a>
					</li>';
?>
					<?php 
for ($i = $pagingStart; $i < $pagingStart + 5; $i++) {
    if ($i == $allPages + 1) {
        break;
    }
コード例 #2
0
        ?>
</td>
									</tr>
									<?php 
    }
    ?>
							<?php 
}
?>
						</tbody>
					</table>
				</div>
				<nav>
					<ul class="pagination">
					<?php 
$allPages = $review->pageCount(15);
// 다음부터 수정(a.k.a. 복붙)할때 이부분에 게시판 이름을 수정하면 된다
$pagingStart = $page % 5 == 0 ? $page - 4 : $page - $page % 5 + 1;
?>
					<?php 
echo $page <= 5 ? '' : '<li>
						<a href="index.php?page=' . ($pagingStart - 1) . '" aria-label="Previous">
						<span aria-hidden="true">&laquo;</span>
						</a>
					</li>';
?>
					<?php 
for ($i = $pagingStart; $i < $pagingStart + 5; $i++) {
    if ($i == $allPages + 1) {
        break;
    }
コード例 #3
0
        ?>
</td>
									<?php 
    }
    ?>
									</tr>
							<?php 
}
?>
						</tbody>
					</table>
				</div>
				<nav>
					<ul class="pagination">
					<?php 
$allPages = $boxinglecture->pageCount(15);
// 다음부터 수정(a.k.a. 복붙)할때 이부분에 게시판 이름을 수정하면 된다
$pagingStart = $page % 5 == 0 ? $page - 4 : $page - $page % 5 + 1;
?>
					<?php 
echo $page <= 5 ? '' : '<li>
						<a href="index.php?page=' . ($pagingStart - 1) . '" aria-label="Previous">
						<span aria-hidden="true">&laquo;</span>
						</a>
					</li>';
?>
					<?php 
for ($i = $pagingStart; $i < $pagingStart + 5; $i++) {
    if ($i == $allPages + 1) {
        break;
    }
コード例 #4
0
        ?>
</td>
									<?php 
    }
    ?>
									</tr>
							<?php 
}
?>
						</tbody>
					</table>
				</div>
				<nav>
					<ul class="pagination">
					<?php 
$allPages = $freeboard->pageCount(15);
// 다음부터 수정(a.k.a. 복붙)할때 이부분에 게시판 이름을 수정하면 된다
$pagingStart = $page % 5 == 0 ? $page - 4 : $page - $page % 5 + 1;
?>
					<?php 
echo $page <= 5 ? '' : '<li>
						<a href="index.php?page=' . ($pagingStart - 1) . '" aria-label="Previous">
						<span aria-hidden="true">&laquo;</span>
						</a>
					</li>';
?>
					<?php 
for ($i = $pagingStart; $i < $pagingStart + 5; $i++) {
    if ($i == $allPages + 1) {
        break;
    }
コード例 #5
0
        echo $post['nickname'];
        ?>
</span>
										</div>
									</div>
								</a>
							</div>
					<?php 
    }
}
?>
				</div>
				<nav>
					<ul class="pagination">
					<?php 
$allPages = $crossfitlibrary->pageCount(8);
// 다음부터 수정(a.k.a. 복붙)할때 이부분에 게시판 이름을 수정하면 된다
$pagingStart = $page % 5 == 0 ? $page - 4 : $page - $page % 5 + 1;
?>
					<?php 
echo $page <= 5 ? '' : '<li>
						<a href="index.php?page=' . ($pagingStart - 1) . '" aria-label="Previous">
						<span aria-hidden="true">&laquo;</span>
						</a>
					</li>';
?>
					<?php 
for ($i = $pagingStart; $i < $pagingStart + 5; $i++) {
    if ($i == $allPages + 1) {
        break;
    }
コード例 #6
0
        ?>
</td>
									<?php 
    }
    ?>
									</tr>
							<?php 
}
?>
						</tbody>
					</table>
				</div>
				<nav>
					<ul class="pagination">
					<?php 
$allPages = $crossfitlecture->pageCount(15);
// 다음부터 수정(a.k.a. 복붙)할때 이부분에 게시판 이름을 수정하면 된다
$pagingStart = $page % 5 == 0 ? $page - 4 : $page - $page % 5 + 1;
?>
					<?php 
echo $page <= 5 ? '' : '<li>
						<a href="index.php?page=' . ($pagingStart - 1) . '" aria-label="Previous">
						<span aria-hidden="true">&laquo;</span>
						</a>
					</li>';
?>
					<?php 
for ($i = $pagingStart; $i < $pagingStart + 5; $i++) {
    if ($i == $allPages + 1) {
        break;
    }
コード例 #7
0
        echo $post['nickname'];
        ?>
</span>
									</div>
								</div>
							</a>
						</div>
				<?php 
    }
}
?>
			</div>
				<nav>
					<ul class="pagination">
					<?php 
$allPages = $boxinglibrary->pageCount(15);
// 다음부터 수정(a.k.a. 복붙)할때 이부분에 게시판 이름을 수정하면 된다
$pagingStart = $page % 5 == 0 ? $page - 4 : $page - $page % 5 + 1;
?>
					<?php 
echo $page <= 5 ? '' : '<li>
						<a href="index.php?page=' . ($pagingStart - 1) . '" aria-label="Previous">
						<span aria-hidden="true">&laquo;</span>
						</a>
					</li>';
?>
					<?php 
for ($i = $pagingStart; $i < $pagingStart + 5; $i++) {
    if ($i == $allPages + 1) {
        break;
    }
コード例 #8
0
					<div class='panel panel-default' id='item'>
						<div class='panel-body item'>
							<img src='/resources/crossfit.jpg' height='100%'/>
						</div>
						<div class='panel-footer'>
							2호점 오프라인 모임 개최!
						</div>
					</div>
				</div>
			</div>
			-->

			<nav>
				<ul class="pagination">
				<?php 
$allPages = $breatheBoard->pageCount(8);
// 다음부터 수정(a.k.a. 복붙)할때 이부분에 게시판 이름을 수정하면 된다
$pagingStart = $page % 5 == 0 ? $page - 4 : $page - $page % 5 + 1;
?>
				<?php 
echo $page <= 5 ? '' : '<li>
					<a href="index.php?page=' . ($pagingStart - 1) . '" aria-label="Previous">
					<span aria-hidden="true">&laquo;</span>
					</a>
				</li>';
?>
				<?php 
for ($i = $pagingStart; $i < $pagingStart + 5; $i++) {
    if ($i == $allPages + 1) {
        break;
    }
コード例 #9
0
        ?>
</td>
									</tr>
									<?php 
    }
    ?>
							<?php 
}
?>
						</tbody>
					</table>
				</div>
				<nav>
					<ul class="pagination">
					<?php 
$allPages = $diaryboard->pageCount(15);
// 다음부터 수정(a.k.a. 복붙)할때 이부분에 게시판 이름을 수정하면 된다
$pagingStart = $page % 5 == 0 ? $page - 4 : $page - $page % 5 + 1;
?>
					<?php 
echo $page <= 5 ? '' : '<li>
						<a href="index.php?page=' . ($pagingStart - 1) . '" aria-label="Previous">
						<span aria-hidden="true">&laquo;</span>
						</a>
					</li>';
?>
					<?php 
for ($i = $pagingStart; $i < $pagingStart + 5; $i++) {
    if ($i == $allPages + 1) {
        break;
    }