📄 template5.asp
字号:
<%@ Language=VBScript %>
<!--#include file="connect.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>玉环人大</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<link href="yhrd.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {
color: #B84B06;
font-weight: bold;
}
.style5 {font-size: 14px}
.style6 {color: #0000FF}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function send() {
var form = window.document.form1;
form.onSubmit = "return true";
form.submit();
}
//-->
</script>
</head>
<body>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="168" height="18" bgcolor="#E80000" class="white9v"> 2004年2月17日 星期二</td>
<td width="365" bgcolor="#E80000" class="white9v"> </td>
<td width="70" bgcolor="#E80000" class="white9v"><img src="images/whiteArrow.gif" width="8" height="8">关于我们</td>
<td width="70" bgcolor="#E80000" class="white9v"><img src="images/whiteArrow.gif" width="8" height="8">合作伙伴</td>
<td width="75" bgcolor="#E80000" class="white9v"><img src="images/whiteArrow.gif" width="8" height="8">网站导航</td>
</tr>
<tr>
<td colspan="5"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="227"><img src="images/yhrd_title0.jpg" width="227" height="85"></td>
<td width="361"><img src="images/yhrd_title1.jpg" width="361" height="85"></td>
<td valign="middle" background="images/yhrd_title2.jpg"><table width="184" height="85" border="0" cellpadding="0" cellspacing="0">
<form name="form1" method="post" action="searchSite.asp">
<tr>
<td height="32" valign="bottom">
<input name="keyword" type="text" class="9v" id="keyword" size="22"></td>
<td valign="bottom" ><a href="javascript:send();"><img src="images/go.gif" width="24" height="24" border="0"></a></td>
</tr>
<tr align="center" valign="top">
<td colspan="2" class="white9v"><br>
<br>
</td>
</tr>
</form>
</table></td>
</tr>
</table></td>
</tr>
<tr align="center" bgcolor="#C71008">
<td height="30" colspan="5" class="white11v">
<a href="default.asp"><img src="images/menu0.gif" width="31" height="20" border="0"></a><%dim sqlStr
sqlStr="select fldpriviledge,fldcolumn,fldtemplate,fldurl,fldimage from tblcolumn where fldsubcolumn='—' order by fldpriviledge"
Set rs_column = Server.CreateObject("ADODB.Recordset")
rs_column.open sqlStr,dataConn,1,1
for i=1 to 9
if rs_column("fldimage")<>"" then
response.write "<img src='images\menuDot.gif'>"
if rs_column("fldurl")<>"" then
response.write "<a href='" & rs_column("fldurl") & "'>"
else
response.write "<a href=" & rs_column("fldtemplate") & "?column=" & rs_column("fldcolumn") & ">"
end if
response.write "<img src='images/" & rs_column("fldimage") & "' border=0></a>"
else
response.write " · "
response.write rs_column("fldcolumn")
end if
rs_column.movenext
next
%></td>
</tr>
<tr>
<td colspan="5"><img src="images/title_back.gif" width="780" height="12"></td>
</tr>
</table>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="163" valign="top" background="images/back.gif" bgcolor="#E7E7E7">
<br> </td>
<td align="center" valign="top" bordercolorlight="#F1F0EE" bordercolordark="#CCCECD"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/doom.gif" width="455" height="9"></td>
</tr>
</table>
<table width="445" border="0" cellpadding="0" cellspacing="0" background="images/color_bar1.jpg">
<tr>
<td width="70" height="30" class="white9v"> </td>
<td valign="bottom" class="white11v">您现在的位置:首页>>代表名录</td>
</tr>
</table>
<br>
<table width="445" border="0" cellpadding="0" cellspacing="0" class="11v">
<%
if not isempty(request("page")) then
page=request("page")
else
page =1
end if
sqlStr="select id,fldname from tblDelegate order by fldname"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.open sqlStr,dataConn,1,1
page_total = rs.recordcount\52+1
if rs.recordcount mod 14 <>0 then
page_total = page_total + 1
end if
rs.move (page-1)*13*3
%>
<tr>
<td align="center"> </td>
<td height="24" colspan="3"><span class="9v">[按姓名拼音排序]</span></td>
</tr>
<%for i=1 to 13%>
<tr>
<td width="28" align="center"><img src="images/dotarrow.gif" width="8" height="8"></td>
<td width="99" height="24"><a href="searchDelegate.asp?name=<%=trim(rs("fldname"))%>"><%=trim(rs("fldname"))%></a>
</td>
<td width="161" align="center"><%rs.movenext
if rs.eof then exit for end if%><a href="searchDelegate.asp?name=<%=trim(rs("fldname"))%>"><%=trim(rs("fldname"))%></td>
<td width="157" align="center"><%rs.movenext
if rs.eof then exit for end if%><a href="searchDelegate.asp?name=<%=trim(rs("fldname"))%>"><%=trim(rs("fldname"))%></td>
</tr>
<%
rs.movenext
if rs.eof then
exit for
end if
next
rs.close
set rs=nothing
set dataConn=nothing
%>
<tr>
<td width="28" align="center"></td>
<td height="24" colspan="3" align="right"><%
if page=1 then
response.write "< "
else
response.write "<a href='template5.asp?page=" & page-1 & "'><</a> "
end if
if page_total>1 then
for i=1 to 10
if Int(i) <= Int(page_total) then
if Int(i) = Int(page) then
response.write "<u>" & i & "</u> "
else
response.write "<a href='template5.asp?page=" & i & "'>" & i & "</a> "
end if
end if
next
end if
if page_total >= 10 then
response.write "…<a href='template5.asp?page=" & page_total & "'>" & page_total & "</a>"
end if
if Int(page)=Int(page_total) then
response.write ">"
else
response.write "<a href='template5.asp?page=" & page+1 & "'>></a>"
end if
%>
</td>
</tr>
</table>
</td>
<td width="162" valign="top" bgcolor="#E7E7E7"><img src="images/yhrd.gif" width="162" height="411"></td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
</table>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="789" height="18" align="center" bgcolor="#C41208" class="white9v">Copyright 2004, Yuhuan Municipal People's Congress. All Right Reserved </td>
</tr>
<tr>
<td height="18" align="center" bgcolor="#E7E7E7" class="9vGrey">玉环县人大版权所有 未经许可严禁复制或镜像</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -