File name: addrbook/form/insert.fom (5,940 bytes) Text file viewer v1.2
    1 : {&¢Ò
    2 :   /* file: insert.fom¢Ò
    3 :      author: ¼­±¤Çö¢Ò
    4 : ¢Ò
    5 :      Copyright (c) 2001/02/22 by Wesoft¢Ò
    6 :      All Rights Reserved.¢Ò
    7 :   */¢Ò
    8 : ¢Ò
    9 :   WIDTH= 555;¢Ò
   10 :   BARCOLOR= bar_boardcolor;¢Ò
   11 :   ARG= strform("list={$list}&k={$k}&n={$n}&o={$o}",¢Ò
   12 :                "&pi={$pi}&pw={$pw}&pm={$pm}&ps={$ps}&pd={$pd}");¢Ò
   13 :  }¢Ò
   14 : <html>¢Ò
   15 : <head>¢Ò
   16 : <!-- {$PROGRAM_NAME} {$PROGRAM_VERSION} -->¢Ò
   17 : <meta http-equiv="Content-Type" content="text/html; charset=euc-kr">¢Ò
   18 : <meta http-equiv="Pragma" content="no-cache">¢Ò
   19 : <title>°³ÀÎ ÁÖ¼Ò·Ï ÀÔ·Â</title>¢Ò
   20 : <link rel=stylesheet type="text/css" href="form/addrbook.css">¢Ò
   21 : <script language="JavaScript">¢Ò
   22 : <!--¢Ò
   23 : function call_addr(formname, zip1, zip2, addr1, addr2)¢Ò
   24 :  {¢Ò
   25 :     url= "{$zipcode_url}/zipcode.wel?fn=" + formname + "&z1=" + zip1¢Ò
   26 :        + "&z2=" + zip2 + "&a1=" + addr1 + "&a2=" + addr2;¢Ò
   27 :     option= "left=10,top=10,width=500,height=300"¢Ò
   28 :           + ",toolbar=no,menubar=no,status=no,resizable=no,scrollbars=yes";¢Ò
   29 :     window.open(url,"zipcode",option);¢Ò
   30 :  }¢Ò
   31 : ¢Ò
   32 : function clear_haddr()¢Ò
   33 :  {¢Ò
   34 :     document.addrbook.hzip1.value= "";¢Ò
   35 :     document.addrbook.hzip2.value= "";¢Ò
   36 :     document.addrbook.haddr1.value= "";¢Ò
   37 :     document.addrbook.haddr2.value= "";¢Ò
   38 :  }¢Ò
   39 : ¢Ò
   40 : function clear_oaddr()¢Ò
   41 :  {¢Ò
   42 :     document.addrbook.ozip1.value= "";¢Ò
   43 :     document.addrbook.ozip2.value= "";¢Ò
   44 :     document.addrbook.oaddr1.value= "";¢Ò
   45 :     document.addrbook.oaddr2.value= "";¢Ò
   46 :  }¢Ò
   47 : ¢Ò
   48 : function Check()¢Ò
   49 :  {¢Ò
   50 :    if(document.addrbook.name.value=="" && document.addrbook.office.value=="")¢Ò
   51 :     {¢Ò
   52 :        alert("À̸§ ¶Ç´Â Á÷Àå¸íÀ» ÀÔ·ÂÇÏ¿©ÁֽʽÿÀ!");¢Ò
   53 :        document.addrbook.name.focus();¢Ò
   54 :        return false;¢Ò
   55 :     }¢Ò
   56 :    document.addrbook.submit();¢Ò
   57 :    return true;¢Ò
   58 :  }¢Ò
   59 : ¢Ò
   60 : function golist()¢Ò
   61 :  {¢Ò
   62 :     url= "addrbook.wel?{$ARG}";¢Ò
   63 :     location.replace(url);¢Ò
   64 :  }¢Ò
   65 : //-->¢Ò
   66 : </script>¢Ò
   67 : </head>¢Ò
   68 : <body {$background} topmargin=2 onload="document.addrbook.name.focus()">¢Ò
   69 : <center>¢Ò
   70 : <table border=1 cellspacing=0>¢Ò
   71 : <tr>¢Ò
   72 : <td id=tdb bgcolor={$titlebgcolor}>¢Ò
   73 :  <font size=3 color={$titlecolor}><b>&nbsp;{$us_title}&nbsp;</b></font></td>¢Ò
   74 : </tr>¢Ò
   75 : </table>¢Ò
   76 : <table><tr><td height=2></td></tr></table>¢Ò
   77 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} bgcolor={$BARCOLOR}¢Ò
   78 :        style="border-width:1px; border-color:#000000">¢Ò
   79 : <form name="addrbook" method="post" action="insert.wel">¢Ò
   80 : <input type=hidden name="writeflag" value=1>¢Ò
   81 : <input type=hidden name="k" value="{$k}">¢Ò
   82 : <input type=hidden name="n" value="{$n}">¢Ò
   83 : <input type=hidden name="o" value="{$o}">¢Ò
   84 : <input type=hidden name="pi" value="{$pi}">¢Ò
   85 : <input type=hidden name="pw" value="{$pw}">¢Ò
   86 : <input type=hidden name="pm" value="{$pm}">¢Ò
   87 : <input type=hidden name="ps" value="{$ps}">¢Ò
   88 : <input type=hidden name="pd" value="{$pd}">¢Ò
   89 :  <tr>¢Ò
   90 :   <td valign=bottom id=tdb width=70%>{$ckid} ÀÇ ÁÖ¼Ò·Ï ½Å±Ô µî·Ï</td>¢Ò
   91 :   <td align=right id=tdb width=30%>¢Ò
   92 : {&button(1,"golist()","µî·Ï Ãë¼Ò","")}</td>¢Ò
   93 :  </tr>¢Ò
   94 : </table>¢Ò
   95 : <p style="margin:1px 0 0 0;line-height:0"></p>¢Ò
   96 : <table border=1 cellspacing=0 width={$WIDTH} bordercolordark=white bordercolorlight=#c8c8c8>¢Ò
   97 :  <tr>¢Ò
   98 :   <td id=tdh>À̸§/»ýÀÏ</td>¢Ò
   99 :   <td id=tdl>¢Ò
  100 :      À̸§: <input type=text name="name" maxlength=30 size=30 id=it>&nbsp;&nbsp;¢Ò
  101 :      »ýÀÏ: <input type=text name="birth" maxlength=16 size=16 id=it></td>¢Ò
  102 :  </tr>¢Ò
  103 :  <tr>¢Ò
  104 :   <td id=tdh>ÇÚµåÆù¹øÈ£</td>¢Ò
  105 :   <td id=tdl><input type=text name="hdphone" maxlength=16 size=16 id=it></td>¢Ò
  106 :  </tr>¢Ò
  107 :  <tr>¢Ò
  108 :   <td id=tdh>Áý ¿¬¶ôó</td>¢Ò
  109 :   <td id=tdl>¢Ò
  110 :      ÀüÈ­¹øÈ£: <input type=text name="hphone" maxlength=16 size=16 id=it>&nbsp;&nbsp;¢Ò
  111 :      Æѽº¹øÈ£: <input type=text name="hfax" maxlength=16 size=16 id=it></td>¢Ò
  112 :  </tr>¢Ò
  113 :  <tr>¢Ò
  114 :   <td id=tdh>ȨÆäÀÌÁö ÁÖ¼Ò</td>¢Ò
  115 :   <td id=tdl><input type=text name="homepage" maxlength=40 size=40 id=it></td>¢Ò
  116 :  </tr>¢Ò
  117 :  <tr>¢Ò
  118 :   <td id=tdh>ÀüÀÚ¿ìÆí ÁÖ¼Ò</td>¢Ò
  119 :   <td id=tdl><input type=text name="email" maxlength=40 size=40 id=it></td>¢Ò
  120 :  </tr>¢Ò
  121 :  <tr>¢Ò
  122 :   <td id=tdh>Áý ÁÖ¼Ò<br>¢Ò
  123 :    <p align=center width=100% style="margin:8px 0 0 0">¢Ò
  124 :     {&button(1,"clear_haddr()","ÁýÁÖ¼Ò Áö¿ì±â","width:95")}</p></td>¢Ò
  125 :   <td id=tdl>¢Ò
  126 :     <input type=text name="hzip1" maxlength=3 size=3 id=it readonly>¢Ò
  127 :     - <input type=text name="hzip2" maxlength=3 size=3 id=it readonly>&nbsp;&nbsp;¢Ò
  128 : {&button(1,"call_addr('addrbook','hzip1','hzip2','haddr1','haddr2')","Áý ÁÖ¼Òã±â","")}<br>¢Ò
  129 :     <input type=text name="haddr1" maxlength=68 size=68 id=it readonly><br>¢Ò
  130 :     <input type=text name="haddr2" maxlength=50 size=50 id=it> ¡Ø ³ª¸ÓÁö ÁÖ¼Ò</td>¢Ò
  131 :  </tr>¢Ò
  132 :  <tr>¢Ò
  133 :   <td id=tdh>Á÷Àå(Çб³) À̸§</td>¢Ò
  134 :   <td id=tdl><input type=text name="office" maxlength=40 size=40 id=it></td>¢Ò
  135 :  </tr>¢Ò
  136 :  <tr>¢Ò
  137 :   <td id=tdh>ºÎ¼­(°ú) ¹× Á÷À§</td>¢Ò
  138 :   <td id=tdl>¢Ò
  139 :     ºÎ¼­(°ú): <input type=text name="buseo" maxlength=20 size=20 id=it>&nbsp;&nbsp;¢Ò
  140 :     Á÷À§(Çгâ/¹Ý): <input type=text name="position" maxlength=10 size=10 id=it></td>¢Ò
  141 :  </tr>¢Ò
  142 :  <tr>¢Ò
  143 :   <td id=tdh>Á÷Àå(Çб³) ¿¬¶ôó</td>¢Ò
  144 :   <td id=tdl>¢Ò
  145 :      ÀüÈ­¹øÈ£: <input type=text name="ophone" maxlength=16 size=16 id=it>&nbsp;&nbsp;¢Ò
  146 :      Æѽº¹øÈ£: <input type=text name="ofax" maxlength=16 size=16 id=it></td>¢Ò
  147 :  </tr>¢Ò
  148 :  <tr>¢Ò
  149 :   <td id=tdh>Á÷Àå(Çб³) ÁÖ¼Ò<br>¢Ò
  150 :    <p align=center width=100% style="margin:8px 0 0 0">¢Ò
  151 :     {&button(1,"clear_oaddr()","Á÷ÀåÁÖ¼Ò Áö¿ì±â","width:95")}</p></td>¢Ò
  152 :   <td id=tdl>¢Ò
  153 :     <input type=text name="ozip1" maxlength=3 size=3 id=it readonly>¢Ò
  154 :     - <input type=text name="ozip2" maxlength=3 size=3 id=it readonly>&nbsp;&nbsp;¢Ò
  155 : {&button(1,"call_addr('addrbook','ozip1','ozip2','oaddr1','oaddr2')","Á÷Àå ÁÖ¼Òã±â","")}<br>¢Ò
  156 :     <input type=text name="oaddr1" maxlength=68 size=68 id=it readonly><br>¢Ò
  157 :     <input type=text name="oaddr2" maxlength=50 size=50 id=it> ¡Ø ³ª¸ÓÁö ÁÖ¼Ò</td>¢Ò
  158 :  </tr>¢Ò
  159 :  <tr>¢Ò
  160 :   <td id=tdh>¸Þ ¸ð</td>¢Ò
  161 :   <td id=tdl><input type=text name="memo" maxlength=100 size=68 id=it></td>¢Ò
  162 :  </tr>¢Ò
  163 : </table>¢Ò
  164 : <p style="margin:1px 0 0 0;line-height:0"></p>¢Ò
  165 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} bgcolor={$BARCOLOR}¢Ò
  166 :        style="border-width:1px; border-color:#000000">¢Ò
  167 :  <tr>¢Ò
  168 :   <td id=tdb width=20%>¢Ò
  169 :   <td align=center id=tdb width=60%>{$cpright}</td>¢Ò
  170 :   <td align=right id=tdb width=20%>¢Ò
  171 : {&button(1,"Check()","Àú Àå ÇÏ ±â","")}</td>¢Ò
  172 :  </tr>¢Ò
  173 : </table>¢Ò
  174 : </form>¢Ò
  175 : </center>¢Ò
  176 : </body>¢Ò
  177 : </html>¢Ò
File name: addrbook/form/insert.fom (5,940 bytes) Wesoft Corp. ¨Ï 2001 All rights reserved.