1 : {&¢Ò
2 : /* file: adminsert.fom¢Ò
3 : author: ¼±¤Çö¢Ò
4 : ¢Ò
5 : Copyright (c) 2001/02/22 by Wesoft¢Ò
6 : All Rights Reserved.¢Ò
7 : */¢Ò
8 : ¢Ò
9 : WIDTH= 600;¢Ò
10 : BARCOLOR= bar_admincolor;¢Ò
11 : ARG= strform("list={$list}&k={$k}&ps={$ps}&pw={$pw}&pS={$pS}&pN={$pN}&pl={$pl}&pr={$pr}");¢Ò
12 : }¢Ò
13 : <html>¢Ò
14 : <head>¢Ò
15 : <!-- {$PROGRAM_NAME} {$PROGRAM_VERSION} -->¢Ò
16 : <meta http-equiv="Content-Type" content="text/html; charset=euc-kr">¢Ò
17 : <meta http-equiv="Pragma" content="no-cache">¢Ò
18 : <title>°³ÀÎ ÁÖ¼Ò·Ï ½Å±Ô ID ¹ß±Þ</title>¢Ò
19 : <link rel=stylesheet type="text/css" href="form/addrbook.css">¢Ò
20 : <script language="JavaScript" src="form/idcheck.js"></script>¢Ò
21 : <script language="javascript">¢Ò
22 : <!--¢Ò
23 : function golist()¢Ò
24 : {¢Ò
25 : url= "admin.wel?{$ARG}";¢Ò
26 : location.replace(url);¢Ò
27 : }¢Ò
28 : ¢Ò
29 : function Check()¢Ò
30 : {¢Ò
31 : if(idCheck2()==false) return false;¢Ò
32 : if(document.user.pass.value=="")¢Ò
33 : {¢Ò
34 : alert("ÁÖ¼Ò·Ï ¾ÏÈ£¸¦ ÀÔ·ÂÇÏ¿©ÁֽʽÿÀ!");¢Ò
35 : document.user.pass.focus();¢Ò
36 : return false;¢Ò
37 : }¢Ò
38 : if(document.user.pass.value!=document.user.pass2.value)¢Ò
39 : {¢Ò
40 : alert("ÁÖ¼Ò·Ï ¾ÏÈ£°¡ ÀÏÄ¡ÇÏÁö ¾Ê½À´Ï´Ù!");¢Ò
41 : document.user.pass2.focus();¢Ò
42 : return false;¢Ò
43 : }¢Ò
44 : if(document.user.title.value=="")¢Ò
45 : {¢Ò
46 : alert("ÁÖ¼Ò·Ï Á¦¸ñÀ» ÀÔ·ÂÇÏ¿©ÁֽʽÿÀ!");¢Ò
47 : document.user.title.focus();¢Ò
48 : return false;¢Ò
49 : }¢Ò
50 : if(document.user.name.value=="")¢Ò
51 : {¢Ò
52 : alert("ÁÖ¼Ò·Ï ¼ÒÀ¯ÀÚ À̸§À» ÀÔ·ÂÇÏ¿©ÁֽʽÿÀ!");¢Ò
53 : document.user.name.focus();¢Ò
54 : return false;¢Ò
55 : }¢Ò
56 : document.user.submit();¢Ò
57 : return true;¢Ò
58 : }¢Ò
59 : ¢Ò
60 : //-->¢Ò
61 : </script>¢Ò
62 : </head>¢Ò
63 : <body {$background} topmargin=2 onLoad="document.user.id.focus()">¢Ò
64 : <center>¢Ò
65 : <form name="user" method="post" action="adminsert.wel">¢Ò
66 : <input type=hidden name="writeflag" value=1>¢Ò
67 : <input type=hidden name="k" value="{$k}">¢Ò
68 : <input type=hidden name="ps" value="{$ps}">¢Ò
69 : <input type=hidden name="pw" value="{$pw}">¢Ò
70 : <input type=hidden name="pS" value="{$pS}">¢Ò
71 : <input type=hidden name="pN" value="{$pN}">¢Ò
72 : <input type=hidden name="pl" value="{$pl}">¢Ò
73 : <input type=hidden name="pr" value="{$pr}">¢Ò
74 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} bgcolor={$BARCOLOR}¢Ò
75 : style="border-width:1px; border-color:#000000">¢Ò
76 : <tr>¢Ò
77 : <td id=tdb width=20%> </td>¢Ò
78 : <td align=center valign=bottom id=tdb width=60%>¢Ò
79 : <font size=3><b>°³ ÀÎ ÁÖ ¼Ò ·Ï ½Å ±Ô I D ¹ß ±Þ</b></font></td>¢Ò
80 : <td align=right id=tdb width=20%>¢Ò
81 : {&button(1,"golist()","ID ¹ß ±Þ Ãë ¼Ò","")}</td>¢Ò
82 : </tr>¢Ò
83 : </table>¢Ò
84 : <p style="margin:1px 0 0 0;line-height:0"></p>¢Ò
85 : <table border=1 cellspacing=0 cellpadding=3 width={$WIDTH} bordercolordark=white bordercolorlight=#c8c8c8>¢Ò
86 : <tr>¢Ò
87 : <td id=tdhw>ÁÖ¼Ò·Ï ID</td>¢Ò
88 : <td id=tdl>¢Ò
89 : <input type=text name="id" maxlength=12 size=12 id=it>¢Ò
90 : {&button(1,"if(idCheck()==true) chkdupid()","ID Áߺ¹°Ë»ç","")}</td>¢Ò
91 : </tr>¢Ò
92 : <tr>¢Ò
93 : <td id=tdhw>ÁÖ¼Ò·Ï ¾ÏÈ£</td>¢Ò
94 : <td id=tdl>¢Ò
95 : ¾ÏÈ£: <input type=password name="pass" maxlength=12 size=12 id=it>¢Ò
96 : ¢Ò
97 : ¾ÏȣȮÀÎ: <input type=password name="pass2" maxlength=12 size=12 id=it></td>¢Ò
98 : </tr>¢Ò
99 : <tr>¢Ò
100 : <td id=tdhw>ÁÖ¼Ò·Ï Á¦¸ñ</td>¢Ò
101 : <td id=tdl><input type=text name="title" maxlength=40 size=40 id=it></td>¢Ò
102 : </tr>¢Ò
103 : <tr>¢Ò
104 : <td id=tdhw>ÆäÀÌÁö´ç ÀÚ·á¼ö</td>¢Ò
105 : <td id=tdl>¢Ò
106 : <select name="rpp">¢Ò
107 : {&¢Ò
108 : for(i=5; i<=20; i++)¢Ò
109 : {¢Ò
110 : if(pagerec!=i) print("<option value='", i, "'>", i, "</option>");¢Ò
111 : else print("<option value='", i, "' selected>", i, "</option>");¢Ò
112 : }¢Ò
113 : }¢Ò
114 : </select></td>¢Ò
115 : </tr>¢Ò
116 : <tr>¢Ò
117 : <td id=tdhw>ÇüÅÂ/»ç¿ë¿©ºÎ</td>¢Ò
118 : <td id=tdl>ÁÖ¼Ò·Ï ÇüÅÂ:¢Ò
119 : <select name="kind">¢Ò
120 : <option value="C" selected>Æó¼âÇü</option>¢Ò
121 : <option value="O">°³¹æÇü</option>¢Ò
122 : </select>¢Ò
123 : »ç¿ë¿©ºÎ¢Ò
124 : <select name="useflag">¢Ò
125 : <option value="Y" selected>»ç¿ë°¡´É</option>¢Ò
126 : <option value="N">»ç¿ëº¸·ù</option>¢Ò
127 : </select></td>¢Ò
128 : </tr>¢Ò
129 : <tr>¢Ò
130 : <td id=tdhw>¼ÒÀ¯ÀÚ À̸§</td>¢Ò
131 : <td id=tdl>¢Ò
132 : <input type=text name="name" maxlength=14 size=14 id=it>¢Ò
133 : ¡Ø °³¹æÇüÀ¸·Î µÎ½Ã¸é ÁÖ¼Ò·Ï ÀÚ·á°¡ ŸÀο¡°Ô °³¹æµË´Ï´Ù</td>¢Ò
134 : </tr>¢Ò
135 : <tr>¢Ò
136 : <td id=tdhw>¼ÒÀ¯ÀÚ ¿¬¶ôó</td>¢Ò
137 : <td id=tdl>¢Ò
138 : ÀüȹøÈ£: <input type=text name="phone" maxlength=16 size=16 id=it>¢Ò
139 : ¢Ò
140 : ÈÞ´ëÆù¹øÈ£: <input type=text name="hdphone" maxlength=16 size=16 id=it></td>¢Ò
141 : </tr>¢Ò
142 : <tr>¢Ò
143 : <td id=tdhw>¼ÒÀ¯ÀÚ ÀüÀÚ¿ìÆí ÁÖ¼Ò</td>¢Ò
144 : <td id=tdl><input type=text name="email" maxlength=40 size=40 id=it></td>¢Ò
145 : </tr>¢Ò
146 : </table>¢Ò
147 : <p style="margin:1px 0 0 0;line-height:0"></p>¢Ò
148 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} bgcolor={$BARCOLOR}¢Ò
149 : style="border-width:1px; border-color:#000000">¢Ò
150 : <tr>¢Ò
151 : <td align=center style="border-width:0" height=24>¢Ò
152 : {&button(1,"Check()","ID ¹ß ±Þ ÇÏ ±â","")}</td>¢Ò
153 : </tr>¢Ò
154 : </table>¢Ò
155 : {$cpright}¢Ò
156 : </form>¢Ò
157 : </center>¢Ò
158 : </body>¢Ò
159 : </html>¢Ò
|