/home/mjc1/public_html/apphelp/admincs/chgpwd.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
<? session_start(); ?>
<title>ºñ¹Ð¹øÈ£ º¯°æ</title>
<?
       
if(( $id == "" ) && ( $sid == "" )) { 
?>
<script>
    alert("e¼ö¹ßÁÖ ·Î±×ÀΠÈÄ¿¡ À̿밡´ÉÇÕ´Ï´Ù.");
    self.close();
</script>
<?     
     
}

  include(
"../onlinecs/commonST.php");
?>


<!-- ºÒ·®Á¢¼ÓÀڠüƮ -->
<? include('../html/poorman.php'); ?>
<? 
include('../onlinecs/_Head.php'); ?>

<META http-equiv=Content-Type content="text/html; charset=euc-kr">
<script> window.name ="parentWindow"; </script> 
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<META content="MSHTML 6.00.2900.3429" name=GENERATOR>

<script language="javascript" src="okplugin_js.php?txtid=txt2"></script>
<script language="javascript">
    function chgpass()
    {
        var oldpass = document.getElementsByName('oldpass')[0].value;
        var newpass = document.getElementsByName('newpass')[0].value;
        var newpass2 = document.getElementsByName('newpass2')[0].value;

        if (oldpass == ''){
            alert('ÀÌÀü ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØ ÁֽʽÿÀ.');
            chgpassword.oldpass.focus();
            return;
        }

        if (newpass == ''){
            alert('½Å±Ô ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØ ÁֽʽÿÀ.');
            chgpassword.newpass.focus();
            return;
        }

        if (newpass2 == ''){
            alert('½Å±Ô ºñ¹Ð¹øÈ£ È®ÀÎÀ» ÀÔ·ÂÇØ ÁֽʽÿÀ.');
            chgpassword.newpass2.focus();
            return;
        }

        if (newpass !== newpass2){
            alert('½Å±Ô ºñ¹Ð¹øÈ£°¡ ÀÏÄ¡ÇÏÁö ¾Ê½À´Ï´Ù..');
            chgpassword.newpass2.focus();
            return;
        }

        chgpassword.submit();
    }
        

</script>

<iframe name="chgifrm" width="0" height="0"  style="border:0px;"></iframe>
<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" >
<table border="0" cellpadding="0" cellspacing="0" width="100%" width="300" height="180" align="center" valign="middle">
<form name="chgpassword" target="chgifrm" method="post" action="chgpassProcess.php" enctype="multipart/form-data">
    <tr>
        <td>
            <table width="100%" height="25" border="0" cellpadding="0" cellspacing="0" background="../onlinecs/img/tab/tab_bg.gif">
                <tr>
                    <td width="2">
                        <img src="../onlinecs/img/tab/tabl.gif">
                    </td>
                    <td width="100%" class="txt03" valign="middle" style="padding:0 10px;" align="center">
                        <b><font color="#2e77b2" size="2">[ ºñ¹Ð¹øÈ£ º¯°æ ]</b>
                    </td>
                    <td width="2">
                        <img src="../onlinecs/img/tab/tabr.gif">
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td height="8">
        </td>
    </tr>
    <tr>
        <td>


            <table width="290" height="25"  align="center" border="0" class="txt03"  cellpadding="3" cellspacing="1" bgcolor="d9d9d9" >
                <tr bgcolor="#f0f0f0">
                    <td width="120" align="center"><b>ÀÌÀü ºñ¹Ð¹øÈ£</td>
                    <td width="170" bgcolor="#ffffff" align="center"><input name="oldpass" type="password" style="width:180px;"></td>
                </tr>
                <tr bgcolor="#f0f0f0">
                    <td width="120" align="center"><b>½Å±Ô ºñ¹Ð¹øÈ£</td>
                    <td width="170" bgcolor="#ffffff" align="center"><input name="newpass" type="password" style="width:180px;"></td>
                </tr>
                <tr bgcolor="#f0f0f0">
                    <td width="120" align="center"><b>ºñ¹Ð¹øÈ£ È®ÀÎ</td>
                    <td width="170" bgcolor="#ffffff" align="center"><input name="newpass2" type="password" style="width:180px;"></td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td height="50" align="center">
            <table border="0" cellpadding="0" cellspacing="0" width="250" align="center">
                <tr>
                    <td align="center">
                        <a href="javascript:chgpass();"><img src="../onlinecs/img/common/pwdsave.gif" border="0"></a>
                    <td>
                    </td>
                    <td align="center">
                        <a href="javascript:self.close();"><img src="../onlinecs/img/common/pwdcancel.gif" border="0"></a>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</form>
<table>



            



</body>