http://www.sir.co.kr/?doc=bbs/gnuboard.php&bo_table=skin3&sselect=ca_id&stext=5&page=2&wr_id=7401
이전 답사기 최신글 스킨을 좀 바꿔봤습니다.
압축을 푸시면 daplatest.lib.php 파일과 daplatest2폴더가 있습니다.
daplatest.lib.php 파일은 ./lib 폴더에 넣으시고 daplatest2 폴더는 ./bbs/skin/latest/ 폴더에 넣으세요.
사용법:
<? daplatest("daplatest2", "게시판명", 출력라인수, 출력 이미지수, 33);?>
latest.skin.php 154번째줄에 <? if (($j+1)%4 == 0){ ?></tr><tr><?}?>에서
한줄에 몇개씩 이미지를 출력할것인지 수정하시면 됩니다.
예제:
main.php에서 <? daplatest("daplatest2", "dap", 2, 15, 33);?>
latest.skin.php 154번째줄에 <? if (($j+1)%5 == 0){ ?></tr><tr><?}?>에서
5로 바꿔주시면 15개 출력이미지를 한줄에 5개씩 출력됩니다.
http://linuxi.wowdns.com에서 적용시킨 최신글을 보실수 있습니다.
이전 답사기 최신글 스킨을 좀 바꿔봤습니다.
압축을 푸시면 daplatest.lib.php 파일과 daplatest2폴더가 있습니다.
daplatest.lib.php 파일은 ./lib 폴더에 넣으시고 daplatest2 폴더는 ./bbs/skin/latest/ 폴더에 넣으세요.
사용법:
<? daplatest("daplatest2", "게시판명", 출력라인수, 출력 이미지수, 33);?>
latest.skin.php 154번째줄에 <? if (($j+1)%4 == 0){ ?></tr><tr><?}?>에서
한줄에 몇개씩 이미지를 출력할것인지 수정하시면 됩니다.
예제:
main.php에서 <? daplatest("daplatest2", "dap", 2, 15, 33);?>
latest.skin.php 154번째줄에 <? if (($j+1)%5 == 0){ ?></tr><tr><?}?>에서
5로 바꿔주시면 15개 출력이미지를 한줄에 5개씩 출력됩니다.
http://linuxi.wowdns.com에서 적용시킨 최신글을 보실수 있습니다.
댓글을 작성하시려면 로그인이 필요합니다.
댓글 12개
감사합니다