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
|
<?php @extract($_REQUEST); ?> <html> <head> <title>ÀÚ»ê°ü¸® Á¤Ç°µî·Ï</title> <meta http-equiv="Content-Type" content="text/html; charset=euc-kr"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <script src='/js/jquery-1.8.3.min.js'></script> <script> function test(){ parent.alert("qweqet"); }
function nameFocus(){ if(rgstFrm.sName.value == "ex)±è´ë¸®"){ rgstFrm.sName.value = ""; }else{ rgstFrm.sName.style.fontcolor = "#cccccc"; } }
function nameReturn(){ if(rgstFrm.sName.value == ""){ rgstFrm.sName.value = "ex)±è´ë¸®"; } }
function cdkeyProcess(){ if(rgstFrm.sCDKey.value == ""){ alert("Á¤Ç°¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä."); cdkey.focus(); return; }
if(rgstFrm.sName.value == "" || rgstFrm.sName.value == "ex)±è´ë¸®"){ alert("»ç¿ëÀÚ¸íÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä."); name.focus(); return; }
if(rgstFrm.sCDKey.value.length !== 12){ alert("Á¤Ç°¹øÈ£ 12ÀÚ¸®¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä."); rgstFrm.sCDKey.focus(); return; }
if($("#pda_lcs").val()=='Y'){ if($("input[name='typeCheck_tmp']").eq(0).is(":checked")==false && $("input[name='typeCheck_tmp']").eq(1).is(":checked")==false){ alert("±â´ÉÀ» ¼±ÅÃÇØÁÖ¼¼¿ä."); return; } $val = 0; $("input[name='typeCheck_tmp']").each(function(){ if($(this).is(":checked")){ $val = $(this).val(); } }); $("input[name='typeCheck']").val($val); } else { $("input[name='typeCheck']").val('0') }
rgstFrm.submit(); }
$(function(){ $("#sCDKey").blur(function(){ $v = $(this) .val(); form_data = "sCDKey="+$v; $.ajax({type:"post", url:"ajax.pda_rgst_ck.php", data:form_data, async:false, dataType : "xml", success:function(xml){ var v_mode = $(xml).find("mode").text(); var v_mode_ok = $(xml).find("mode_ok").text(); var v_radio_box = $(xml).find("radio_box").text();
$("#pda_lcs").val(v_mode_ok); if(v_mode_ok=='Y'){ $("#span_radio_box").html("<input type=\"radio\" name=\"typeCheck_tmp\" id=\"typeCheck2\" value=\"0\"><label for=\"typeCheck2\"><font size=\"2%\" color=\"white\"> Àüü±â´É</font></label> <input type=\"radio\" name=\"typeCheck_tmp\" id=\"typeCheck1\" value=\"1\"><label for=\"typeCheck1\"><font size=\"2%\" color=\"white\"> Á¶È¸±â´É</font></label>"); } else { $("#span_radio_box").html(''); } }, error:function(rtn,status,error){ alert(error); } }); }) });
</script>
<style> input::placeholder {color: #bbb;} input::-webkit-input-placeholder {color: #bbb;} input:-ms-input-placeholder {color: #bbb;} </style>
<!-- <body topmargin="0" leftmargin="0" style="background: url('./img/smart_bg1.png') no-repeat center center fixed; -webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;"> --> <body topmargin="0" leftmargin="0" style="background-color:#f3f3f3"> <iframe name='rgst_ifm' width="0" height="0" border="0"></iframe> <form name='rgstFrm' method='post' action='pdargstProcess.php' style="max-width:600px; padding:35px 20px; margin: 0 auto"> <table style="width:100%; letter-spacing:-0.85px"> <tr> <td align="center"> <img src="./img/logo.png" style="max-width:120px" border="0"> <p style="font-size:25px; margin:0; margin-top:15px; letter-spacing:-1.25px">õ³â°æ¿µ<b style="font-weight:800;"><em style="font-style:normal; color: #0054ad">N</em>S</b></p> <!-- <input type="hidden" name="sCDKey" id="sCDKey" value="<?/*=$_POST[sCDKey]*/?>"> <input type="hidden" name="sAppCode" id="sAppCode" value="<?/*=$_POST[sAppCode]*/?>"> --> <input type="hidden" name="parm_app_code" id="parm_app_code" value="<?=$_POST['parm_app_code']?>"><!-- ÇÁ·Î±×·¥ÄÚµå--> <input type="hidden" name="parm_pc_name" id="parm_pc_name" value="<?=$_POST['parm_pc_name']?>"><!-- PC¸í--> <input type="hidden" name="parm_os_type" id="parm_os_type" value="<?=$_POST['parm_os_type']?>"><!-- OS--> <input type="hidden" name="parm_screen_w" id="parm_screen_w" value="<?=$_POST['parm_screen_w']?>"><!-- ½ºÅ©¸°³ÐÀÌ--> <input type="hidden" name="parm_screen_h" id="parm_screen_h" value="<?=$_POST['parm_screen_h']?>"><!-- ½ºÅ©¸°³ôÀÌ--> <input type="hidden" name="parm_user_mac" id="parm_user_mac" value="<?=$_POST['parm_user_mac']?>"><!-- MACÁÖ¼Ò--> <input type="hidden" name="pda_lcs" id="pda_lcs" value="N"><!-- Á¶È¸±â´É ¼±Åÿ©ºÎ --> </td> </tr> <tr> <td> <p style="color:#878787;margin: 30px 0 15px 0;">Á¤Ç° µî·Ï ÈÄ °è¼Ó »ç¿ë °¡´ÉÇÕ´Ï´Ù.<br>¹ß±Þ¹ÞÀº [Á¤Ç°¹øÈ£] ÀÔ·Â ÈÄ [µî·Ï] ¹öư ´©¸£¼¼¿ä.</p> <p style="margin:0 0 30px">※ »ç¿ëÀÚ¸íÀº ÇʼöÀÔ´Ï´Ù.</p> </td> </tr> <tr> <td><b style="font-size:20px; display:block; margin-bottom: 20px">Á¤Ç° µî·Ï</b></td> </tr> <tr> <td> <input style="width:100%; padding:15px; box-sizing:border-box; border:0; border-radius:50px; font-size:18px; margin-bottom: 15px;" type="number" name="sCDKey" id="sCDKey" maxlength="12" placeholder="Á¤Ç°¹øÈ£"> </td> </tr> <tr> <td style="overflow:hidden"> <input style="width:75%; padding:15px; box-sizing:border-box; border:0; border-radius:50px; font-size:18px" type="text" name="sName" id="sName" maxlength="20" placeholder="»ç¿ëÀÚ¸í"><span style="float:right; color:#bbb; line-height:45px">ex) ±è´ë¸®</span> </td> </tr> <tr> <td valign="middle"> <input type="hidden" name="typeCheck" value="0"> <span id='span_radio_box'> </span> <p style='cursor:hand; color:#fff; margin-top: 50px; width:100%; font-size:21px; text-align:center; line-height:50px; background-color:#000' onclick="javascript:cdkeyProcess();">µî·Ï</p> </td> </tr> </table> </form> <div style="position:absolute; bottom:35px; text-align:center; width:100%"> <a style="color:#878787; text-decoration:none; " href="tel:02-401-5121">µµÀÔ¹®ÀÇ | 02) 401-5121</a><br> </div> </body> </html>
|