그누보드5 게시판목록에 작성자를 출력하고싶습니다.

그누보드5 게시판목록에 작성자를 출력하고싶습니다.

QA

그누보드5 게시판목록에 작성자를 출력하고싶습니다.

답변 1

본문


 
       <thead>
        <tr>
            <?php if ($is_checkbox) { ?>
            <th scope="col">
                <label for="chkall">현재 페이지 게시물 전체</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"><?php echo subject_sort_link('wr_datetime', $qstr2, 1) ?>날짜</a></th>
        </tr>
        </thead>
 

 

list.skin 열어서

제목밑에

<th scope="col"><?php echo $list[$i]['wr_name']; ?>작성자</th>

이렇게 추가했는데

아래 그림처럼 뜨네요...

 

d69efd65a42a96eff66911364a8de91e_1449405919_2656.png

 

 

이 질문에 댓글 쓰기 :

답변 1

<?php echo $list[$i]['wr_name']; ?>  이것은 그 위치가 아닙니다.(작성자 글자는 남겨두셔야함)

이것을 삭제하시고..

더 아래로 내려가시면

<td><?php echo $list[$i]['wr_datetime']; ?></td>  이것과 비슷한 부분이 있을 겁니다.

그 앞에 이렇게 넣으시면 될듯 합니다.

<td><?php echo $list[$i]['wr_name']; ?></td>

 

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 129,100
© SIRSOFT
현재 페이지 제일 처음으로