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

📄 order.jsp

📁 一个在线售票系统
💻 JSP
字号:
<%@ page language="java"  contentType="text/html;charset=gb2312"%>



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    
    <title>订票</title>
    
	<meta http-equiv="content-type" content="text/html; charset=gb2312">
    <link rel="stylesheet" href="../css/mm_lodging1.css" type="text/css">

  </head>
  <%
   request.setCharacterEncoding("gb2312");
   if(session.getAttribute("isLogin")==null)
  {
     %>
     <jsp:forward page="../login/login.html"/>
     <%
  }  
   String train_serial=request.getParameter("train_serial");
  %>
   <body text=#003300 vLink=#002200 leftMargin=0 topMargin=0>
  <table width="600"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr width="600">
        <td><img src="../image/16.gif"></td>
      </tr>
    </table>
    <table cellSpacing=0 cellPadding=0 width=600 align="center" bgcolor="#033D7C">
       <TBODY>
       <tr width="600" bgcolor="#a4c2c2">
          <td height="36" colspan="3" id="navigation" class="navText" align="center"><a href="../user/index.jsp">首页</a>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <a href="../user/inf_edit.jsp">控制面板</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../common/exit.jsp">退出</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
        </tr>
       </TBODY>
    </table>
    <br>
    <form action="../ticket/do_order.jsp?train_serial=<%=train_serial%>" method="post">
    <table cellSpacing=0 cellPadding=0 width=600 align="center" align="center">
      <tr>
        <td width="600" align="center" bgcolor="#cccccc">
        请填写以下订购表单
        </td>
      </tr>
    </table>
    <table cellSpacing=0 cellPadding=0 width=600 align="center" align="center">
      <tr>
        <td width="600" align="center" bgcolor="#EBEBEB">
          您想从:
        </td>
        <td width="600" align="center" bgcolor="#EBEBEB">
          <input type="text" name="from_station">站
        </td>
      </tr>
      <tr>
        <td width="600" align="center" bgcolor="#cccccc" height="3">
        </td>
        <td width="600" align="center" bgcolor="#cccccc" height="3">
        </td>
      </tr>
      <tr>
        <td width="600" align="center" bgcolor="#EBEBEB">
          到:
        </td>
        <td width="600" align="center" bgcolor="#EBEBEB">
          <input type="text" name="to_station">站
        </td>
      </tr>
      <tr>
        <td width="600" align="center" bgcolor="#cccccc" height="3">
        </td>
        <td width="600" align="center" bgcolor="#cccccc" height="3">
        </td>
      </tr>
      <tr>
        <td width="600" align="center" bgcolor="#EBEBEB">
         订购数:
        </td>
        <td width="600" align="center" bgcolor="#EBEBEB">
          <input type="text" name="ticket_num">张
        </td>
      </tr>
      <tr>
        <td width="600" align="center" bgcolor="#cccccc" height="3">
        </td>
        <td width="600" align="center" bgcolor="#cccccc" height="3">
        </td>
      </tr>
      <tr>
        <td width="600" align="center" bgcolor="#EBEBEB">
          车票类型:
        </td>
        <td width="600" align="center" bgcolor="#EBEBEB">
          <select name="ticket_type">
            <option value="hard_seat">硬座</option>
            <option value="soft_seat">软座</option>
            <option value="hard_recumbency">硬卧</option>
            <option value="soft_recumbency">软卧</option>
          </select>
        </td>
      </tr>
      <tr>
        <td width="600" align="center" bgcolor="#cccccc" height="3">
        </td>
        <td width="600" align="center" bgcolor="#cccccc" height="3">
        </td>
      </tr>
      <tr>
        <td width="600" align="right" bgcolor="#EBEBEB">
           <input type="submit" value="订购">
        </td>
        <td width="600" align="left" bgcolor="#EBEBEB">
          <input type="reset" value="取消">
        </td>
      </tr>
    </table>
    </form>
  </body>
</html>

⌨️ 快捷键说明

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