주월간 인기글 스킨 질문
관련링크
https://sir.kr/g5_skin/23396
115회 연결
본문
https://sir.kr/g5_skin/23396 있는 주월간 인기글 스킨 질문 입니다
테마에 불러오는 방법을 모르겠습니다 ㅠㅠ
답변 1
<?php
include_once(G5_LIB_PATH . '/latest_hit.lib.php');
echo latest_week('skin_dir', 'bo_table', 'rows', 'subject_len', 'cache_time', 'options');
?>
sample.php 에 위처럼 되어 있네요
위 두줄 복사해서 원하는곳에 붙여넣기 하시고
echo latest_week('skin_dir', 'bo_table', 'rows', 'subject_len', 'cache_time', 'options');
이 부분을 latest_week('스킨경로', '게사판', '출력수', '제목출력수');
이렇게 하시면 될것 같습니다
스킨경로는 'theme/best' 이렇게 하시면 될듯.. 합니다
답변을 작성하시기 전에 로그인 해주세요.