게시판 리스트의 page번호 출력이 원하는데로 안나오네요..--;; 정보
게시판 리스트의 page번호 출력이 원하는데로 안나오네요..--;;본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : http://sncagency.com/board/bbs/board.php?bo_table=board03&page=2&page=1
영문사이트라 처음과 맨끝이 아닌 영문으로 출력해야 하는데 list.skin.php 파일에서 아래와 같이 수정한 내용이 적용이 안되네요... 어디서 수정해야하는지 알려주심 감사드립니다.
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height="30" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" align="center">
<? if ($prev_part_href) { echo "<a href='$prev_part_href'>[Priv Search]</a>"; } ?>
<?
// 기본으로 넘어오는 페이지를 아래와 같이 변환하여 이미지로도 출력할 수 있습니다.
//echo $write_pages;
$write_pages = str_replace("First", "◀", $write_pages);
$write_pages = str_replace("Priv", "◁", $write_pages);
$write_pages = str_replace("Next", "▷", $write_pages);
$write_pages = str_replace("End", "▶", $write_pages);
$write_pages = preg_replace("/<span>([0-9]*)<\/span>/", "<b><font style=\"font-family:Arial; font-size:9pt; color:#797979\">$1</font></b>", $write_pages);
$write_pages = preg_replace("/<b>([0-9]*)<\/b>/", "<b><font style=\"font-family:Arial; font-size:9pt; color:orange;\">$1</font></b>", $write_pages);
?>
<? if ($write_pages) {?><strong><?=$write_pages?></strong><?}else{?><font style=\"font-family:Arial; font-size:9pt; color:gray;\">1</font><?}?>
<? if ($next_part_href) { echo "<a href='$next_part_href'>[Next Search]</a>"; } ?>
</td>
</tr>
</table></td>
</tr>
</table>
오류 주소 : http://sncagency.com/board/bbs/board.php?bo_table=board03&page=2&page=1
영문사이트라 처음과 맨끝이 아닌 영문으로 출력해야 하는데 list.skin.php 파일에서 아래와 같이 수정한 내용이 적용이 안되네요... 어디서 수정해야하는지 알려주심 감사드립니다.
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height="30" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" align="center">
<? if ($prev_part_href) { echo "<a href='$prev_part_href'>[Priv Search]</a>"; } ?>
<?
// 기본으로 넘어오는 페이지를 아래와 같이 변환하여 이미지로도 출력할 수 있습니다.
//echo $write_pages;
$write_pages = str_replace("First", "◀", $write_pages);
$write_pages = str_replace("Priv", "◁", $write_pages);
$write_pages = str_replace("Next", "▷", $write_pages);
$write_pages = str_replace("End", "▶", $write_pages);
$write_pages = preg_replace("/<span>([0-9]*)<\/span>/", "<b><font style=\"font-family:Arial; font-size:9pt; color:#797979\">$1</font></b>", $write_pages);
$write_pages = preg_replace("/<b>([0-9]*)<\/b>/", "<b><font style=\"font-family:Arial; font-size:9pt; color:orange;\">$1</font></b>", $write_pages);
?>
<? if ($write_pages) {?><strong><?=$write_pages?></strong><?}else{?><font style=\"font-family:Arial; font-size:9pt; color:gray;\">1</font><?}?>
<? if ($next_part_href) { echo "<a href='$next_part_href'>[Next Search]</a>"; } ?>
</td>
</tr>
</table></td>
</tr>
</table>
댓글 전체
get_pageing(?)함수가 common.lib.php에 있을 것입니다....그부분을 수정을....
ㅎ~~ 거기에 있었네요... 감사합니다.