⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 payment.jsp

📁 Sun公司Dream项目
💻 JSP
字号:
<%@ include file="common_imports.jsp" %>



<%

    pageTitle = "Checkout";

    jspPath = "/shop/index.jsp";



    String totalPurchaseStr = request.getParameter("total_purchase");

    float totalPurchase = 0.0f;

    if (totalPurchaseStr != null)

        totalPurchase = Float.parseFloat(totalPurchaseStr);

            

    

%>



<%@ include file="top_body.jsp" %>



            <td width="395" valign="top">

              <table width="375" border="0" cellspacing="0" cellpadding="0">

                <tr>

                  <td>

                    <table width="375" border="0" cellspacing="0" cellpadding="0">

                      <tr>

                        <td >

                          <table border="0" cellspacing="0" cellpadding="0">

                            <FORM name="paymentForm" action="dreamshop">

                            <INPUT type="hidden" name="shop_action" value="validate_payment">

                            <INPUT type="hidden" name="jsp_path" value="/shop/confirmation.jsp">

                            <INPUT type="hidden" name="total_purchase" value="<%=totalPurchase%>">

                            <INPUT type="hidden" name="shop_id" value="<%=operaShopID%>">

                            <TR>

                              <TD class="body_text">Payment Method*: </TD>

                              <TD class="body_text">

                                <SELECT class="body_text" name="payment_method">

                                  <OPTION value="master">MasterCard</OPTION>

                                  <OPTION value="visa">Visa</OPTION>

                                  <OPTION value="amex">American Express</OPTION>

                                  <OPTION value="discover">Discover</OPTION>

                                </SELECT>

                              </TD>

                            </TR>

                            <TR>

                              <TD class="body_text">Credit Card No.*</TD>

                              <TD class="body_text"><INPUT class="body_text" name="cc_number" size="25" value=""></td>

                            <TR>

                              <TD class="body_text">Expiration date:* </TD>

                              <TD class="body_text"><INPUT class="body_text" name="cc_expire_date" size="25" value=""></TD>

                            </TR>

                            <TR>

                              <TD class="body_text" nowrap>Cardholder's name:*</TD>

                              <TD class="body_text"><INPUT class="body_text" name="cc_holder" size="25" value=""></TD>

                            </TR>

                            <TR>

                              <TD colspan="2" class="body_text">&nbsp</TD>

                            </TR>



                            <TR>

                              <TD colspan="2" class="body_text"><b>Billing Information</b></TD>

                            </TR>

                            <TR>

                                <TD width="100" class="body_text">Name:* </TD><TD><INPUT class="body_text" size="40" name="bill_name" value=""></TD>

                            </TR>

                            <TR>

                                <TD class="body_text">Address:* </TD><TD class="body_text"><INPUT class="body_text" size="40" name="bill_address" value =""></TD>

                            </TR>

                            <TR>

                                <TD class="body_text">City:* </TD><TD class="body_text"><INPUT class="body_text" size="40" name="bill_city" value=""></TD>

                            </TR>

                            <TR>

                                <TD class="body_text">State:* </TD><TD class="body_text"><INPUT class="body_text" size="3" name="bill_state" value="" MAXLENGTH="2"></TD>

                            </TR>

                            <TR>

                                <TD class="body_text">Country:* </TD><TD class="body_text"><INPUT class="body_text" size="25" name="bill_country" value=""></TD>

                            </TR>

                            <TR>

                                <TD colspan="2" class="body_text">&nbsp;</TD>

                            </TR>



                            <TR>

                                <TD colspan="2" align="right"><INPUT NAME="submit" TYPE="image" src="images/continue.gif" border="0" alt="Continue"></TD>

                            </TR>

                            </FORM>

                                                

                          </table>

                        </td>

                      </tr>

                      <tr>

                        <td>&nbsp;</td>

                      </tr>

                    </table>

                  </td>

                </tr>

                <tr>

                  <td width="175">&nbsp;</td>

                  <td width="175">&nbsp;</td>

                </tr>

              </table>

            </td>



<%@ include file="footer.jsp" %>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -