g4를 g5로 변경
This commit is contained in:
@ -11,7 +11,7 @@ check_demo();
|
||||
check_token();
|
||||
|
||||
include_once('./admin.head.php');
|
||||
include_once(G4_LIB_PATH.'/mailer.lib.php');
|
||||
include_once(G5_LIB_PATH.'/mailer.lib.php');
|
||||
|
||||
$countgap = 10; // 몇건씩 보낼지 설정
|
||||
$maxscreen = 500; // 몇건씩 화면에 보여줄건지?
|
||||
@ -39,7 +39,7 @@ $select_member_list = addslashes(trim($_POST['ma_list']));
|
||||
$member_list = explode("\n", $select_member_list);
|
||||
|
||||
// 메일내용 가져오기
|
||||
$sql = "select ma_subject, ma_content from {$g4['mail_table']} where ma_id = '$ma_id' ";
|
||||
$sql = "select ma_subject, ma_content from {$g5['mail_table']} where ma_id = '$ma_id' ";
|
||||
$ma = sql_fetch($sql);
|
||||
|
||||
$subject = $ma['ma_subject'];
|
||||
@ -63,7 +63,7 @@ for ($i=0; $i<count($member_list); $i++)
|
||||
$content = preg_replace("/{회원아이디}/", $mb_id, $content);
|
||||
$content = preg_replace("/{이메일}/", $to_email, $content);
|
||||
|
||||
$content = $content . "<hr size=0><p><span style='font-size:9pt; font-familye:굴림'>▶ 더 이상 정보 수신을 원치 않으시면 [<a href='".G4_BBS_URL."/email_stop.php?mb_id={$mb_id}&mb_md5={$mb_md5}' target='_blank'>수신거부</a>] 해 주십시오.</span></p>";
|
||||
$content = $content . "<hr size=0><p><span style='font-size:9pt; font-familye:굴림'>▶ 더 이상 정보 수신을 원치 않으시면 [<a href='".G5_BBS_URL."/email_stop.php?mb_id={$mb_id}&mb_md5={$mb_md5}' target='_blank'>수신거부</a>] 해 주십시오.</span></p>";
|
||||
|
||||
mailer($config['cf_title'], $config['cf_admin_email'], $to_email, $subject, $content, 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user