5.4 버전 내용 적용

This commit is contained in:
thisgun committed 2019-12-02 10:22:12 +09:00
1 parent b60daff8f0
commit 22aad37bfb
534 files changed
+19867 -17830

No files matched your search

+3 -2
View File
@@ -10,8 +10,9 @@ include_once(G5_THEME_MOBILE_PATH.'/head.php');
$sql = " select bo_table
from `{$g5['board_table']}` a left join `{$g5['group_table']}` b on (a.gr_id=b.gr_id)
where a.bo_device <> 'pc' ";
if(!$is_admin)
if(!$is_admin) {
$sql .= " and a.bo_use_cert = '' ";
}
$sql .= " order by b.gr_order, a.bo_order ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
@@ -20,7 +21,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
// 사용방법
// latest(스킨, 게시판아이디, 출력라인, 글자수);
echo latest('theme/basic', $row['bo_table'], 5, 25);
echo latest('theme/basic', $row['bo_table'], 12, 25);
}
?>
<!-- 메인화면 최신글 끝 -->