$sql = " select *
from {$cfg[write_table_prefix]}{$bo_table}
where wr_comment = 0
order by wr_id desc limit 0, $rows ";
¼öÁ¤ÈÄ :
$sql = " select *
from {$cfg[write_table_prefix]}{$bo_table}
where wr_comment = 0 or (wr_comment = 0 and wr_notice = -1)
order by wr_notice, wr_id desc limit 0, $rows ";