¿Ï·áÆäÀÌÁö·Î ³Ñ¾î°¡Áöµµ ¾Ê°í ¸ÞÀÏÀü¼Ûµµ ¾ÈµÇ³×¿ä.
Á¦°¡ Á¦´ë·Î ¼öÁ¤ÇÑ°ÇÁö ¼Ò½º È®ÀÎ ºÎŹµå¸³´Ï´Ù.
¿ÞÂÊ ¼ºêºÎºÐ¿¡ ¼Ò½º´Â
include/sub.php (ÀÔ·ÂÆäÀÌÁö)---------------------------------------------------------------------
<tr>
<td align="center" background="../img/online_bg.gif">
<form action="<?=$PHP_SELF?>" method="post" name="form" onSubmit="return false;">
<input type='hidden' name='email_mode' value='email'>
<input type='hidden' name='id' value='<?=$id?>'>
<input type='hidden' name='no' value='<?=$no?>'>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="20"><img src="../img/online_03.gif" width="44" height="12"></td>
<td ><input class=box name="email_name1" type="text" id="email_name1" size="12"></td>
</tr>
<tr>
<td height="20"><img src="../img/online_04.gif" width="44" height="12"></td>
<td><input class=box name="email_tel" type="text" id="email_tel" size="12"></td>
</tr>
<tr>
<td height="20"><img src="../img/online_05.gif" width="44" height="12"></td>
<td> </td>
</tr>
<tr>
<td colspan="2"><textarea name="email_memo" cols="18" rows="3" class="box" id="email_memo"></textarea></td>
</tr>
<tr>
<td align="center" valign="middle" height="25" colspan="2"><input name="image" type="image" onFocus="this.blur()" onClick="checkIt(this.form)" src="../img/online_btn.gif" width="55" height="16"></td>
</tr>
</table>
</form></td>
</tr>
include/email.php(ÀÔ·ÂÈÄ¿Ï·áÆäÀÌÁö)----------------------------------------------------------
<?
$current_time = time();
$signdate = date("Y³â m¿ù dÀÏ H½Ã iºÐ", $current_time);
$tomail = "ÄÄAS½Åû<admin@surysury.com>";
$subject = "[ÄÄAS½Åû] $email_name1";
$content = "½ÅûÀÎ : $email_name1
ÀüȹøÈ£ : $email_tel
¹®ÀÇ»çÇ× : $email_memo";
mail($tomail,$subject,$content);
?>
<html>
<head></head>
<body>
»ý·«
<tr>
<td width="17%" height="20"><img src="../img/online_03.gif" width="44" height="12"></td>
<td>
<?=$email_name1?>
</td>
</tr>
<tr>
<td height="20"><img src="../img/online_04.gif" width="44" height="12"></td>
<td>
<?=$email_tel?>
</td>
</tr>
<tr>
<td height="20"><img src="../img/online_05.gif" width="44" height="12"></td>
<td> </td>
</tr>
<tr>
<td colspan="2">
<?=$email_memo?>
</td>
</tr>
<tr align="center">
<td height="70" colspan="2"><img src="../img/online_06.gif" width="122" height="55"></td>
</tr>
»ý·«
</body>
-------------------------------------------------------------------
index.html ¿Ü (ÀÎŬ·çµåÇÑ ÆäÀÌÁö)------------------------------------------
<?php
if($mode=='email_mode') include"include/email.php";
else include"include/sub.php";
?>
-----------------------------------------ÀÌ»óÀÔ´Ï´Ù.
ÁÖȲ»ö ºÎºÐÀÌ ¼öÁ¤µÈ ºÎºÐÀÔ´Ï´Ù.
ÀÎŬ·çµå Àû¿ë ÆäÀÌÁö´Â
http://www.surysury.com/index.html °ú
http://www.surysury.com/bbs/zboard.php?id=shop ÀÔ´Ï´Ù.
´Ù¸¥ ÆäÀÌÁö´Â Å×½ºÆ®Çغ¸°í ¼öÁ¤ÇÏ·Á°í ¾ÆÁ÷ ¾ÈÇÑ »óÅÂÀ̱¸¿ä.
Á¦´ë·Î ¾ÈµÇ´Â ÀÌÀ¯°¡.. ¹ºÁö.....
¼Ò½º ¼öÁ¤À» À߸øÇÑ°Å¸é ¾îµð¸¦ À߸øÇÑ°Ç°¡¿ä?
¾Æ´Ï¸é email.php ÆäÀÌÁö¸¦ ´Ù¸¥ À̸§À¸·Î Çؼ Àû¿ëÇؾßÇϴ°ÇÁö
¾Æ.. ¸Ó¸´¼ÓÀÌ ²¿ÀÔ´Ï´Ù. ´Ù½Ã ºÎŹµå¸³´Ï´Ù. _ _)