게시판 코멘트나 입력을 알려주는 메일이 좀 러~ 하죠? > 그누3 팁자료실

그누3 팁자료실

게시판 코멘트나 입력을 알려주는 메일이 좀 러~ 하죠? 정보

그누호환 게시판 코멘트나 입력을 알려주는 메일이 좀 러~ 하죠?

첨부파일

bubi_mail.zip (12.1K) 16회 다운로드 2004-02-18 22:21:52

본문

수정 할 파일 : gbupdate.php

메일 양식 원본 소스

   $email_content = "
 &nbsp; &nbsp; &nbsp; &nbsp;<table width=100% border=1 align=center cellpadding=4 cellspacing=0 bordercolordark='white' bordercolorlight='navy' style='font-family:Verdana; font-size:12px;'>
 &nbsp; &nbsp; &nbsp; &nbsp;<tr><td>제목 : $wr_subject</td></tr>
 &nbsp; &nbsp; &nbsp; &nbsp;<tr><td>게시자 : $wr_name</td></tr>
 &nbsp; &nbsp; &nbsp; &nbsp;<tr>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<td>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{$str}내용 : <p>$wr_content
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[<a href='$link_url' target=_gnuboard>게시글보기</a>]
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</td>
 &nbsp; &nbsp; &nbsp; &nbsp;</tr>
 &nbsp; &nbsp; &nbsp; &nbsp;</table>";

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
메일양식 수정 부분
// 변수 부분에 추가하세요.
// 11.07 절대경로를 수정하고 사용하세요
 &nbsp; &nbsp;$link_url1 = get_current_url();
 &nbsp; &nbsp;$img_url = get_current_url() . "/shared_images";
// 11.07 절대경로를 수정하고 사용하세요


 &nbsp; &nbsp;$email_content = "
<table width='602' border='0' cellspacing='0' cellpadding='0' background='$img_url/mail_top_bbs_bg.gif' style='font-family:Verdana; font-size:12px;'>
 &nbsp;<tr>
 &nbsp; &nbsp;<td colspan='2'><img src='$img_url/mail_top_bbs.jpg' width='602' height='84'></td>
 &nbsp;</tr>
 &nbsp;<tr>
 &nbsp; &nbsp;<td colspan='2'><img src='$img_url/mail_top_bbs_top.gif' width='602' height='4'></td>
 &nbsp;</tr>
 &nbsp;<tr>
 &nbsp; &nbsp;<td><img src='$img_url/mail_top_bbs_title.gif' height='30' align=absmiddle> $wr_subject</td>
 &nbsp; &nbsp;<td><img src='$img_url/mail_top_bbs_name.gif' width='55' height='30' align=absmiddle> $wr_name</td>
 &nbsp;</tr>
 &nbsp;<tr>
 &nbsp; &nbsp;<td colspan='2'><img src='$img_url/mail_top_bbs_top1.gif' width='602' height='3'></td>
 &nbsp;</tr>
 &nbsp;<tr>
 &nbsp; &nbsp;<td colspan='2' align=center><table width=98% cellpadding=4 style='font-family:Verdana; font-size:12px;'><tr><td>{$str}내용 : <p>$wr_content <p></td></tr></table></td>
 &nbsp;</tr>
 &nbsp;<tr>
 &nbsp; &nbsp;<td background='$img_url/mail_top_bbs_bg_bottom.gif' colspan='2' height=39 align=center valign=top>
 &nbsp; &nbsp; &nbsp;<table width=580 cellpadding=0><tr><td width=380><a href='$link_url' target=_gnuboard><img src='$img_url/mail_view_bt.gif' border=0></a></td><td align=right width=200><a href='$link_url1'><img src='$img_url/mail_top_bbs_bottom_url.gif' border='0'></td></tr></table>
 &nbsp; &nbsp;</td>
 &nbsp;</tr>
 &nbsp;<tr>
 &nbsp; &nbsp;<td colspan='2'><img src='$img_url/mail_top_bbs_bottom.gif' width='602' height='7'></td>
 &nbsp;</tr>
</table> &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp;";
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

이미지는 첨부한 bubi_mail.zip파일 안에 있습니다.
참, 주의하실 사항은 테이블 크기를 고치시면 'gif'파일을 테이블 길이에 맞게 고치셔야 합니다. 새로 만드시던지요..
급조 한 거라서 괜찮은가 몰겠네용~!~!~!~
나머진 또 나중에... 흐~~~
추천
0

댓글 전체

전체 1,026
그누3 팁자료실 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT