1 : {&¶
2 : /* file: modify.fom¶
3 : author: 서광현¶
4 : ¶
5 : Copyright (c) 2001/02/22 by Wesoft¶
6 : All Rights Reserved.¶
7 : */¶
8 : ¶
9 : WIDTH= 555;¶
10 : BARCOLOR= bar_boardcolor;¶
11 : ARG= strform("no={$no}&list={$list}&k={$k}&n={$n}&o={$o}",¶
12 : "&pi={$pi}&pw={$pw}&pm={$pm}&ps={$ps}&pd={$pd}");¶
13 : }¶
14 : <html>¶
15 : <head>¶
16 : <!-- {$PROGRAM_NAME} {$PROGRAM_VERSION} -->¶
17 : <meta http-equiv="Content-Type" content="text/html; charset=euc-kr">¶
18 : <meta http-equiv="Pragma" content="no-cache">¶
19 : <title>개인 주소록 수정</title>¶
20 : <link rel=stylesheet type="text/css" href="form/addrbook.css">¶
21 : <script language="JavaScript">¶
22 : <!--¶
23 : function call_addr(formname, zip1, zip2, addr1, addr2)¶
24 : {¶
25 : url= "{$zipcode_url}/zipcode.wel?fn=" + formname + "&z1=" + zip1¶
26 : + "&z2=" + zip2 + "&a1=" + addr1 + "&a2=" + addr2;¶
27 : option= "left=10,top=10,width=500,height=300"¶
28 : + ",toolbar=no,menubar=no,status=no,resizable=no,scrollbars=yes";¶
29 : window.open(url,"zipcode",option);¶
30 : }¶
31 : ¶
32 : function clear_haddr()¶
33 : {¶
34 : document.addrbook.hzip1.value= "";¶
35 : document.addrbook.hzip2.value= "";¶
36 : document.addrbook.haddr1.value= "";¶
37 : document.addrbook.haddr2.value= "";¶
38 : }¶
39 : ¶
40 : function clear_oaddr()¶
41 : {¶
42 : document.addrbook.ozip1.value= "";¶
43 : document.addrbook.ozip2.value= "";¶
44 : document.addrbook.oaddr1.value= "";¶
45 : document.addrbook.oaddr2.value= "";¶
46 : }¶
47 : ¶
48 : function Check()¶
49 : {¶
50 : if(document.addrbook.name.value=="" && document.addrbook.office.value=="")¶
51 : {¶
52 : alert("이름 또는 직장명을 입력하여주십시오!");¶
53 : document.addrbook.name.focus();¶
54 : return false;¶
55 : }¶
56 : document.addrbook.submit();¶
57 : return true;¶
58 : }¶
59 : ¶
60 : function goview()¶
61 : {¶
62 : url= "view.wel?{$ARG}";¶
63 : location.replace(url);¶
64 : }¶
65 : ¶
66 : //-->¶
67 : </script>¶
68 : </head>¶
69 : <body {$background} topmargin=2 onload="document.addrbook.name.focus()">¶
70 : <center>¶
71 : <table border=1 cellspacing=0>¶
72 : <tr>¶
73 : <td id=tdb bgcolor={$titlebgcolor}>¶
74 : <font size=3 color={$titlecolor}><b> {$us_title} </b></font></td>¶
75 : </tr>¶
76 : </table>¶
77 : <table><tr><td height=2></td></tr></table>¶
78 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} bgcolor={$BARCOLOR}¶
79 : style="border-width:1px; border-color:#000000">¶
80 : <form name="addrbook" method="post" action="modify.wel">¶
81 : <input type=hidden name="writeflag" value=1>¶
82 : <input type=hidden name="no" value="{$no}">¶
83 : <input type=hidden name="list" value="{$list}">¶
84 : <input type=hidden name="k" value="{$k}">¶
85 : <input type=hidden name="n" value="{$n}">¶
86 : <input type=hidden name="o" value="{$o}">¶
87 : <input type=hidden name="pi" value="{$pi}">¶
88 : <input type=hidden name="pw" value="{$pw}">¶
89 : <input type=hidden name="pm" value="{$pm}">¶
90 : <input type=hidden name="ps" value="{$ps}">¶
91 : <input type=hidden name="pd" value="{$pd}">¶
92 : <tr>¶
93 : <td valign=bottom id=tdb width=70%>{$ckid} 의 주소록 수정</td>¶
94 : <td align=right id=tdb width=30%>¶
95 : {&button(1,"goview()","수 정 취 소","")}</td>¶
96 : </tr>¶
97 : </table>¶
98 : <p style="margin:1px 0 0 0;line-height:0"></p>¶
99 : <table border=1 cellspacing=0 width={$WIDTH} bordercolordark=white bordercolorlight=#c8c8c8>¶
100 : <tr>¶
101 : <td id=tdh>이름/생일</td>¶
102 : <td id=tdl>¶
103 : 이름: <input type=text name="name" value="{$name}" maxlength=30 size=30 id=it> ¶
104 : 생일: <input type=text name="birth" value="{$birth}" maxlength=16 size=16 id=it></td>¶
105 : </tr>¶
106 : <tr>¶
107 : <td id=tdh>핸드폰번호</td>¶
108 : <td id=tdl><input type=text name="hdphone" value="{$hdphone}" maxlength=16 size=16 id=it></td>¶
109 : </tr>¶
110 : <tr>¶
111 : <td id=tdh>집 연락처</td>¶
112 : <td id=tdl>¶
113 : 전화번호: <input type=text name="hphone" value="{$hphone}" maxlength=16 size=16 id=it> ¶
114 : 팩스번호: <input type=text name="hfax" value="{$hfax}" maxlength=16 size=16 id=it></td>¶
115 : </tr>¶
116 : <tr>¶
117 : <td id=tdh>홈페이지 주소</td>¶
118 : <td id=tdl><input type=text name="homepage" value="{$homepage}" maxlength=40 size=40 id=it></td>¶
119 : </tr>¶
120 : <tr>¶
121 : <td id=tdh>전자우편 주소</td>¶
122 : <td id=tdl><input type=text name="email" value="{$email}" maxlength=40 size=40 id=it></td>¶
123 : </tr>¶
124 : <tr>¶
125 : <td id=tdh>집 주소<br>¶
126 : <p align=center width=100% style="margin:8px 0 0 0">¶
127 : {&button(1,"clear_haddr()","집주소 지우기","width:95")}</p></td>¶
128 : <td id=tdl>¶
129 : <input type=text name="hzip1" value="{$hzip1}" maxlength=3 size=3 id=it readonly>¶
130 : - <input type=text name="hzip2" value="{$hzip2}" maxlength=3 size=3 id=it readonly> ¶
131 : {&button(1,"call_addr('addrbook','hzip1','hzip2','haddr1','haddr2')","집 주소찾기","")}<br>¶
132 : <input type=text name="haddr1" value="{$haddr1}" maxlength=68 size=68 id=it readonly><br>¶
133 : <input type=text name="haddr2" value="{$haddr2}" maxlength=50 size=50 id=it> ※ 나머지 주소</td>¶
134 : </tr>¶
135 : <tr>¶
136 : <td id=tdh>직장(학교) 이름</td>¶
137 : <td id=tdl><input type=text name="office" value="{$office}" maxlength=40 size=40 id=it></td>¶
138 : </tr>¶
139 : <tr>¶
140 : <td id=tdh>부서(과) 및 직위</td>¶
141 : <td id=tdl>¶
142 : 부서(과): <input type=text name="buseo" value="{$buseo}" maxlength=20 size=20 id=it> ¶
143 : 직위(학년/반): <input type=text name="position" value="{$position}" maxlength=10 size=10 id=it></td>¶
144 : </tr>¶
145 : <tr>¶
146 : <td id=tdh>직장(학교) 연락처</td>¶
147 : <td id=tdl>¶
148 : 전화번호: <input type=text name="ophone" value="{$ophone}" maxlength=16 size=16 id=it> ¶
149 : 팩스번호: <input type=text name="ofax" value="{$ofax}" maxlength=16 size=16 id=it></td>¶
150 : </tr>¶
151 : <tr>¶
152 : <td id=tdh>직장(학교) 주소<br>¶
153 : <p align=center width=100% style="margin:8px 0 0 0">¶
154 : {&button(1,"clear_oaddr()","직장주소 지우기","width:95")}</p></td>¶
155 : <td id=tdl>¶
156 : <input type=text name="ozip1" value="{$ozip1}" maxlength=3 size=3 id=it readonly>¶
157 : - <input type=text name="ozip2" value="{$ozip2}" maxlength=3 size=3 id=it readonly> ¶
158 : {&button(1,"call_addr('addrbook','ozip1','ozip2','oaddr1','oaddr2')","직장 주소찾기","")}<br>¶
159 : <input type=text name="oaddr1" value="{$oaddr1}" maxlength=68 size=68 id=it readonly><br>¶
160 : <input type=text name="oaddr2" value="{$oaddr2}" maxlength=50 size=50 id=it> ※ 나머지 주소</td>¶
161 : </tr>¶
162 : <tr>¶
163 : <td id=tdh>메 모</td>¶
164 : <td id=tdl><input type=text name="memo" value="{$memo}" maxlength=100 size=68 id=it></td>¶
165 : </tr>¶
166 : </table>¶
167 : <p style="margin:1px 0 0 0;line-height:0"></p>¶
168 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} bgcolor={$BARCOLOR}¶
169 : style="border-width:1px; border-color:#000000">¶
170 : <tr>¶
171 : <td id=tdb width=20%>¶
172 : <td align=center id=tdb width=60%>{$cpright}</td>¶
173 : <td align=right id=tdb width=20%>¶
174 : {&button(1,"Check()","저 장 하 기","")}</td>¶
175 : </tr>¶
176 : </table>¶
177 : </form>¶
178 : </center>¶
179 : </body>¶
180 : </html>¶
|