File name: addrbook/form/admview.fom (4,196 bytes) Text file viewer v1.2
    1 : {&
    2 :   /* file: admview.fom
    3 :      author: 서광현
    4 : 
    5 :      Copyright (c) 2001/02/22 by Wesoft
    6 :      All Rights Reserved.
    7 : 
    8 :   */
    9 : 
   10 :   WIDTH= 600;
   11 :   BARCOLOR= bar_admincolor;
   12 :   btname1= "수정하기", btaction1= "gomodify()";
   13 :   btname2= "삭제하기", btaction2= "godel()";
   14 :   ARG= strform("list={$list}&k={$k}&ps={$ps}&pw={$pw}&pS={$pS}&pN={$pN}&pl={$pl}&pr={$pr}");
   15 :  }
   16 : <html>
   17 : <head>
   18 : <!-- {$PROGRAM_NAME} {$PROGRAM_VERSION} -->
   19 : <meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
   20 : <meta http-equiv="Pragma" content="no-cache">
   21 : <title>개인 주소록 관리 조회</title>
   22 : <link rel=stylesheet type="text/css" href="form/addrbook.css">
   23 : <script language="javascript">
   24 : <!--
   25 : function golist()
   26 :  {
   27 :     url= "admin.wel?{$ARG}";
   28 :     location.replace(url);
   29 :  }
   30 : 
   31 : function gomodify()
   32 :  {
   33 :     url= "admmodify.wel?no={$selno}&{$ARG}";
   34 :     location.replace(url);
   35 :  }
   36 : 
   37 : function godel()
   38 :  {
   39 :     yes= confirm("등록번호 {$selno}번 {$id}({$name})을 삭제합니다. 계속하시겠습니까?");
   40 :     if(yes)
   41 :      {
   42 :         url= "admzap.wel?no={$selno}&{$ARG}";
   43 :         location.replace(url);
   44 :      }
   45 :  }
   46 : 
   47 : {&
   48 :   toname= queryencode(name);
   49 :   toemail= queryencode(email);
   50 :   frname= queryencode(us_name);
   51 :   fremail= queryencode(us_email);
   52 :   gomail= strform("lc=admview&to={$toemail}&toname={$toname}&",
   53 :                   "email={$fremail}&name={$frname}&no={$selno}&", ARG);
   54 :  }
   55 : function gomail()
   56 :  {
   57 :     location.replace("mail.wel?{$gomail}");
   58 :  }
   59 : //-->
   60 : </script>
   61 : </head>
   62 : {&
   63 :    FH= "<font color=#0000f0>";
   64 :    FH2= "<font color=#f00000>";
   65 :    FT= "</font>";
   66 :    if(email!="") email= "<a href='javascript:gomail()'>" ~ email ~ "</a>";
   67 :  }
   68 : <body {$background} topmargin=2>
   69 : <center>
   70 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} bgcolor={$BARCOLOR}
   71 :        style="border-width:1px; border-color:#000000">
   72 : <tr>
   73 :  <td id=tdb width=30%>
   74 : {&button(1,btaction1,btname1,"")}&nbsp;
   75 : {& if(class!="A") button(1,btaction2,btname2,"")}</td>
   76 :  <td align=center id=tdb width=40%>
   77 :   <font size=3><b>개 인 주 소 록 관 리 조 회</b></font></td>
   78 :  <td align=right id=tdb width=30%>
   79 : {&button(1,"golist()","관리자 메뉴로 가기","width:120")}</td>
   80 :  </tr>
   81 : </table>
   82 : <p style="margin:1px 0 0 0;line-height:0"></p>
   83 : <table border=1 cellspacing=0 cellpadding=3 width={$WIDTH} bordercolordark=white bordercolorlight=#c8c8c8>
   84 :  <tr>
   85 :   <td id=tdhw>부가정보</td>
   86 :   <td bgcolor=#f8f8e8>
   87 :    <table border=0 cellspacing=0 cellpadding=0 width=100%>
   88 :     <tr>
   89 :      <td id=tdl colspan=2>
   90 :       등록번호: <font size=3 color=#0000f0><b>{$selno}</b></font></td>
   91 :     </tr>
   92 :     <tr>
   93 :      <td id=tdl width=50%>최초등록일시: {$FH}{$wdtime}{$FT}</td>
   94 :      <td id=tdl width=50%>사용정지일시: {$FH2}{$sdtime}{$FT}</td>
   95 :     </tr>
   96 :     <tr>
   97 :      <td id=tdl width=50%>최후사용일시: {$FH}{$ldtime}{$FT}</td>
   98 :      <td id=tdl width=50%>이전사용일시: {$FH}{$lldtime}{$FT}</td>
   99 :     </tr>
  100 :    </table></td>
  101 :  </tr>
  102 :  <tr>
  103 :   <td id=tdhw>주소록 ID / 암호</td>
  104 :   <td id=tdl>
  105 :     ID: {$FH}{$id}{$FT}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  106 :     암호: {$FH}{$pass}{$FT}</td>
  107 :  </tr>
  108 : {& if(class=="A") SKIP= "YES"; else SKIP= ""; }{?*SKIP,{!goto next}}
  109 :  <tr>
  110 :   <td id=tdhw>주소록 제목</td>
  111 :   <td id=tdl>{$FH}{$title}{$FT}</td>
  112 :  </tr>{:next}
  113 :  <tr>
  114 :   <td id=tdhw>페이지당 자료수</td>
  115 :   <td id=tdl>{$FH}{$pagerec}{$FT}</td>
  116 :  </tr>
  117 :  <tr>
  118 :   <td id=tdhw>로그인횟수/자료수</td>
  119 :   <td id=tdl>
  120 :     로그인횟수: 총 {$FH}{$usecnt}{$FT}회&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  121 :     자료개수: {$FH}{$addr_recnt}{$FT}</td>
  122 :  </tr>
  123 :  <tr>
  124 :   <td id=tdhw>구분/형태/사용여부</td>
  125 :   <td id=tdl>{$FH}{$cku}{$FT}</td>
  126 :  </tr>
  127 :  <tr>
  128 :   <td id=tdhw>{$user}</td>
  129 :   <td bgcolor=#f8f8e8>
  130 :    <table border=0 cellspacing=0 cellpadding=0 width=100%>
  131 :     <tr>
  132 :      <td id=tdl width=30%>이름: {$FH}{$name}{$FT}</td>
  133 :      <td id=tdl width=30%>전화번호: {$FH}{$phone}{$FT}</td>
  134 :      <td id=tdl width=40%>핸드폰번호: {$FH}{$hdphone}{$FT}</td>
  135 :     </tr>
  136 :    </table></td>
  137 :  </tr>
  138 :  <tr>
  139 :   <td id=tdhw>{$user} 전자우편 주소</td>
  140 :   <td id=tdl>{$email}&nbsp;</td>
  141 :  </tr>
  142 : </table>
  143 : <p style="margin:1px 0 0 0;line-height:0"></p>
  144 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} bgcolor={$BARCOLOR}
  145 :        style="border-width:1px; border-color:#000000">
  146 : <tr>
  147 :  <td align=center style="border-width:0" height=20>
  148 :  {$cpright}</td>
  149 : </tr>
  150 : </table>
  151 : </center>
  152 : </body>
  153 : </html>
File name: addrbook/form/admview.fom (4,196 bytes) Wesoft Corp. ⓒ 2001 All rights reserved.