그누보드5 게시판목록에 작성자를 출력하고싶습니다.
Copy
<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>
이렇게 추가했는데
아래 그림처럼 뜨네요...

답변 1개
devdev
2015-12-07 (월) 01:06:45
<?php echo $list[$i]['wr_name']; ?> 이것은 그 위치가 아닙니다.(작성자 글자는 남겨두셔야함)
이것을 삭제하시고..
더 아래로 내려가시면
<td><?php echo $list[$i]['wr_datetime']; ?></td> 이것과 비슷한 부분이 있을 겁니다.
그 앞에 이렇게 넣으시면 될듯 합니다.
<td><?php echo $list[$i]['wr_name']; ?></td>
답변을 작성하려면 로그인이 필요합니다.