g4를 g5로 변경
This commit is contained in:
@ -4,13 +4,13 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if(!$is_admin && $group['gr_device'] == 'pc')
|
||||
alert($group['gr_subject'].' 그룹은 PC에서만 접근할 수 있습니다.');
|
||||
|
||||
include_once(G4_MOBILE_PATH.'/_head.php');
|
||||
include_once(G5_MOBILE_PATH.'/_head.php');
|
||||
?>
|
||||
|
||||
<!-- 메인화면 최신글 시작 -->
|
||||
<?php
|
||||
// 최신글
|
||||
$sql = " select bo_table, bo_subject from {$g4[board_table]} where gr_id = '{$gr_id}' and bo_list_level <= '{$member[mb_level]}' and bo_device <> 'pc' order by bo_table ";
|
||||
$sql = " select bo_table, bo_subject from {$g5[board_table]} where gr_id = '{$gr_id}' and bo_list_level <= '{$member[mb_level]}' and bo_device <> 'pc' order by bo_table ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
|
||||
@ -24,5 +24,5 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
<!-- 메인화면 최신글 끝 -->
|
||||
|
||||
<?php
|
||||
include_once(G4_MOBILE_PATH.'/_tail.php');
|
||||
include_once(G5_MOBILE_PATH.'/_tail.php');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user