File name: addrbook/form/selfinfo.fom (4,497 bytes) Text file viewer v1.2
    1 : {&
    2 :   /* file: selfinfo.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 :   ARG= strform("list={$list}&k={$k}&n={$n}&o={$o}",
   13 :                "&pi={$pi}&pw={$pw}&pm={$pm}&ps={$ps}&pd={$pd}");
   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 : <link rel=stylesheet type="text/css" href="form/addrbook.css">
   22 : <script language="JavaScript">
   23 : <!--
   24 : 
   25 : function Check()
   26 :  {
   27 :    if(document.user.pass.value!=document.user.pass2.value)
   28 :     {
   29 :        alert("주소록 암호가 일치하지 않습니다!");
   30 :        document.user.pass2.focus();
   31 :        return false;
   32 :     }
   33 :    if(document.user.title.value=="")
   34 :     {
   35 :        alert("주소록 제목을 입력하여주십시오!");
   36 :        document.user.title.focus();
   37 :        return false;
   38 :     }
   39 :    if(document.user.name.value=="")
   40 :     {
   41 :        alert("주소록 소유자 이름을 입력하여주십시오!");
   42 :        document.user.name.focus();
   43 :        return false;
   44 :     }
   45 :    document.user.submit();
   46 :    return true;
   47 :  }
   48 : 
   49 : function golist()
   50 :  {
   51 :     url= "addrbook.wel?{$ARG}";
   52 :     location.replace(url);
   53 :  }
   54 : //-->
   55 : </script>
   56 : </head>
   57 : <body {$background} topmargin=2 onload="document.user.pass.focus()">
   58 : <center>
   59 : <table border=1 cellspacing=0>
   60 : <tr>
   61 : <td id=tdb bgcolor={$titlebgcolor}>
   62 :  <font size=3 color={$titlecolor}><b>&nbsp;{$us_title}&nbsp;</b></font></td>
   63 : </tr>
   64 : </table>
   65 : <table><tr><td height=2></td></tr></table>
   66 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} bgcolor={$BARCOLOR}
   67 :        style="border-width:1px; border-color:#000000">
   68 : <form name="user" method="post" action="selfinfo.wel">
   69 : <input type=hidden name="writeflag" value=1>
   70 : <input type=hidden name="list" value="{$list}">
   71 : <input type=hidden name="k" value="{$k}">
   72 : <input type=hidden name="n" value="{$n}">
   73 : <input type=hidden name="o" value="{$o}">
   74 : <input type=hidden name="pi" value="{$pi}">
   75 : <input type=hidden name="pw" value="{$pw}">
   76 : <input type=hidden name="pm" value="{$pm}">
   77 : <input type=hidden name="ps" value="{$ps}">
   78 : <input type=hidden name="pd" value="{$pd}">
   79 :  <tr>
   80 :   <td valign=bottom id=tdb width=70%>{$ckid} 의 자기정보 수정</td>
   81 :   <td align=right id=tdb width=30%>
   82 : {&button(1,"golist()","수 정 취 소","")}</td>
   83 :  </tr>
   84 : </table>
   85 : <p style="margin:1px 0 0 0;line-height:0"></p>
   86 : <table border=1 cellspacing=0 cellpadding=3 width={$WIDTH} bordercolordark=white bordercolorlight=#c8c8c8>
   87 :  <tr>
   88 :   <td id=tdhw>주소록 ID</td>
   89 :   <td id=tdl><font color=#0000f0>{$id}</font></td>
   90 :  </tr>
   91 :  <tr>
   92 :   <td id=tdhw>주소록 암호</td>
   93 :   <td id=tdl>
   94 :     암호: <input type=password name="pass" maxlength=12 size=12 id=it>
   95 :     &nbsp;&nbsp;&nbsp;&nbsp;
   96 :     암호확인: <input type=password name="pass2" maxlength=12 size=12 id=it></td>
   97 :  </tr>
   98 :  <tr>
   99 :   <td id=tdhw>주소록 제목</td>
  100 :   <td id=tdl><input type=text name="title" value="{$title}" maxlength=40 size=40 id=it></td>
  101 :  </tr>
  102 :  <tr>
  103 :   <td id=tdhw>페이지당 자료수</td>
  104 :   <td id=tdl>
  105 :     <select name="rpp">
  106 : {&
  107 :     for(i=5; i<=20; i++)
  108 :      {
  109 :         if(pagerec!=i) print("<option value='", i, "'>", i, "</option>");
  110 :          else print("<option value='", i, "' selected>", i, "</option>");
  111 :      }
  112 :  }
  113 :     </select></td>
  114 :  </tr>
  115 :  <tr>
  116 :   <td id=tdhw>주소록 형태</td>
  117 :   <td id=tdl>
  118 :     <select name="kind">
  119 :      <option value="C"{$selC}>폐쇄형</option>
  120 :      <option value="O"{$selO}>개방형</option>
  121 :     </select>&nbsp;&nbsp;※ 개방형으로 두시면 주소록 자료가 타인에게 개방됩니다.</td>
  122 :  </tr>
  123 :  <tr>
  124 :   <td id=tdhw>소유자 이름</td>
  125 :   <td id=tdl><input type=text name="name" value="{$name}" maxlength=14 size=14 id=it></td>
  126 :  </tr>
  127 :  <tr>
  128 :   <td id=tdhw>소유자 연락처</td>
  129 :   <td id=tdl>
  130 :    전화번호: <input type=text name="phone" value="{$phone}" maxlength=16 size=16 id=it>
  131 :    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  132 :    휴대폰번호: <input type=text name="hdphone" value="{$hdphone}" maxlength=16 size=16 id=it></td>
  133 :  </tr>
  134 :  <tr>
  135 :   <td id=tdhw>소유자 전자우편 주소</td>
  136 :   <td id=tdl><input type=text name="email" value="{$email}" maxlength=40 size=40 id=it></td>
  137 :  </tr>
  138 : </table>
  139 : <p style="margin:1px 0 0 0;line-height:0"></p>
  140 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} bgcolor={$BARCOLOR}
  141 :        style="border-width:1px; border-color:#000000">
  142 : <tr>
  143 :  <td id=tdb width=20%>
  144 :  <td align=center id=tdb width=60%>{$cpright}</td>
  145 :  <td align=right id=tdb width=20%>
  146 : {&button(1,"Check()","저 장 하 기","")}</td>
  147 :  </tr>
  148 : </table>
  149 : </form>
  150 : </center>
  151 : </body>
  152 : </html>
File name: addrbook/form/selfinfo.fom (4,497 bytes) Wesoft Corp. ⓒ 2001 All rights reserved.