✏️ 编辑:select.php
路径:
/virtual/bigbrother/public_html/fx-genesis.com/select.php
大小:10.9 KB · 修改:2020-07-27 02:58:00 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
<html> <head> <meta charset="utf-8"> <style type="text/css"> .cp_iptxt { position: relative; width: 80%; margin: 40px 3%; } .cp_iptxt input[type='text'] { font: 15px/24px sans-serif; box-sizing: border-box; width: 100%; padding: 0.3em; transition: 0.3s; letter-spacing: 1px; color: #aaaaaa; border: 1px solid #1b2538; border-radius: 4px; } .ef input[type='text']:focus { border: 1px solid #da3c41; outline: none; box-shadow: 0 0 5px 1px rgba(218, 60, 65, .5); } .simple_square_btn2 { display: block; position: relative; width: 320px; padding: 0.8em; text-align: center; text-decoration: none; color: #1B1B1B; background: #fff; border: 1px solid #1B1B1B; } .simple_square_btn2:hover { background: #1B1B1B; color: #fff; cursor: pointer; text-decoration: none; } /*========== fx-box6 ==========*/ .fx-box6 { font-size: 1.2rem; margin-bottom: 3rem; text-align: left; font-size: 1.2rem; } .fx-box6 h2 { display: inline-block; background-color: #11b3bf; color: #ffffff; padding: .6rem 2rem; border-radius: 150px; } .fx-box6 p { text-align: left; } .fx-box6 img { margin: 0; } .fx-box6 h3 { position: relative; background: #dfefff; box-shadow: 0px 0px 0px 5px #dfefff; border: dashed 2px white; padding: 0.2em 0.5em; color: #454545; } /*価格テーブル*/ .table2 { border-collapse: collapse; margin: 0 auto; padding: 0; font-size: 1.1rem; border: none !important; /*width: 650px;*/ } .table2 tr { background-color: #fff; border-bottom: 2px solid #fff; } .table2 tr:nth-child(even) { background-color: #eee; } .table2 th, .table2 td { padding: .35em 1em; border: none; } .table2 thead th { font-size: .85em; padding: 1em; background-color: #fd6767; border: none; } .table2 thead tr { background-color: #fd6767; color: #fff; } .table2 tbody th { text-align: left; font-size: .8em; background-color: transparent; border: none; } .txt { text-align: left; font-size: .75em; } .price { text-align: right; color: #FF7043; font-weight: bold; } @media screen and (max-width: 600px) { .table2 { border: 0; width: 100% } .table2 th { background-color: #fd6767; display: block; border-right: none; } .table2 thead { border: none; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } .table2 tr { display: block; margin-bottom: .625em; border: 1px solid #fd6767; } .table2 td { border-bottom: 1px dotted #bbb; display: block; font-size: .8em; text-align: left; position: relative; padding: 1.5em 1em 1.5em 4em; border-right: none; } .table2 td::before { content: attr(data-label); font-weight: bold; position: absolute; left: 10px; color: #000; } .table2 td:last-child { border-bottom: 0; } .table2 tbody th { color: #fff; padding: 1em } .table2 tr:nth-child(even) { background-color: #fff; } } </style> </head> <body> <form method="post" name="kounyu"> <div class="fx-box6"> <table class="table2"> <thead> <tr> <th style="width: 15%;">プラン</th> <th scope="col">内容</th> <th scope="col">販売価格</th> <th style="width: 15%;">部数</th> </tr> </thead> <tbody> <tr> <th>ビギナー</th> <td data-label="内容" class="txt">はじめての方向け。利益の片鱗を体感していただきます。</td> <td data-label="価格" class="price">¥1,000</td> <td> <div class="cp_iptxt"> <label class="ef"> <select name="item1" id="item1_id"> <option value="0">0</option> <?php $price = 1000; for($i=1;$i<=10;$i++){ $price_sum = $price * $i; echo "<option value='{$price_sum}'>{$i}</option>\n"; } ?> </select> <!--<input type="text" placeholder="部数" "="">--> </label> </div> </td> </tr> <tr> <th>ミドル</th> <td data-label=" 内容" class="txt"> FXを副業以上にしたい方ならこちら。<br> テレワーク中でも気軽にエントリー可能です。 </td> <td data-label="価格" class="price">¥2,000</td> <td> <div class="cp_iptxt"> <label class="ef"> <select name="item2" id="item2_id"> <option value="0">0</option> <?php $price = 2000; for($i=1;$i<=10;$i++){ $price_sum = $price * $i; echo "<option value='{$price_sum}'>{$i}</option>\n"; } ?> </select> <!--<input type="text" placeholder="部数" "="">--> </label> </div> </td> </tr> <tr> <th>ハイエンド</th> <td data-label=" 内容" class="txt"> 投資家としてワンランク上を目指す方におすすめするプラン。<br> 確かな安定感で大変な人気を博しております。 </td> <td data-label="価格" class="price">¥4,000</td> <td> <div class="cp_iptxt"> <label class="ef"> <select name="item3" id="item3_id"> <option value="0">0</option> <?php $price = 4000; for($i=1;$i<=10;$i++){ $price_sum = $price * $i; echo "<option value='{$price_sum}'>{$i}</option>\n"; } ?> </select> <!--<input type="text" placeholder="部数" "="">--> </label> </div> </td> </tr> <tr> <th>スーペリア</th> <td data-label=" 内容" class="txt"> このプラン以上は専任のパートナーを配属します。<br> 確かな効果が出るまで徹底的にサポートいたします。 </td> <td data-label="価格" class="price">¥15,000</td> <td> <div class="cp_iptxt"> <label class="ef"> <select name="item4" id="item4_id"> <option value="0">0</option> <?php $price =15000; for($i=1;$i<=10;$i++){ $price_sum = $price * $i; echo "<option value='{$price_sum}'>{$i}</option>\n"; } ?> </select> <!--<input type="text" placeholder="部数" "="">--> </label> </div> </td> </tr> <tr> <th>エキスパート</th> <td data-label=" 内容" class="txt"> 短期間で生活水準の向上を図りたい方向け。<br> 大きな利益で悠々自適な生活を送りたい方にピッタリのプランになります。 </td> <td data-label="価格" class="price">¥30,000</td> <td> <div class="cp_iptxt"> <label class="ef"> <select name="item5" id="item5_id"> <option value="0">0</option> <?php $price = 30000; for($i=1;$i<=10;$i++){ $price_sum = $price * $i; echo "<option value='{$price_sum}'>{$i}</option>\n"; } ?> </select> <!--<input type="text" placeholder="部数" "="">--> </label> </div> </td> </tr> </tbody> </table> <div align=" center"> <a href="javascript:void(0)" class="simple_square_btn2" onclick='inputpage();'>お客様情報入力へ</a> </div> <p style="color: #ff0000;font-size: 0.9rem;"> ※ディスカウントコードをお持ちの方は、申込み前に「お問い合わせ」からご連絡をお願いいたします。<br> お問い合わせの際のメールアドレス宛に詳細を差し上げます。 </p> <br> </div> </form> <script> function inputpage(){ err = 0; if(document.kounyu.item1.selectedIndex<1){ if(document.kounyu.item2.selectedIndex<1){ if(document.kounyu.item3.selectedIndex<1){ if(document.kounyu.item4.selectedIndex<1){ if(document.kounyu.item5.selectedIndex<1)err = 1; } } } } if(err<1){ document.kounyu.action = "input.php"; document.kounyu.submit(); }else{ alert("部数が選択されていません。"); } } </script> </body> </html>
💾 保存
取消
保存为 UTF-8,换行统一为 LF