📄 view_line.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="chk.asp"-->
<!--#include file="db_conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>
function ccc(a){
window.opener.form2.lineid.value=a;
alert("你已经选择了ID为 "+a+" 的线路。\r\r按确定开始自动查询,此窗口也将关闭!");
window.opener.form2.submit();
window.close();
}
</script>
<title>ID查询</title>
<link rel="stylesheet" type="text/css" href="style_admin.css" />
</head>
<body>
<font color="#FF6600"> 提示:</font><font color="#808080">无需记住线路ID,只要点击相应线路既可</font><div align="center">
<table width="98%">
<tr align="center" bgcolor="#f5f5f5">
<td height="24" class="top_td">ID号</td>
<td class="top_td">线路名称</td>
</tr>
<%
set rs=conn.execute("select id,zm_linename from ssort_lines")
while not rs.eof
%>
<tr bgcolor="#FFFFFF">
<td align="center"><%=rs("id")%></td>
<td><a style="cursor:hand" onClick="ccc(<%=rs("id")%>);"><%=rs("zm_linename")%></a></td>
</tr>
<%
rs.movenext
wend
closers(rs)
%>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -