묻고답하기

요 밑에것이 http://sogozip.com/form_mail.html 의 소스인데.. 지성하지만..
아시는분께서는 제 메일주소로 오게 하고 싶은데.. 어딜 어케 바꺼야 하는지 부탁점 드리겠습니다..
그리고
<? session_start() ?>
<? include "./lib/mall_config.html"; ?>
<? include "./lib/admin_cfg2.html"; ?>
<? include "./lib/user_function.html"; ?>
<? include "./total/zion_counter.html"; ?>
<?

if($mode=="post") {
요 위에 것이 무신 내용인지 몰겠어염.. 궁금합니다..
공부 열띠미 해서.. 제 스스로 알도록 하죠..
감사합니다.
답글 달아 주시는분이 누구신지 지금은 몰겠지만.. 미리 감사의 말씀 드립니다..



<? session_start() ?>
<? include "./lib/mall_config.html"; ?>
<? include "./lib/admin_cfg2.html"; ?>
<? include "./lib/user_function.html"; ?>
<? include "./total/zion_counter.html"; ?>
<?

if($mode=="post") {

################## 관리자에게 메일 보내기 ################
$mail_to=$cf_admin_mail;
$content=nl2br($content);

$Mail_Header = "FROM:$name <$email> n";
$Mail_Header .= "Content-Type: text/html;charset=EUC-KRn";
$mail_content = $comment;

mail($mail_to, $subject, $mail_content, $Mail_Header);

movepage("$PHP_SELF?mode=done");
}
?>
<html>
<head>
<title>상담 및 문의 메일보내기</title>
<style type="text/css">
<!--
.underline { font-family: "굴림"; font-size: 9pt; color: #000000; line-height: 15pt}
a {font-family: "굴림"; font-size: 9pt; color: #000000; text-decoration: none}
a:hover {font-family: "굴림"; font-size: 9pt; color: #ff0000; text-decoration: underline}
-->
</style>

<SCRIPT LANGUAGE="JavaScript">
<!--
function form_check() {
if(!mail.name.value) {
alert('이름을 입력해 주세요');
mail.name.value;
return false;
}

if(!mail.subject.value) {
alert('제목을 입력해 주세요');
mail.subject.value;
return false;
}

if(!mail.comment.value) {
alert('내용을 입력해 주세요');
mail.comment.value;
return false;
}
return true;
}
//-->
</SCRIPT>
</head>

<body topmargin="0" leftmargin="0">
<table width="420" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/fomemail_title.gif" width="420" height="46"></td>
</tr>
<tr>
<td align="center" bgcolor="#F5F5F5">
<!--------------- 폼 들어가는 부분시작------------->
<? if($mode=="done") { ?>
<table width="90%" border="0" cellpadding="0" cellspacing="0" class="underline">
<tr>
<td width="22%" height="25" align=center><BR><BR>
문의하신 요청사항은 빠른 시일 내에 답변해 드리겠습니다.<br><BR>
감사합니다!!!<BR><BR>
</td>
</tr>
</table>

<? } else { ?>
<form name="mail" action="<? echo "$PHP_SELF?mode=post"; ?>" method="post" onsubmit="return form_check()">
<table width="90%" border="0" cellpadding="0" cellspacing="0" class="underline">
<tr>
<td width="22%" height="25">이름</td>
<td width="78%" height="25"><input name="name" type="text" size="10" style="height:17px; background-color:#FFFFFF;border:1 solid black;font-size:9pt" value="<?=$mall_name?>"></td>
</tr>

<tr>
<td height="25">이메일</td>
<td height="25"><input name="email" type="text" size="30" style="height:18px; background-color:#FFFFFF;border:1 solid black;font-size:9pt" value="<?=$mall_email?>"></td>
</tr>
<tr>
<td height="25">제목</td>
<td height="25"><input name="subject" type="text" size="40" style="height:18px; background-color:#FFFFFF;border:1 solid black;font-size:9pt"></td>
</tr>
<tr>
<td height="70">내용</td>
<td><textarea name="comment" cols="40" rows="7" style="background-color:#FFFFFF;border:1 solid black;font-size:9pt"></textarea></td>
</tr>
</table>
<!-------------폼 끝낫습니다---------->
<? } ?>
</td>
</tr>
<tr>
<td height="30" align="center">
<? if($mode!="done") { ?> <input type="image" src="img/fomemail_bu1.gif" width="78" height="18" border="0">   <? } ?>
<a href="javascript:self.close()" onFocus=this.blur()><img src="img/fomemail_bu2.gif" width="78" height="18" border="0"></a></td>
</tr>
</table>
</form>


</body>
</html>
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
NEXlak 권한설정 [1] 2015.05.05 by LI-NA
JinkPark 보안설정이 모바일 레이아웃의 정상 작동에 영향을 미치나요 [1] 2015.05.05 by I-JEX
권용진983 XE1.8로 홈페이지 운영할 수 있는 웹호스팅 업체 추천해주세요 [1] 2015.05.05 by Bryan!
hoss PHP5.2.13에서 5.6으로 업그레이드후 에러발생 [4] 2015.05.05 by hoss
핑크스윗로즈 게시판의 목록 질문드립니다. [1] 2015.05.05 by kdp
마르팅 모듈 업데이트하기 ^^ [3] 2015.05.04 by 마르팅
harukis XE 홈피에서 사용 되는 폰트가 궁금합니다. [2] 2015.05.04 by harukis
김소연37d16 팝업 띄우기 질문드립니다. [3] file 2015.05.04 by LI-NA
김동하123 위젯코드를 다른 url에서도 돌아가게 하는 방법 [1] 2015.05.04 by LI-NA
sunsmile26 'HTML편집기'에서 embed 시현에 문제 [2] 2015.05.04 by sunsmile26
푸훗 [초보]if문 질문 드립니다. [4] 2015.05.04 by 푸훗
김동하123 다시 질문합니다  
July17 404 not found 에러문제 [1] file 2015.05.04 by I-JEX
임자도산 익명 이름 anonymous를 다른 이름으로 변경 (php 수정 외 방법 문의) [8] 2015.05.04 by Shantih
화랑529 크롬 F12에서 봤을 때.. file  
shaaa 웹문서 노출 게시판 구조에 대해서 문의드립니다.  
구리구리멍구리 centos 6.6 에서 7.0 업그레이드가 필요할까요?? [3] 2015.05.04 by Luatic™
thdwjdtjr 스케치북을 사용중 상단 설정, 게시물관리 삭제 [2] file 2015.05.04 by thdwjdtjr
Guitaristd24da 사이트내부이동시 도메인주소뒤에 붙는 메뉴ID  
페르난도_알론소 카운터 위젯의 텍스트 수정 [1] file 2015.05.04 by I-JEX
erick19735bca1 레이아웃 변경 설정이 안먹혀요 [1] 2015.05.04 by I-JEX
똑디 XE 설치 가능한 해외 호스팅 추천 좀... [1] 2015.05.04 by I-JEX
juuuno 로그인이... [1] 2015.05.04 by I-JEX
페르난도_알론소 게시판 내용 안에 이런? 글씨를 넣고 싶습니다. [7] file 2015.05.04 by 페르난도_알론소
KOTRA1 악성회원?에 대해 법적 처벌이 가능한가요? [2] 2015.05.04 by 하얀마법
슈프리모 2차 메뉴 연결 어떻게 해요? ㅜㅜ [2] file 2015.05.04 by 슈프리모
Waiter 특정 ip 대역에서만 파일이 첨부되는 것 같습니다.  
thdwjdtjr 상단 메뉴바를 좌우로 길게 확대하고자 합니다 [1] file 2015.05.04 by newi
kdp PHP 5.6.8 최신버전에서 정상 작동하나요? [8] 2015.05.03 by kdp
Centell 서버의 케릭터셋이 익스프레스엔진에 어떤 영향을 주나요? [5] 2015.05.03 by Centell