<!--#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"> 
<script type="text/javascript" src="getzm.js"></script>
<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 onload="InitSelect(document.frmGetZM.fzm_region,document.frmGetZM.fzm_station,document.frmGetZM.fzm,1);InitSelect(document.frmGetZM.dzm_region,document.frmGetZM.dzm_station,document.frmGetZM.dzm,24)">
<center>
  <table width="777" border="0" cellpadding="0" cellspacing="0">
    <tr> 
      <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="159" height="237" valign="top"><!--#include file="leftmenu.asp"--></td>
            <td width="611" valign="top"><table width="611" align="center" cellspacing=1 CLASS="table1">
                <tr> 
                  <td width="100%" colspan=5 CLASS=td1><div align="center"><font color="#FFFFFF">列车时刻表</font></div></td>
                </tr>
                <td WIDTH='96' CLASS=td2><div align="center"><font color="#000000">车次</font></div></td>
                <td WIDTH='96' CLASS=td2><div align="center"><font color="#000000">始发站</font></div></td>
                <td WIDTH='97' CLASS=td2><div align="center"><font color="#000000">终到站</font></div></td>
                <td WIDTH='97' CLASS=td2><div align="center"><font color="#000000">行程</font></div></td>
                <td WIDTH='97' CLASS=td2><div align="center"><font color="#000000">方向</font></div></td>
                </tr>
                <%set checirs=Server.CreateObject("Adodb.Recordset")
	checisql="select * from [traininfo] order by direction , checi"
	checirs.open checisql,trainconn,1,1
   for i =  1 to checirs.recordcount

%>
                <tr> 
                  <td CLASS=td3 ><div align="center"><a href='<%response.write "cccx2.asp?checi="&server.urlencode(checirs("checi"))&""%>' class=title1><%=checirs("checi")%></a></div></td>
                  <td CLASS=td3><div align="center"><%=checirs("startstation")%></div></td>
                  <td CLASS=td3><div align="center"><%=checirs("to")%></div></td>
                  <td CLASS=td3><div align="center"><%=checirs("distance")%></div></td>
				  <td CLASS=td3><div align="center"><%=checirs("direction")%></div></td>
                </tr>
                <%


checirs.movenext
next
checirs.close
set checirs=nothing
%>
              </table>
              <br>
              <table width="611" align="center" cellspacing=1 CLASS="table1">
                <tr> 
                  <td colspan=3 CLASS=td1><div align="center"><font color="#000000">全国铁路查询</font></div></td>
                </tr>
                <td WIDTH='203' CLASS=td2><div align="center"><a href="index.asp">站站查询</a></div></td>
                <td WIDTH='203' CLASS=td2><div align="center"><a href="index1.asp">车站查询</a></div></td>
                <td WIDTH='203' CLASS=td2><div align="center"><a href="index2.asp">车次查询</a></div></td>
                </tr>
                <tr> 
                  <td colspan="3" CLASS=td3 ><div align="center"> 
                      <table width=201 border=1 cellspacing=2 cellpadding=2 bgcolor=silver>
                        <form name="frmGetZM" method="POST" action="http://train.chinamor.cn.net/czcx.asp">
                          <tr> 
                            <td colspan=2 bgcolor=navy><font color=white>请选择站名:</font></td>
                          </tr>
                          <tr> 
                            <td colspan=2>站名: 
                              <input type=text size=10 style="font-size:14px" name="fzm"> 
                            </td>
                          </tr>
                          <tr> 
                            <td width=92 height="198">选择地区:<br> <select name="fzm_region" size=8 style="font-size:14px" onChange="OnSelectRegion(document.frmGetZM.fzm_region,document.frmGetZM.fzm_station,document.frmGetZM.fzm)">
                              </select> </td>
                            <td width=87 height="198">选择站名: 
                              <select name="fzm_station" size=8 style="font-size:14px" onChange="OnSelectStation(document.frmGetZM.fzm_station,document.frmGetZM.fzm)">
                                <option>北京&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
                              </select> </td>
                          </tr>
                          <tr> 
                            <td colspan=2> <p align=center> 
                                <input type=submit value="确认" style="font-size:14px" name="submit">
                                &nbsp;&nbsp;&nbsp;&nbsp; 
                                <input type=button value="使用帮助" style="font-size:14px" onClick="alert('从省市中选择车站所在的地区,从列表中选择站名')" name="button">
                              </p></td>
                          </tr>
                        </form>
                      </table>
                    </div>
                    <div align="center"></div></td>
                </tr>
              </table></td>
          </tr>

        </table></td>
  </tr>

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