최근글 출력시 넘버링을 없애거나 혹은 변경하려면요..? > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

최근글 출력시 넘버링을 없애거나 혹은 변경하려면요..? 정보

최근글 출력시 넘버링을 없애거나 혹은 변경하려면요..?

본문

최근글 스킨에 기본적으로 리스트 넘버링이 되어있는데요..
latest.skin.php 에서 css나 해당 구문을 삭제하거나 주석처리하면
최근글 리스트 정렬이 깨져버립니다. 띄워쓰기 없이 작성한 글처럼요..

그누보드 홈페이지 메인처럼 최근글 넘버링을 없애면서 리스트가 위아래
정렬이 잘 되게하려면 어떻게 손봐야 할까요..
혹은 넘버링 대신 ● or □  이런식의 동일한 글머리표로 할 수도 있을까요?

없애는 방법 한가지만이라도 답변 부탁드릴께요 (__

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>

<style style="text/css">
#latest_list {float:left;border:1px solid #ccc;padding:10px;width:188px}
.latest_line {height:1px; border-top:1px solid #ddd;margin:7px 0;}
.latest_articles ul {list-style-type:none;padding:0;margin:0}
.latest_articles li {list-style-type:none;padding:3px;}
.latest_num_up {font:bold 11px dotum;color:#ddd;}
.latest_num {font:bold 12px dotum;}
#no_article {height:50px;text-align:center;font:normal 11px dotum;color:#999}
</style>

<div id="latest_list">
<div class="latest_title">
<strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong><td><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>/img/more.gif' border=0 align="right"></a></td>
</div><br>
<div class="latest_line"></div>
<div class="latest_articles">
<ul>
<?
for ($i=0; $i<count($list); $i++) {

if($i<2) $class_latest_num="latest_num_up";
else $class_latest_num="latest_num";

echo "<li><span class='{$class_latest_num}'>".($i+1)." </span>";
echo $list[$i]['icon_reply'] . " ";
            echo "<a href='{$list[$i]['href']}'>";
            if ($list[$i]['is_notice'])
                echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i]['subject']}</strong></font>";
            else//최근글 공지지정 리스트 색상
                echo "<font style='font-family:돋움; font-size:10pt; color:#6A6A6A;'>{$list[$i]['subject']}</font>";
            echo "</a>";//최근글 공지 미지정 리스트색상

            if ($list[$i]['comment_cnt'])
                echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i]['comment_cnt']}</span></a>";

            // if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
            // if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }

            echo " " . $list[$i]['icon_new'];
            echo " " . $list[$i]['icon_file'];
            echo " " . $list[$i]['icon_link'];
            echo " " . $list[$i]['icon_hot'];
            echo " " . $list[$i]['icon_secret'];
echo "</li>\n";
}
if (count($list) == 0) { ?><li><p class="no_article">게시물이 없습니다.</p></li><? } ?>
</ul>
</div>
</div>

( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '230670' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )

1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

error file : /15sir/bbs/board.php