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
|
<? include("../../../../manage/category/common.php");
if (!isset($menu)) $menu = ""; if (!isset($div)) $div = ""; ?>
<link rel="stylesheet" type="text/css" href="../../css/reset.css" />
<script language="JavaScript">
function goIdPw(div) { if(div == "id") { document.frm_findpw.div.value = "id"; document.getElementById("dv_id").style.display = "none"; document.getElementById("dv_pw").style.display = ""; document.frm_findpw.rd_idpw[0].click(); } else if(div == "pw"){ document.frm_findpw.div.value = "pw"; document.getElementById("dv_id").style.display = ""; document.getElementById("dv_pw").style.display = "none"; document.frm_findpw.rd_idpw[1].click(); } init(); }
function checkIdpw() {
if(document.frm_findpw.txt_name.value.trim() == "") { alert("* ¼º¸íÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä."); document.frm_findpw.txt_name.focus(); return false; }
if(document.frm_findpw.txt_email.value.trim() == "") { alert("* °¡ÀÔ´ç½Ã ÀÔ·ÂÇÑ À̸ÞÀÏÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä."); document.frm_findpw.txt_email.focus(); return false; }
if(document.frm_findpw.div.value == "pw") { if(document.frm_findpw.txt_id.value.trim() == "") { alert("* ¾ÆÀ̵𸦠ÀÔ·ÂÇØÁÖ¼¼¿ä."); document.frm_findpw.txt_id.focus(); return false; }
if(!confirm("±âÁ¸ ºñ¹Ð¹øÈ£¸¦ »èÁ¦Çϰí Àӽúñ¹Ð¹øÈ£¸¦ ¹ß¼ÛÇÕ´Ï´Ù\nµ¿ÀÇÇϽʴϱî?")) { return false; } }
if(document.frm_findpw.div.value == "dv_id") { if(document.frm_findpw.tel1.value.trim() == "") { alert("* ÀüȹøÈ£¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä."); document.frm_findpw.tel1.focus(); return false; }
if(document.frm_findpw.tel2.value.trim() == "") { alert("* ÀüȹøÈ£¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä."); document.frm_findpw.tel2.focus(); return false; }
if(document.frm_findpw.tel3.value.trim() == "") { alert("* ÀüȹøÈ£¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä."); document.frm_findpw.tel3.focus(); return false; } } frm_findpw.submit(); }
String.prototype.trim = function() { return this.replace(/(^\s*)|(\s*$)/g, ""); } </script>
<style type="text/css"> .screen_out{ visibility:hidden; overflow:hidden; position:absolute; left:-9999px; width:0; height:0; font-size:0; line-height:0;}
.popup { width:212px; padding:5px; color: #555; font-size:14px; }
.idpwTitle { display:block; width:100%; height:28px; padding:12px 0 0 130px; font-weight: 600; background: url('../../images/member/find_id_pw_title.jpg') #e9e9e9 no-repeat 10px; border:1px solid #d0d0d0; } .idpwTitle span{ color: #888; }
.findBtn{ width:350px; text-align:center; padding-top:15px; cursor:pointer; } .findBtn input{ margin-right:5px; } .findBtn label{ margin-right:15px; }
label{ font-size:13px; font-weight: 600; }
fieldset{ width:305px; margin:15px 20px 0; } .findContents{ padding:3px 0; border-bottom:1px solid #cfcfcf;} .findContents:first-of-type{ border-top:2px solid #f29514;} fieldset label{ display:inline-block; width:80px; text-align:center; } .popup input[type=text]{ width:100px; border:1px solid #cfcfcf; border-radius:2px; padding:3px 5px; } .popup input[type=tel]{ width:50px; border:1px solid #cfcfcf; border-radius:2px; padding:3px 5px; } .popup input[type=email]{ width:176px; border:1px solid #cfcfcf; border-radius:2px; padding:3px 5px; }
.bottomBtn{ margin-top:20px; text-align:center; cursor:pointer; } </style>
<div class="popup"> <form name="frm_findpw" action="findidpw_ok.php" onsubmit="return checkIdpw();"> <input type="hidden" name="div" value="id">
<div class="idpwTitle">¾ÆÀ̵ð/ÆÐ½º¿öµå <span>ã±â</span></div>
<div class="findBtn"> <input type="radio" name="rd_idpw" id="rd_idpw_id" onclick="goIdPw('id')" value="0" checked><label for="rd_idpw_id">¾ÆÀ̵ðã±â</label> <input type="radio" name="rd_idpw" id="rd_idpw_pw" value="1" onclick="goIdPw('pw')"><label for="rd_idpw_pw">ºñ¹Ð¹øÈ£ ã±â</label> </div>
<!-- ·Î±×ÀÎ Form --> <form name="mloginFrm" method="post" target="login_ifm" action="loginProcess.php" onsubmit="inputSendit();"> <fieldset> <legend class="screen_out">¾ÆÀ̵ð ÆÐ½º¿öµå ã±â</legend>
<div class="findContents" > <label for="name">¼º ¸í</label> <input type="text" id="name" name="txt_id" size="10"> </div> <div class="findContents" id="dv_id" style="display:none"> <label for="id">¾ÆÀ̵ð</label> <input type="text" id="id" name="txt_id" size="10"> </div>
<div class="findContents"> <label for="email">À̸ÞÀÏ</label> <input type="email" name="txt_email" maxlength="30"> </div>
<div class="findContents" id="dv_pw" style="display:block"> <label for="tel">¿¬¶ôó</label> <input name="tel1" type="tel" size="3" maxlength="3"> - <input name="tel2" type="tel" size="4" maxlength="4"> - <input name="tel3" type="tel" size="4" maxlength="4"> </div>
<div class="bottomBtn"> <input type="hidden" name="frm_findpw" id="frm_findpw" value="<?=$menu_new?>"> <img src="../../images/member/find_bt.jpg" title="ã±â¹öư" onclick="checkIdpw();" tabindex="4"> <img src="../../images/member/close_bt.jpg" title="´Ý±â¹öư" onclick="self.close();" > </div>
</fieldset> </form>
<script language="JavaScript"> function init() { document.frm_findpw.txt_id.value = ""; document.frm_findpw.txt_name.value = ""; document.frm_findpw.tel1.value = ""; document.frm_findpw.tel2.value = ""; document.frm_findpw.tel3.value = ""; } document.frm_findpw.div.value = "id"; init(); </script>
<script>goIdPw('<?=$div?>');</script>
|