사용자: #167 에 따른 작업 중

This commit is contained in:
whitedot
2013-03-11 13:32:29 +09:00
parent a11736c4e7
commit 8a1e9ba5d8
2 changed files with 22 additions and 70 deletions

View File

@ -35,71 +35,3 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
</body>
</html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=<?=$g4['charset']?>">
<title>인증 메일</title>
</head>
<style>
body, th, td, form, input, select, text, textarea, caption { font-size: 12px; font-family:굴림;}
.line {border: 1px solid #868F98;}
</style>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25" height="25"></td>
<td height="25"></td>
<td width="25" height="25"></td>
</tr>
<tr>
<td width="25" valign="top"></td>
<td align="center" class="line" >
<br>
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="500" border="0" cellspacing="0" cellpadding="4">
<tr>
<td width="100%" height="25" bgcolor=#F7F1D8>인증 메일입니다.</td>
</tr>
</table>
<p>
<table width="500" border="0" align="center" cellpadding="4" cellspacing="0">
<tr><td height="150">
<b><?=$mb_name?></b> 님의 E-mail 주소가 변경되었습니다.
<p>아래의 주소를 클릭하시면 인증이 완료됩니다.
<p><a href='<?=$certify_href?>'><b><?=$certify_href?></b></a>
<p>회원님의 성원에 보답하고자 더욱 더 열심히 하겠습니다.
<p>감사합니다.
</td></tr>
</table>
<p>
<table width="500" border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed">
<tr>
<td height="2" bgcolor="#E0E0E0" align="center"></td>
</tr>
<tr>
<td height="25" bgcolor="#EDEDED" align="center">로그인 후 모든 정보를 이용하실 수 있습니다.[<a href="<?=G4_BBS_URL?>/login.php">바로가기</a>]</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
</td>
<td width="25" valign="top"></td>
</tr>
</table>
</body>
</html>

View File

@ -39,9 +39,9 @@ sql_query($sql);
$href = G4_BBS_URL.'/password_lost_certify.php?mb_no='.$mb['mb_no'].'&amp;mb_datetime='.$mb_datetime.'&amp;mb_lost_certify='.$mb_lost_certify;
$subject = '요청하신 회원아이디/패스워드 정보입니다.';
$subject = $config['cf_title']."요청하신 회원 아이디/패스워드 정보입니다.";
$content = '';
$content = "";
$content .= '<div style="line-height:180%;">';
$content .= '<p>요청하신 계정정보는 다음과 같습니다.</p>';
$content .= '<hr>';
@ -66,6 +66,26 @@ $content .= '<p>감사합니다.</p>';
$content .= '<p>[끝]</p>';
$content .= '</div>';
$content .= "<div style=\"margin:30px auto;width:600px;border:10px solid #f7f7f7\">";
$content .= "<div style=\"border:1px solid #dedede\">";
$content .= "<h1 style=\"padding:30px 30px 0;background:#f7f7f7;color:#555;font-size:1.4em\">";
$content .= "회원 패스워드가 변경되었습니다.";
$content .= "</h1>";
$content .= "<p style=\"margin:20px 0 0;padding:30px 30px 50px;min-height:200px;height:auto !important;height:200px;border-bottom:1px solid #eee\">";
$content .= addslashes($mb['mb_name'])."(".addslashes($mb['mb_nick']).")"."회원님은 ".G4_TIME_YMDHIS." 에 회원정보 찾기 요청을 하셨습니다.<br>";
$content .= "저희 사이트는 관리자라도 회원님의 비밀번호를 알 수 없기 때문에, 비밀번호를 알려드리는 대신 새로운 비밀번호를 생성하여 안내 해드리고 있습니다.<br>";
$content .= "다음에서 변경될 패스워드를 확인하신 후, <strong>패스워드 변경</strong> 링크를 클릭 하십시오.<br>";
$content .= "패스워드가 변경되었다는 인증 메세지가 출력되면, 홈페이지에서 회원아이디와 변경된 패스워드를 입력하시고 로그인 하십시오.<br>";
$content .= "로그인 후에는 정보수정 메뉴에서 새 패스워드로 변경하십시오.";
$content .= "</p>";
$content .= "<p style=\"margin:20px 0 0;padding:30px 30px 50px;min-height:200px;height:auto !important;height:200px;border-bottom:1px solid #eee\">";
$content .= "<span style=\"display:inline-block;width:100px\">회원아이디</span> ".$mb['mb_id'];
$content .= "<span style=\"display:inline-block;width:100px\">변경될 패스워드</span> <strong style=\"color:#ff3061\">".$change_password."</strong>";
$content .= "</p>";
$content .= "<a href=\"<?=G4_URL?>/\" style=\"display:block;padding:30px 0;background:#484848;color:#fff;text-decoration:none;text-align:center\">홈페이지 바로가기</a>";
$content .= "</div>";
$content .= "</div>";
$admin = get_admin('super');
mailer($admin['mb_nick'], $admin['mb_email'], $mb['mb_email'], $subject, $content, 1);