<?php
$row_adm = sql_fetch(" select count(*) as cnt from $write_table where wr_parent = '{$list[$i][wr_id]}' and wr_is_comment = 1 and mb_id = 'admin' ");
if ($row_adm['cnt']) {
echo "완료";
} else {
echo "대기중";
}
?>
https://sir.kr/qa/320845
경로
skin\board\NB-Basic-report\list\basic\list.skin.php