견적의뢰 폼메일 가지고 계신분.. > 그누3질답

그누3질답

견적의뢰 폼메일 가지고 계신분.. 정보

그누보드 견적의뢰 폼메일 가지고 계신분..

본문

업나요. 꼭 필요합니다. 좀주세요..
폼메일 견적의뢰 되어있는거요.. 어디가면 소스 있나요..?
수고하십시요..
최강그누보드

댓글 전체

일반 html로 만들어서 저장값은 입력해서 메일 보내기를 하면 간단하죠..


이런식으로 하면 디비에두 저장이 되고 메일으로도 발송되니 좋쵸..

gbupdate.skin.php  파일 수정하세요..

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>

<?
// 자신만의 코드를 넣어주세요.
?>
<?
$adminemil="*** 개인정보보호를 위한 이메일주소 노출방지 ***" ;//관리자 이메일
$emailarr = explode("\n", addslashes(trim($_POST[emails])));
$subject = stripslashes($subject);
$content = stripslashes($content); //nl2br(stripslashes($data[memo]));

$mail_content = "<html><head><meta http-equiv='content-type' content='text/html; charset=euc-kr'><title>$wr_subject</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'>&nbsp;</td><td height='25'>&nbsp;</td><td width='25' height='25'>&nbsp;</td></tr><tr><td width='25' valign='top'><img src='http://kr-mesotherapy.org/board/images/mail_left.gif' width='25' height='281'></td><td valign='top' class='line' ><table width='548' border='0' cellspacing='0' cellpadding='0'><tr><td height='59' background='http://kr-mesotherapy.org/board/images/mail_bg2.gif'><table width='500' border='0' cellspacing='0' cellpadding='0' align='center'><tr><td>&nbsp;</td></tr><tr><td>&nbsp;</td></tr><tr><td align='right'><strong><font color='#02253A'>메일</font></strong></td></tr></table></td></tr></table><p>&nbsp;</p><table width='500' border='0' align='center' cellpadding='0' cellspacing='0'><tr><td><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td><img src='http://kr-mesotherapy.org/board/images/top3.gif' width='533' height='79'></td></tr></table><br><table width='500' border='0' cellspacing='0' cellpadding='20'><tr><td bgcolor=CED7E7>$wr_content</td></tr></table><table width='500' border='0' align='center' cellpadding='0' cellspacing='0'><tr><td height='30' align='center'><img src='http://kr-mesotherapy.org/board/images/top.gif' width='533' height='79'></td></tr></table></td></tr></table><br></td><td width='25' valign='top'><img src='http://kr-mesotherapy.org/board/images/mail_right.gif' width='25' height='281'></td></tr></table></body></html>";

mailer($member[mb_name], $member[mb_email], '$adminemil', $wr_subject, $mail_content, 1);
?>

이런식으로 해보세요..
포토샵으로 폼을 만들고 그걸 코딩을 하세요...

그리고 출력해주는 부분에  $wr_1  ..  이런식으로 입력을 하시고

" => '로 다 바꾸고...

$mail_content = "<html><head><meta http-equiv='content-type' content='text/html; charset=euc-kr'><title>$wr_subject</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'>&nbsp;</td><td height='25'>&nbsp;</td><td width='25' height='25'>&nbsp;</td></tr><tr><td width='25' valign='top'><img src='http://kr-mesotherapy.org/board/images/mail_left.gif' width='25' height='281'></td><td valign='top' class='line' ><table width='548' border='0' cellspacing='0' cellpadding='0'><tr><td height='59' background='http://kr-mesotherapy.org/board/images/mail_bg2.gif'><table width='500' border='0' cellspacing='0' cellpadding='0' align='center'><tr><td>&nbsp;</td></tr><tr><td>&nbsp;</td></tr><tr><td align='right'><strong><font color='#02253A'>메일</font></strong></td></tr></table></td></tr></table><p>&nbsp;</p><table width='500' border='0' align='center' cellpadding='0' cellspacing='0'><tr><td><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td><img src='http://kr-mesotherapy.org/board/images/top3.gif' width='533' height='79'></td></tr></table><br><table width='500' border='0' cellspacing='0' cellpadding='20'><tr><td bgcolor=CED7E7>$wr_content</td></tr></table><table width='500' border='0' align='center' cellpadding='0' cellspacing='0'><tr><td height='30' align='center'><img src='http://kr-mesotherapy.org/board/images/top.gif' width='533' height='79'></td></tr></table></td></tr></table><br></td><td width='25' valign='top'><img src='http://kr-mesotherapy.org/board/images/mail_right.gif' width='25' height='281'></td></tr></table></body></html>";

이런식으로 만들어서 위에 처럼 만들고

보내세요..
gbupdate.skin.php에 수정하라는 말은 먼가요..?
일반페이지에서 날리는데 gbupdate.skin.php는 왜 수정하나요..>
아 너무 어려버요.. 수고하십시요.
전체 9,564
그누3질답 내용 검색

회원로그인

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