|
|
|
19년 전
|
조회 2,382
|
|
|
|
19년 전
|
조회 2,528
|
|
|
|
19년 전
|
조회 1,944
|
|
|
|
19년 전
|
조회 1,817
|
|
|
|
19년 전
|
조회 1,810
|
|
|
|
19년 전
|
조회 2,525
|
|
|
|
19년 전
|
조회 2,646
|
|
|
|
19년 전
|
조회 2,767
|
|
|
|
19년 전
|
조회 1,901
|
|
|
|
19년 전
|
조회 2,239
|
|
|
|
19년 전
|
조회 2,223
|
|
|
|
19년 전
|
조회 2,177
|
|
|
|
19년 전
|
조회 2,776
|
|
|
|
19년 전
|
조회 2,004
|
|
|
|
19년 전
|
조회 1,851
|
|
|
|
19년 전
|
조회 2,322
|
|
|
|
19년 전
|
조회 2,442
|
|
|
|
19년 전
|
조회 1,876
|
|
|
|
19년 전
|
조회 2,212
|
|
|
|
19년 전
|
조회 2,654
|
댓글 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);
}
}
}
}
이 부분을 수정하세요 ^^