Merge branch 'master' of github.com:gnuboard/g4s

This commit is contained in:
chicpro
2013-03-07 09:22:59 +09:00
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);
}
?>
<!-- 메인화면 최신글 끝 -->

11
mobile/group.php Normal file
View File

@ -0,0 +1,11 @@
<?
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once(G4_MOBILE_PATH.'/_head.php');
?>
모바일용 게시판 그룹
<?
include_once(G4_MOBILE_PATH.'/_tail.php');
?>

View File

@ -1,4 +1,6 @@
<?
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once(G4_MOBILE_PATH.'/_head.php');
?>