问个iis伪静态翻页问题
翻页源代码:<tr>
<td align="left" width="150"><%if currentpage>1 then%><img src="images/admin/jiantou.gif">  
;<a href="<%=filename%>?<%= temp %>page=1" title="首页">首页</a><%end if%>
<%
if currentpage>1 then
if request("page")="" then
page=1
else
page=request("page")-1
end if%>
<img src="images/admin/jiantou.gif">  
;<a href="<%=filename%>?<%= temp %>page=<%=page%>" title="上一页">上一页</a>
<%end if%>
</td>
<td align="center"> 第
<%
i=1
showye=totalpages
if showye>10 then
showye=12
end if
if request("page")="" then
dqpage=1
else
if csng(request("page"))>totalpages then
dqpage=totalpages
else
dqpage=request("page")
end if
end if
if dqpage>10 then
tianlu=dqpage-7
hangtian=dqpage+4
if hangtian>totalpages then
for i=tianlu to totalpages
if i=currentpage then
%><strong><font color="#FF0000"><%=i%></font></strong> <%if i<>totpage and i<>totalpages then%>
︱<%end if%><%else%
><a href="<%=filename%>?<%= temp %>page=<%=i%>"><%=i%></a><%if i<>totpage and i<>totalpages then%>︱<%end if%><%end if
next
else
for i=tianlu to hangtian
if i=currentpage then
%><strong><font color="#FF0000"><%=i%></font></strong> <%if i<>totpage and i<>hangtian then%>
︱<%end if%><%else%
><a href="<%=filename%>?<%= temp %>page=<%=i%>"><%=i%></a><%if i<>totpage and i<>hangtian then%>︱<%end if%><%end if
next
end if
else
for i=1 to showye
if i=currentpage then
%><strong><font color="#FF0000"><%=i%></font></strong> <%if i<>totpage and i<>12 then%>
︱<%end if%><%else%
><a href="<%=filename%>?<%= temp %>page=<%=i%>"><%=i%></a><%if i<>totpage and i<>12 then%>︱<%end if%><%end if
next
end if
%>
页
</td>
<td align="right" width="150"><%
if totalpages>currentpage then
if request("page")="" then
pageee=2
else
pageee=request("page")+1
end if%>
<img src="images/admin/jiantou1.gif">  
;<a href="<%=filename%>?<%= temp %>page=<%=pageee%>" title="下一页">下一页</a>
<%end if%>
<%if totalpages>currentpage then%><img src="images/admin/jiantou1.gif"> <
a href="<%=filename%>?<%= temp&n