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

📄 page.asp

📁 机票预定系统 各个模块的设计-ticket reservation systems detailed design system modules of the design
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
td {
	font-size: 12px;
	color: #000000;
	line-height: 20px;
}
body {
	margin-left: 5px;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 5px;
}
.STYLE3 {font-size: 14px}
-->
</style>
</head>

<body bgcolor="#F5F5F5">
<table width="550" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#3399CC">
  <!--#include file=conn.asp-->
  <%
	  ty=trim(request.QueryString("ty"))
	  tname=trim(request.QueryString("tname"))
	  tid=trim(request.QueryString("tid"))
'-------------------------------------------------------
		 select case ty
		   case 1 '航空公司内容
		        sql="select memo as content from Airways where CarrierCode='"&tid&"' "
		    case 2  '电子客票
		        sql="select DescEntroic as content from Airways where CarrierCode='"&tid&"' "
		    case 3  '机型介绍
		  		 sql="select airtext as content from TPlaneType where [name]='"&trim(left(tname,3))&"' "
		    case 4  '机场介绍
		  		 sql="select Memo as content from city where [CityCode]='"&trim(tname)&"' "
			case 5
		        sql="select DescTui,DescGai,DescQian as content from Airways where CarrierCode='"&tid&"' "
		 end select
		 '--------------------
		set rs=conn.execute(sql)
		        
				if ty=5 then
				content="<font color=red>退:</font>"&rs(0)&"<br>"
				content1="<font color=red>改\签:</font>"&rs(1)
				content2=""&rs(2)&"<br>"
				content=content+content1+content2
				else
				content=rs(0)&"<br>"
				end if
		rs_close
		conn_close
		
	if len(content)<1 then content="暂无内容!" end if
	%>
  <tr> 
    <td width="49" height="30" bgcolor="#3399CC"> <div align="left"><IMG   src="aircompanyimg/<%=tid%>.gif" hspace="5"></div></td>
    <td width="339" bgcolor="#3399CC"><span class="STYLE3"><font color="#FFFFFF"><%=tname%></font></span></td>
    <td width="160" align="right" bgcolor="#3399CC"><div class="Pcontent" align="right">
        <iframe src="http://weather.265.com/weather.htm" width="160" height="54" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
      </div>
        <div class="Pcontent">
          <script type="text/javascript">document.getElementById("Side_ArticleVote").style.display='none'</script>
      </div>
        <div class="Pfoot"></div>
    </div></td>
  </tr>
  <tr> 
    <td colspan="3" bgcolor="#FFFFFF"> <table width="550" border="0" align="center" cellpadding="5" cellspacing="0" bgcolor="#CCCCCC">
        <tr> 
          <td bgcolor="#FFFFFF"> 
            <%  response.Write(content) %>          </td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><div align="right">[<a href="javascript:self.close();">关闭窗口</a>] &nbsp;&nbsp;[<a href="javascript:self.print();">打印本页</a>]&nbsp;&nbsp;</div></td>
  </tr>
</table>
<title><%=tname%></title>
</body>
</html>

⌨️ 快捷键说明

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