모바일 접속시 모바일용으로 전환

This commit is contained in:
gnuboard
2013-03-07 09:17:17 +09:00
parent 02ecd3555a
commit ddb9cca242
3 changed files with 20 additions and 2 deletions

View File

@ -1,8 +1,13 @@
<?
include_once('./_common.php');
include_once(G4_LIB_PATH.'/latest.lib.php');
$g4['title'] = $group['gr_subject'];
if (G4_IS_MOBILE) {
include_once(G4_MOBILE_PATH.'/group.php');
return;
}
$g4['title'] = $group[gr_subject];
include_once('./_head.php');
?>
@ -17,7 +22,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
// 사용방법
// latest(스킨, 게시판아이디, 출력라인, 글자수);
echo latest('basic', $row[bo_table], 5, 70);
echo latest('basic', $row['bo_table'], 5, 70);
}
?>
<!-- 메인화면 최신글 끝 -->