<%@ Language=VBScript%>
<!--#include file="conn.asp"-->
<!--#include file="config.asp"-->
<!--#include file="function.asp"-->
<!--#include file="char.inc"-->
<%
E_typeid=ChkRequest(request("E_typeid"), 1)
if E_typeid="" then
	Response.Write "<script>alert('未指定参数');history.back()</script>"
	response.end
else
	if not IsNumeric(E_typeid) then
		response.write "<script>alert('非法参数');history.back()</script>"
		response.end
	else
		dim tE_typename
		set rs5=server.CreateObject("ADODB.RecordSet")
		rs5.Source="select * from "& db_wygkcn_Type_Table &" where E_typeid=" & E_typeid &" order by E_typeorder"
		rs5.Open rs5.Source,conn,1,1
		tE_typename=rs5("E_typename")
		E_typeorder=rs5("E_typeorder")
		rs5.Close
		set rs5=nothing
		%>
		<%
		dim E_typeid
		E_typeid=checkstr(request("E_typeid"))
		set rs=server.CreateObject("ADODB.RecordSet")
		rs.Source="select * from "& db_wygkcn_BigClass_Table &" where E_typeid="& E_typeid &" order by E_bigclassorder"
		rs.Open rs.Source,conn,1,1
		i=1
		Dim ArrayE_BigClassID(10000),ArrayE_BigClassName(10000),ArrayE_BigClassView(10000)
		if not rs.EOF then
			rseof=1
		end if
	end if
	while not rs.EOF
		abcount=rs.RecordCount
		E_BigClassView=rs("E_BigClassView")
		E_BigClassID=rs("E_BigClassID")
		
		E_BigClassName=trim(rs("E_BigClassName"))
		BigClasszs=rs("BigClasszs")
		
		ArrayE_BigClassView(i)=E_BigClassView
		ArrayE_BigClassID(i)=E_BigClassID
		ArrayE_BigClassName(i)=E_BigClassName

		i=i+1
		
		rs.MoveNext
	wend
	rs.close
	%>
<!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" lang="gb2312">
<head>
<!--版-权-所-有@网-域-高-科_wygk_cn Powered By WY-->
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Description" content="<%=SiteDescription%>">
<meta name="keywords" content="<%=SiteKeywords%>">
<title><%=tE_typename%>__<%=eChSys_Com%></title>
<LINK href="CSS/Wygkcn_Home.css" rel="stylesheet">
<LINK href="CSS/Wygkcn_News.css" rel="stylesheet">
<noscript><iframe scr="*"></iframe></noscript>
<script language="JavaScript1.2">
<!--
function makevisible(cur,which){
if (which==0)
cur.filters.alpha.opacity=100
else
cur.filters.alpha.opacity=20
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>

</head>
<body>
<div id="EC_Content">
<%
dim E_typename
E_typeid=checkstr(request("E_typeid"))
set rs=server.CreateObject("ADODB.RecordSet")
rs.Source="select * from "& db_wygkcn_Type_Table &" where E_typeid="& E_typeid &" order by E_typeorder"
rs.Open rs.Source,conn,1,1
mode=rs("mode")
E_typename=rs("E_typename")
rs.close
set rs=nothing
%>
<!--#include file="Top.asp"-->
<div id="zl_center">
<div class="zl_left float_left">
<div class="E_c_dl_dh">
<H3><%=E_typename%></H3>
<DIV class=E_c_dl_name>
<ul>
<%  
E_typeid=checkstr(request("E_typeid"))
Set Rs=Server.CreateObject("ADODB.RecordSet")
rs.Source="SELECT * FROM "& db_wygkcn_BigClass_Table &" where E_typeid="&E_typeid&" order by E_bigclassorder"
rs.Open rs.Source,conn,1,1
if not rs.EOF then
Do While Not Rs.Eof
%>
<li>
<%If Rs("url")<>"" then%>
<a  href="<%=Rs("Url")%>"><font color="#000000"><%=Rs("E_BigClassName")%></font> </a>   
<%else%> 
<a  href="wygkcn_BigClass.asp?E_typeid=<%=E_typeid%>&E_BigClassID=<%=Rs("E_BigClassID")%>"><%=Rs("E_BigClassName")%></a>	
<%end if%>
</li>
<%
Rs.movenext   
Loop  
else
Response.Write "<li>无子栏目</li>"
end if
Rs.Close
set rs=nothing
%>
</ul>
</div>
</div>
<div class="new_art lianmu_bg">
<H3>最新更新</H3>
<DIV class=new_art_list>
<ul class=list>
<%
set rs3=server.CreateObject("ADODB.RecordSet")
	if uselevel=1 then
		if Request.cookies(echsys)("key")="super" or Request.cookies(echsys)("key")="typemaster" or Request.cookies(echsys)("key")="bigmaster" or Request.cookies(echsys)("key")="smallmaster" or Request.cookies(echsys)("key")="check" then
		rs3.Source ="select top 8 * from "& db_wygkcn_Article_Table &" where  Checked=1 and E_typeid="&E_typeid&" order by EC_ArticleID DESC"
		end if
		if Request.cookies(echsys)("key")="" then
			rs3.Source ="select top 8 * from "& db_wygkcn_Article_Table &" where  Checked=1 and newslevel=0 and E_typeid="&E_typeid&"  order by EC_ArticleID DESC"
		end if
		if Request.cookies(echsys)("key")="selfreg" then
			if Request.cookies(echsys)("reglevel")=3 then
				rs3.Source ="select top 8 * from "& db_wygkcn_Article_Table &" where  Checked=1  and E_typeid="&E_typeid&"  order by EC_ArticleID DESC"
			end if
			if Request.cookies(echsys)("reglevel")=2 then
				rs3.Source ="select top 8 * from "& db_wygkcn_Article_Table &" where  Checked=1  and E_typeid="&E_typeid&"  order by EC_ArticleID DESC"
			end if
			if Request.cookies(echsys)("reglevel")=1 then
				rs3.Source ="select top 8 * from "& db_wygkcn_Article_Table &" where  Checked=1  and E_typeid="&E_typeid&" order by EC_ArticleID DESC"
			end if
		end if
	else
		rs3.Source ="select top 8 * from "& db_wygkcn_Article_Table &" where  Checked=1 and E_typeid="&E_typeid&"  order by EC_ArticleID DESC"
	end if
rs3.Open rs3.Source,conn,1,1
	if not rs3.EOF then
		while not rs3.EOF
			newsurl="wygkcn_ShowArticle.asp?EC_ArticleID=" & Rs3("EC_ArticleID")
		    newswwwurl=rs3("titleface")
			fileExt=lcase(getFileExtName(rs3("picname")))
			Content=htmlencode4(rs3("Content"))
			%>
<li>
·<a href="<%if rs3("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" title="<%=htmlencode4(rs3("title"))%>" target="_blank"> <font color="<%=rs3("titlecolor")%>"> <%=CutStr(htmlencode4(rs3("title")),40)%> </font> </a>
</li>
<%
rs3.MoveNext
wend
else
Response.Write "<li>·本栏目暂无更新</li>"
end if
rs3.close
set rs3=nothing
%>
</ul>
</div>
</div>
<div class="new_art lianmu_bg">
<H3>最新推荐</H3>
<DIV class=new_art_list>
<ul class=list>
<%
set rs3=server.CreateObject("ADODB.RecordSet")
	if uselevel=1 then
		if Request.cookies(echsys)("key")="super" or Request.cookies(echsys)("key")="typemaster" or Request.cookies(echsys)("key")="bigmaster" or Request.cookies(echsys)("key")="smallmaster" or Request.cookies(echsys)("key")="check" then
		rs3.Source ="select top 8 * from "& db_wygkcn_Article_Table &" where  Checked=1 and goodnews=1 and E_typeid="&E_typeid&" order by EC_ArticleID DESC"
		end if
		if Request.cookies(echsys)("key")="" then
			rs3.Source ="select top 8 * from "& db_wygkcn_Article_Table &" where  Checked=1 and goodnews=1 and newslevel=0 and E_typeid="&E_typeid&"  order by EC_ArticleID DESC"
		end if
		if Request.cookies(echsys)("key")="selfreg" then
			if Request.cookies(echsys)("reglevel")=3 then
				rs3.Source ="select top 8 * from "& db_wygkcn_Article_Table &" where  Checked=1 and goodnews=1  and E_typeid="&E_typeid&"  order by EC_ArticleID DESC"
			end if
			if Request.cookies(echsys)("reglevel")=2 then
				rs3.Source ="select top 8 * from "& db_wygkcn_Article_Table &" where  Checked=1 and goodnews=1  and E_typeid="&E_typeid&"  order by EC_ArticleID DESC"
			end if
			if Request.cookies(echsys)("reglevel")=1 then
				rs3.Source ="select top 8 * from "& db_wygkcn_Article_Table &" where  Checked=1 and goodnews=1  and E_typeid="&E_typeid&" order by EC_ArticleID DESC"
			end if
		end if
	else
		rs3.Source ="select top 8 * from "& db_wygkcn_Article_Table &" where  Checked=1 and goodnews=1 and E_typeid="&E_typeid&"  order by EC_ArticleID DESC"
	end if
rs3.Open rs3.Source,conn,1,1
	if not rs3.EOF then
		while not rs3.EOF
			newsurl="wygkcn_ShowArticle.asp?EC_ArticleID=" & Rs3("EC_ArticleID")
		    newswwwurl=rs3("titleface")
			fileExt=lcase(getFileExtName(rs3("picname")))
			Content=htmlencode4(rs3("Content"))
			%>
<li>
·<a href="<%if rs3("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" title="<%=htmlencode4(rs3("title"))%>" target="_blank"> <font color="<%=rs3("titlecolor")%>"> <%=CutStr(htmlencode4(rs3("title")),40)%> </font> </a>
</li>
<%
rs3.MoveNext
wend
else
Response.Write "<li>·本栏目暂无更新</li>"
end if
rs3.close
set rs3=nothing
%>
</ul>
</div>
</div>

</div>
<!--左边部分结束-->

<!--右边部分开始-->
<div class="zl_right float_right">

<!--位置导航部分开始-->
<div class="position">
<img src="Images/lm_dot.gif" width="11" height="11">&nbsp;&nbsp;您的位置&nbsp;&nbsp;<a href="./" >首页</a> >> <%=E_typename%> >>列表
</div>
<!--位置导航部分结束-->

<!--列表部分开始-->
<div class=class_listcnt>

<div class="class_list1 lm_class_bg">
<H4><SPAN class=more><a href="wygkcn_NobigClass.asp?E_typeid=<%=E_typeid%>"><img src="Images/more.gif" alt="更多<%=E_typename%>" width="28" height="9" border="0" /></a></SPAN><%=E_typename%>·[本栏]</H4>
<!--无大类文章区开始-->
<% select case mode%>
<% case 1 %>
<!--图片模版-->
<ul>
<%
set rsnobigclass=server.CreateObject("ADODB.RecordSet")
			if uselevel=1 then		    
				if Request.cookies(echsys)("key")="super" or Request.cookies(echsys)("key")="typemaster" or Request.cookies(echsys)("key")="bigmaster" or Request.cookies(echsys)("key")="smallmaster" or Request.cookies(echsys)("key")="check" then
				rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("key")="" then
					rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("key")="selfreg" then
					if Request.cookies(echsys)("reglevel")=3 then
						rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
					end if
				if Request.cookies(echsys)("reglevel")=2 then
					rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("reglevel")=1 then
					rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				
			end if
			else
			rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1) order by EC_ArticleID DESC"
			end if
				rsnobigclass.Open rsnobigclass.Source,conn,1,1
				if not rsnobigclass.EOF then
%>

<%
fileExt=lcase(getFileExtName(rsnobigclass("picname")))
Content=htmlencode4(rsnobigclass("Content"))
content=replace(content,"[---分页---]","")
%>
<%do while not rsnobigclass.EOF%>
<%if not rsnobigclass.EOF then%>
<% 
content=htmlencode4(rsnobigclass("Content"))
content=replace(content,"[---分页---]","")
%>
<li class=class_pic_list>					
<div class="piclist" onMouseOver="this.className='piclist piclist_Hover'" onMouseOut="this.className='piclist'" >
		  <a  href="wygkcn_ShowArticle.asp?EC_ArticleID=<%=rsnobigclass("EC_ArticleID")%>" target=_blank title="<%=CutStr(nohtml(Content),150)%>...">
          <%if   rsnobigclass("picname")="" then%>
          <img  src="IMAGES/flashorno.gif" width="110" height="80"  border="0" align="top">
          <% else %>
          <%if fileext="jpg" or fileext="bmp" or fileext="png" or fileext="gif" then%>
          <img  src="<%=FileUploadPath & rsnobigclass("picname")%>" width="110" height="80" border="0" align="top">
          <%end if%>
          <%if fileext="swf" then%>
          <object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'  codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width="110" height="80" border="0" >
            <param name=movie value="<%=FileUploadPath & rsnobigclass("picname")%>">
            <param name=quality value=high>
            <param name='Play' value='-1'>
            <param name='Loop' value='0'>
            <param name='Menu' value='-1'>
            <embed src="<%=FileUploadPath & rsnobigclass("picname")%>" width="110" height="80" border=0  pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash'></embed>
          </object>
          <%end if%>
          <%end if%>
        </a>
</div>

<div class=piclist_title>
<a href="wygkcn_ShowArticle.asp?EC_ArticleID=<%=rsnobigclass("EC_ArticleID")%>" target=_blank title="<%=rsnobigclass("title")%>"><%=CutStr(rsnobigclass("title"),16)%></a>
</div>
</li>
<%
rsnobigclass.movenext   
end if
loop
else
Response.Write "<li>·暂无本栏信息</li>"
end if
rsnobigclass.close
set rsnobigclass=nothing
%>
</ul>

<!--图片模版结束-->
<!--新闻列表模版开始-->
<% case 2 %>
<ul class=list>
<%
set rsnobigclass=server.CreateObject("ADODB.RecordSet")
			if uselevel=1 then
			    
				if Request.cookies(echsys)("key")="super" or Request.cookies(echsys)("key")="typemaster" or Request.cookies(echsys)("key")="bigmaster" or Request.cookies(echsys)("key")="smallmaster" or Request.cookies(echsys)("key")="check" then
				rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("key")="" then
					rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("key")="selfreg" then
					if Request.cookies(echsys)("reglevel")=3 then
						rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
					end if
				if Request.cookies(echsys)("reglevel")=2 then
					rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("reglevel")=1 then
					rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				
			end if
			else
			rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1) order by EC_ArticleID DESC"
			end if
			
			rsnobigclass.Open rsnobigclass.Source,conn,1,1
			if not rsnobigclass.EOF then
			
			while not rsnobigclass.EOF
				if showyear=1 then
					newsurl="wygkcn_ShowArticle.asp?EC_ArticleID=" & rsnobigclass("EC_ArticleID")
					newswwwurl=rsnobigclass("titleface")
					datetime="(" & year(rsnobigclass("UpdateTime"))  &"."& Month(rsnobigclass("UpdateTime"))  &"."& Day(rsnobigclass("UpdateTime")) &")"
				else
					newsurl="wygkcn_ShowArticle.asp?EC_ArticleID=" & rsnobigclass("EC_ArticleID")
					newswwwurl=rsnobigclass("titleface")
					datetime="("& Month(rsnobigclass("UpdateTime"))  &"."& Day(rsnobigclass("UpdateTime")) &")"
				end if
				if rsnobigclass("picnews")=1 then
					img="<font class=pic_word>[图]</font>"
				else
					img=""
				end if
					title=trim(rsnobigclass("title"))
					title=replace(title,"<br>","")
		%>
<li> <%if showtime="1" then%><span><%=datetime%></span><%end if%>
·<a href="<%if rsnobigclass("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" title="<%=rsnobigclass("title")%>" target="_blank"> <<%=rsnobigclass("titletype")%>><font color="<%=rsnobigclass("titlecolor")%>"> <%=CutStr(title,46)%></font></<%=rsnobigclass("titletype")%>></a>
                <!--标题后评论提示-->
                <% if rsnobigclass("titlesize")>=1 then %>
                <A HREF="<%=path%>review.asp?EC_ArticleID=<%=rsnobigclass("EC_ArticleID")%>" target="_blank" ><font color=red><b>评</b></font></A>
                <%end if %>
				<%=img%> 
                <!--标题后评论提示-->
                <%if year(rsnobigclass("updatetime"))=year(date()) and month(rsnobigclass("updatetime"))=month(date()) and day(rsnobigclass("updatetime"))=day(date()) then%>
                 <img src="images/new.gif">
                <%end if%>           

</li>

<%
rsnobigclass.MoveNext
wend
%>

<% 
else 
Response.Write "<li>·暂无本栏信息</li>"
%> 
<%
end if
rsnobigclass.close
set rsnobigclass=nothing
%>
</ul>
<% case 3 %>
<!--网址模版-->
<ul>
<%
set rsnobigclass=server.CreateObject("ADODB.RecordSet")
		if uselevel=1 then
			if Request.cookies(echsys)("key")="super" or Request.cookies(echsys)("key")="typemaster" or Request.cookies(echsys)("key")="bigmaster" or Request.cookies(echsys)("key")="smallmaster" or Request.cookies(echsys)("key")="check" then
				rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("key")="" then
					rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("key")="selfreg" then
					if Request.cookies(echsys)("reglevel")=3 then
						rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
					end if
				if Request.cookies(echsys)("reglevel")=2 then
					rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("reglevel")=1 then
					rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
			end if
			else
			rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1) order by EC_ArticleID DESC"
			end if
			rsnobigclass.Open rsnobigclass.Source,conn,1,1
%>
<%
if not rsnobigclass.EOF then
do while not rsnobigclass.EOF
%>
<li class=class_site_list>
<%
Content=htmlencode4(rsnobigclass("Content"))
%>

<%if not rsnobigclass.EOF then%>
<a href="<%=rsnobigclass("Original")%>" target=_blank title="<%=CutStr(nohtml(rsnobigclass("Content")),80)%>"><%=CutStr(rsnobigclass("title"),30)%></a> 
</li>
<%
rsnobigclass.movenext   
end if 
loop
else
Response.Write "<li>·暂无本栏信息</li>"
end if
rsnobigclass.close
set rsnobigclass=nothing
%>
</ul>
<% case 4 %>
<!--软件产品模板-->
<ul>
<%
set rsnobigclass=server.CreateObject("ADODB.RecordSet")
			if uselevel=1 then
				if Request.cookies(echsys)("key")="super" or Request.cookies(echsys)("key")="typemaster" or Request.cookies(echsys)("key")="bigmaster" or Request.cookies(echsys)("key")="smallmaster" or Request.cookies(echsys)("key")="check" then
				rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("key")="" then
					rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("key")="selfreg" then
					if Request.cookies(echsys)("reglevel")=3 then
						rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
					end if
				if Request.cookies(echsys)("reglevel")=2 then
					rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("reglevel")=1 then
					rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				end if
				else
					rsnobigclass.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1) order by EC_ArticleID DESC"
				end if
			rsnobigclass.Open rsnobigclass.Source,conn,1,1
			    if not rsnobigclass.EOF then
				while not rsnobigclass.EOF
					if showyear=1 then
						newsurl="wygkcn_ShowArticle.asp?EC_ArticleID=" & rsnobigclass("EC_ArticleID")
						newswwwurl=rsnobigclass("titleface")
						datetime="( "& year(rsnobigclass("UpdateTime"))  &"."& Month(rsnobigclass("UpdateTime"))  &"."& Day(rsnobigclass("UpdateTime")) &")"
					else
						newsurl="wygkcn_ShowArticle.asp?EC_ArticleID=" & rsnobigclass("EC_ArticleID")
						newswwwurl=rsnobigclass("titleface")
						datetime="("& Month(rsnobigclass("UpdateTime"))  &"."& Day(rsnobigclass("UpdateTime")) &")"
					end if
					if rsnobigclass("picnews")=1 then
						img="<font class=pic_word>[图]</font>"
					else
						img=""
					end if
						title=trim(rsnobigclass("title"))
						title=replace(title,"<br>","")
%>
<%
fileExt=lcase(getFileExtName(rsnobigclass("picname")))
Content=htmlencode4(rsnobigclass("Content"))
content=replace(content,"[---分页---]","")%>
<li>
<div>
<H5><%if showtime="1" then%><Span class=float_right><%=datetime%></span><%end if%>
<img src="images/news_img.gif" width="9" height="9"> <a href="<%if rsnobigclass("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" title="<%=htmlencode4(title)%>" target="_blank"> <font color="<%=rsnobigclass("titlecolor")%>"><strong> <%=CutStr(title,40)%> </strong></font> </a>  <%if year(rsnobigclass("updatetime"))=year(date()) and month(rsnobigclass("updatetime"))=month(date()) and day(rsnobigclass("updatetime"))=day(date()) then%>
<img src="images/new.gif">
<%end if%>
</H5>
<div class="float_left s_pic">
<a href="<%if rsnobigclass("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" target=_blank title="<%=htmlencode4(rsnobigclass("title"))%>">
                      <%if   rsnobigclass("picname")=("")   then%>
                      <img  src="IMAGES/softno.gif" width="80" height="80" border=0 align="left">
                      <%else%>
                      <img  src="<%=FileUploadPath & rsnobigclass("picname")%>" width="80" height="80" border=0 align="left">
                      <%end if%>
                      <%if fileext="swf" then%>
                      </a><a href="<%if rsnobigclass("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" target=_blank title="<%=htmlencode4(rsnobigclass("title"))%>">
                      <%if fileext="jpg" or fileext="bmp" or fileext="png" or fileext="gif" then%>
                      </a><a href="<%if rsnobigclass("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" target=_blank title="<%=htmlencode4(rsnobigclass("title"))%>">
                      <object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'  codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width="80" height="80" border=0 >
                        <param name=movie value="<%=FileUploadPath & rsnobigclass("picname")%>">
                        <param name=quality value=high>
                        <param name='Play' value='-1'>
                        <param name='Loop' value='0'>
                        <param name='Menu' value='-1'>
                        <embed src="<%=FileUploadPath & rsnobigclass("picname")%>" width="80" height="80" border=0  pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash'></embed>
                      </object>
<%end if%>
<%end if%>
</a> 
</div>
<div class="float_right EC_s_cnt">
<a href="<%if rsnobigclass("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" target="_blank" title="<%=htmlencode4(title)%>"><%=CutStr(nohtml(rsnobigclass("Content")),300)%></a> 
</div>
<div class="clear_float"></div>
</div>
</li>
<%
rsnobigclass.MoveNext
wend
%>
<%
else
Response.Write "<li>·暂无本栏信息</li>"
end if
rsnobigclass.close
set rsnobigclass=nothing
%>
</ul>
<% case 5%>
<!--单页面模板-->
<ul>
<%
set rsnobigclass=server.CreateObject("ADODB.RecordSet")
			if uselevel=1 then
			    
				if Request.cookies(echsys)("key")="super" or Request.cookies(echsys)("key")="typemaster" or Request.cookies(echsys)("key")="bigmaster" or Request.cookies(echsys)("key")="smallmaster" or Request.cookies(echsys)("key")="check" then
				rsnobigclass.Source="select top 1 * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("key")="" then
					rsnobigclass.Source="select top 1 * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("key")="selfreg" then
					if Request.cookies(echsys)("reglevel")=3 then
						rsnobigclass.Source="select top 1 * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
					end if
				if Request.cookies(echsys)("reglevel")=2 then
					rsnobigclass.Source="select top 1  * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("reglevel")=1 then
					rsnobigclass.Source="select top 1 * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				
			end if
			else
			rsnobigclass.Source="select top 1 * from "& db_wygkcn_Article_Table &" where (E_typeid=" & E_typeid &"  and E_BigClassID is null and E_SmallClassID is null and Checked=1) order by EC_ArticleID DESC"
			end if
				rsnobigclass.Open rsnobigclass.Source,conn,1,1
			if not rsnobigclass.EOF then
%>
<li><%=rsnobigclass("content")%> </li>
<%
else 
Response.Write "<li>·暂无本栏信息</li>"
end if
rsnobigclass.close
set rsnobigclass=nothing
%>
</ul>
<%end select%>
<!--无大类文章区结束-->

</div>

<!--大类文章区开始-->
<!--模版开始-->
<% select case mode%>
<% case 1 %>
<!--图片模版-->

<%
if rseof=1 then
for i=1 to abcount
E_BigClassID=ArrayE_BigClassID(i)
E_BigClassName=ArrayE_BigClassName(i)
E_BigClassView=ArrayE_BigClassView(i)
if ArrayE_BigClassView(i)=1 then 
%>
<div class="class_list1 lm_class_bg">
<H4><SPAN class=more><a href="wygkcn_BigClass.asp?E_typeid=<%=E_typeid%>&E_BigClassID=<%=E_BigClassID%>"><img src="Images/more.gif" alt="更多<%=E_BigClassName%>" width="28" height="9" border="0" /></a></SPAN><%=E_BigClassName%></H4>
<ul>
<%
set rs3=server.CreateObject("ADODB.RecordSet")
				if uselevel=1 then
					if Request.cookies(echsys)("key")="super" or Request.cookies(echsys)("key")="typemaster" or Request.cookies(echsys)("key")="bigmaster" or Request.cookies(echsys)("key")="smallmaster" or Request.cookies(echsys)("key")="check" then
					rs3.Source="select top "& top_news &" * from "& db_wygkcn_Article_Table &" where (E_BigClassID="& E_BigClassID &" and Checked=1) order by EC_ArticleID DESC"
					end if
					if Request.cookies(echsys)("key")="" then
					rs3.Source="select top "& top_news &" * from "& db_wygkcn_Article_Table &" where (E_BigClassID="& E_BigClassID &" and Checked=1 ) order by EC_ArticleID DESC"
					end if
					if Request.cookies(echsys)("key")="selfreg" then
						if Request.cookies(echsys)("reglevel")=3 then
						rs3.Source="select top "& top_news &" * from "& db_wygkcn_Article_Table &" where (E_BigClassID="& E_BigClassID &" and Checked=1 ) order by EC_ArticleID DESC"
						end if
						if Request.cookies(echsys)("reglevel")=2 then
						rs3.Source="select top "& top_news &" * from "& db_wygkcn_Article_Table &" where (E_BigClassID="& E_BigClassID &" and Checked=1 ) order by EC_ArticleID DESC"
						end if
					if Request.cookies(echsys)("reglevel")=1 then
						rs3.Source="select top "& top_news &" * from "& db_wygkcn_Article_Table &" where (E_BigClassID="& E_BigClassID &" and Checked=1 ) order by EC_ArticleID DESC"
						end if
					end if
				else
					rs3.Source="select top "& top_news &" * from "& db_wygkcn_Article_Table &" where (E_BigClassID="& E_BigClassID &" and Checked=1) order by EC_ArticleID DESC"
				end if
rs3.Open rs3.Source,conn,1,1
%>
  <!--图片换行显示1-->
<% if not rs3.EOF then %>
<%
fileExt=lcase(getFileExtName(rs3("picname")))
Content=htmlencode4(rs3("Content"))
content=replace(content,"[---分页---]","")
do while not rs3.EOF
%>
<li class=class_pic_list>
<%if not rs3.EOF then%>
<% 
content=htmlencode4(rs3("Content"))
content=replace(content,"[---分页---]","")
%>

<div class="piclist" onMouseOver="this.className='piclist piclist_Hover'" onMouseOut="this.className='piclist'" >
<a href="wygkcn_ShowArticle.asp?EC_ArticleID=<%=rs3("EC_ArticleID")%>" target=_blank title="<%=CutStr(nohtml(Content),150)%>...">
          <%if   rs3("picname")=("") then%>
          <img  src="IMAGES/flashorno.gif" width="110" height="80"  border="0" align="top">
          <%else%>
          <%if fileext="jpg" or fileext="bmp" or fileext="png" or fileext="gif" then%>
          <img  src="<%=FileUploadPath & rs3("picname")%>" width="110" height="80"  border="0" align="top">
          <%end if%>
          <%if fileext="swf" then%>
          <object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'  codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width="110" height="80" border="0" >
            <param name=movie value="<%=FileUploadPath & rs3("picname")%>">
            <param name=quality value=high>
            <param name='Play' value='-1'>
            <param name='Loop' value='0'>
            <param name='Menu' value='-1'>
            <embed src="<%=FileUploadPath & rs3("picname")%>" width="110" height="80" border=0  pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash'></embed>
          </object>
          <%end if%>
          <%end if%>
        </a> 
</div>
<div class=piclist_title>
<a href="wygkcn_ShowArticle.asp?EC_ArticleID=<%=rs3("EC_ArticleID")%>" target=_blank title="<%=rs3("title")%>"><%=CutStr(rs3("title"),16)%></a>
</div>
</li>
<%
Rs3.movenext
End if
Loop
Rs3.Close
Set Rs3=nothing
Else
Response.Write "<li>·暂无信息</li>"
end if
%>
</ul>
</div>
<%
end if
next
end if
%>

<% case 2 %>
<!--新闻模版-->

<%  if rseof=1 then
	for i=1 to abcount
	E_BigClassID=ArrayE_BigClassID(i)
	E_BigClassName=ArrayE_BigClassName(i)
	E_BigClassView=ArrayE_BigClassView(i)
	if ArrayE_BigClassView(i)=1 then 
%>
<div class="class=list1 lm_class_bg">
<H4><SPAN class=more><a href="wygkcn_BigClass.asp?E_typeid=<%=E_typeid%>&E_BigClassID=<%=E_BigClassID%>"><img src="Images/more.gif" alt="更多<%=E_BigClassName%>" width="28" height="9" border="0" /></a></SPAN><%=E_BigClassName%></H4>

<ul class=list>
<%
set rs3=server.CreateObject("ADODB.RecordSet")
		if uselevel=1 then
			if Request.cookies(echsys)("key")="super" or Request.cookies(echsys)("key")="typemaster" or Request.cookies(echsys)("key")="bigmaster" or Request.cookies(echsys)("key")="smallmaster" or Request.cookies(echsys)("key")="check" then
				rs3.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &" and Checked=1) order by EC_ArticleID DESC"
			end if
		if Request.cookies(echsys)("key")="" then
			rs3.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &" and Checked=1 ) order by EC_ArticleID DESC"
		end if
		if Request.cookies(echsys)("key")="selfreg" then
			if Request.cookies(echsys)("reglevel")=3 then
				rs3.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &" and Checked=1 ) order by EC_ArticleID DESC"
			end if
			if Request.cookies(echsys)("reglevel")=2 then
				rs3.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &" and Checked=1 ) order by EC_ArticleID DESC"
			end if
			if Request.cookies(echsys)("reglevel")=1 then
				rs3.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &" and Checked=1 ) order by EC_ArticleID DESC"
			end if
		end if
		else
	    rs3.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &" and Checked=1) order by EC_ArticleID DESC"
		end if
		rs3.Open rs3.Source,conn,1,1
		if not rs3.EOF then
		while not rs3.EOF
			if showyear=1 then
				newsurl="wygkcn_ShowArticle.asp?EC_ArticleID=" & rs3("EC_ArticleID")
				newswwwurl=rs3("titleface")
				datetime="(" & year(rs3("UpdateTime"))  &"."& Month(rs3("UpdateTime"))  &"."& Day(rs3("UpdateTime")) &")"
			else
				newsurl="wygkcn_ShowArticle.asp?EC_ArticleID=" & rs3("EC_ArticleID")
				newswwwurl=rs3("titleface")
				datetime="("& Month(rs3("UpdateTime"))  &"."& Day(rs3("UpdateTime")) &")"
			end if
				if rs3("picnews")=1 then
					img="<font class=pic_word>[图]</font>"
				else
					img=""
				end if
					title=trim(rs3("title"))
					title=replace(title,"<br>","")
					%>
<li>
<%if showtime="1" then%><span><%=datetime%></span><%end if%>
·<a href="<%if rs3("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" title="<%=rs3("title")%>" target="_blank"> 
<<%=rs3("titletype")%>><font color="<%=rs3("titlecolor")%>"> <%=CutStr(title,46)%></font></<%=rs3("titletype")%>></a>
                        <!--标题后评论提示-->
                        <% if rs3("titlesize")>=1 then %>
                        <A HREF="<%=path%>review.asp?EC_ArticleID=<%=rs3("EC_ArticleID")%>" target="_blank" ><font color=red><b>评</b></font></A>
                        <%end if %>
						 <%=img%> 
                        <!--标题后评论提示-->
                          <%if year(rs3("updatetime"))=year(date()) and month(rs3("updatetime"))=month(date()) and day(rs3("updatetime"))=day(date()) then%>
                          <img src="images/new.gif">
                          <%end if%>

</li>
<%
rs3.MoveNext
wend
else
Response.Write "<li>·暂无信息</li>"
end if
Rs3.close
set rs3=nothing
%>
</ul> 
</div>
<%
end if
next
end if
%>

<% case 3 %>
<!--网址模版-->
<%
if rseof=1 then
for i=1 to abcount
E_BigClassID=ArrayE_BigClassID(i)
E_BigClassName=ArrayE_BigClassName(i)
E_BigClassView=ArrayE_BigClassView(i)
if ArrayE_BigClassView(i)=1 then 
%>
<div class="class_list1 lm_class_bg">
<H4><SPAN class=more><a href="wygkcn_BigClass.asp?E_typeid=<%=E_typeid%>&E_BigClassID=<%=E_BigClassID%>"><img src="Images/more.gif" alt="更多<%=E_BigClassName%>" width="28" height="9" border="0" /></a></SPAN><%=E_BigClassName%></H4>
<ul>
<%
set rs3=server.CreateObject("ADODB.RecordSet")
			if uselevel=1 then
				if Request.cookies(echsys)("key")="super" or Request.cookies(echsys)("key")="typemaster" or Request.cookies(echsys)("key")="bigmaster" or Request.cookies(echsys)("key")="smallmaster" or Request.cookies(echsys)("key")="check" then
				rs3.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &" and Checked=1) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("key")="" then
				rs3.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &" and Checked=1 ) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("key")="selfreg" then
					if Request.cookies(echsys)("reglevel")=3 then
						rs3.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &" and Checked=1 ) order by EC_ArticleID DESC"
					end if
				if Request.cookies(echsys)("reglevel")=2 then
					rs3.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &" and Checked=1 ) order by EC_ArticleID DESC"
					end if
						if Request.cookies(echsys)("reglevel")=1 then
							rs3.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &" and Checked=1 ) order by EC_ArticleID DESC"
						end if
					end if
				else
				rs3.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &" and Checked=1) order by EC_ArticleID DESC"
				end if
				rs3.Open rs3.Source,conn,1,1
			%>
                <!--网址换行显示1-->
<% if not rs3.EOF then %>
<%do while not rs3.EOF%>
<li class=class_site_list>
<%Content=htmlencode4(rs3("Content"))%>
<%if not rs3.EOF then%>
<a href="<%=rs3("Original")%>" target=_blank title="<%=CutStr(nohtml(rs3("Content")),80)%>"><%=CutStr(rs3("title"),30)%></a> </li>
<%
rs3.movenext   
end if
loop
rs3.Close
set rs3=nothing
else
Response.Write "<li>·暂无信息</li>"
end if
%>
</ul>
</div>
<%
end if
next
end if
%>
<% case 4 %>
<!--软件模版-->
<%
if rseof=1 then
for i=1 to abcount
E_BigClassID=ArrayE_BigClassID(i)
E_BigClassName=ArrayE_BigClassName(i)
E_BigClassView=ArrayE_BigClassView(i)
if ArrayE_BigClassView(i)=1 then 
%>
<div class="class_list1 lm_class_bg">
<H4><SPAN class=more><a href="wygkcn_BigClass.asp?E_typeid=<%=E_typeid%>&E_BigClassID=<%=E_BigClassID%>"><img src="Images/more.gif" alt="更多<%=E_BigClassName%>" width="28" height="9" border="0" /></a></SPAN><%=E_BigClassName%></H4>
<ul>
<%
set rs3=server.CreateObject("ADODB.RecordSet")
		if uselevel=1 then
			if Request.cookies(echsys)("key")="super" or Request.cookies(echsys)("key")="typemaster" or Request.cookies(echsys)("key")="bigmaster" or Request.cookies(echsys)("key")="smallmaster" or Request.cookies(echsys)("key")="check" then
			rs3.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &" and Checked=1) order by EC_ArticleID DESC"
			end if
			if Request.cookies(echsys)("key")="" then
			rs3.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &" and Checked=1 ) order by EC_ArticleID DESC"
			end if
			if Request.cookies(echsys)("key")="selfreg" then
				if Request.cookies(echsys)("reglevel")=3 then
				rs3.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &" and Checked=1 ) order by EC_ArticleID DESC"
				end if
			if Request.cookies(echsys)("reglevel")=2 then
			rs3.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &" and Checked=1 ) order by EC_ArticleID DESC"
			end if
			if Request.cookies(echsys)("reglevel")=1 then
			rs3.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &" and Checked=1 ) order by EC_ArticleID DESC"
			end if
		end if
		else
			rs3.Source="select top " & top_news & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &" and Checked=1) order by EC_ArticleID DESC"
		end if
rs3.Open rs3.Source,conn,1,1
		if not rs3.EOF then
		while not rs3.EOF
			if showyear=1 then
				newsurl="wygkcn_ShowArticle.asp?EC_ArticleID=" & rs3("EC_ArticleID")
				newswwwurl=rs3("titleface")
				datetime="(" & year(rs3("UpdateTime"))  &"."& Month(rs3("UpdateTime"))  &"."& Day(rs3("UpdateTime")) &")"
			else
				newsurl="wygkcn_ShowArticle.asp?EC_ArticleID=" & rs3("EC_ArticleID")
				newswwwurl=rs3("titleface")
				datetime="("& Month(rs3("UpdateTime"))  &"."& Day(rs3("UpdateTime")) &")"
			end if
			if rs3("picnews")=1 then
				img="<img src='images/news_img.gif' border='0'>"
			else
				img=""
			end if
				title=trim(rs3("title"))
				title=replace(title,"<br>","")
				%>
            <%
		fileExt=lcase(getFileExtName(rs3("picname")))
		Content=htmlencode4(rs3("Content"))
		content=replace(content,"[---分页---]","")%>
<li>
<div>
<H5><%if showtime="1" then%><Span class=float_right><%=datetime%></span><%end if%><img src="images/news_img.gif" width="9" height="9"> <a  href="<%if rs3("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" title="<%=htmlencode4(title)%>" target="_blank"> <font color="<%=rs3("titlecolor")%>"><strong> <%=CutStr(title,40)%> </strong></font> </a>
                      <%if year(rs3("updatetime"))=year(date()) and month(rs3("updatetime"))=month(date()) and day(rs3("updatetime"))=day(date()) then%>
                      <img src="images/new.gif">
                      <%end if%>
</H5>
<div class="float_left s_pic">
<a href="<%if rs3("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" target=_blank title="<%=htmlencode4(rs3("title"))%>">
                      <%if  rs3("picname")=("")   then%>
                      <img  src="IMAGES/softno.gif" width="80" height="80" border=0 align="left">
                      <%else%>
                      <%if fileext="jpg" or fileext="bmp" or fileext="png" or fileext="gif" then%>
                      <img  src="<%=FileUploadPath & rs3("picname")%>" width="80" height="80" border=0 align="left">
                      <%end if%>
                      <%if fileext="swf" then%>
                      <object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'  codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width="80" height="80" border=0 >
                        <param name=movie value="<%=FileUploadPath & rs3("picname")%>">
                        <param name=quality value=high>
                        <param name='Play' value='-1'>
                        <param name='Loop' value='0'>
                        <param name='Menu' value='-1'>
                        <embed src="<%=FileUploadPath & rs3("picname")%>" width="80" height="80" border=0  pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash'></embed>
                      </object>
                      <%end if%>
                      <%end if%>
                    </a> 
</div>
<div class="float_right EC_s_cnt">
<a href="<%if rs3("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" target="_blank" title="<%=htmlencode4(title)%>"><%=CutStr(nohtml(rs3("Content")),300)%></a>
</div>
<div class="clear_float"></div>
</div>
</li>
<%
rs3.MoveNext
wend
Rs3.close
set rs3=nothing
else
Response.Write "<Li>· 暂无信息</li>"
end if
%>
</ul>
</div>
<%
end if
next
end if
%>
<%
end select
conn.close
set conn=nothing
%>	
<!--大类文章区结束-->
</div>
<!--列表部分结束-->
</div>
<!--右边部分结束-->
<div class=clear_float></div>
</div>
<!--中间内容部分结束-->
<!--#include file="bottom.asp"-->
</div>
<!--内容部分结束-->
<%end if%>	
</body>
</html>