그룹순서와 게시판순서에 따라 출력이 되도록 수정

This commit is contained in:
gnuboard
2013-04-11 17:34:15 +09:00
parent 2804cede99
commit a4dad4d282
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ include_once('./_head.php');
<!-- 메인화면 최신글 시작 -->
<?
// 최신글
$sql = " select bo_table from {$g4['board_table']} where bo_device <> 'mobile' order by gr_id, bo_table ";
$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 ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
$lt_style = "";