<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!--#include file="inc/index_conn.asp"-->
<!--#include file="inc/function.asp"-->
<!--#include file="config.asp"-->
<%
'------------------------------------------------------------------
'***************************淘宝信誉互刷系统**************************************
'本程序专为淘宝免费互刷打造，是目前市面上功能比较齐全的平台
'程序开发：狗扑源码社区
'官方主页：http://bbs.gope.cn
'技术支持：gope.cn 
'QQ;134716
'电话：010-134716
'版权：版权属于狗扑源码社区信息技术有限公司，不得拷贝、修改，侵权必究。
'Copyright (C) 2008－2009 狗扑源码社区信息技术有限公司 版权所有
'*****************************************************************
'------------------------------------------------------------------
   id=request("id")
	 if request.QueryString("id")="" then 
		server_v40=Request.ServerVariables("QUERY_STRING") 
		id=Int(replace(replace(server_v40,"/",""),".html",""))
		where="ArticleId="&id
	elseif request.QueryString("Id")<>"" then
		where="ArticleId="&request.QueryString("Id")	
	else
		response.write "页面参数有错，请检查！"	
		response.end
	end if
	
sql="update "&jieducm&"_Article set hits=hits+1 where "&where&""
conn.execute sql

	   set rs=server.createobject("adodb.recordset")
		rs.open "select  * from "&jieducm&"_Article where  "&where&" ",conn,1,1
		if not rs.eof then
		title=rs("title")
		content=rs("content")
		copyfrom=rs("copyfrom")
		hits=rs("hits")
		classid=rs("classid")
		updatetime=rs("UpdateTime")
		ArticleId=rs("ArticleId")
		else
		  response.write "页面参数有错，请检查！"	
		  response.end
		end if
		

              Sqlc = "select * from "&jieducm&"_articleclass where ClassID="&classid&" "
				Set Rsc = Server.CreateObject("Adodb.RecordSet")
				Rsc.Open Sqlc,conn,1,1
				IF  not Rsc.Eof Then
				  classname=rsc("classname")
				 rsc.close
				 set rsc=nothing
				 else
				 	 response.write "页面参数有错，请检查！"	
		             response.end
                end if
%>

<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD>
<title><%=title%>--<%=stupname%></title>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<meta content="<%=stupdesc%>" name="description"/>
<meta content="<%=stupkey%>" name="keywords"/>
<LINK href="css/Css.css" type=text/css rel=stylesheet>
<LINK href="css/top_bottom.css" type=text/css rel=stylesheet>
<SCRIPT src="js/jieducm_pupu.js" type=text/javascript></SCRIPT>
<META content="MSHTML 6.00.2900.5764" name=GENERATOR></HEAD>
<style type="text/css">
.f12bt{
	font-size: 12px;
	color: #024E68;
	line-height: 20px;
	text-decoration: none;
	font-weight: bold;
	
}
.f12ls1 {
	font-size: 12px;
	color: #0365BE;
	line-height: 20px;
	text-decoration: none;
}
</style>
<BODY>
<!--#include file="jieducm_top.asp"-->
<TABLE cellSpacing=0 cellPadding=0 width=960 align=center border=0>
  

  <tr>
    <td valign="top"><table width="960" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:10px 0 10px 0;">
      <tr>
        <td width="230" rowspan="3" valign="top"><table width="216" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="img/other_main_left_header.gif" width="216" height="128" /></td>
          </tr>
          <tr>
            <td align="center" background="img/main_left_bg.jpg"><p>&nbsp;</p>
              <table width="193" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td height="45" background="img/HotArticle_title.gif" style="font-size:14px;color:#E67504;font-weight:bold;text-align:left;padding-left:40px;">网站公告</td>
                </tr>
                <tr>
                  <td background="img/HotArticle_bg.gif"><TABLE class=LeftNews cellSpacing=0 cellPadding=0 width="95%"  border=0 align="center">
                    <TBODY>
                      <%call indexnews(2,10,13)%>
                    </TBODY>
                  </TABLE></td>
                </tr>
                <tr>
                  <td height="6" background="img/HotArticle_footer.gif"></td>
                </tr>
              </table>
              <br />
              <table width="193" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td height="45" background="img/HotArticle_title.gif" style="font-size:14px;color:#E67504;font-weight:bold;text-align:left;padding-left:40px;">推荐文章</td>
                </tr>
                <tr>
                  <td background="img/HotArticle_bg.gif"><table class="LeftNews" cellspacing="0" cellpadding="0" width="95%"  border="0" align="center">
                    <tbody>
                      <%call elitenew(10,13)%>
                    </tbody>
                  </table></td>
                </tr>
                <tr>
                  <td height="6" background="img/HotArticle_footer.gif"></td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td><img src="img/index_54.jpg" width="216" height="40" /></td>
          </tr>
        </table></td>
        <td valign="top"><img src="img/other_main_header.jpg" width="741" height="17"></td>
      </tr>
      <tr>
        <td valign="top" background="img/main_right_bg.jpg"><table width="711" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="73" background="images/nr_bg.jpg"><table width="644" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="644" height="40" align="center" valign="bottom" class="f12bt STYLE1" style="font-size:18px;color:#F00"><%=title%></td>
              </tr>
              <tr >
                <td height="33" align="center" class="f12ls1" style="color:#555;height:30px;">时间：<%=UpdateTime%> 来源：<%=copyfrom%> 点击数：<%=hits%></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td valign="top" ><table width="669" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td height="30"><table width="644" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="644" height="145"style="color:#555;line-height:22px"><br />
                      <%=content%></td>
                    </tr>
                  </table></td>
              </tr>
              </table>
              `</td>
          </tr>
          <tr>
            <td height="60" valign="middle" style="border-top:1px dashed #CCCCCC"><table width="655" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td style="line-height:22px"><span class="hd"> <font color="#FF6600">上一篇：</font>
                  <%
	  dim rsPrev
	  sql="Select Top 1 ArticleID,Title From "&jieducm&"_Article Where Deleted=0 and ArticleID<" & ArticleID & " order by ArticleID desc"
	  Set rsPrev= Server.CreateObject("ADODB.Recordset")
	  rsPrev.open sql,conn,1,1
	  if rsPrev.Eof then
	  	response.write "没有了"
	  else
	    URL="news.asp?/"&rsPrev("ArticleID")&".html"
	  	response.write "<a href='"&url& "'>"&rsPrev("Title") & "</a>"
	  end if
	  rsPrev.close
	  set rsPrev=nothing
	  %>
                  <br>
                   <font color="#FF6600">下一篇：</font>
<%
	  dim rsNext
	  sql="Select Top 1 ArticleID,Title From "&jieducm&"_Article Where Deleted=0 and ArticleID>" & ArticleID& " order by ArticleID asc"
	  Set rsNext= Server.CreateObject("ADODB.Recordset")
	  rsNext.open sql,conn,1,1
	  if rsNext.Eof then
	  	response.write "没有了"
	  else
	   URL="news.asp?/"&rsNext("ArticleID")&".html"
	  	response.write "<a href='"&url& "'>"&rsNext("Title") & "</a>"
	  end if
	  rsNext.close
	  set rsNext=nothing
	  %>
                </span></td>
              </tr>
            </table>
              <table width="655" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td></td>
                </tr>
              </table></td>
          </tr>
        </table>	</td>
        </tr>
      <tr>
        <td valign="top"><img src="img/other_main_footer.jpg" width="741" height="20" /></td>
      </tr>
      
    </table></td>
  </tr>
  
 
</table>
<!--#include file=jieducm_bottom.asp-->
<%
rs.close
set rs=nothing
conn.close
set conn=nothing%>
</BODY></HTML>
