1 : {&¶
2 : /* file: admin.fom¶
3 : author: 서광현¶
4 : ¶
5 : Copyright (c) 2001/02/22 by Wesoft¶
6 : All Rights Reserved.¶
7 : */¶
8 : ¶
9 : WIDTH= 800;¶
10 : bgsw= 0;¶
11 : BARCOLOR= bar_admincolor;¶
12 : LISTHEADCOLOR= list_headcolor;¶
13 : ARG= strform("k={$k}&ps={$ps}&pw={$pw}&pS={$pS}&pN={$pN}&pl={$pl}&pr={$pr}");¶
14 : }¶
15 : <html>¶
16 : <head>¶
17 : <!-- {$PROGRAM_NAME} {$PROGRAM_VERSION} -->¶
18 : <meta http-equiv="Content-Type" content="text/html; charset=euc-kr">¶
19 : <meta http-equiv="Pragma" content="no-cache">¶
20 : <title>개인 주소록 관리 관리자 메뉴</title>¶
21 : <STYLE TYPE="text/css">¶
22 : <!--¶
23 : a:link, a:visited, a:hover, a:active { font-size:9pt; text-decoration:none; }¶
24 : a:link { color:#000000; text-decoration:none; }¶
25 : a:visited { color:#000000; text-decoration:none; }¶
26 : a:hover { color:#0000e0; text-decoration:underline; }¶
27 : a:active { color:#0000e0; text-decoration:underline; }¶
28 : ¶
29 : #lh { height:16px; text-align:center; font-size:9pt; color:#ffffff;¶
30 : background:{$LISTHEADCOLOR}; vertical-align:bottom;¶
31 : border-width:1px; border-color:#b8b8b8; border-style:solid;¶
32 : border-left:none; border-top:none }¶
33 : ¶
34 : #lb { height:18px; font-size:9pt; color:#000000; vertical-align:bottom;¶
35 : padding: 0px 3px 0px 3px;¶
36 : border-width:1px; border-color:#b8b8b8; border-style:solid;¶
37 : border-left:none; border-top:none }¶
38 : ¶
39 : #tdb { border-width:0; padding:3px;¶
40 : font-size:9pt; color:#000000; font-family:'굴림'; }¶
41 : ¶
42 : #it { height:18px; font-size:9pt; color:#0000f0; font-family:'굴림';¶
43 : background:#f8f8e8; border-width:1px; border-color:#000000; }¶
44 : ¶
45 : #ib { height:18px; font-size:9pt;¶
46 : background-image: url(image/gray.gif);¶
47 : border-width:1px; border-color:#000000; }¶
48 : ¶
49 : select { font-size:9pt; color: #000090; background:#f0f8ff; }¶
50 : -->¶
51 : </STYLE>¶
52 : <script language="javascript">¶
53 : <!--¶
54 : function mover(id)¶
55 : {¶
56 : id.style.background= "#d0f8d0";¶
57 : }¶
58 : ¶
59 : function mout(id,bgc)¶
60 : {¶
61 : id.style.background= bgc;¶
62 : }¶
63 : ¶
64 : function Check()¶
65 : {¶
66 : var i, ch, newstr= "";¶
67 : var orgstr= document.search.k.value;¶
68 : ¶
69 : for(i=0; i<orgstr.length; i++)¶
70 : {¶
71 : ch= orgstr.charAt(i);¶
72 : if(ch!=" ") newstr= newstr + ch;¶
73 : }¶
74 : document.search.k.value= newstr;¶
75 : if(newstr=="")¶
76 : {¶
77 : alert("찾으시려는 주소록 ID 또는 제목 또는 등록자 이름을 공백없이 입력하세요.");¶
78 : document.search.k.focus();¶
79 : return false;¶
80 : }¶
81 : return true;¶
82 : }¶
83 : ¶
84 : var inflag=0, save_keyword;¶
85 : ¶
86 : function keyword_focus()¶
87 : {¶
88 : document.search.k.focus();¶
89 : if(inflag==0) { inflag= 1; save_keyword= document.search.k.value; }¶
90 : if(document.search.k.value==save_keyword)¶
91 : {¶
92 : document.search.k.select();¶
93 : }¶
94 : }¶
95 : ¶
96 : function goselected(sel)¶
97 : {¶
98 : if(sel.options[sel.selectedIndex].value!="")¶
99 : {¶
100 : url="admin.wel?list="+sel.options[sel.selectedIndex].value+"&{$ARG}";¶
101 : location.replace(url);¶
102 : }¶
103 : }¶
104 : ¶
105 : function gopage(page)¶
106 : {¶
107 : if(page<1) return;¶
108 : url= "admin.wel?pg=" + page + "&list={$list}&{$ARG}";¶
109 : location.replace(url);¶
110 : }¶
111 : ¶
112 : function goview(selno)¶
113 : {¶
114 : url= "admview.wel?no=" + selno + "&list={$list}&{$ARG}";¶
115 : location.replace(url);¶
116 : }¶
117 : ¶
118 : function goinsert()¶
119 : {¶
120 : url= "adminsert.wel?list={$list}&{$ARG}";¶
121 : location.replace(url);¶
122 : }¶
123 : ¶
124 : function gomemo()¶
125 : {¶
126 : url= "admmemo.wel?&list={$list}&{$ARG}";¶
127 : location.replace(url);¶
128 : }¶
129 : ¶
130 : function gologout()¶
131 : {¶
132 : location.replace("logout.wel");¶
133 : }¶
134 : //-->¶
135 : </script>¶
136 : </head>¶
137 : <body {$background} topmargin=2 onLoad="keyword_focus()">¶
138 : <center>¶
139 : <font style="font-size:9pt;"><font color=#f00000>{$ckid}</font> 님의¶
140 : 최후 사용일시: <font color=#f00000>{$addr_llogin_time}</font>¶
141 : (사용일시가 틀리면 암호가 노출되었을 수 있으니 관리자의 암호는 주기적으로 변경하세요)</font><br>¶
142 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} bgcolor={$BARCOLOR}¶
143 : style="border-width:1px; border-color:#000000">¶
144 : <form method="get" name="search" action="admin.wel" onSubmit="return Check()">¶
145 : <input type=hidden name="list" value="s">¶
146 : <input type=hidden name="ps" value="{$ps}">¶
147 : <input type=hidden name="pw" value="{$pw}">¶
148 : <input type=hidden name="pS" value="{$pS}">¶
149 : <input type=hidden name="pN" value="{$pN}">¶
150 : <input type=hidden name="pl" value="{$pl}">¶
151 : <input type=hidden name="pr" value="{$pr}">¶
152 : <tr>¶
153 : <td width=34% id=tdb>¶
154 : <select onchange="goselected(this)">¶
155 : <option value="w"{$selw}>등록순서보기</option>¶
156 : <option value="S"{$selS}>신규신청보기</option>¶
157 : <option value="N"{$selN}>사용정지보기</option>¶
158 : <option value="l"{$sell}>사용순서보기</option>¶
159 : <option value="r"{$selr}>사용역순보기</option>¶
160 : {&¶
161 : if(k!="")¶
162 : {¶
163 : /" <option value="s"{$sels}>검색자료보기</option>\n"/¶
164 : }¶
165 : }¶
166 : </select> ¶
167 : {$now_recnt} / <font color=#0000f0><b>{$tot_recnt}</b></font></td>¶
168 : <td width=32% align=center id=tdb>¶
169 : <font size=3><b>개 인 주 소 록 관 리 자 메 뉴</b></font></td>¶
170 : <td width=34% align=right id=tdb>¶
171 : <input type="text" name="k" value="{$keyword}" size=16 maxlength=40¶
172 : onmouseover="keyword_focus()" id=it>¶
173 : {&button(2,"if(Check()==true) document.search.submit()","찾기","")}¶
174 : {&button(1,"goinsert()","신규 ID 발급","width:80")}</td>¶
175 : </tr>¶
176 : </table>¶
177 : <p style="margin:1px 0 0 0;line-height:0"></p>¶
178 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} style="border-width:0px">¶
179 : <tr>¶
180 : <td>¶
181 : <div style="width:{$WIDTH};overflow:auto;">¶
182 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH}¶
183 : style="border-width:1px; border-color:#000000;">¶
184 : <tr>¶
185 : <td nowrap id=lh width=7%>번호</td>¶
186 : <td nowrap id=lh width=12%>주소록 ID</td>¶
187 : <td nowrap id=lh width=7%>건수</td>¶
188 : <td nowrap id=lh width=14%>주소록 제목</td>¶
189 : <td nowrap id=lh width=7%>소유자</td>¶
190 : <td nowrap id=lh width=11%>구분/형태/사용</td>¶
191 : <td nowrap id=lh width=7%>로긴회수</td>¶
192 : <td nowrap id=lh width=23%>최후로그인 [이전로그인]</td>¶
193 : <td nowrap id=lh width=12%>등록일자</td>¶
194 : </tr>¶
195 : {!repeat,$pagerec}{&¶
196 : bgsw= 1 - bgsw;¶
197 : if(bgsw==0) BGC="#e8e8e8"; else BGC="#ffffff";¶
198 : if(id=="") id2= " ";¶
199 : else id2= "<a href='javascript:goview("~selno~")'>" ~ id ~ "</a>";¶
200 : }¶
201 : <tr bgcolor='{$BGC}' onmouseover="mover(this)" onmouseout="mout(this,'{$BGC}')">¶
202 : <td nowrap id=lb align=right>{?*!selno, }{$selno}</td>¶
203 : <td nowrap id=lb>{$id2}</td>¶
204 : <td nowrap id=lb align=right>{?*!addr_recnt, }{$addr_recnt}</td>¶
205 : <td nowrap id=lb>{?*!title, }{$title}</td>¶
206 : <td nowrap id=lb>{?*!name, }{$name}</td>¶
207 : <td nowrap id=lb>{?*!cku, }{$cku}</td>¶
208 : <td nowrap id=lb align=right>{?*!usecnt, }{$usecnt}</td>¶
209 : <td nowrap id=lb>{?*!logtime, }{$logtime}</td>¶
210 : <td nowrap id=lb>{?*!wdtime, }{$wdtime}</td>¶
211 : </tr>¶
212 : {!endrep}¶
213 : </table>¶
214 : </div></td>¶
215 : </tr>¶
216 : </table>¶
217 : </table>¶
218 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} bgcolor={$BARCOLOR}¶
219 : style="border-width:1px; border-color:#000000;border-bottom:none">¶
220 : <tr>¶
221 : {& today= mid(date(3),8) ~ "(" ~ week_str[iweek()] ~ ")"; }¶
222 : <td id=tdb width=15%>총 <font color=#f00000>{$tot_page}</font> 페이지</td>¶
223 : <td align=center id=tdb width=70%>{&include("pagebar.sub")}</td>¶
224 : <td align=right nowrap id=tdb width=15%>{$today}</td>¶
225 : </tr>¶
226 : </table>¶
227 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} bgcolor={$BARCOLOR}¶
228 : style="border-width:1px; border-color:#000000">¶
229 : <tr>¶
230 : <td id=tdb width=20%>¶
231 : {&button(1,"gomemo()","메모관리","")}</td>¶
232 : <td align=center id=tdb width=60%>{$cpright}</td>¶
233 : <td align=right id=tdb width=20%>¶
234 : {&button(1,"gologout()","로그아웃하기","width:80")}</td>¶
235 : </tr>¶
236 : </table>¶
237 : </form>¶
238 : </center>¶
239 : </body>¶
240 : </html>¶
|