<!--#include file="../include/conn.asp"-->
<%	if Not isChkInteger(request.QueryString("id")) then
		call WriteSuccessMsg("易易购提示：出现了错误！")
		response.end
		end if
set news=server.CreateObject("adodb.recordset")
	if request.QueryString("action")="next" then
news.open "select top 1 * from EEG_News where newsid < "&nosql(request.QueryString("id")),conn,1,3
		elseif request.QueryString("action")="Previous" then
news.open "select top 1 * from EEG_News where newsid > "&nosql(request.QueryString("id")),conn,1,3
		else
news.open "select * from EEG_News where newsid="&nosql(request.QueryString("id")),conn,1,3
		end if
	if news.EOF or news.bof  then
		call WriteSuccessMsg("易易购提示：没有新闻！")
		response.end 
		end if
	if news.recordcount=0 then 

		call WriteSuccessMsg("易易购提示：对不起，新闻调用错误！")
		end if
		if news("iuser")=1 and session("username")="" then
		call WriteSuccessMsg("易易购提示：对不起，该新闻为会员可见请登录后查看！")
		response.end 
		end if
news("viewcount")=news("viewcount")+1
news.update
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML><HEAD>
<title><%=trim(news("newsname"))%> - <%=webname%></title>
<%Call EEGMETA()%>
<style>
SMALL.aaqua {
	FONT-SIZE: 12px; COLOR: #0072E3
}
</style>
<script language=javascript>
function change_size(strt)
{
  var font_size=14;
  switch (strt)
  {
    case 'big':
      font_size=16;
      break;
    case 'normal':
      font_size=14;
      break;
    case 'small':
      font_size=12;
      break;
  }
  document.all.remark_view.style.fontSize=font_size+'px';
}
</script>
</HEAD>
<!--#include file="../Include/inc_top.asp"-->

<DIV class=main>
<DIV class=hmain>
<DIV class=lmain><P class=lbox><!--导航--><%
	set rs1=server.CreateObject("adodb.recordset")
	rs1.open "select * from EEG_News_class  order by px asc",conn,1,1
	do while not rs1.eof
	newsid=rs1("id")
	Response.Write "<a href='News_List.Asp?id="&rs1("id")&"'><strong>"&rs1("classname")&"</strong></a> | "
	rs1.movenext
	loop
%><!--导航结束--></p></DIV>

<DIV class=lmain>
<DIV class=header>
<DIV class=topic><!--位置导航-->您的位置：<a href="<%=Indexview%>"><%=Indexname%></a> &gt;&gt; <a href="Index.Asp">新闻</a>  &gt;&gt; 查看新闻 <!--位置导航结束--></DIV>

<DIV class=collapsed_img><A onclick="toggle_collapse('category_1');" href="##"><IMG id=category_1_img src="../images/collapsed_no.gif" border=0></A></DIV></DIV>
<DIV id=category_1>
<DIV class=yangbin>
<DIV style="FLOAT: left; WIDTH: 100%; height:10%">
<P class=box><b><font size=3 color="#3366CC"><%=trim(news("newsname"))%></b></font><br><br><SPAN class=right><font color="#cccccc">发布人：<%=trim(news("addname"))%> 发布时间：<%=year(news("adddate"))&"年"&month(news("adddate"))&"月"&day(news("adddate"))&"日"%> 此新闻已被浏览 <%=news("viewcount")%> 次 </font><%if news("tp")=0 then%>[图]<%end if%> <%if news("newstop")=0 then%>[顶]<%end if%><%if news("newstj")=0 then%>[荐]<%end if%></SPAN><br>
<DIV id=wapper>
<DIV id=main_body>
<DIV id=t_body>
<table width="98%" border="0" cellspacing="0" cellpadding="2" >
  <tr><td align="left"><%=trim(news("EEG_Content"))%></td></tr>
  </table>
</DIV>
</DIV>
</DIV>
</P></DIV></DIV>
<DIV class=yangbin><DIV style="WIDTH: 99%"><P class=box><table border=0 align=center widtj=100% ><TR>
<TD>【<a href='javascript:window.close()'>关闭窗口</a>】·【<a href="javascript:;" onclick="javascript:change_size('big');">大</a> <a href="javascript:;" onclick="javascript:change_size('normal');">中</a> <a href="javascript:;" onclick="javascript:change_size('small');">小</a>】·【<a href="javascript:;" onclick="javascript:window.print();">打印</a>】·【<a href="#top">顶部</a>】·【<a href="?action=Previous&id=<%=news("newsid")%>">上一篇</a>】·【<a href="?action=next&id=<%=news("newsid")%>">下一篇</a>】</TD>
</TR>
</table></P></DIV>
</DIV>

</DIV></DIV>
</DIV>
<DIV class=h1main>


<DIV class=rmain>
<DIV class=header>
<DIV class=topic>购买指南</DIV></DIV>
<DIV class=yangbin><P class=lbox><small class="aaqua">① 咨询售前</small></P></DIV>
<DIV class=yangbin><P class=lbox>查看售前咨询方式</P></DIV>
<DIV class=yangbin><P class=lbox><small class="aaqua">② 选择产品</small></P></DIV>
<DIV class=yangbin><P class=lbox><a target="_blank" href="http://">产品比较</a> 产品选择 <a target="_blank" href="http://">产品报价</a> </P></DIV>
<DIV class=yangbin><P class=lbox><small class="aaqua">③ 支付并获得产品</small></P></DIV>
<DIV class=yangbin><P class=lbox> 选择支付方式 完成支付<br>
  获得产品并拥有相关服务</P></DIV>
</DIV>
<%if inc3=1 then %>
<DIV class=rmain>
<DIV class=header>
<DIV class=topic>最新新闻</DIV></DIV>
<%	set rs=server.createobject("adodb.recordset")
	rs.open "select top "&inc4&" newsname,adddate,newsid from EEG_News where tp=1 order by adddate desc",conn,1,1
	if rs.recordcount=0 then 
	Response.Write "<DIV class=yangbin><P class=lbox>没有最新新闻</P></DIV>"
	else
	while not rs.eof
	Response.Write "<DIV class=yangbin><P class=lbox><a href='news.asp?id="&rs("newsid")&"' title='"&month(rs("adddate"))&"月"&day(rs("adddate"))&"日发布'>"
	Response.write left(rs("newsname"),15)&"."
	Response.Write "</a></P></DIV>"
	rs.movenext
	wend

	end if
	rs.close
	set rs=nothing
	%>
</DIV>
<%end if%>

</DIV><!--侧栏END--><!--#include file="../Include/inc_bott.asp"--></body></html>