g4를 g5로 변경
This commit is contained in:
@ -2,8 +2,8 @@
|
||||
define('_INDEX_', true);
|
||||
include_once('./_common.php');
|
||||
|
||||
if (G4_IS_MOBILE) {
|
||||
include_once(G4_MOBILE_PATH.'/index.php');
|
||||
if (G5_IS_MOBILE) {
|
||||
include_once(G5_MOBILE_PATH.'/index.php');
|
||||
return;
|
||||
}
|
||||
|
||||
@ -22,7 +22,7 @@ include_once('./_head.php');
|
||||
<!-- 최신글 시작 { -->
|
||||
<?php
|
||||
// 최신글
|
||||
$sql = " select bo_table from `{$g4['board_table']}` a left join `{$g4['group_table']}` b on (a.gr_id=b.gr_id) where a.bo_device <> 'mobile' order by b.gr_order, a.bo_order ";
|
||||
$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 <> 'mobile' order by b.gr_order, a.bo_order ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
if ($i%2==1) $lt_style = "margin-left:20px";
|
||||
|
||||
Reference in New Issue
Block a user