Exemplo n.º 1
0
		<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 
}
?>
Exemplo n.º 2
0
  <!--토탈카운트가 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함수를 받는다 -->
Exemplo n.º 3
0
			</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();
Exemplo n.º 4
0
					<?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>