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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
<?php header("Content-type:text/html;charset=euckr"); @extract($_REQUEST); ?> <script> function focus(){ window.document.DetailForm.File.focus(); } </script>
<script> function Frmsend(){ //º¸³»±â¹öư if( DetailForm.Name.value == ""){ alert("º¸³»´Â »ç¶÷ À̸§À» ÀÔ·ÂÇϼ¼¿ä."); DetailForm.Name.focus(); return; }
if( DetailForm.Sender.value == ""){ alert("º¸³»´Â »ç¶÷ÀÇ ¸ÞÀÏÁÖ¼Ò¸¦ ÀÔ·ÂÇϼ¼¿ä."); DetailForm.Sender.focus(); return; }
if( DetailForm.Uname.value == ""){ alert("¹Þ´Â »ç¶÷ À̸§À» ÀÔ·ÂÇϼ¼¿ä."); DetailForm.Uname.focus(); return; }
if( DetailForm.Receiver.value == ""){ alert("¹Þ´Â »ç¶÷ÀÇ ¸ÞÀÏÁÖ¼Ò¸¦ ÀÔ·ÂÇϼ¼¿ä."); DetailForm.Receiver.focus(); return; }
if( DetailForm.Subject.value == ""){ alert("Á¦¸ñÀ» ÀÔ·ÂÇϼ¼¿ä."); DetailForm.Subject.focus(); return; }
if( DetailForm.Body.value == ""){ alert("º¸³¾ ³»¿ëÀ» ÀÔ·ÂÇϼ¼¿ä."); DetailForm.Body.focus(); return; } if( confirm("ÀÛ¼ºÇϽг»¿ëÀ¸·Î º¸³»½Ã°Ú½À´Ï±î?")){ DetailForm.action = "sendmailpro3process.php"; DetailForm.submit(); } }
function frmCancle() { // Ãë¼ÒÇϸé È¸é ¸®Ç÷¹½¬ µÊ location.href="sendmailpro3.php"; window.status=""; return true; }
</script>
<html> <head> <title>»çÁø ¾÷·Îµå</title> <meta http-equiv="Content-Type" content="text/html; charset=euc-kr"> <script language="javascript"> function CheckForm(form) { return true; } </script> <style type=text/css> table { font-color;#000000;font-size:9pt } .td {BACKGROUND-COLOR:#C1CDD8} .nontd {BACKGROUND-COLOR:#ffffff} </style> </head> <body onload="focus();"> <center> <table width="700" border="0" cellspacing="1" cellpadding="0" bgcolor="#A2A2A2"> <Form name="DetailForm" method="post" action="sendmailpro3process.php" onsubmit="return CheckForm(this);" ENCTYPE="MULTIPART/FORM-DATA"> º¸³»´Â»ç¶÷¸í:<?=$fromname?><br> º¸³»´Â»ç¶÷¸ÞÀÏ:<?=$frommail?><br> ¹Þ´Â»ç¶÷¸í: <!-- ¹Þ´Â»ç¶÷¸í Ư¼ö¹®ÀÚ º¯È¯ ¸ÞÀÏ, Àü¼Û ¿À·ù·Î ÇÊÈ÷ º¯È¯ --> <? $toname = preg_replace ("/[ #\&\+\-%@=\/\\\:;,\.'\"\^`~\_|\!\?\*$#<>()\[\]\{\}]/i", " ", $toname); echo $toname; ?>
<br> ¹Þ´Â»ç¶÷¸ÞÀÏ<?=$tomail?><br> Á¦¸ñ:<?=$subject?><br>
<input type="hidden" name="Mode" value="Up"> <input type="hidden" type="text" name="Name" size="37" readonly="readonly" value="<?=$fromname?>"> <!-- <input type="hidden" type="text" name="Sender" size="37" readonly="readonly" value="<?=$frommail?>"> --> <input type="hidden" type="text" name="Sender" size="37" readonly="readonly" value="mj@mijinsoft.co.kr"> <input type="hidden" type="text" name="Uname" size="37" readonly="readonly" value="<?=$toname?>"> <input type="hidden" type="text" name="Receiver" size="37" readonly="readonly" value="<?=$tomail?>"> <input type="hidden" type="text" name="Subject" size="37" value="<?=$subject?>"> <textarea style="display:none;" name='Body' rows="21" cols="60" ><?=$memo;?></textarea>
<tr> <td bgcolor="#E5E5E5" align="center" width="150" height="25"> À̹ÌÁö </td> <td bgcolor="#ffffff" width="500"> <input type="file" name="File" class="input1" size='37' style='ime-mode:inactive'> </td> </tr>
<table width="700" border="0" cellspacing="1" cellpadding="0"> <tr> <td align="center" colspan="2" bgcolor="#ffffff" height="45"> <input type='button' value='º¸³»±â' style='background-color:white; border-width:1; border-color:black; border-style:solid; height:25; width:80; cursor:hand;' onclick='Frmsend()'> <input type='button' value='Ãë¼Ò' style='background-color:white; border-width:1; border-color:black; border-style:solid; height:25; width:80; cursor:hand;' onclick='frmCancle()'> </td> </tr> </table>
</Form> </table> </center> </body> </html>
|