?? admin_qmroute_info_list.asp
字號(hào):
<!-- #include file="../inc/config.asp" -->
<!-- #include file="Login_Check.asp" -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>公交線路信息</title>
</head>
<style type="text/css">
<!--
BODY {
FONT-SIZE: 12px; BACKGROUND: #ced7f7; SCROLLBAR-HIGHLIGHT-COLOR: buttonface; SCROLLBAR-SHADOW-COLOR: buttonface; SCROLLBAR-3DLIGHT-COLOR: buttonhighlight; SCROLLBAR-TRACK-COLOR: #eeeeee; FONT-FAMILY: "宋體", "Verdana", "Arial"; SCROLLBAR-DARKSHADOW-COLOR: buttonshadow
}
#td1{
font-size:12px;
text-align:left;
height:22px;
padding-top:5px;
color:#FF0000;
background-color:#FFF;
padding-left:100px;
padding-right:50px;
line-height:17px;
}
#td2{
color:#000000;
}
#td3{
text-align:center;
height:22px;
background-image:url(../images/qmadmin_bg_1.gif);
font-size:12px;
font-weight:bold;
padding-top:5px;
color:#FFF;
}
.class6{
border-bottom-width:1px;
border-right-width:1px;
border-left-width:1px;
border-top-width:1px;
}
-->
</style>
<%
bus_name=request.QueryString("bus_name")
sqlstr="select * from [Bus] where qmbus_name='"& bus_name &"'"
rs.open sqlstr,conn,1,3
if not rs.eof then
bus_rate=rs("qmbus_rate")
if hour(rs("qmbus_starttime"))>0 and hour(rs("qmbus_starttime"))<10 then
bus_starttime=left(rs("qmbus_starttime"),4)
else
bus_starttime=left(rs("qmbus_starttime"),5)
end if
if hour(rs("qmbus_endtime"))>0 and hour(rs("qmbus_endtime"))<10 then
bus_endtime=left(rs("qmbus_endtime"),4)
else
bus_endtime=left(rs("qmbus_endtime"),5)
end if
else
response.Write("數(shù)據(jù)庫出錯(cuò)!")
end if
rs.close
sql="select * from [Route] where qmroute_name='"& bus_name &"'"
rs.open sql,conn,1,3
if not rs.eof then
qmroute_address=rs("qmroute_address")
qmroute_addupdate=rs("qmroute_addupdate")
else
response.Write("數(shù)據(jù)庫出錯(cuò)!")
end if
rs.close
%>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:1px #314D98 solid;">
<tr>
<td id="td3">線 路 詳 情</td>
</tr>
<tr>
<td id="td1">線路名稱:<span id="td2"><%=bus_name%></span></td>
</tr>
<tr>
<td id="td1">票價(jià):<span id="td2"><%=bus_rate%></span></td>
</tr>
<tr>
<td id="td1">時(shí)間:<span id="td2"><%=bus_starttime%>--<%=bus_endtime%></span></td>
</tr>
<tr>
<td id="td1">經(jīng)過站點(diǎn):<span id="td2"><%=qmroute_address%></span></td>
</tr>
<tr>
<td id="td1">最近更新時(shí)間:<span id="td2"><%=qmroute_addupdate%></span></td>
</tr>
<script language="javascript" type="text/javascript">
<!--
function Close_Windows(){
window.opener=null;
window.close();
}
-->
</script>
<tr>
<td align="center" bgcolor="#FFFFFF"><br><br><input type="button" onClick="Close_Windows()" value="關(guān)閉" class="class6"><br><br></td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -