여러 게시판 통합 최근게시물 관련.
본문
위 링크에 남겨진 최근게시물을 적용 했는데요.
한가지...!!
게시물 앞에 '게시판 이름'이 들어가게 하고 싶은데...
예를 들면
[자유게시판] 게시물 제목
방법좀 부탁드립니다.
답변 2
30번행 추가
$qq=sql_query("select bo_table, bo_subject from {$g5['board_table']} where bo_table IN($bo_tables) ");
while($row=sql_fetch_array($qq)) $bsubject[$row['bo_table']]= $row['bo_subject'];
출력
$bo_table = $list[$i]['bo_table'];
echo '['.$bsubject[$bo_table].']';
latest스킨 상단에 다음행을 넣어보세요 (게시판명이 출력되는지 확인)
print_r($bsubject);
답변을 작성하시기 전에 로그인 해주세요.