채택완료

기본 게시판의 번호를 삭제하고 싶어서요

2016-09-08 (목) 07:59:01 2,866

게시판에 왼쪽에 번호가 나오는데요

이 번호를 삭제하려고하는데요

아래 list.skin.php에서 2개 라인을 리마크한 상태입니다.

64라인 <th scope="col">번호</th>를 삭제 혹은 리마크 

84라인  <td class="td_num"> 를 삭제 혹은 리마크

82b0eaaee59b91478638bc06e4a5d92d_1473289077_9314.png 

위와 같이 4,3,2,1 이런것들이 생기는데...어떻게 하면 될까요?

Copy
<div class="tbl_head01 tbl_wrap">        <table>        <caption><?php echo $board['bo_subject'] ?> 목록</caption>        <thead>        <tr>            <!--<th scope="col">번호</th>-->            <?php if ($is_checkbox) { ?>            <th scope="col">                <label for="chkall" class="sound_only">현재 페이지 게시물 전체</label>                <input type="checkbox" id="chkall" onclick="if (this.checked) all_checked(true); else all_checked(false);">            </th>            <?php } ?>            <th scope="col">제목</th>            <th scope="col">글쓴이</th>            <th scope="col"><?php echo subject_sort_link('wr_datetime', $qstr2, 1) ?>날짜</a></th>            <th scope="col"><?php echo subject_sort_link('wr_hit', $qstr2, 1) ?>조회</a></th>            <?php if ($is_good) { ?><th scope="col"><?php echo subject_sort_link('wr_good', $qstr2, 1) ?>추천</a></th><?php } ?>            <?php if ($is_nogood) { ?><th scope="col"><?php echo subject_sort_link('wr_nogood', $qstr2, 1) ?>비추천</a></th><?php } ?>        </tr>        </thead>        <tbody>        <?php        for ($i=0; $i<count($list); $i++) {         ?>        <tr class="<?php if ($list[$i]['is_notice']) echo "bo_notice"; ?>">            <!--<td class="td_num">-->            <?php            if ($list[$i]['is_notice']) // 공지사항                echo '<strong>공지</strong>';            else if ($wr_id == $list[$i]['wr_id'])                echo "<span class=\"bo_current\">열람중</span>";            else                echo $list[$i]['num'];             ?>            </td>
|

답변 2개 / 댓글 2개

채택된 답변
+20 포인트
<tbody>
                <tr class="">
            i<!--<td class="td_num">-->
            3            </td>

----------------------------------------------------------------------
남겨주신 소스중

<!--<td class="td_num">-->             <?php             if ($list[$i]['is_notice']) // 공지사항                 echo '<strong>공지</strong>';             else if ($wr_id == $list[$i]['wr_id'])                 echo "<span class=\"bo_current\">열람중</span>";             else                 echo $list[$i]['num'];              ?>             </td>
이곳에서 <td class="td_num" 부분만 주석 처리가 되었을 뿐
하단 부는 그대로 살아 있는 상태 입니다.
<?php /*
<!--<td class="td_num">-->             <?php             //if ($list[$i]['is_notice']) // 공지사항                 //echo '<strong>공지</strong>';             //else if ($wr_id == $list[$i]['wr_id'])                 //echo "<span class=\"bo_current\">열람중</span>";             //else                 //echo $list[$i]['num'];              ?>             </td>
<?php */?>

복사해서 붙여넣어보세요.

답변에 대한 댓글 1개

감사합니다.

현재 올려주신 소스를 확인할때는 이상이 없을것 같은데

첨부하신 사진과 같이 출력이 된다면 URL을 접속해 어떤 상황인지 직접 보았으면 합니다. 

답변에 대한 댓글 1개

http://t.orangesam.com/b/review01

카페리뷰...basic 스킨입니다.

답변을 작성하려면 로그인이 필요합니다.