<!--#include file="main.asp"-->
<%id=request("id")
if id="" or IsNumeric(id)<>true then
response.write"请输入正确的ID号！"
response.end
end if

set rs=server.createobject("adodb.recordset")
sql="select * from dlxf_news where dlxf_id="&id&" and dlxf_key=1 and dlxf_key1=1 and dlxf_key2=1"
rs.open sql,conn,1,1
if rs.eof then
response.write "<br><br><div align=center>此内容不存在</div>"
response.end
else
conn.execute("update dlxf_news set dlxf_htc=dlxf_htc+1 where dlxf_id="&id)
ypid=rs("dlxf_yp_id")
title=rs("dlxf_title")
news=rs("dlxf_news")
newssort=rs("dlxf_newssort")
ly=rs("dlxf_ly")
addr=rs("dlxf_addr")
addsj=rs("dlxf_date")
end if
rs.close%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<link href="css/Untitled-1.css" rel="stylesheet" type="text/css">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=title%> - <%=citytitle%></title>
<body topmargin="0">

<TABLE width=760 border=0 align="center" cellPadding=0 cellSpacing=0>
  <TBODY>
    <TR>
      <TD><SCRIPT language=JavaScript type=text/JavaScript>
<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
//-->
</SCRIPT>
          <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
            <TBODY>
              <TR>
                <TD width=185 rowSpan=2><a href="<%=cityurl%>index.asp"><IMG src="<%=cityurl%>img/logo_no_new.gif" 
            border=0></a></TD>
                <TD class=s align=left bgColor=#efefef height=34><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                    <TBODY>
                      <TR>
                        <TD width="2%" bgColor=#efefef><IMG height=34 
                  src="alimage/searchlist_bg_gray1.gif" 
                width=14></TD>
                        <TD width="95%"><span class="C C"><a href="<%=cityurl%>">&#39318;&#39029;</a> |
                              <%if session("useradmin")<>"" then%>
                              <font color=red><strong><%=session("useradmin")%></strong></font>
                              <%if session("vip")=2 then%>
                              <img src="<%=cityurl%>img/vip.gif">
                              <%end if%>
&#27426;&#36814;&#20809;&#20020;&#65281; <a href=<%=cityurl%>user/admin.asp class=red target="_blank">&#31649;&#29702;</a> | <a href=<%=cityurl%>user/logout.asp>&#36864;&#20986;</a> |
                        <%else%>
                        <a href=<%=cityurl%>user_login.asp target=_blank>&#30331;&#24405;</a> | <a href=<%=cityurl%>reg.asp target=_blank>&#27880;&#20876;&#20250;&#21592;</a>|
                        <%if webkey6=0 then%>
                        <a href=<%=cityurl%>free_ad.asp target=_blank>&#20813;&#36153;&#21457;&#24067;&#21830;&#26426;</a> |
                        <%end if%>
                        <%end if%>
                        <a href=<%=cityurl%>vip.asp target=_blank class=red>&#35802;&#20449;&#36890;&#26381;&#21153;</a> | <a href=<%=cityurl%>search.asp target=_blank>&#25628;&#32034;</a> | <a href=<%=cityurl%>help.asp target=_blank>&#24110;&#21161;&#20449;&#24687;</a> </span></TD>
                        <TD width="3%"><DIV align=right><IMG height=34 
                  src="alimage/searchlist_bg_gray2.gif" 
                  width=14></DIV></TD>
                      </TR>
                    </TBODY>
                </TABLE></TD>
              </TR>
              <TR>
                <TD vAlign=bottom bgcolor="#EFEFEF" style="BORDER-BOTTOM: #cccccc 2px solid"><TABLE cellSpacing=0 cellPadding=0 width="90%" border=0>
                    <TBODY>
                      <TR>
                        <TD width=82 class=headborder><a class="M  AG" href=<%=cityurl%>supply.asp><strong>供应信息</strong></a></TD>
                        <TD class=headborder width=91><a class="M  AG" href=<%=cityurl%>supply.asp></a><a class="M  AG" 
                  href="<%=cityurl%>stock.asp">&#27714;&#36141;&#20449;&#24687;</a></TD>
                        <TD class=headborder width=86><a class="M  AG" href=<%=cityurl%>news.asp><strong>资 讯</strong></a></TD>
                        <TD 
                width=77 class=headborder S style="BORDER-RIGHT: #ff7300 1px solid"><a class="M  AG" href="bbs/default.htm" target="_blank">论坛</a></TD>
                        <TD 
                width=67 class=headborder S style="BORDER-RIGHT: #ff7300 1px solid"><a class="M  AG"  href="bbs/BokeIndex.html">博客</a></TD>
                        <TD class=headborder style="BORDER-RIGHT: #ff7300 1px solid" 
                width=115><A class="M AG" 
                  href="<%=cityurl%>user/admin.asp">&#25105;&#30340;&#38463;&#37324;&#21161;&#25163;</A> </TD>
                      </TR>
                    </TBODY>
                </TABLE></TD>
              </TR>
            </TBODY>
        </TABLE></TD>
    </TR>
  </TBODY>
</TABLE>
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="10"></td>
  </tr>
</table>
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
<%set rs=server.createobject("adodb.recordset")
sql="select * from dlxf_newssort where dlxf_id="&newssort
rs.open sql,conn,1,1
if not rs.eof then
newssor=rs("dlxf_newssort")
sortid=rs("dlxf_id")
else
response.write "此内容不存在！"
response.end
end if
rs.close
set rs=nothing
%>
  <tr>
    <td width="580" valign="top">
<!--==================-->
<table width="98%" border="0" cellspacing="1" cellpadding="0" align="center">
<tr><td height=30 class="bigheader C C">当前位置：<a href=index.asp>首页</a> >> <a href=news.asp>企业新闻</a> >> <a href=new_list.asp?id=<%=sortid%>><%=newssor%></a> >> 正文</td>
</tr>
<tr><td height=5></td></tr>
<tr><td height=40 align=center class="f18"><strong><%=title%></strong></td></tr>
<tr><td align="right">
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr><td align="right"><img src="img/item.gif" border=0 align=absmiddle> <a onClick="window.print()" style="cursor:hand">我要打印</a>
&nbsp;<img src="img/collection.gif" border=0 align=absmiddle> <a href=# onClick="javascript:window.external.AddFavorite('<%=application("cityurl")%>ypnew_view.asp?id=<%=id%>','<%=title%>');return false">IE收藏</a>
&nbsp;<img src="img/gwb.gif" border=0 align=absmiddle> <a href=# onClick="javascript:window.open('collection.asp?tit=<%=title%>&page=ypnew_view.asp?id=<%=id%>','_n','width=300,height=150');return false">放入公文包</a>
&nbsp;<%if int(goid)=int(user_id) or userflag43=1 then
response.write"<img src='img/icon_info_01.gif' border=0 align=absmiddle> <a href=#book>我要留言</a>　"
end if
if int(goid)=int(user_id) or userflag44=1 then
response.write"<img src='img/icon_info_02.gif' border=0 align=absmiddle> <a href=#view>查看留言</a>&nbsp;"
end if%>
</td></tr></table>
</td></tr>
<tr><td height=29 align=center background="img/bgtitle.gif"><font color=#ffffff>
  <%if ly<>"" then response.write "文章来源："&ly%>　　
<%if addr<>"" then response.write "添加人："&addr%>　　
<%if addsj<>"" then response.write "添加时间："&addsj%></font></td></tr>
<tr><td height=10></td></tr>
<tr><td height=300 valign=top><p style="line-height:190%" class=f14><%=news%></td></tr>
<tr><td height=20></td></tr>

<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="5">
  <tr> 
    <td width=50% class="redbar"><font color=white><strong>最新供应信息</strong></font></td>
    <td width=50% class="redbar"><font color=white><strong>最新求购信息</strong></font></td>
  </tr>
  <tr bgcolor=#ffffff><td width=50%><%Call dlxf_Sca_View(6,6,1,26,0,0,3,0,4,1,0,0,2,3,0,0,"ypnew_view.asp")%></td>
    <td width=50%><%Call dlxf_Sca_View(6,6,1,26,0,0,2,0,4,1,0,0,2,3,0,0,"ypnew_view.asp")%></td>
  </tr>
</table>
</td></tr>

<%if int(ypid)=int(user_id) or userflag43=1 then%>
<a name=view></a>
<tr><td height=5></td></tr>
<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="5">
  <tr><td class="redbar"><font color=white><strong>查看留言</strong></font></td></tr>
  <tr><td bgcolor=#ffffff height=20><script language=javascript src=Include/leaveword_view.asp?sortid=7&tableid=<%=id%>></script></td></tr>
</table>
</td></tr>
<%end if
if int(ypid)=int(user_id) or userflag44=1 then%>
<a name=book></a>
<tr><td height=5></td></tr>
<tr><td>
<table width="100%" border="0" cellspacing="1" cellpadding="5">
  <tr><td class="redbar"><font color=white><strong>用户留言</strong></font></td></tr>
  <tr><td bgcolor=#ffffff><script language=javascript src=Include/leaveword.asp?sortid=7&tableid=<%=id%>&ypid=<%=ypid%>></script></td></tr>
</table>
</td></tr>
<%end if%>
</table>
<!--==================-->	</td>
    <td width="180" valign="top" bgcolor=#efefef>
<!--=========================================-->
  <table width="100%" border="0" cellspacing="0" cellpadding="3">
  <tr><td height=25 background="img/bgtitle.gif" class=f14>　<strong><font color=#ffffff>站内搜索</font></strong></td></tr>
  <tr><td><script language=javascript src="Include/search.asp?search=2"></script></td></tr>
  <tr><td height=25 background="img/bgtitle.gif" class=f14>　<strong><font color=#ffffff>企业动态</font></strong></td></tr>
  <tr><td><script language=javascript src=Include/news.asp?aid=0&bid=8&cid=20&did=0&eid=0&fid=0&gid=0></script></td></tr>
  <tr>
    <td background="img/bgtitle.gif"><strong><font color=#ffffff>　行业动态</font></strong></td>
  </tr>
  <tr>
    <td>    <script language=javascript src=Include/news.asp?aid=0&bid=8&cid=20&did=0&eid=0&fid=0&gid=0></script></td>
  </tr>
  <tr><td height=25 background="img/bgtitle.gif" class=f14>　<strong><font color=#ffffff>产品推荐</font></strong></td></tr>
  <tr><td><%Call dlxf_Cp_View(3,3,1,20,1,1,1,80,0,0,0,0,0,0,0,0,0,0,0,"YpNew_View.asp")%></td></tr>
  <tr>
    <td height=3 bgcolor="#FF6000"></td>
  </tr>
  <tr>
    <td height=25 bgcolor="#666666" class=f14>　<span style="color: #FFFFFF; font-weight: bold">热贴排行</span></td>
  </tr>
  <tr>
    <td height="50"><span class="S S">
      <script src="bbs/Dv_News.asp?GetName=repin1"></script>
    </span></td>
  </tr>
  <tr>
    <td height="3" bgcolor="#FF6000"></td>
  </tr>
  <tr>
    <td height="25" bgcolor="#666666"><span style="color: #000000">&nbsp;<span style="color: #FFFFFF; font-weight: bold">博客热文排行</span></span></td>
  </tr>
  <tr>
    <td><script language="JavaScript" src="bbs/newshitBoke.asp?num=15"></script></td>
  </tr>
  <tr>
    <td height=3 bgcolor="#FF6000"></td>
  </tr>
  <tr>
    <td height=25 bgcolor="#666666" class=f14>　
      <span style="color: #FFFFFF; font-weight: bold">特别推荐</span></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <%set rs=Server.CreateObject("Adodb.Recordset")
sql="select * from dlxf_links where dlxf_key=1 and dlxf_key1=1 order by dlxf_id desc"
rs.open sql,conn,1,1
n=0
do while not rs.eof
n=n+1%>
          <td  height="70"><div align="center"><a href=<%=rs("dlxf_linkurl")%> title=<%=rs("dlxf_linksm")%> target="_blank"><img align="center" src="<%=rs("dlxf_linkname")%>" width=140 height=60 border=0></a></div></td>
          <%if n mod 1=0 then response.write "</tr><tr align=center >"
rs.movenext
loop
rs.close
set rs=nothing%>
        </tr>
    </table></td>
  </tr>
  </table>
<!--=========================================-->  	</td>
  </tr>
  <tr>
    <td valign="top">&nbsp;</td>
    <td valign="top" bgcolor=#efefef>&nbsp;</td>
  </tr>
</table>
<!--====== bottom ========-->
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor=#ffffff>
<tr><td height=10></td></tr>
<tr><td height=2 bgcolor=#FF7300></td>
</tr>
  <tr>
    <td align="center" height=80><script language=javascript src=Include/bottom.asp></script></td>
  </tr>
</table>
</body>
</html>