Html to CGI |
会員登録 | TOP画面 | サンプルプログラム | 設定+管理画面 | |
<html> <head> <meta name="content-language" content="ja"> <meta http-equiv="content-type" content="text/html; charset=x-sjis"> <title>Html to CGI サンプルプログラム - 会員登録</title> <style type="text/css"> body {margin:0 0 0 0;;color:black;background-color:white} th {color:white;text-align:left;font-size:16px} td {color:black;font-size:16px} a {color:gold;text-decoration:none} a:hover {color:red;text-decoration:none} </style> </head> <body> <table border="0" width="780" cellpadding="3" cellspacing="1"> <tr><form method="POST" name="cr" action="htm2.cgi"> <td><div align="center"> <table border=0 width=680 cellpadding=2> <tr> <th width="17%" bgcolor="#99b4b4" nowrap> 会員 ID <span style="font-size:12px;color:red;font-weight:400"><sup>※</sup></th> <td bgcolor="#eeeeee"><input name="id" type="text" size="15"> 半角英数字4〜12文字でお決めください。</td> </tr> <tr> <th width="17%" bgcolor="#99b4b4" nowrap> パスワード <span style="font-size:12px;color:red;font-weight:400"><sup>※</sup></th> <td bgcolor="#eeeeee"><input name="pass" type="password" size="10"> 念のためもういちど:<input name="pass2" type="password" size="10"> 半角英数字4〜8桁でお決めください。</td> </tr> <tr> <th width="17%" bgcolor="#99b4b4" nowrap> お名前 <span style="font-size:12px;color:red;font-weight:400"><sup>※</sup></th> <td bgcolor="#eeeeee">漢字:<input name="name1" type="text" size="20"> かな:<input name="name2" type="text" size="26"></td> </tr> <tr> <th width="17%" bgcolor="#99b4b4" nowrap> ご住所 <span style="font-size:12px;color:red;font-weight:400"><sup>※</sup></th> <td bgcolor="#eeeeee">〒<input name="zip" type="text" size="9"> <select name="ken"> <option value="" selected>都道府県 <option value="北海道">北海道 <option value="青森県">青森県 <option value="秋田県">秋田県 <option value="岩手県">岩手県 <option value="宮城県">宮城県 <option value="山形県">山形県 <option value="福島県">福島県 <option value="栃木県">栃木県 <option value="新潟県">新潟県 <option value="群馬県">群馬県 <option value="埼玉県">埼玉県 <option value="茨城県">茨城県 <option value="千葉県">千葉県 <option value="東京都">東京都 <option value="神奈川県">神奈川県 <option value="山梨県">山梨県 <option value="長野県">長野県 <option value="富山県">富山県 <option value="石川県">石川県 <option value="福井県">福井県 <option value="静岡県">静岡県 <option value="愛知県">愛知県 <option value="岐阜県">岐阜県 <option value="三重県">三重県 <option value="奈良県">奈良県 <option value="和歌山県">和歌山県 <option value="滋賀県">滋賀県 <option value="京都府">京都府 <option value="大阪府">大阪府 <option value="兵庫県">兵庫県 <option value="岡山県">岡山県 <option value="鳥取県">鳥取県 <option value="島根県">島根県 <option value="広島県">広島県 <option value="山口県">山口県 <option value="香川県">香川県 <option value="徳島県">徳島県 <option value="愛媛県">愛媛県 <option value="高知県">高知県 <option value="福岡県">福岡県 <option value="佐賀県">佐賀県 <option value="大分県">大分県 <option value="熊本県">熊本県 <option value="宮崎県">宮崎県 <option value="長崎県">長崎県 <option value="鹿児島県">鹿児島県 <option value="沖縄県">沖縄県 </option></select> <input name="addr" type="text" size="56"></td> </tr> <tr> <th width="17%" bgcolor="#99b4b4" nowrap> E-MAIL <span style="font-size:12px;color:red;font-weight:400"><sup>※</sup></th> <td bgcolor="#eeeeee"><input name="email" type="text" size="60"></td> </tr> <tr> <th width="17%" bgcolor="#99b4b4" nowrap> ホームページ</th> <td bgcolor="#eeeeee"><input name="hpurl" type="text" size="60"></td> </tr> <tr> <th width="17%" bgcolor="#99b4b4" nowrap> TEL/FAX</th> <td bgcolor="#eeeeee">TEL:<input name="tel" type="text" size="16"> FAX:<input name="fax" type="text" size="16"></td> </tr> <tr> <th width="17%" bgcolor="#99b4b4" nowrap> お知らせメール</th> <td bgcolor="#eeeeee"><input name="dm" type="checkbox" value="OK" checked>OK 当店からのお知らせメールをお送りしてもよろしいですか?</td> </tr> <tr> <th width="17%" bgcolor="#99b4b4" nowrap> コメント</th> <td bgcolor="#eeeeee"><font size=2>ご連絡事項がございましたらお書きください。</font><br><textarea name="comment" cols="60" rows="3" wrap="soft"></textarea></td> </tr> <tr> <td colspan="2"><span style="font-size:14px;font-weight:400"><font color="red"><sup>※</sup></font>の項目は必ずご記入をお願いします。</font></td> </tr> </table> <input type="hidden" name="action" value="会員登録"> ※1 <input type="hidden" name="preview" value="1"> ※2 <input type="hidden" name="save" value="1"> ※3 <input type="hidden" name="fini" value="005"> ※4 <input type="hidden" name="nextp" value="-"> ※5 <input type=submit name="submit" value=" 送信 "> </form> </td> </tr> </table> </body> </html>※1 このフォームのアクション