File name: addrbook/form/adminsert.fom (4,649 bytes) Text file viewer v1.2
    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%>&nbsp;</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 :     &nbsp;&nbsp;&nbsp;&nbsp;
   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 :     &nbsp;&nbsp;&nbsp;사용여부
  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 :    &nbsp;※ 개방형으로 두시면 주소록 자료가 타인에게 개방됩니다</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 :    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  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>
File name: addrbook/form/adminsert.fom (4,649 bytes) Wesoft Corp. ⓒ 2001 All rights reserved.