<!--#include file="conn.asp"-->
<!--#include file="top.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>站名查询</title>
<link rel="stylesheet" href="css1.css" type="text/css"> 
<STYLE type=text/css>TD {
	FONT-SIZE: 9pt; LINE-HEIGHT: 14px
}
A {
	COLOR: #000000; TEXT-DECORATION: none
}
A:hover {
	COLOR: #000000; TEXT-DECORATION: underline
}
#ancf {
	COLOR: #ffffff; TEXT-DECORATION: none
}
#bd {
	FONT-SIZE: 9pt
}
.style3 {
	COLOR: #ff0000
}
</STYLE><body>
<center>
<table width="777" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="100%" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="1">
        <!--DWLayoutTable-->
        <tr> <td width="160" valign="top"><!--#include file="leftmenu.asp"--></td>
          <td width="100%" valign="top">
		  <%
		  set rs=Server.CreateObject("Adodb.Recordset")
		  sql="select * from [stationinfo] where checi = '"&request("checi")&"' order by stationno"
		  rs.open sql,trainconn,1,1
		  
		  %>
		 <center> 
                <table cellspacing=1 CLASS="table1">
                  <tr>
                    <td colspan=4 CLASS="td1"><font color="#000000">当前车次：<%=request("checi")%></font></td>
                  </tr>
                  <tr> 
                    <td CLASS="td2"><font color="#000000">停靠站</font></td>
                    <td CLASS="td2"><font color="#000000">到达时刻</font></td>
                    <td CLASS="td2"><font color="#000000">开车时刻</font></td>
                    <td CLASS="td2"><font color="#000000">里程</font></td>
                  </tr>
                  <%
		  for i =  1 to rs.recordcount
		  %>
                  <tr> 
                    <TD VAlign=top CLASS="td3"> <div align="center"> 
                        <%
		 if rs("name")=request("flag") or rs("name")=request("flag1") or rs("name")="上海" then response.Write("<font color=red><b>")
		 response.Write(rs("name"))
		 
		 if rs("name")=request("flag") or rs("name")=request("flag1") then response.Write("</b></font>")%>
                      </div></TD>
                    <TD VAlign=top CLASS="td3"><div align="center"><%=rs("arrtime")%></div></TD>
                    <TD VAlign=top CLASS="td3"><div align="center"><%=rs("starttime")%></div></TD>
                    <TD VAlign=top CLASS="td3"><div align="center"><%=rs("distance")%></div></TD>
                  </tr>
                  <%
		rs.movenext
		next
		%>
                </TABLE>
                <p><a href='javascript:history.go(-1)'>返回</a> </center>
		 
		 </td>
        </tr>
      </table></td>
  </tr>    


</table></center>
</body>
</html>
<!--#include file="bottom.asp"-->