File name: addrbook/form/admin.fom (7,347 bytes) Text file viewer v1.2
    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>&nbsp;¢Ò
  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= "&nbsp;";¢Ò
  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,&nbsp;}{$selno}</td>¢Ò
  203 :  <td nowrap id=lb>{$id2}</td>¢Ò
  204 :  <td nowrap id=lb align=right>{?*!addr_recnt,&nbsp;}{$addr_recnt}</td>¢Ò
  205 :  <td nowrap id=lb>{?*!title,&nbsp;}{$title}</td>¢Ò
  206 :  <td nowrap id=lb>{?*!name,&nbsp;}{$name}</td>¢Ò
  207 :  <td nowrap id=lb>{?*!cku,&nbsp;}{$cku}</td>¢Ò
  208 :  <td nowrap id=lb align=right>{?*!usecnt,&nbsp;}{$usecnt}</td>¢Ò
  209 :  <td nowrap id=lb>{?*!logtime,&nbsp;}{$logtime}</td>¢Ò
  210 :  <td nowrap id=lb>{?*!wdtime,&nbsp;}{$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>¢Ò
File name: addrbook/form/admin.fom (7,347 bytes) Wesoft Corp. ¨Ï 2001 All rights reserved.