<!--#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 language="JavaScript">
function add(num)
{
	document.frmGetCC.checi.value=document.frmGetCC.checi.value+num;
	document.frmGetCC.checi.focus();
}
function head(num)
{
	document.frmGetCC.checi.value=num;
	document.frmGetCC.checi.focus();
}
</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>
<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"> 
                      <form name="frmGetCC" method="POST" action="http://train.chinamor.cn.net/cccx.asp">
                       
  <table width="334" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF"
 style="border: 2px solid rgb(0,0,128)" class="large" align="center">
    <tr> 
                            <td width="136" height="26"><font color="#CC0000"><span
    style="font-size: 9pt">&nbsp;&nbsp; <span class="large">请输入车次:</span></span></font></td>
    </tr>
    <tr> 
      <td width="136"> 
        <table border="0" width="89%" cellspacing="0"
    cellpadding="0">
          <tr> 
            <td width="100%"> <span class="large">车次: </span>
<input type="text" size="8"
        name="checi" style="font-size:14px">
            </td>
          </tr>
          <tr align="center"> 
                                  <td width="100%" height="35" style="padding-left: 9px"> <br>
                                    <input type="button" value="  1  "
        onClick="add('1')" name="button">
              <input type="button" value="  2  " onClick="add('2')" name="button">
              <input
        type="button" value="  3  " onClick="add('3')" name="button">
              <input type="button" value="  4  "
        onClick="add('4')" name="button">
              <input type="button" value="  5  " onClick="add('5')" name="bu爀?瑥?昮浺獟慴J?捯ψ?ψ??瑥?昮浺∩￣????????????????灯楴湯???扮灳?扮灳?扮灳?扮灳?扮灳?扮灳?漯瑰潩?????????????????敳敬瑣￣?摴￣??????????????摴眠摩桴?????戼??湩異?祴数琽硥?楳敺?猠祴敬∽潦瑮猭穩??硰?慮敭∽穤?￣???????????????戼??敳敬瑣渠浡?搢浺牟来潩≮猠穩??瑳汹?昢湯?楳敺?瀴?漠?慨杮?伢卮汥捥剴来潩?潤畣敭瑮昮浲敇婴?穤彭敲楧湯搬捯浵湥?牦?瑥?搮浺獟慴楴湯搬捯浵湥?牦?瑥?搮浺∩￣???????????????猯汥捥??牢￣猼汥捥?慮敭∽穤彭瑳瑡潩≮猠穩?永??????tton">
              <input
        type="button" value="  6  " onClick="add('6')" name="button">
              <input type="button" value="  7  "
        onClick="add('7')" name="button">
              <input type="button" value="  8  " onClick="add('8')" name="button">
              <input
        type="button" value="  9  " onClick="add('9')" name="button">
              <input type="button" value="  0  "
        onClick="add('0')" name="button">
                                    <br>
                                    <br>
                                    <br>
                                    <input type="button" value=" 清除"
        onClick="document.frmGetCC.checi.value=''" style="font-size:14px" name="button2">
              <input type="submit"
    value="确认" style="font-size:14px" name="submit">
            </td>
          </tr>
        </table>
      </td>
                            <td width="194" align="center"> <p align="center" class="large">特殊车次: 
                                <select    style="font-size:14px" name="txcc"
    onChange="document.frmGetCC.checi.value=document.frmGetCC.txcc.options[selectedIndex].text"
    size="1">
                                  <option></option>
                                  <option>韶1</option>
                                  <option>韶2</option>
                                  <option>永1</option>
                                  <option>永2</option>
                                  <option>环2</option>
                                  <option>环3</option>
                                  <option>环4</option>
                                  <option>环5</option>
                                  <option>环6</option>
                                  <option>环7</option>
                                  <option>环8</option>
                                  <option>环9</option>
                                  <option>环10</option>
                                  <option>林1</option>
                                  <option>林2</option>
                                  <option>林3</option>
                                  <option>林4</option>
                                  <option>林5</option>
                                  <option>林6</option>
                                </select>
                                <br>
                                <br>
                                <input type="button" value="快速列车K" style="font-size:14px" onClick="head('K')" name="button">
                                <br>
                                <br>
                                <input
    type="button" value="旅游列车Y" style="font-size:14px" onClick="head('Y')" name="button">
                                <br>
                                <br>
                                <input
    type="button" value="高速列车G"  style="font-size:14px" onClick="head('G')" name="button">
                                <br>
                                <br>
                                <input
    type="button" value="准高速车Z" style="font-size:14px" onClick="head('Z')" name="button">
                                <br>
                                <br>
                                <input
    type="button" value="豪华列车T" style="font-size:14px" onClick="head('T')" name="button">
                                <br>
                                <br>
                                <input
    type="button" value="广深列车S" style="font-size:14px" onClick="head('S')" name="button">
                                <br>
                                <br>
                            </td>
    </tr>
  </table>
</form>
                    </div>
                    <div align="center"></div></td>
                </tr>
              </table></td>
          </tr>

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

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