목록하단 페이지.넘버가 않나옵니다.

목록하단 페이지.넘버가 않나옵니다.

QA

목록하단 페이지.넘버가 않나옵니다.

본문

안녕하세요.

그누 스킨을 수정해서 사용하려고 하는데 목록에서 리스트 목록당 개시물이 넘어갔는데도 하단에 페이지 넘버가 나오지 않습니다.

어떻게 해야 하는지요..??

 

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once(G5_LIB_PATH.'/latest_wr.lib.php');
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
?>

<table width="<?=$width?>" align="center">
  <tr>
    <td>
 
<? for ($t=0; $t<count($list); $t++) { ?>
<?
$p_seven = explode("|",$list[$t][wr_7]);
$seven01 = $p_seven[0];
$seven06 = $p_seven[5];
?>
<? } ?>
<!--<?=subject_sort_link('wr_datetime', $qstr2, 1)?>등록일순</a> | <?=subject_sort_link('wr_5', $qstr2, 1)?>가격별</a> | <?=subject_sort_link('seven06', $qstr2, 1)?>주행거리</a> | <?=subject_sort_link('seven01', $qstr2, 1)?>차량연식</a> | <?=subject_sort_link('wr_hit', $qstr2, 1)?>조회순</a>-->

        <table width="100%" cellpadding="0" cellspacing="0" >
          <form name="fboardlist" method="post">
            <input type="hidden" name="bo_table" value="<?=$bo_table?>">
            <input type="hidden" name="sfl"  value="<?=$sfl?>">
            <input type="hidden" name="stx"  value="<?=$stx?>">
            <input type="hidden" name="spt"  value="<?=$spt?>">
            <input type="hidden" name="page" value="<?=$page?>">
            <input type="hidden" name="sw"   value="">
            <tr>
              <td>
<table width="100%" height="32" cellpadding="3" bgcolor="#5C5C5C">
  <tr>
    <td width="110" align="center" class="whites"><font color="#ffffff">사진</font></td>
    <td align="center" class="whites"><font color="#ffffff">차명/차량정보</font></td>
    <td width="50" align="center" class="whites"><font color="#ffffff">연식</font></td>
    <td width="60" align="center" class="whites"><font color="#ffffff">변속기</font></td>
    <td width="70" align="center" class="whites"><font color="#ffffff">주행거리</font></td>
    <td width="80" align="center" class="whites"><font color="#ffffff">가격</font></td>
    <!--td width="40" align="center" class="whites"><font color="#ffffff">비고</font></td-->
  </tr>
</table>

<div style="height:5px"></div>
<table width="100%" cellpadding="0" cellspacing="0" >
<? for ($i=0; $i<count($list); $i++) { ?>
<?

$noimg = $board_skin_path."/img/noimg.gif";

$image = urlencode($list[$i][file][0][file]);

$chk = sql_Fetch("select * from g5_board_file where bo_table='$bo_table' and wr_id='{$list[$i][wr_id]}' ");
if($chk[bf_file]) { $image=$chk[bf_file];
$ori=G5_DATA_PATH."/file/$bo_table/" . $image;
$img=G5_DATA_URL."/file/$bo_table/" . $image;
} else $ori = $noimg;

if($list[$i][car_mission]==1) $list[$i][car_mission]='오토';
if($list[$i][car_mission]==2) $list[$i][car_mission]='수동';
if($list[$i][car_mission]==3) $list[$i][car_mission]='CVT';
if($list[$i][car_mission]==4) $list[$i][car_mission]='세미오토';

/*
$ext = strtolower(substr(strrchr($ori,"."), 1));
if ( $ext=="gif"||$ext=="jpg"||$ext=="jpeg"||$ext=="png"||$ext=="bmp"||$ext=="tif"||$ext=="tiff") $ori_info=getimagesize($ori); else $ori_info="";
if ( $ori_info[2]=="2" || $ori_info[2]=="3" ) {
$thum = $ori.".Thum" ;
} else if ( $ori_info[2]=="1" || $ori_info[2]=="6" || $ori_info[2]=="7" ) {
$thum = $ori ;
} else {
$thum = $noimg ;
}
*/

$p_four = explode("|",$list[$i][wr_4]);
$four01 = $p_four[0];
$four02 = $p_four[1];
$four03 = $p_four[2];
$four04 = $p_four[3];
$four05 = $p_four[4];
$four06 = $p_four[5];
$four07 = $p_four[6];
$four08 = $p_four[7];
$four09 = $p_four[8];
$four10 = $p_four[9];

$p_seven = explode("|",$list[$i][wr_7]);
$seven01 = $p_seven[0];
$seven02 = $p_seven[1];
$seven03 = $p_seven[2];
$seven04 = $p_seven[3];
$seven05 = $p_seven[4];
$seven06 = $p_seven[5];
$seven07 = $p_seven[6];
$seven08 = $p_seven[7];
$seven09 = $p_seven[8];
$seven10 = $p_seven[9];
?>
                  <tr <? if ($list[$i][is_notice]) { ?>bgcolor="#F9F9FF"<? } else if ($wr_id == $list[$i][wr_id]) { ?>bgcolor="#FFF9F9"<? }?>>
                  <td onMouseOver=this.style.backgroundColor='#fafafa' onMouseOut=this.style.backgroundColor=''><table width="100%" cellpadding="3" >
                        <tr align="center">
                          <td width="110" height="90" align="center"> <table cellpadding="2" cellspacing="1" bgcolor="eeeeee" >
                          <tr>
                            <td bgcolor="ffffff"> <a href="<?php echo $list[$i]['href'] ?>">
                    <?php
                    if ($list[$i]['is_notice']) { // 공지사항  ?>
                        <strong style="width:<?php echo $board['bo_gallery_width'] ?>px;height:<?php echo $board['bo_gallery_height'] ?>px">공지</strong>
                    <?php } else {
                        $thumb = get_list_thumbnail2($board['bo_table'], $list[$i]['wr_id'], $board['bo_gallery_width'], $board['bo_gallery_height']);

                        if($thumb['src']) {
                            $img_content = '<img src="'.$thumb['src'].'" alt="'.$thumb['alt'].'" width="'.$board['bo_gallery_width'].'" height="'.$board['bo_gallery_height'].'">';
                        } else {
                            $img_content = '<span style="width:'.$board['bo_gallery_width'].'px;height:'.$board['bo_gallery_height'].'px">no image</span>';
                        }

                        echo $img_content;
                    }
                     ?>
                    </a></td>
                          </tr>
                      </table></td>
                          <td align="left"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <tr>
    <td height="20"><? if ($is_checkbox) { ?><input type=checkbox name=chk_wr_id[] value="<?=$list[$i][wr_id]?>"><? } ?>
<? if ($four09 == "20") { ?><img src="<?=$board_skin_path?>/img/icon_9.gif" border="0" align="absmiddle"> <? } ?>
<? if ($four01 == "20") { ?><img src="<?=$board_skin_path?>/img/icon_1.gif" border="0" align="absmiddle"> <? } elseif ($four02 == "20") {?><img src="<?=$board_skin_path?>/img/icon_2.gif" border="0" align="absmiddle"> <? } ?>
<? if ($four03 == "20") { ?><img src="<?=$board_skin_path?>/img/icon_3.gif" border="0" align="absmiddle"> <? } ?>
<? if ($four04 == "20") { ?><img src="<?=$board_skin_path?>/img/icon_4.gif" border="0" align="absmiddle"> <? } ?>
<a href='<?=$list[$i][href]?>'><span class="text01">
<? if ($list[$i][wr_8] == "브랜드(전체)") { ?><? } else {?><strong><?=$list[$i][wr_8]?></strong><? } ?>
</span></a>
</td>
  </tr>
    <td height="30">
<a href='<?=$list[$i][href]?>'><span class="text01">

<? if ($list[$i][wr_10] == "등급(전체)") { ?><? } else {?><?=$list[$i][wr_10]?><? } ?>
</span></a>
<? if ($four10 == "20") { ?><img src="<?=$board_skin_path?>/img/icon_10.gif" border="0" align="absmiddle"> <? } ?>
</td>
  </tr>
  <tr>
    <td height="20">
<a href='<?=$list[$i][href]?>'><span class="text03"><?=$list[$i][subject]?></span></a>
<?=$list[$i][icon_new]?>
<?=$list[$i][icon_hot]?></td>
  </tr>
</table>
</td>
                          <td width="50" align="center"><?=$seven01?>.<?=$seven02?></td>
                          <td width="60" align="center"><?=$list[$i][car_mission]?></td>
                          <td width="70" align="center"><? if ($list[$i][wr_link1] == "새차") { ?><?=$list[$i][wr_link1]?><? } else {?><?=$seven06?> km<? } ?></td>
                          <td width="80" align="right"><? if ($list[$i][wr_nogood] == "10") { ?><img src="<?=$board_skin_path?>/img/icon_end.gif" border="0" align="absmiddle"><? } else {?><font color='#333333'><strong><?=$list[$i][wr_5]?></strong></font> 만원<? } ?></td>
                          <!--td width="40" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<? if ($four06 == "20") { ?><tr>
    <td height="17" align="center"><img src="<?=$board_skin_path?>/img/icon_6.gif" border="0" align="absmiddle"></td>
  </tr><? } ?>
<? if ($four05 == "20") { ?><tr>
    <td height="17" align="center"><img src="<?=$board_skin_path?>/img/icon_5.gif" border="0" align="absmiddle"></td>
  </tr><? } ?>
<? if ($four07 == "20") { ?><tr>
    <td height="17" align="center"><img src="<?=$board_skin_path?>/img/icon_7.gif" border="0" align="absmiddle"></td>
  </tr><? } ?>
<? if ($four04 == "20") { ?><tr>
    <td height="17" align="center"><img src="<?=$board_skin_path?>/img/icon_4.gif" border="0" align="absmiddle"></td>
  </tr><? } ?>
</table>
</td-->
                        </tr>
                    </table></td>
                  </tr>
                  <tr>
                    <td height="1" bgcolor="eeeeee"></td>
                  </tr>
                  <? } ?>
                  <?php if (count($list) == 0) { echo '<tr><td colspan="'.$colspan.'" class="empty_table">게시물이 없습니다.</td></tr>'; } ?>
              </table></td>
            </tr>
          </form>
      </table>
        </td>
  </tr>
</table>
 

이 질문에 댓글 쓰기 :

답변 1

우선은 관리자 페이지에 가셔서 해당 게시판 설정에서 '카운트 조정' 체크하시고 확인 

답변을 작성하시기 전에 로그인 해주세요.
전체 185
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT