답변 2개 / 댓글 1개
채택된 답변
+20 포인트
스킨 파일 상단에 적용
* /mobile/skin/board/[적용스킨]/list.skin.php, view.skin.php
Copy
<?php
if (!$is_admin) {
$write_table = $g5['write_prefix'] . $bo_table;
$sql = "select count(*) as cnt from {$write_table} where mb_id = '{$member['mb_id']}' and wr_is_comment = 0";
$row = sql_fetch($sql);
if ($row['cnt'] > 1) {
$write_href = '';
}
}
답변을 작성하려면 로그인이 필요합니다.