/home/mjc1/public_html/renew/millennium/sinmungo.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
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<?
$dir 
"."
include_once(
$dir."/_common.php"); 
?>
<?
include("./include/header.php");
    
$ipaddr getenv("REMOTE_ADDR");  
?>

<script language="JavaScript">

var bakObj=null;
function chkBoxCheck(intChkNumber, obj) { //üũ¹Ú½º 1°³¸¸ ¼±ÅÃ
    if(bakObj!=null) bakObj.checked=false;
    bakObj=obj;
}

function RemoveOutline(){ //üũ¹Ú½º Å׵θ® ¾ø¾Ö±â

    for(i=0;i<document.getElementsByTagName("input").length;i++){
        objinput = document.getElementsByTagName("input");
        if(objinput[i].type == "radio" || objinput[i].type == "checkbox" ){      
            objinput[i].style.border = 0;
        }
    }
}
</script>

<?
    $reg_date    
date('Y-m-d',Time());        // ±âº»À¸·Î ¿À´ÃÀ» ³ÖÀ½

    
$string substr(strtolower(md5(uniqid(rand(),1))),0,5);
    
$string str_replace('1','a',$string);
?>

<script>
function SM_submit_chk(){
    
    if(SMFORM.formText[1].checked == true)
    {
        alert("°³ÀÎÁ¤º¸ Ãë±Þ¹æÄ§¿¡ µ¿ÀÇÇϼžߠµî·ÏµË´Ï´Ù.");
        return;
    }
    
    if(document.getElementById("username").value == "") {
        alert('¼º¸íÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä.');
        document.getElementById("username").focus();
        return;
    }
    if(document.getElementById("title").value == "") {
        alert('Á¦¸ñÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä.');
        document.getElementById("title").focus();
        return;
    }
    if($("#txtarea_flag").val()=='0'){
        $("#detail").val('');
    }
    if(document.getElementById("detail").value == "") {
        alert('³»¿ëÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä.');
        document.getElementById("detail").focus();
        return;
    }
    if(!human_check()){
        alert('½ºÆÔ¹æÁö È®ÀÎÀ» ÇϽñ⠹ٶø´Ï´Ù.');
        return;
    }
    if(confirm("ÀÛ¼ºÇϽг»¿ëÀ¸·Î µî·Ï ÇϽðڽÀ´Ï±î?")){
        SMFORM.submit();
    } else {
        return;
    }
}
</script>


    <div class="wrap">

        <div class="contents">
            <div class="asideMenu">
                <? include("./include/leftNavi_customer.html"); ?>
            </div><!-- //leftNavi -->

            <div class="subContents">
                <h1>
                    <img src="./img/titlebar/sinmungo.jpg" alt="°í°´ÀǼҸ®">
                    <p>
                        <span class="home"><a href="intro.php">Home</a></span>
                        <span class="depth">></span>
                        <span class="depth1">°í°´¼¾ÅÍ</span>
                        <span class="depth">></span>
                        <span class="depth2">°í°´ÀǼҸ®</span>
                    </p>
                </h1>

                <div class="section">
                    <h2><img src="./img/customer/sinmungo_top.jpg" alt="ºÒÆíÇß´ø ÀǰßÀ» Àû¾îÁÖ¼¼¿ä~"></h2>
                    <form name='SMFORM' method='post' target='ifrm' action='<?php if($MJSOFT_SSL_USE=='Y'){?>https://<?php echo $_SERVER['SERVER_NAME'];?>/<?php echo $millennium_dir;?>/SinmungoProcess.php<?php } else {?>SinmungoProcess.php<?php }?>'>

                    <div class="tieupAgree">
                        <h2>°³ÀÎÁ¤º¸ ¼öÁý ¹× À̿뵿ÀÇ <span class="privacy_link">(ÀÚ¼¼ÇÑ ³»¿ëÀº '°³ÀÎÁ¤º¸Ãë±Þ¹æÄ§'À» Âü°íÇØÁÖ¼¼¿ä.)</span></h2>
                        
                        <? include("./privacy_text.html"); ?>
                        
                        <p>
                            <input type="radio" id="formText1" name="formText" value="1"><label for="formText1">µ¿ÀÇÇÔ</label>
                            <input type="radio" id="formText2" name="formText" value="2" checked><label for="formText2">µ¿ÀǾÈÇÔ</label>
                        </p>
                    </div>

                    <!-- ÀԷ¶õ -->
                    <table class="tieupTable">
                        <caption><span><span class="red">* </span>´Â Çʼö Ç׸ñÀÔ´Ï´Ù.</span></caption>
                        <tr>
                            <th width="150" class="top_bd"><span class="red">*</span>¼º¸í</th>
                            <td width="560" class="top_bd"><input  name="username" id="username" type="text" size="25" maxlength="30"></td>
                        </tr>
                        <tr>
                            <th>¿¬¶ôó</th>
                            <td>                        
                                <input name="tel1" type="text" size="3" maxlength="3"> -
                                <input name="tel2" type="text" size="4" maxlength="4"> -
                                <input name="tel3" type="text" size="4" maxlength="4">
                            </td>
                        </tr>
                        <tr>
                            <th>E-Mail</th>
                            <td class="blue"><input name="email" type="text" size="25" maxlength="30"> (´äº¯À» ¿øÇϽø頸ÞÀÏÀº ÇʼöÀÔ´Ï´Ù.)</td>
                        </tr>
                        <tr>
                            <th>°í°´±¸ºÐ</th>
                            <td>
                                <input type="checkbox" name="option" onClick="chkBoxCheck(0, this)" value="Á¤Ç°»ç¿ëÀÚ"> <label>Á¤Ç°»ç¿ëÀÚ</label>
                                <input type="checkbox" name="option" onClick="chkBoxCheck(1, this)" value="±¸¸Å¿¹Á¤"> <label>±¸¸Å¿¹Á¤</label>
                            </td>
                        </tr>
                        <tr>
                            <th>»ó´ã¿ø¸í</th>
                            <td>
                                <input name="telname" type="text" size="25" maxlength="30"> ¡Ø ´ç»ç »ó´ã¿øÀ» Àû¾îÁÖ¼¼¿ä.
                            </td>
                        </tr>
                        <tr>
                            <th><span class="red">* </span>Á¦¸ñ</th>
                            <td>
                                <textarea name="title" id="title" rows="1" cols="78" onKeyDown="if(event.keyCode == 13) return false;" onKeyUp="if(event.keyCode == 13) return false;" onKeyPress="if(event.keyCode == 13) return false;" style="overflow:hidden"></textarea>
                            </td>
                        </tr>
                        <tr>
                            <th><span class="red">* </span>³»¿ë</th>
                            <td>
                                <textarea name="detail" id="detail" rows="10" cols="76" 
placeholder="´ç»ç »ó´ãÁß ºÒÄ£Àý, ºÒÆí»çÇ×À» ÀÚ¼¼È÷ Àû¾îÁÖ¼¼¿ä.
                            
»ó´ãºÒÄ£ÀýÀº »ó´ã¿ø¸íÀ» ²À Àû¾îÁÖ¼¼¿ä.">´ç»ç »ó´ãÁß ºÒÄ£Àý, ºÒÆí»çÇ×À» ÀÚ¼¼È÷ Àû¾îÁÖ¼¼¿ä.
                            
»ó´ãºÒÄ£ÀýÀº »ó´ã¿ø¸íÀ» ²À Àû¾îÁÖ¼¼¿ä.</textarea>
                            </td>
                        </tr>
                        <tr>
                            <th><span class="red">* </span>½ºÆÔ¹æÁöÈ®ÀÎ</th>
                            <td>
<?php 
    
// ½ºÆÔ¹æÁö È®ÀΠÀû¿ë JS¿¡¼­ human_check() ÇÔ¼öÀÌ¿ë trueÀϰæ¿ì ÁøÇà POSTµÈ °ª¿¡¼­ $_REQUEST['g-recaptcha-response'] °ªÀÌ ÀÖÀ¸¸é true
    
include_once($_SERVER['DOCUMENT_ROOT']."/inc_pack/join_spam_inc.php"); 
?>
                            </td>
                        </tr>

                        <input type="hidden" name="ipadd" value=<?=$ipaddr?>>
                    </table>

                    <p class="tieupBtn"><a href="javascript:SM_submit_chk();"><img src="./img/customer/save_bt.jpg" alt="µî·Ï"></a></p>
                    </form>

                    <iframe name="ifrm" width="0" height="0"></iframe>
                    <iframe name="Joinifm" width="0" height="0"></iframe>
                </div><!-- //section -->

            </div><!-- //subContents -->
        </div><!-- //contents -->
    </div><!-- //wrap -->
<input id='txtarea_flag' type='hidden' name='txtarea_flag' value='0'>
<script>
    $(function(){
        $("#detail").focus(function(){
            if($("#txtarea_flag").val()=='0'){
                $("#txtarea_flag").val('1');
                $("#detail").val('');
            }
        });
    });
</script>

<? include("./include/footer.php"); ?>

<script language="javascript">
    //¶óµð¿À ¹öư ¹× Ã¼Å©¹Ú½º Å׵θ® ¾ø¾Ö±â
    RemoveOutline();
</script>