<!--#include file="head.asp"-->
<%
Set rs=Server.CreateObject("ADODB.RecordSet")
rs.Open "Select * from news where id="&request("id"),conn,1,2
if rs("num")<>"" then
num=rs("num")
else
num=0
end if
rs("num")=num+1
rs.Update
%>
<!-- ********网页中部代码开始******** -->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
<!--#include file="left.asp"-->	
			
			
			
    <TD vAlign=top>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD><IMG height=10 src="images/ne_main01.gif"></TD></TR></TBODY></TABLE>	
		  
		<%
		Set rs=Server.CreateObject("ADODB.RecordSet")
		rs.Open "Select * from news where id="&request("id")&" order by id desc",conn,1,1
		If Not rs.Eof Then
		%>	
		
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD vAlign=top align=middle width="80%">
            <TABLE height=28 cellSpacing=0 cellPadding=3 width="95%" border=0>
              <TBODY>
              <TR>
                <TD background=images/ne_login_bg01.gif>您现在的位置：<A class=strPath01 href="index.asp">首页 </A><IMG height=5 src="images/ne_patch01.gif" width=3 align=middle> 校园新闻 <IMG height=5 src="images/ne_patch01.gif" width=3 align=middle> <%=rs("title")%></TD></TR></TBODY></TABLE><BR>
            <TABLE cellSpacing=0 cellPadding=0 width="95%" border=0>
              <TBODY>
              <TR>
                <TD class=article_title01 align=middle><%=rs("title")%></TD></TR></TBODY></TABLE><BR>
            <TABLE cellSpacing=1 cellPadding=0 width="95%" bgColor=#d6d6d6 border=0>
              <TBODY>
              <TR>
                <TD bgColor=#ffffff>
                  <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                    <TBODY>
                    <TR>
                      <TD bgColor=#0786ce height=2></TD></TR>
                    <TR>
                      <TD height=5></TD></TR>
                    <TR>
                      <TD align=middle>作者：
					  <% 
					  if rs("name")<>"" then 					 
					  hehe =rs("name")
					  else
					  hehe="佚名" 
					  end if %>
					  <%=hehe%>&nbsp;&nbsp;&nbsp;&nbsp;转贴自：本站原创&nbsp;&nbsp;&nbsp;&nbsp;点击数：<%=rs("num")%>&nbsp;&nbsp;&nbsp;&nbsp;更新时间：<%=rs("addtime")%>&nbsp;&nbsp;&nbsp;&nbsp;文章录入：<%=rs("Author")%></TD></TR>
                    <TR>
                      <TD height=5></TD></TR>
                    <TR>
                      <TD bgColor=#f4f4f4height=2></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR>
            <TABLE cellSpacing=0 cellPadding=0 width="95%" border=0>
              <TBODY>
              <TR>
                <TD class=ariticletd><div><%=rs("content")%></div></TD></TR></TBODY></TABLE><BR>
            <TABLE cellSpacing=0 cellPadding=0 width="95%" border=0>
              <TBODY>
              <TR>
                <TD align=right>
				【<A class=article01 href="javascript:window.print()">打印此文</A>】
				【<A class=article01 href="javascript:window.close();">关闭窗口</A>】</TD></TR></TBODY></TABLE><BR>
            <TABLE cellSpacing=0 cellPadding=0 width="95%" border=0>
              <TBODY>              
              <TR>
                <TD bgColor=#d6d6d6 height=1></TD></TR>
              <TR>
                <TD bgColor=#9bd0ee height=2></TD></TR></TBODY></TABLE>
			<%end if%>
            <TABLE cellSpacing=0 cellPadding=3 width="95%" border=0>
              <TBODY>
              <TR>
                <TD>
				<%
				Set rs=Server.CreateObject("ADODB.RecordSet")
				rs.Open "Select * from news where id="&request("id")-1&" order by id desc",conn,1,1
				If Not rs.Eof Then
				%>
                  <LI>上一篇文章：<A class=article01 title="<%=rs("title")%>" href="newsview.asp?id=<%=rs("id")%>"><font color="red"><%=rs("title")%></font></A></LI></TD>
				  <%
				  end if 
				  rs.close 
				  set rs=nothing%>
                <TD>
				<%
				Set rs=Server.CreateObject("ADODB.RecordSet")
				rs.Open "Select * from news where id="&request("id")+1&" order by id desc",conn,1,1
				If Not rs.Eof Then
				%>
                  <LI>下一篇文章：<A class=article01 title="<%=rs("title")%>" href="newsview.asp?id=<%=rs("id")%>"><font color="red"><%=rs("title")%></font></A></LI>
				   <%
				  end if 
				  rs.close 
				  set rs=nothing%></TD></TR>
				 <tr height="30"><td></td></tr></TBODY></TABLE>
           </TD>
			
<!--#include file="right.asp"-->
</TR></TABLE>
<!--#include file="foot.asp"-->