<% if typeid_show="content" then if cint(temp_content_myid)>0 then response.Redirect("content.asp?myid="&temp_content_myid) else response.Write("资料更新中....") end if end if %> <% if typeid_show="news" then %><% end if %> <% if typeid_show="photo" then %><% end if %>
<% set rs=conn.execute("select top 1 id,title from zhuanti where typeid="&typeid_xia&" and id<"&myid&" order by id desc") if not rs.eof and not rs.bof then %>

" class="title_hei12">上一篇:<%=rs("title")%>

<% end if rs.close %><% set rs=conn.execute("select top 1 id,title from zhuanti where typeid="&typeid_xia&" and id>"&myid&" order by id asc") if not rs.eof and not rs.bof then %>

" class="title_hei12">下一篇:<%=rs("title")%>

<% end if rs.close %>