/home/mjc1/public_html/renew/millennium/company_tieup.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
<?
$dir 
"."
include_once(
$dir."/_common.php"); 
?>
<? 
include("./include/header.php"); ?>

    <div class="wrap">

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

            <div class="subContents">
                <h1>
                    <img src="./img/titlebar/company_tieup.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/company/tieup.jpg" alt="¾÷¹«Á¦ÈÞ ¹®±¸"></h2>
                    <form name="jointinsertFrm" method="post"  target='ifrm' action=''>

                    <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="name" type="text" size="40" maxlength="50"></td>
                        </tr>
                        <tr>
                            <th><span class="red">*</span>e-mail</th>
                            <td><input name="email" type="text" size="40" maxlength="50"> (¸ÞÀϷΠ´äº¯À» µå¸®´Ï ²À ÀÔ·ÂÇϼ¼¿ä)</td>
                        </tr>
                        <tr>
                            <th>ÀüÈ­¹øÈ£</th>
                            <td>
                                <input name="tel1" type="text" size="4" maxlength="4"> -
                                <input name="tel2" type="text" size="4" maxlength="4"> -
                                <input name="tel3" type="text" size="4" maxlength="4">
                            </td>
                        </tr>
                        <tr>
                            <th>ÇÚµåÆù</th>
                            <td>
                                <input name="hp1" type="text" size="4" maxlength="4"> -
                                <input name="hp2" type="text" size="4" maxlength="4"> -
                                <input name="hp3" type="text" size="4" maxlength="4">
                            </td>
                        </tr>
                        <tr>
                            <th><span class="red">*</span>Á¦¸ñ</th>
                            <td><input name="subject" type="text" size="40" maxlength="50"></td>
                        </tr>
                        <tr>
                            <th><span class="red">*</span>³»¿ë</th>
                            <td>
                                <input type="hidden" name="clicktime" id="clicktime" value="0">
<textarea cols="82" rows="13" name='content' onclick="clear_text()" id="content">
¾÷¹« Á¦ÈÞ ³»¿ëÀ» ÀÔ·ÂÇØ ÁֽʽÿÀ.        
                                </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>
                    </table>        


                    <p class="tieupBtn"><a href="javascript:FrmCh();"><img src="./img/customer/price_bt.jpg" alt="°ßÀû¿äû"></a></p>

                    </form>
                </div><!-- //section -->

            </div><!-- //subContents -->

        </div><!-- //contents -->
    </div><!-- //wrap -->

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

<script>

function clear_text(){ 
    if(document.getElementById("clicktime").value == "0"){    //ùŬ¸¯¸¸ »èÁ¦

        var str=""; 
        var bb=document.getElementById("content"); 
        bb.innerHTML= str; 
        document.getElementById("clicktime").value = "1";
    }


function FrmCh(){
    if( jointinsertFrm.formText[1].checked == true){
        alert("°³ÀÎÁ¤º¸ Ãë±Þ¹æÄ§¿¡ µ¿ÀÇÇϼžߠµî·ÏµË´Ï´Ù.");
        return;
    }
    if( jointinsertFrm.name.value == ""){
        alert("°í°´ ¼º¸íÀº ÇʼöÇ׸ñÀÔ´Ï´Ù.");
        jointinsertFrm.name.focus();
        return;
    }
    if( jointinsertFrm.email.value == ""){
        alert("À̸ÞÀÏÀº ÇʼöÇ׸ñÀÔ´Ï´Ù.");
        jointinsertFrm.email.focus();
        return;
    }
    if( jointinsertFrm.subject.value == ""){
        alert("±ÛÁ¦¸ñÀº ÇʼöÇ׸ñÀÔ´Ï´Ù.");
        jointinsertFrm.subject.focus();
        return;
    }
    if(document.getElementById("clicktime").value == "0"){
        alert('¾÷¹«Á¦ÈÞ ³»¿ëÀ» ÀÔ·ÂÇØ ÁֽʽÿÀ.');
        return ;
    }

    if(!human_check()){
        alert('½ºÆÔ¹æÁö È®ÀÎÀ» ÇϽñ⠹ٶø´Ï´Ù.');
        return;
    }
    
    jointinsertFrm.target =  "jointIframe";
    jointinsertFrm.action = "<?php if($MJSOFT_SSL_USE=='Y'){?>https://<?php echo $_SERVER['SERVER_NAME'];?>/<?php echo $millennium_dir;?>/jointBoardProcess.php<?php } else {?>jointBoardProcess.php<?php }?>";
    jointinsertFrm.submit();
    
}

function Msgjoint(txt) {
    
    alert(txt);
    location.href = "company_tieup.php";
}
</script>