마크업:관리자>메일발송 미리보기

This commit is contained in:
whitedot
2012-11-14 15:11:37 +09:00
parent 321599792c
commit b223f8491b
2 changed files with 24 additions and 6 deletions

View File

@ -36,7 +36,7 @@ $colspan = 6;
</caption>
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">번호</th>
<th scope="col">제목</th>
<th scope="col">작성일시</th>
<th scope="col">테스트</th>

View File

@ -5,12 +5,30 @@ include_once($g4['path'].'/lib/mailer.lib.php');
auth_check($auth[$sub_menu], 'r');
$se = sql_fetch("select ma_subject, ma_content from {$g4['mail_table']} where ma_id = '$ma_id' ");
$se = sql_fetch("select ma_subject, ma_content from {$g4['mail_table']} where ma_id = '{$ma_id}' ");
$subject = $se['ma_subject'];
$content = $se['ma_content'] . "<hr size=0><p><span style='font-size:9pt; font-family:굴림'>▶ 더 이상 정보 수신을 원치 않으시면 [<a href='{$g4['url']}/{$g4['bbs']}/email_stop.php?mb_id=***&amp;mb_md5=***' target='_blank'>수신거부</a>] 해 주십시오.</span></p>";
?>
echo "<span style='font-size:9pt;'>$subject</span>";
echo "<hr size=0>";
echo $content;
?>
<!doctype html>
<html lang="ko">
<head>
<meta charset="utf-8">
<title>그누보드 메일발송 테스트</title>
</head>
<body>
<h1><?=$subject?></h1>
<p>
<?=$se['ma_content']?>
</p>
<p>
<strong>주의!</strong> 이 화면에 보여지는 디자인은 실제 내용이 발송되었을 때 디자인과 다를 수 있습니다.
</p>
</body>
</html>