Current Path : /home/tools/fm/tml_admin/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/tools/fm/tml_admin/user_zip.html |
<?xml version="1.0" encoding="euc-jp"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja"> <head> <meta http-equiv="Content-Type" content="text/html; charset=euc-jp" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <title>郵便番号検索</title> <link rel="stylesheet" type="text/css" href="$PATH_TML$FILE_CSS" /> </head> <body> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="tips"> <$IMG_SQUARE0 /> 検索結果 ( $MAKE_QUERY => $MAKE_NUM 件 ) </td> </tr> </table> <form method="get" action="$FILE_SCRIPT"> <ul> $MAKE_LIST </ul> <script type="text/javascript"> <!-- function write_zip(zip00, zip01, pref0, addr0, type) { var count = $MAKE_NUM var zip0 = new Array; var zip1 = new Array; var pref = new Array; var addr = new Array; $MAKE_LIST_JS if (document.forms[0].addr.length) { for (i = 0; i < document.forms[0].addr.length; i++) { if (document.forms[0].addr[i].checked) { zip0 = zip0[i]; zip1 = zip1[i]; pref = pref[i]; addr = addr[i]; } } } else { zip0 = zip0[0]; zip1 = zip1[0]; pref = pref[0]; addr = addr[0]; } var pref_num = 0; for (i = 0; i < window.opener.document.forms[0].length; i++) { if (type == 0) { if (window.opener.document.forms[0].elements[i].name == zip00) { window.opener.document.forms[0].elements[i].value = zip0; } if (window.opener.document.forms[0].elements[i].name == zip01) { window.opener.document.forms[0].elements[i].value = zip1; } } else { if (window.opener.document.forms[0].elements[i].name == zip00) { window.opener.document.forms[0].elements[i].value = zip0 + '-' + zip1; } } if (window.opener.document.forms[0].elements[i].name == pref0) { pref_num = window.opener.document.forms[0].elements[i].options.length; for (j = 0; j < pref_num; j++) { if (window.opener.document.forms[0].elements[i].options[j].text == pref) { window.opener.document.forms[0].elements[i].options[j].selected = true; } } } if (window.opener.document.forms[0].elements[i].name == addr0) { window.opener.document.forms[0].elements[i].value = addr; } } close(); } --> </script> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center"> <input type="button" value=" 書き込み " onclick="write_zip($WRITE_ZIP)" /> <input type="button" value=" 閉じる " onclick="window.close()" /> </td> </tr> </table> </td> </tr> <tr> <td class="tips_td"><br /></td> </tr> </table> </form> </body> </html>