本文整理汇总了PHP中Display::pageNumber方法的典型用法代码示例。如果您正苦于以下问题:PHP Display::pageNumber方法的具体用法?PHP Display::pageNumber怎么用?PHP Display::pageNumber使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Display
的用法示例。
在下文中一共展示了Display::pageNumber方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: displayFaqList
<div id="faq_contents">
<div class="faq_head">
<span class="faq_head_num">번호</span>
<span class="faq_head_title">제목</span>
</div>
<?php
if ($total_count > 0) {
displayFaqList($faqWork);
}
?>
</div>
<div class="list_page_area" >
<?php
//페이지 번호 구현부
Display::pageNumber($total_count, $faqWork, './faq_list.php', $_GET['tbl_kind'], $_GET['pg_inx']);
?>
</div>
<div id="faq_tool_btns">
<?php
if (DBFaqWork::isWriteTable($_GET['tbl_kind'])) {
?>
<a href="./faq_write_form.php?wtype=1&tbl_kind=<?php
echo $_GET['tbl_kind'];
?>
">
<img src="../../img/board/write_btn.gif" alt="글쓰기">
</a>
<?php
}
?>
示例2: displayBoardList
<!--토탈카운트가 0보다 크면 displayBoardList(brdWork를 넣어)함수를 실행한다 -->
</tbody>
</table>
<div class="board-bottom"> <!-- div 추가 클래스 명은 board-bottom -->
<div class="board-button"> <!-- div 추가 클래스 명은 board-buttom -->
<?php
if (Util::isWriteTable($_GET['tbl_kind'])) {
?>
<!-- Util에 있는 isWriteTable 함수에 tbl_kind를 받는다면 -->
<a class="btn-flow-black" href="./route.php?contents=202&wtype=1&post_id=0&tbl_kind=<?php
echo $_GET['tbl_kind'];
?>
">글쓰기</a> <!-- 클래스명 btn-flow-black지정하고 tbl_kind를 받은 ./route.php?contents=~~를 링크한다 -->
<?php
}
?>
</div>
<div class="board-paging-01"> <!-- div 추가 클래스명은 board-paging-01 -->
<?php
Display::pageNumber($total_count, $brdWork, './route.php', 'contents=' . $_GET['contents'] . '&tbl_kind=' . $_GET['tbl_kind'], $_GET['pg_inx']);
?>
<!--Display에서 pageNuber함수를 호출하고 (토탈카운트, brdWork, ./route.php~~~링크,contents~~~를 받는다. -->
</div>
</div>
</div>
</div>
<?php
$brdWork->destoryWork();
?>
<!-- brdWork는 destoryWork함수를 받는다 -->
示例3: displayPointList
</colgroup>
<thead>
<tr>
<th scope="col">번호</th>
<th scope="col">회사</th>
<th scope="col">상품</th>
<th scope="col">포인트</th>
<th scope="col">사용일</th>
<th scope="col">시작일</th>
<th scope="col">종료일</th>
</tr>
</thead>
<tbody>
<?php
if ($total_count > 0) {
displayPointList($memWork);
}
?>
</tbody>
</table>
<div class="board-bottom">
<div class="board-paging-01">
<?php
Display::pageNumber($total_count, $memWork, './route.php', 'contents=' . $_GET['contents'], $_GET['pg_inx']);
?>
</div>
</div>
</div>
</div>
<?php
$memWork->destoryWork();
示例4: displayBoardList
<?php
if ($total_count > 0) {
displayBoardList($brdWork);
}
?>
<!--토탈카운트가 0보다 크면 displayBoardList(brdWork를 넣어)함수를 실행한다 -->
</tbody>
</table>
</div>
<table class="paging">
<tbody>
<tr>
<?php
Display::pageNumber($total_count, $brdWork, './board_list_faq.php', 'contents=' . $_GET['contents'] . '&tbl_kind=' . $_GET['tbl_kind'] . '&t_idx=' . $_GET['t_idx'], $_GET['pg_inx']);
?>
</tr>
</tbody>
</table>
</div>
<?php
$brdWork->destoryWork();
?>
<!-- brdWork는 destoryWork함수를 받는다 -->
</div>