관리자 코드 체크 및 정리

This commit is contained in:
chicpro
2014-03-26 15:43:55 +09:00
parent a09ad95cc0
commit e61c402067
18 changed files with 30 additions and 37 deletions

View File

@ -195,14 +195,14 @@ if ($w == '') {
$bo_notice = "";
$lf = "";
if ($board['bo_notice']) {
$tmp_array = explode("\n", $board['bo_notice']);
$tmp_array = explode(",", $board['bo_notice']);
for ($i=0; $i<count($tmp_array); $i++) {
$tmp_wr_id = trim($tmp_array[$i]);
$row = sql_fetch(" select count(*) as cnt from {$g5['write_prefix']}{$bo_table} where wr_id = '{$tmp_wr_id}' ");
if ($row['cnt'])
{
$bo_notice .= $lf . $tmp_wr_id;
$lf = "\n";
$lf = ",";
}
}
}