|
|
|
20년 전
|
조회 2,431
|
|
|
|
20년 전
|
조회 2,583
|
|
|
|
20년 전
|
조회 1,999
|
|
|
|
20년 전
|
조회 1,878
|
|
|
|
20년 전
|
조회 1,871
|
|
|
|
20년 전
|
조회 2,588
|
|
|
|
20년 전
|
조회 2,710
|
|
|
|
20년 전
|
조회 2,821
|
|
|
|
20년 전
|
조회 1,960
|
|
|
|
20년 전
|
조회 2,312
|
|
|
|
20년 전
|
조회 2,281
|
|
|
|
20년 전
|
조회 2,230
|
|
|
|
20년 전
|
조회 2,828
|
|
|
|
20년 전
|
조회 2,060
|
|
|
|
20년 전
|
조회 1,910
|
|
|
|
20년 전
|
조회 2,373
|
|
|
|
20년 전
|
조회 2,507
|
|
|
|
20년 전
|
조회 1,927
|
|
|
|
20년 전
|
조회 2,261
|
|
|
|
20년 전
|
조회 2,709
|
댓글 3개
$cfg[comment_all_email] = 0; // 3.09 추가 ( 1 : 코멘트 쓴 모든이에게 메일 발송 , 0 : off )
$cfg[formail_is_member] = 1; // 폼메일 회원만 사용 여부 ( 1 : 회원만 , 0 : 비회원도 )
// 메일발송 사용 (수정글은 메일발송하지 않음)
if ($default[de_use_sendmail] && $w != 'u') {
$admin = get_admin('board');
$wr_subject = get_text(stripslashes($wr_subject));
$wr_content = nl2br(get_text(stripslashes($wr_content)));
$warr = array( ''=>'입력', 'u'=>'수정', 'r'=>'답변', 'c'=>'코멘트' );
$str = $warr[$w];
// 3.26
$link_url = "$cfg[d_url]/?doc=bbs/gnuboard.php&{$qstr}";
$subject = "'{$board[bo_subject]}' 게시판에 {$str}글이 올라왔습니다.";
ob_start();
include "$mail_skin/gbupdate.skin.php";
$content = ob_get_contents();
ob_end_clean();
if ($wr_email != $admin[mb_email]) {
// 관리자에게 보내는 메일
mailer($wr_name, $wr_email, $admin[mb_email], $subject, $content, 1);
}
// 답변 메일받기 (원게시자에게 보내는 메일)
if ($wr[wr_recv_email] && $wr[wr_email] && $wr[wr_email] != $admin[mb_email]) {
mailer($wr_name, $wr_email, $wr[wr_email], $subject, $content, 1);
// 코멘트 쓴 모든이에게 메일 발송
if ($cfg[comment_all_email]) {
$sql = " select wr_email from $write_table
where wr_email not in ( '$admin[mb_email]' , '$wr[wr_email]', '' )
and wr_parent_id = '$wr_id'
group by wr_email ";
$result = sql_query($sql);
while ($row=mysql_fetch_array($result)) {
mailer($wr_name, $wr_email, $row[wr_email], $subject, $content, 1);
}
}
}
}
이 부분을 수정하세요 ^^