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

📄 studentorder2.asp

📁 航空订票系统基于asp.net和sql2005包含数据库和图片
💻 ASP
字号:
<!--#include file="../global/inc/global.inc.asp"-->
<%
if OrderYesNo = 0 then
Response.Redirect("InvalidOrder.asp")
Response.End()
End If
ContactName = Request.Form("ContactName")
sex = Request.Form("sex")
Mobile = Request.Form("Mobile")
PersonNum = Request.Form("PersonNum")
GoDateYear = Request.Form("GoDateYear")
GoDateMonth = Request.Form("GoDateMonth")
phone = Request.Form("phone")
GoDateDay = Request.Form("GoDateDay")
address = Request.Form("address")
BackTime = Request.Form("BackTime")
id = Request.Form("id")
email = Request.Form("email")
OrderMemo = Request.Form("OrderMemo")
qq = Request.Form("qq")

InterId = Request.QueryString("InterId")
on error resume next
oConn_Start
strSql = strSql + "Select C.ClassName,(Select ClassName From Sm_Class Where ClassId=I.ToClassId) as ToClassName,"&_
"(Select BasicName From Sm_BasicParam Where BasicId=I.FlyId) as FlyName,"&_
"(Select BasicName From Sm_BasicParam Where BasicId=I.CompanyId) as CompanyName,"&_
"I.* From Sm_Class c Inner Join Sm_InterFly I on c.ClassId=i.FromClassId Where I.FlyFlag=2 And InterId="&InterId
Set oRs = oConn.Execute(strSql)
if ORs.Eof Then
Response.Write("没有该机票的相关信息")
Response.End()
oConn_Close
End If
FromClassName = oRs("ClassName")
ToClassName = oRs("ToClassName")
FlyName = oRs("FlyName")
CompanyName = oRs("CompanyName")
FromTime = GetFlyTime(oRs("FromTime"))
ToTime = GetFlyTime(oRs("ToTime"))
FlyPrice = oRs("FlyPrice")
FlyDoublePrice = oRs("FlyDoublePrice")
FlyNo = oRs("FlyNo")
FlyType = oRs("FlyType")
FlyWeekNo = oRs("FlyWeekNo")
FlyMemo = ReplaceContent(oRs("FlyMemo"))
oRs.Close
Set oRs = Nothing
oConn_Close
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>学生机票-上海神马航空特价打折飞国际机票票价查询票务中心021-51099919</title>
<link href="../style.css" rel="stylesheet" type="text/css">
<script language="javascript" src="../global/Script/YiFangCheckForm.js"></script>
<SCRIPT LANGUAGE="JavaScript">
<!--
//弹出式报警
g_check.alert	= true;
//-->
</SCRIPT>
</head>

<body>
<!--#include file="../include/top.asp"-->
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top"><table width="780" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="orgborder"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="25" background="../images/org_bk.gif">&nbsp;<img src="../images/arrow.gif" width="13" height="9"> <span class="tw"><strong>机票信息</strong></span></td>
            </tr>
            <tr>
              <td><img src="../images/5.gif" width="1" height="5"></td>
            </tr>
            <tr>
              <td><table width="99%" align="center" cellpadding="5" cellspacing="0">
                <tr align="center">
                  <td width="60">出发地</td>
                  <td width="60">目的地</td>
                  <td width="100">机场</td>
                  <td width="100">航空公司</td>
                  <td width="70">出发时间</td>
                  <td width="70">到达时间</td>
                  <td width="60">航班机号</td>
                  <td width="60">机型</td>
                  <td width="60">每周航班</td>
                  <td width="60">单程</td>
                  <td width="60">往返</td>
                </tr>
                <tr bgcolor="DFDFDF">
                  <td width="60" align="center" bgcolor="DFDFDF"><%=FromClassName%></td>
                  <td width="60" align="center" bgcolor="DFDFDF"><%=ToClassName%></td>
                  <td width="100" align="center" bgcolor="DFDFDF"> <%=FlyName%> </td>
                  <td width="100" align="center" bgcolor="DFDFDF"> <%=CompanyName%> </td>
                  <td width="70" align="center" bgcolor="DFDFDF"><%=FromTime%></td>
                  <td width="70" align="center"><%=ToTime%></td>
                  <td width="60" align="center"><%=FlyNo%></td>
                  <td width="60" align="center"><%=FlyType%></td>
                  <td width="60" align="center"><%=FlyWeekNo%></td>
                  <td width="60" align="center" bgcolor="DFDFDF"><%=FlyPrice%></td>
                  <td width="60" align="center"><%=FlyDoublePrice%></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td><img src="../images/5.gif" width="1" height="5"></td>
            </tr>
          </table></td>
        </tr>
        </table></td>
  </tr>
  <tr>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" class="orgborder"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="25" background="../images/org_bk.gif">&nbsp;<img src="../images/arrow.gif" width="13" height="9"> <span class="tw"><strong>订购人信息</strong></span></td>
      </tr>
      <tr>
        <td><table width="98%" align="center" cellpadding="5" cellspacing="0">
            <tr>
      <td width="100%" height="10">
        <form method="POST"  action="studentorder3.asp" name="regform">
          <div align="center">
            <table width="98%" border="0"  cellpadding="5" cellspacing="0">
              <tr bgcolor="f5f5f5">
                <td width="250" align="center" bgcolor="f5f5f5">乘机人姓名</td>
                <td width="330" bgcolor="f5f5f5">
                  <div align="center">乘机人身份证号或护照号</div></td>
              </tr>
<%for i=1 to personNum%>
              <tr> 
                <td align="center">                      <div align="center">
                  <input name="FlyTrueName<%=i%>" type="text" id="FlyTrueName<%=i%>" usage="notempty" Tip="*请填写<%=i%>乘机人的姓名">                    
                </div></td>
                <td> 
                  <div align="center"><FONT size=2>
                      <input name="FlyCartNo<%=i%>" type="text" id="FlyCartNo<%=i%>" size="35" usage="notempty" Tip="*请填写<%=i%>乘机人身份证号或护照号">
                    </FONT></div></td>
              </tr>
<%next%>
              <tr  bgcolor="f5f5f5">
                <td colspan="2">
                  <p align="center"><a href="order3.asp">
                    <input name="imageField" type="image" src="../images/sumbit.gif" width="80" height="22" border="0">
                </a>&nbsp;&nbsp;&nbsp;<img src="../images/reset.gif" width="80" height="22" onClick="javascript:document.regform.reset();"></p></td>
              </tr>
            </table>
          </div>
          <input type=hidden name="ContactName" value="<%= ContactName %>">
          <input type=hidden name="sex" value="<%= sex %>">
          <input type=hidden name="Mobile" value="<%= Mobile %>">
          <input type=hidden name="PersonNum" value="<%= PersonNum %>">
          <input type=hidden name="GoDateYear" value="<%= GoDateYear %>">
          <input type=hidden name="GoDateMonth" value="<%= GoDateMonth %>">
          <input type=hidden name="phone" value="<%= phone %>">
          <input type=hidden name="GoDateDay" value="<%= GoDateDay %>">
          <input type=hidden name="address" value="<%= address %>">
          <input type=hidden name="BackTime" value="<%= BackTime %>">
          <input type=hidden name="email" value="<%= email %>">
          <input type=hidden name="OrderMemo" value="<%= OrderMemo %>">
          <input type=hidden name="qq" value="<%= qq %>">
          <input name="InterId" type=hidden id="InterId" value="<%= InterId %>">
        </form></td>
    </tr>
          
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top">&nbsp;</td>
  </tr>
</table>
<div align=center>
<!--#include file="../include/bottom.asp"-->
</body>
</html>

⌨️ 快捷键说明

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