亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? index.asp

?? 這是我個公交查詢系統(tǒng),用ASP+SQL做的,經(jīng)過多次調(diào)試了 能夠很好運行.
?? ASP
字號:
<!--#include file="conn.asp"-->
<%  
    lx=request("lx")
    zd=trim(request("zd"))
	zd1=request("zd1")
	zd2=request("zd2")
	action=request("action")
%>
<title>九江公交查詢</title>
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
a:link {
	color: #FFCC00;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #FFCC00;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
	color: #FF0000;
}
.STYLE2 {
	color: #0099FF;
	font-weight: bold;
	font-size: 18px;
}
.STYLE5 {font-size: 14px}
#Layer1 {
	position:relative;
	left:340px;
	top:43px;
	width:54px;
	height:22px;
	z-index:1;
}
-->
</style>
</head>
<body>

<table width="750" border="1" align="center" cellpadding="0" cellspacing="0">
  <tr><td height="60" align="center" valign="bottom" style="background-color:#6699FF; color:#FFCC66; font-size:40px; font-family:'華文隸書'; b"><div align="left">九江公交查詢系統(tǒng)</div>
    <div id="Layer1"><a href="admin/admin.asp" target="_self"><span style="font-size:16px; color:#6699FF">進入后臺管理</span></a></div></td>
  </tr>
  <tr>
    <td height="483"><br><br><form name="form1" method="post" action="index.asp?action=oklx">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="16%"><div align="center">路線查詢</div></td>
          <td width="64%"><label>
            <input type="text" name="lx" size="15">
          例如: <span class="STYLE1">101路</span> </label></td>
          <td width="20%"><label>
            <input type="submit" name="Submit" value="提交">
          </label></td>
        </tr>
      </table>
    </form>
      <form name="form2" method="post" action="index.asp?action=okzd">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="16%"><div align="center">站點查詢</div></td>
            <td width="64%"><label>
              <input type="text" name="zd" size="15">
            例如: <span class="STYLE1">火車站</span></label></td>
            <td width="20%"><label>
              <input type="submit" name="Submit2" value="提交">
            </label></td>
          </tr>
        </table>
      </form>
      <form name="form3" method="post" action="index.asp?action=okdd">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="16%" height="21"><div align="center">
              <% 
	   Set czdrs1=Server.CreateObject("ADODB.RecordSet") 
	    czdsql = "select distinct zhand from zhand order by zhand"
        czdrs1.open czdsql,conn,1,1
		if czdrs1.eof and czdrs1.bof then
			response.write "未連接上數(shù)據(jù)庫"
		else
		%>
              點對點查詢</div></td>
            <td width="64%"><select name="zd1"  size="1">
                <option selected value="">選擇站點</option>
                <%
		
		    do while not czdrs1.eof
			%>
                <option value="<%=czdrs1("zhand")%>"><%=czdrs1("zhand")%></option>
                <%
		        czdrs1.movenext
    	    loop
		end if
        czdrs1.close
		set czdrs1=nothing	%>
              </select>
 <% 
	   Set czdrs2=Server.CreateObject("ADODB.RecordSet") 
	    czdsq2 = "select distinct zhand from zhand order by zhand"
        czdrs2.open czdsq2,conn,1,1
		if czdrs2.eof and czdrs2.bof then
			response.write "請先連接好!"
		else
		%>
              <select name="zd2"  size="1">
                <option selected value="">選擇站點</option>
                <%
		
		    do while not czdrs2.eof
			%>
                <option value="<%=czdrs2("zhand")%>"><%=czdrs2("zhand")%></option>
                <%
		        czdrs2.movenext
    	    loop
		end if
        czdrs2.close
		set czdrs1=nothing	%>
              </select>            </td>
            <td width="20%"><label>
              <input type="submit" name="Submit3" value="提交">
            </label></td>
          </tr>
        </table>
      </form>
	  <table cellpadding="5" cellspacing="20">
	  <tr>
	  <td>
	  <% if action="okzd" then 
	  	if zd="" then
   response.write "<script>alert('請輸入你要查詢的站點');history.back();</script>"
   else
   end if
      Set rs1=Server.CreateObject("ADODB.RecordSet")
	  sq="select distinct luxian from jj where zhand Like '%"&zd&"%'  "
	  rs1.Open sq,conn,1,1
	  %>
	<%if not Rs1.eof then
do while not rs1.eof
lx1=trim(rs1("luxian"))
set rsall=server.CreateObject("adodb.recordset")
sqlall="select allzhand from lx where luxian='"&lx1&"'"
rsall.open sqlall,conn,1,1
allzhandian=rsall(0)
rsall.close
set rsall=nothing
%>
<br><br><span class="STYLE2"><%=rs1("luxian")%> 共有 <%=allzhandian%> 站 :</span>
<br>
<% set rs=Server.CreateObject("ADODB.RecordSet")
sql="select zhand,leixing  from jj where luxian='"&lx1&"'"
rs.Open sql,conn,1,1
%>
<%if not Rs.eof then
do while not rs.eof
leixing=rs("leixing")
%>
<%if leixing="下行        "then%>
<br><br><%=rs("leixing")%>: <% if trim(rs("zhand"))=zd then%><font color="#FF0000"><%=rs("zhand")%></font> &nbsp;&nbsp;<%else%>
<% if trim(rs("zhand"))=zd then%>
<font color="#FF0000"><%=rs("zhand")%></font> &nbsp;&nbsp;<%else%><a href="index.asp?action=okzd&zd=<%=rs("zhand")%>" " target="_self"><%=rs("zhand")%></a> &nbsp;&nbsp;<%end if%><%end if%>
<%elseif leixing="上行        "or leixing="環(huán)形        " then %>
<%=rs("leixing")%>: <% if trim(rs("zhand"))=zd then%><font color="#FF0000"><%=rs("zhand")%></font> &nbsp;&nbsp;<%else%><a href="index.asp?action=okzd&zd=<%=rs("zhand")%>" " target="_self"><%=rs("zhand")%></a> &nbsp;&nbsp;<%end if%>
<%else%>
<% if trim(rs("zhand"))=zd then%><font color="#FF0000"><%=rs("zhand")%></font>&nbsp;&nbsp;<%else%><a href="index.asp?action=okzd&zd=<%=rs("zhand")%>" " target="_self"><%=rs("zhand")%></a> &nbsp;&nbsp;<%end if%>
<%end if%>
<% 
rs.movenext 
loop 
else%>
<BR>
<%
end if 
rs.close
set rs=nothing%>
<%rs1.movenext 
loop 
else%>
<BR>
<%rs1.close
set rs1=nothing
end if
end if
%>
<% if action="oklx" then 
if lx="" then
   response.write "<script>alert('請輸入你要查詢的路線');history.back();</script>"
   else
   end if
      Set rs1=Server.CreateObject("ADODB.RecordSet")
	  sq="select luxian from lx where luxian Like '%"&lx&"%'  "
	  rs1.Open sq,conn,1,1
	  %>
	<%if not Rs1.eof then
do while not rs1.eof
lx1=trim(rs1("luxian"))
set rsall=server.CreateObject("adodb.recordset")
sqlall="select allzhand from lx where luxian='"&lx1&"'"
rsall.open sqlall,conn,1,1
allzhandian=rsall(0)
rsall.close
set rsall=nothing
%>
<br><br><span class="STYLE2"><%=rs1("luxian")%> 共有 <%=allzhandian%> 站:</span>
<br>
<% set rs=Server.CreateObject("ADODB.RecordSet")
sql="select zhand,leixing  from jj where luxian='"&lx1&"'"
rs.Open sql,conn,1,1
%>
<%if not Rs.eof then
do while not rs.eof
leixing=rs("leixing")
%>
<%if leixing="下行        "then%>
<br><br><%=rs("leixing")%>: <% if trim(rs("zhand"))=zd then%><a href="index.asp?action=okzd&zd=<%=rs("zhand")%>" " target="_self"><font color="#FF0000"><%=rs("zhand")%></font></a> &nbsp;&nbsp;<%else%><a href="index.asp?action=okzd&zd=<%=rs("zhand")%>" " target="_self"><%=rs("zhand")%></a> &nbsp;&nbsp;<%end if%>
<%elseif leixing="上行        "or leixing="環(huán)形        "OR leixing="上下        " then %>
<BR><%=rs("leixing")%>: <% if trim(rs("zhand"))=zd then%><a href="index.asp?action=okzd&zd=<%=rs("zhand")%>" " target="_self"><font color="#FF0000"><%=rs("zhand")%></font></a> &nbsp;&nbsp;<%else%><a href="index.asp?action=okzd&zd=<%=rs("zhand")%>" " target="_self"><%=rs("zhand")%></a> &nbsp;&nbsp;<%end if%>
<%else%>
<% if trim(rs("zhand"))=zd then%><a href="index.asp?action=okzd&zd=<%=rs("zhand")%>" " target="_self"><font color="#FF0000"><%=rs("zhand")%></font></a> &nbsp;&nbsp;<%else%><a href="index.asp?action=okzd&zd=<%=rs("zhand")%>" " target="_self"><%=rs("zhand")%></a> &nbsp;&nbsp;<%end if%>
<%end if%>
<% 
rs.movenext 
loop 
else%>
<BR>
<%
end if 
rs.close
set rs=nothing%>
<%rs1.movenext 
loop 
else%>
<BR>
<%rs1.close
set rs1=nothing
end if
end if
%> </td>
  </tr>
 </table>
      <% if action="okdd" then %>
      <table width="100%" align="center" cellpadding="2" cellspacing="5">
	  <tr>
	  	 <% if zd1=""or zd2="" then
   response.write "<script>alert('請選擇站點');history.back();</script>"
elseif zd1=zd2 then
  response.write "<script>alert('請選擇兩個不同的站點');history.back();</script>"
  else
 Set zdrs1=Server.CreateObject("ADODB.RecordSet") 
		zdsql ="select distinct a.luxian,b.luxian from (select  zhand,luxian,shunx from jj where luxian in (select distinct luxian from jj where zhand in (select zhand from zhand where zhand like '%"&zd1&"%'))) a,(select  zhand,luxian,shunx from jj where luxian in (select distinct luxian from jj where zhand in (select zhand from zhand where zhand like '%"&zd2&"%'))) b where a.zhand=b.zhand order by a.luxian,b.luxian asc"
   zdrs1.open zdsql,conn,1,1
	if not zdrs1.eof then
do while not zdrs1.eof
%>
<%if zdrs1(0)=zdrs1(1) then 
luxiana=trim(zdrs1(0))%>
 <script language='javascript'> alert(" 可以直接到<%=luxiana%>") </script>
<%
else 
end if
%>
<%  Set leixrs=Server.CreateObject("ADODB.RecordSet")
leixsql="select leixing from lx where luxian='"&zdrs1(0)&"'"
leixrs.open leixsql,conn,1,1
leixing=leixrs(0)
leixrs.close
set leixrs=nothing
Set shunxrs=Server.CreateObject("ADODB.RecordSet")
if leixing="環(huán)形" then
   shunxsql="select min(shunx)as id from jj where luxian='"&zdrs1(0)&"'and zhand like '%"&zd1&"%'"
   else
   shunxsql="select max(shunx)as id from jj where luxian='"&zdrs1(0)&"'and zhand like '%"&zd1&"%'"
   end if
   shunxrs.open shunxsql,conn,1,1%>
   <%
 Set outrs=Server.CreateObject("ADODB.RecordSet") 
  outsql ="select distinct a.zhand,a.shunx from (select zhand,luxian,shunx from jj where luxian='"&zdrs1(0)&"') a,(select zhand,luxian,shunx from jj where luxian='"&zdrs1(1)&"') b where a.zhand=b.zhand and a.shunx>"&shunxrs(0)&" order by a.shunx"
    'outsql ="select distinct a.zhand,a.luxian,b.luxian from (select zhand,luxian,shunx from jj where luxian='"&zdrs1(0)&"') a,(select zhand,luxian,shunx from jj where luxian='"&zdrs1(1)&"') b where a.zhand=b.zhand and a.shunx>"&shunxrs(0)&""
        outrs.open outsql,conn,1,1%>

<td colspan="5"><div align="center"><%=zdrs1(0)%>(<%=zd1%>)轉(zhuǎn)<%=zdrs1(1)%>(<%=zd2%>)</div></td> </tr><tr>
<td bgcolor=#336600><a href="index.asp?action=okzd&zd=<%=zd1%>" " target="_self">
  <div align="center"><%=zd1%></div>
</a></td>		
<%i=0
if not outrs.eof then
do while not outrs.eof
i=i+1 
%>
<%if i=4 then
i=5%>
<%else%>
<% end if%>
<%if i mod 5=0 then%>
<td ><a href="index.asp?action=okzd&zd=<%=outrs(0)%>" " target="_self"><span class="STYLE5"><%=outrs(0)%></span></a></td>
</tr><tr>
<% else%>
<td ><a href="index.asp?action=okzd&zd=<%=outrs(0)%>" " target="_self"><span class="STYLE5"><%=outrs(0)%></span></a></td>
<% end if%>
<%
outrs.movenext 
loop 
else %>
<%
Set outrs1=Server.CreateObject("ADODB.RecordSet") 
outsql1 ="select distinct a.zhand,a.shunx from (select zhand,luxian,shunx from jj where luxian='"&zdrs1(0)&"') a,(select zhand,luxian,shunx from jj where luxian='"&zdrs1(1)&"') b where a.zhand=b.zhand and a.shunx<"&shunxrs(0)&"order by a.shunx"
outrs1.open outsql1,conn,1,1%>
<%if not outrs1.eof then
do while not outrs1.eof
i=i+1 
%>
<%if i=4 then
i=5%>
<%else%>
<% end if%>
<%if i mod 5=0 then%>
<td ><a href="index.asp?action=okzd&zd=<%=outrs1(0)%>" " target="_self"><span class="STYLE5"><%=outrs1(0)%></span></a></td>
</tr><tr>
<% else%>
<td  ><a href="index.asp?action=okzd&zd=<%=outrs1(0)%>" " target="_self"><span class="STYLE5"><%=outrs1(0)%></span></a></td>
<% end if%>
<%
outrs1.movenext 
loop 
else
end if
outrs1.close
set outrs1=nothing %>
<%
end if 
shunxrs.close 
set shunxrs=nothing
outrs.close 
set outrs=nothing
%>
<td bgcolor="#B05800"><a href="index.asp?action=okzd&zd=<%=zd2%>" " target="_self">
  <div align="center"><%=zd2%></div></a></td>
</tr><tr>
 <% 
zdrs1.movenext 
loop 
else 
response.write "<script>alert('轉(zhuǎn)一次車到達不了,打的發(fā)的來!!');history.back();</script>"
end if 
zdrs1.close 
set zdrs1=nothing
end if
%>
	
	     
</tr>
</table>
 <% end if
 conn.close 
set conn=nothing %>    </td>
  </tr>
</table>

</body>
</html>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产+成+人+亚洲欧洲自线| 91老师片黄在线观看| 轻轻草成人在线| 久久99精品一区二区三区 | 青青草91视频| 国产呦萝稀缺另类资源| 国产99精品在线观看| 91首页免费视频| 欧美成人艳星乳罩| 久久精品亚洲一区二区三区浴池| 欧美主播一区二区三区美女| 69久久夜色精品国产69蝌蚪网| 久久久久久亚洲综合影院红桃| 日韩一区欧美一区| 美女视频黄 久久| 91蜜桃传媒精品久久久一区二区| 欧美乱妇20p| 亚洲免费观看高清完整版在线| 日本欧美一区二区| 在线免费不卡视频| 亚洲欧美日韩一区二区三区在线观看| 污片在线观看一区二区| 成人永久免费视频| 久久精品人人爽人人爽| 婷婷久久综合九色综合绿巨人| 国产成人在线电影| 日韩精品在线一区二区| 青青草97国产精品免费观看无弹窗版 | 日韩美女主播在线视频一区二区三区| 日韩理论片在线| 高清成人免费视频| 国产精品嫩草99a| 成人aa视频在线观看| 中文字幕不卡在线| 99久久er热在这里只有精品66| 精品国产乱码久久久久久1区2区| 丝袜亚洲另类丝袜在线| 日韩小视频在线观看专区| 奇米影视一区二区三区| 日韩欧美一区二区不卡| 国产精品77777竹菊影视小说| 尤物在线观看一区| 678五月天丁香亚洲综合网| 亚洲一区二区三区自拍| 欧美高清hd18日本| 国产一区二区三区免费看| 欧美国产乱子伦 | 亚洲精品网站在线观看| 欧美日韩国产综合一区二区三区| 午夜不卡av免费| 国产喷白浆一区二区三区| 99久久精品国产精品久久| 午夜成人免费视频| 国产精品女同一区二区三区| 在线一区二区三区四区五区| 日日夜夜精品视频免费| 久久久国产综合精品女国产盗摄| av福利精品导航| 蜜臀av性久久久久蜜臀aⅴ流畅| 中文成人av在线| 久久综合九色综合97_久久久| 色网站国产精品| 福利一区二区在线观看| 日韩和的一区二区| 亚洲桃色在线一区| 国产午夜精品一区二区三区视频 | 日本网站在线观看一区二区三区| 久久精品视频网| 欧美va亚洲va国产综合| 欧美日韩黄色一区二区| 色综合久久88色综合天天6| 成人av资源下载| 国产成人精品影视| 国产成人av电影在线| 日韩精品国产精品| 男人的j进女人的j一区| 婷婷国产在线综合| 亚洲bt欧美bt精品| 亚洲国产你懂的| 日本三级韩国三级欧美三级| 婷婷国产v国产偷v亚洲高清| 性做久久久久久免费观看欧美| 亚洲精品一二三| 亚洲www啪成人一区二区麻豆| 亚洲综合在线五月| 日本va欧美va精品发布| 国产做a爰片久久毛片| 激情深爱一区二区| 粉嫩av亚洲一区二区图片| 成人小视频免费在线观看| 97aⅴ精品视频一二三区| 欧美三级在线视频| 久久久久综合网| 一区二区三区四区视频精品免费| 尤物在线观看一区| 免费人成在线不卡| 成人精品免费网站| 欧美日韩日日骚| 欧美韩日一区二区三区四区| 夜夜精品视频一区二区 | 欧美精品一区二区蜜臀亚洲| 国产婷婷一区二区| 首页欧美精品中文字幕| 99视频在线精品| 久久夜色精品一区| 自拍偷在线精品自拍偷无码专区| 日韩激情视频网站| av欧美精品.com| 国产欧美日韩精品在线| 无码av免费一区二区三区试看| 成人天堂资源www在线| 欧美一区二区视频网站| 亚洲在线观看免费视频| 成人精品免费视频| 国产亚洲欧洲一区高清在线观看| 亚洲成人激情综合网| 99视频有精品| 国产精品美女久久久久久久久 | 日韩三区在线观看| 亚洲国产日韩一区二区| 欧美伊人久久久久久久久影院| 国产精品灌醉下药二区| 国产成人精品免费一区二区| 精品国产乱码久久久久久老虎| 秋霞午夜av一区二区三区| 日韩午夜激情视频| 麻豆成人久久精品二区三区小说| 7777精品伊人久久久大香线蕉完整版 | 天天免费综合色| 91精品蜜臀在线一区尤物| 免费观看在线色综合| 精品国产乱码久久久久久浪潮| 激情小说欧美图片| 精品国产网站在线观看| 日本sm残虐另类| 国产日产欧美一区二区三区| jvid福利写真一区二区三区| 亚洲精选在线视频| 91精品午夜视频| 成人av一区二区三区| 亚洲国产一区在线观看| 久久综合丝袜日本网| 99v久久综合狠狠综合久久| 亚洲成人免费影院| 久久精品日产第一区二区三区高清版 | 日韩免费电影网站| 成人动漫在线一区| 日韩中文字幕一区二区三区| 久久免费国产精品| 欧美日韩你懂得| www.日韩av| 国模套图日韩精品一区二区| 一区二区视频免费在线观看| 日韩欧美国产综合在线一区二区三区| 成人动漫一区二区在线| 蓝色福利精品导航| 亚洲成a人片综合在线| 综合激情成人伊人| 午夜亚洲国产au精品一区二区| 中文字幕成人在线观看| 久久综合资源网| 91精品免费在线观看| 欧美午夜在线一二页| 99久久精品国产观看| 成人国产电影网| av电影一区二区| 91丨九色丨蝌蚪富婆spa| 不卡av电影在线播放| 国产一区二区福利视频| 国产综合一区二区| 国产黄色精品网站| 成人午夜电影久久影院| 不卡的电视剧免费网站有什么| 国v精品久久久网| 91美女在线视频| 欧美日韩精品欧美日韩精品一 | 五月天亚洲婷婷| 青娱乐精品视频| 韩国女主播成人在线| 国产成人亚洲综合a∨婷婷| 国产 日韩 欧美大片| 色婷婷精品久久二区二区蜜臀av| 91福利视频网站| 欧美成人一区二区三区 | 成人免费看片app下载| av在线免费不卡| 欧美一区二区在线看| 亚洲国产高清不卡| 日本少妇一区二区| av中文字幕在线不卡| 欧美三级一区二区| 国产喂奶挤奶一区二区三区| 一区二区三区精品久久久| 狠狠色丁香久久婷婷综合丁香| 国产91精品免费| 欧美一级午夜免费电影| 国产精品黄色在线观看| 裸体歌舞表演一区二区| 欧洲av一区二区嗯嗯嗯啊| 国产欧美一区二区精品忘忧草|