/home/banprang/domains/plai.go.th/public_html/coremain/module/contact/send_mail.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
$navig
['send_mail']="ส่งอีเมล์";
navigator($navig);
echo
"<br>";
bar_header("ส่งอีเมล์"); // Bar_Header
fieldset_top("ส่งอีเมล์");
if(
$p_id_type!="")                                {  $id_type=trim($p_id_type);            }
if(
$p_id_sub!="")                                {  $id_sub=trim($p_id_sub);                }
?>

<form  action="index.php?mod=send_mail_output&path=contact" method="post" enctype="multipart/form-data" name="add" onSubmit="return checkadd()">

<table width="98%" border="0" align="center" cellpadding="1" cellspacing="3">

    <tr height="40">
          
     <td width="125"><div align="left"><img src='coremain/images/marker.gif'> <strong>เรื่อง</strong></div></td> 
     <td><div align="left"><input name="topic" type="text" size="60"></div></td> 
  </tr>

  <tr height="40">          
     <td width="125"><div align="left"><img src='coremain/images/marker.gif'> <strong>ชื่อผู้ส่ง</strong></div></td> 
     <td><div align="left"><input name="sende_rname" type="text" size="60"></div></td> 
  </tr>
  
   <tr height="40">          
     <td width="125"><div align="left"><img src='coremain/images/marker.gif'> <strong>อีเมล์ผู้ส่ง</strong></div></td> 
     <td><div align="left"><input name="sender_mail" type="text" size="60"></div></td> 
  </tr>
  
  <tr height="40">          
     <td width="125"><div align="left"><img src='coremain/images/marker.gif'> <strong>ไฟล์แนบ</strong></div></td> 
     <td><div align="left"><input name="file_send" type="file" size="46"></div></td> 
  </tr>
  

     
<?php        text_editor("445","260","รายละเอียด"2$data['fulltexts']);?> 

 
  </tr>


    <tr height="40">
     <td></td> 
     <td><div align="left">       
            <?php text_button_mail();?>
        </td> 
  </tr>


</table>
</form>   
<?echo fieldset_down();?>
<script language="javascript">
function checkadd() {
if(document.add.topic.value=="") {
alert("กรุณากรอกหัวเมลล์ !") ;
document.add.topic.focus() ;
return false ;
}
else 
return true ;
}
</script>