<!--#include file="conn.asp"-->
<%
Set rs=server.CreateObject("adodb.recordset")
rs.open "select * from Com_news where  Id="&request("id")&"",conn,1,3
if not rs.bof or not rs.eof then
page_title=rs("Title"&Language)
page_keywords=rs("keywords"&Language)
page_description=rs("description"&Language)
end if
rs.close
set rs=nothing
if page_title="" then
page_title=city_title
page_keywords=city_keywords
page_description=city_description
end if
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Language" content="zh-CN">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><%=page_title%></title>
<meta name="keywords" content="<%=page_keywords%>" />
<meta name="description" content="<%=page_description%>" />
<!--#include file="top.asp"-->
<link href="<%=filepath%>inc/product_article.css" rel="stylesheet" type="text/css">
<!--#include file="header.asp"-->
  <div id="content" class="w990" style="border:1px solid #dedede;background:#fff;">
  <%
  Set rs=server.CreateObject("adodb.recordset")
  typeid=request.QueryString("typeid")
  id=request.QueryString("id")
  if id<>"" then
rs.open "select * from Com_news where  Id="&id&"",conn,1,3
else
rs.open "select * from Com_news where  type=1",conn,1,3
end if
rs("ck")=rs("ck")+1
subTitle=rs("Title"&Language)
subText=rs("Text"&Language)
subCenterDate=rs("date")
subck=rs("ck")
subcId=rs("cid")
subId=rs("id")
%>
    <div class="crumbs" style="padding-left:15px;"> <a title="转到首页 " href="<%=filepath%>index.asp">首页</a> &gt; <a title="公司动态" href="news.asp">公司动态</a> &gt; 
     <%=subTitle%></div>
    <div class="box">
      <div class="bd">
        <!--广告开始-->
        <!--广告结束-->
      </div>
    </div>
    <div class="n_mt">
      <div class="n_mt1">
        <h3><%=subTitle%></h3>
      </div>
      <div class="n_mt2">
        <div style="float:left;width:230px;text-align:center;">时间：<%=subCenterDate%> 浏览次数：<%=subck%></div>
        <div style="float:left;width:200px;padding-left:10px;height:24px;padding-top:3px;overflow:hidden;">
          <!-- Baidu Button BEGIN -->
<div id="bdshare" class="bdshare_b" style="line-height: 12px;">
<img src="http://bdimg.share.baidu.com/static/images/type-button-1.jpg?cdnversion=20120831" />
<a class="shareCount"></a>
</div>
<script type="text/javascript" id="bdshare_js" data="type=button&amp;uid=6748400" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000);
</script>
<!-- Baidu Button END -->
        </div>
      </div>
      <div class="n_mt3">
<FONT id=zoom>
<%if subText<>"" then%>
<%call textpage(subText,"typeid="&request("typeid")&"&id="&request("id")&"&")%>
<%end if%>
</FONT>

      </div>
	  <!--#include file="footitem.asp"-->
      <div class="n_mt4">
        <div style="float: left">
 <%
subCenterIdintcid=cint(subcId)
on error resume next
ID=cint(subId)
sql = "select * from com_news where cid="&subCenterIdintcid&" order by pid asc,date desc" 
Set rsp = Server.CreateObject("ADODB.Recordset")
rsp.OPEN sql,Conn,1,1
rsp.movefirst
rsp.find "id="&ID
	IF NOT rsp.BOF THEN  
	rsp.Moveprevious   
	FrontId = rsp("ID")
	FrontcId = rsp("cID")
	FrontTitle = rsp("Title"&Language)
	ELSE  
	FrontId = 0
	END IF
IF NOT rsp.EOF THEN  
rsp.movenext  
	IF NOT rsp.EOF THEN     
	rsp.movenext  
	NextId = rsp("ID")  
	NextcId = rsp("cID") 
	NextTitle = rsp("Title"&Language)
	ELSE     
	NextId = 0  
	END IF
ELSE  NextId = 0
END IF
rsp.CLOSE
SET rsp = NOTHING
%>
<%if FrontId = 0 then%>
<%else%>
上一篇：<a href="?typeid=<%=FrontcId%>&id=<%=FrontId%>"><%=FrontTitle%></a>&nbsp;&nbsp;&nbsp;	
<%end if%>
<%if NextId = 0 then%>
<%else%>
下一篇：<a href="?typeid=<%=NextcId%>&id=<%=NextId%>"><%=NextTitle%></a>
<%end if%>


		  </div>
        <div style="float: right"> <a href="news.asp?typeid=<%=subCenterIdintcid%>">返回列表</a></div>
      </div>
    </div>
<%
rs.update
rs.close
set rs=nothing
%>
  </div>
  <!--#include file="foot.asp"-->
