/home/mjc1/public_html/html/ProgramState/pda_rgst2.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
<?php
@extract($_REQUEST);
?>
<html>
<head>
<title>ÀÚ»ê°ü¸® Á¤Ç°µî·Ï</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<link href="../css/style.css" rel="stylesheet" type="text/css">
</head>
<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(rgstFrm.typeCheck[0].checked == false &&  rgstFrm.typeCheck[1].checked == false){
            alert("±â´ÉÀ» ¼±ÅÃÇØÁÖ¼¼¿ä.");
            return;
        }

        rgstFrm.submit();
}

</script>



<body topmargin="0" leftmargin="0" bgcolor="#030712">

<iframe name='rgst_ifm' width="0" height="0" border="0"></iframe>

<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<form name='rgstFrm' method='post' action='pdargstProcess.php' >
    <tr>
        <td height="20%" colspan="4" align="center" valign="top">
            <img src="./img/smart_logo.png" width="65%" border="0">
<!--            <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ÁÖ¼Ò-->
        </td>
    </tr>

    <tr>
        <td height="5%" align="center"><font size="2%" color="#50caff">Á¤Ç°¹øÈ£ ¹× »ç¿ëÀÚ¸í ÀԷ ÈÄ [Àü¼Û]¹öưÀ» ´©¸£¼¼¿ä</font></td>
    </tr>

    <tr>
        <td width="80%" align="center" valign="top">
        <table>
            <tr>
                <td width="30%" align="right">
                    <font size="2%" color="white"><b>&nbsp;&nbsp;&nbsp;Á¤Ç°¹øÈ£&nbsp;</b></font>
                </td>
                <td>
                    <input type="text" name="sCDKey" id="sCDKey" style="width:80%; height:130%; font-size:13pt;" maxlength="12">
                </td>
            </tr>

            </br></br>

            <tr>
                <td width="30%" align="right">
                    <font size="2%" color="white"><b>&nbsp;&nbsp;&nbsp;»ç¿ëÀÚ¸í&nbsp;</b></font>
                </td>
                <td>
                    <input type="text" name="sName" id="sName" style="width:60%; height:130%; font-size:13pt;"  maxlength="20"><font size="1%" color="white"> ex)±è´ë¸®</font>
                </td>
            </tr>
        </table>
        </td>
    </tr>

    <tr>
        <td align="center" valign="middle">
            <input type="radio" name="typeCheck" id="typeCheck2" value="0"><label for="typeCheck2"><font size="2%" color="white"> Àüü±â´É</font></label>
            &nbsp;&nbsp;
            <input type="radio" name="typeCheck" id="typeCheck1" value="1"><label for="typeCheck1"><font size="2%" color="white"> Á¶È¸±â´É</font></label>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="./img/smart_send.png" width="25%" border="0" style='cursor:hand;' onclick="javascript:cdkeyProcess();">
        </td>
    </tr>
    <tr>
        <td height="30%" align="center" valign="middle" >
        <img src="./img/smart_ad.jpg" width="100%" border="0">
    </tr>    
  </form>
</table>
</body>
</html>