<%@ 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)	'防注入
request_E_BigClassID=ChkRequest(Request.QueryString("E_BigClassID"),1)	'防注入
if E_typeid="" or request_E_BigClassID="" then
	Show_Err("未指定参数<br><br><a href='javascript:history.back()'>返回</a>")
	response.end
else
	if not IsNumeric(request_E_BigClassID) or not IsNumeric(E_typeid) then
		Show_Err("非法参数<br><br><a href='javascript:history.back()'>返回</a>")
		response.end
	else
		set rs=server.CreateObject("ADODB.RecordSet")
		rs.Source="select * from "& db_wygkcn_BigClass_Table &" where E_BigClassID=" & request_E_BigClassID &" order by E_bigclassorder"
		rs.Open rs.Source,conn,1,1
		E_BigClassName=rs("E_BigClassName")
		E_bigclassorder=rs("E_bigclassorder")
		bigclasszs=rs("bigclasszs")
		rs.close
		set rs=nothing

		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

		dim E_BigClassID
		E_BigClassID=ChkRequest(request("E_BigClassID"),1)	'防注入
		set rs=server.CreateObject("ADODB.RecordSet")
		rs.Source="select * from "& db_wygkcn_SmallClass_Table &" where E_BigClassID="& E_BigClassID &" order by smallClassorder"
		rs.Open rs.Source,conn,1,1
		i=1

		Dim ArrayE_SmallClassID(), ArrayE_smallclassname(), ArrayE_smallclassview()
		ReDim ArrayE_SmallClassID(int(rs.RecordCount)), ArrayE_smallclassname(int(rs.RecordCount)), ArrayE_smallclassview(int(rs.RecordCount))

        if not rs.EOF then
		rseof=1
		end if
	 end if
while not rs.EOF

		abcount=rs.RecordCount
		E_smallclassview=rs("E_smallclassview")
		E_SmallClassID=rs("E_SmallClassID")
		
		E_smallclassname=trim(rs("E_smallclassname"))
		
		ArrayE_smallclassview(i)=E_smallclassview
		ArrayE_SmallClassID(i)=E_SmallClassID
		ArrayE_smallclassname(i)=E_smallclassname

		i=i+1
		
		rs.MoveNext
	    wend
		rs.close

		
		set rs2=server.CreateObject("ADODB.RecordSet")  '专题
		rs2.Source="select Top " & top_sp & " * from "& db_wygkcn_Special_Table &"  order by EC_SpecialID DESC "
		rs2.Open rs2.Source,conn,1,1
		rs2.close
		set rs2=nothing
		
		set rs4=server.CreateObject("Adodb.RecordSet")
		rs4.source="select * from "& db_wygkcn_SmallClass_Table &" Where E_BigClassID=" & request_E_BigClassID &" order by SmallClassorder"
		rs4.open rs4.source,conn,1,1
		
		SmallClassCount=rs4.RecordCount
		
		for i=1 to SmallClassCount
			ArrayE_SmallClassID(i)=rs4("E_SmallClassID")
			ArrayE_smallclassname(i)=rs4("E_smallclassname")
			rs4.MoveNext
		next
		
		rs4.Close
		set rs4=nothing
		
		dim E_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
		E_typename=rs5("E_typename")
		E_typeorder=rs5("E_typeorder")
		rs5.Close
		set rs5=nothing
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" lang="gb2312">
<head>
<!--版权所有@天琪高科 www.tqgk.net Powered By www.tqgk.net-->
<meta http-equiv="Content-Type" content="">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Description" content="<%=SiteDescription%>">
<meta name="keywords" content="<%=SiteKeywords%>">
<title><%=E_BigClassName%>__<%=E_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>
</head>
<body>
<!--内容部分开始-->
<div id="EC_Content">
<%
dim E_BigClassName
E_BigClassID=ChkRequest(request("E_BigClassID"),1)	'防注入
set rs=server.CreateObject("ADODB.RecordSet")
rs.Source="select * from "& db_wygkcn_BigClass_Table &" where E_BigClassID="& E_BigClassID &" order by E_bigclassorder"
rs.Open rs.Source,conn,1,1
E_BigClassName=rs("E_BigClassName")
bigclasszs=rs("bigclasszs")
rs.close
set rs=nothing
%>
<!--#include file="Top.asp"-->
<!--中间内容部分开始-->
<div id="big_center">
<!--左边部分开始-->
<div class="big_left float_left">
<div class="E_c_dl_dh">
<H3><%=E_BigClassName%></H3>
<DIV class=E_c_dl_name>
<ul>
<%
Set Rs6=Server.CreateObject("ADODB.RecordSet")
rs6.Source="SELECT * FROM "& db_wygkcn_SmallClass_Table &" where E_BigClassID="&request_E_BigClassID&" order by smallclassorder"
rs6.Open rs6.Source,conn,1,1
if not rs6.EOF then
Do While Not Rs6.Eof
%>
<li>
<%If Rs6("url")<>"" then%>
<a href="<%=Rs6("Url")%>"><font color="#000000"><%=Rs6("E_smallclassname")%></font> </a>   
<%else%> 		
<a href="wygkcn_SmallClass.asp?E_typeid=<%=E_typeid%>&E_BigClassID=<%=rs6("E_BigClassID")%>&E_SmallClassID=<%=rs6("E_SmallClassID")%>"><%=rs6("E_smallclassname")%></a> 
<%end if%>
<%
rs6.movenext
loop
else
Response.Write "<li>·无子栏目</li>"
end if
rs6.Close
set rs6=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 10 * from "& db_wygkcn_Article_Table &" where  Checked=1 and E_typeid="&E_typeid&" and E_BigClassID="&request_E_BigClassID&" order by EC_ArticleID DESC"
		end if
		if Request.cookies(echsys)("key")="" then
			rs3.Source ="select top 10 * from "& db_wygkcn_Article_Table &" where  Checked=1 and newslevel=0 and E_typeid="&E_typeid&"   and E_typeid="&E_typeid&" and E_BigClassID="&request_E_BigClassID&" 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 10 * from "& db_wygkcn_Article_Table &" where  Checked=1  and E_typeid="&E_typeid&"  and E_typeid="&E_typeid&" and E_BigClassID="&request_E_BigClassID&"  order by EC_ArticleID DESC"
			end if
			if Request.cookies(echsys)("reglevel")=2 then
				rs3.Source ="select top 10 * from "& db_wygkcn_Article_Table &" where  Checked=1  and E_typeid="&E_typeid&"  and E_typeid="&E_typeid&" and E_BigClassID="&request_E_BigClassID&"  order by EC_ArticleID DESC"
			end if
			if Request.cookies(echsys)("reglevel")=1 then
				rs3.Source ="select top 10 * from "& db_wygkcn_Article_Table &" where  Checked=1  and E_typeid="&E_typeid&"  and E_typeid="&E_typeid&" and E_BigClassID="&request_E_BigClassID&" order by EC_ArticleID DESC"
			end if
		end if
	else
		rs3.Source ="select top 10 * from "& db_wygkcn_Article_Table &" where  Checked=1 and E_typeid="&E_typeid&"  and E_typeid="&E_typeid&" and E_BigClassID="&request_E_BigClassID&"  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="big_right float_right">

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

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

<div class="class_list1 lm_class_bg">
<H4><SPAN class=more><a href="wygkcn_NosmallClass.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>
<!--无大类文章区开始-->
<% select case bigclasszs%>
<% case 1 %>
<!--图片模版-->
<ul>
<%
set rsnosmall=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
				rsnosmall.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("key")="" then
					rsnosmall.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  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
						rsnosmall.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
					end if
				if Request.cookies(echsys)("reglevel")=2 then
					rsnosmall.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("reglevel")=1 then
					rsnosmall.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				
			end if
			else
			rsnosmall.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1) order by EC_ArticleID DESC"
			end if
rsnosmall.Open rsnosmall.Source,conn,1,1
if not rsnosmall.EOF then
%>
<%
fileExt=lcase(getFileExtName(rsnosmall("picname")))
Content=htmlencode4(rsnosmall("Content"))
content=replace(content,"[---分页---]","")
do while not rsnosmall.EOF
%>
<%if not rsnosmall.EOF then%>
<% 
content=htmlencode4(rsnosmall("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=<%=rsnosmall("EC_ArticleID")%>" target=_blank title="<%=CutStr(nohtml(Content),150)%>...">
                  <%if   rsnosmall("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 & rsnosmall("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 & rsnosmall("picname")%>">
                    <param name=quality value=high>
                    <param name='Play' value='-1'>
                    <param name='Loop' value='0'>
                    <param name='Menu' value='-1'>
                    <embed src="<%=FileUploadPath & rsnosmall("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=<%=rsnosmall("EC_ArticleID")%>" target=_blank title="<%=rsnosmall("title")%>"><%=CutStr(rsnosmall("title"),16)%></a>
</div>
</li>
<%
rsnosmall.movenext   
end if
loop
else
Response.Write "<li>·暂无本栏信息</li>"
end if
rsnosmall.close
set rsnosmall=nothing
%>
</ul>

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

<%
rsnosmall.MoveNext
wend
else 
Response.Write "<li>·暂无本栏信息</li>"
%>
<%
end if
rsnosmall.close
set rsnosmall=nothing
%>
</ul>
<% case 3 %>
<!--网址模版-->
<ul>
<%
set rsnosmall=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
				rsnosmall.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("key")="" then
					rsnosmall.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  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
						rsnosmall.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
					end if
				if Request.cookies(echsys)("reglevel")=2 then
					rsnosmall.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("reglevel")=1 then
					rsnosmall.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
			end if
			else
			rsnosmall.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1) order by EC_ArticleID DESC"
			end if
			rsnosmall.Open rsnosmall.Source,conn,1,1
%>
<%
if not rsnosmall.EOF then
do while not rsnosmall.EOF
%>
<li class=class_site_list>
<%
Content=htmlencode4(rsnosmall("Content"))
%>

<%if not rsnosmall.EOF then%>
<a  href="<%=rsnosmall("Original")%>" target=_blank title="<%=CutStr(nohtml(rsnosmall("Content")),80)%>"><%=CutStr(rsnosmall("title"),30)%></a> 
</li>
<%
rsnosmall.movenext   
end if 
loop
else
Response.Write "<li>·暂无本栏信息</li>"
end if
rsnosmall.close
set rsnosmall=nothing
%>
</ul>
<% case 4 %>
<!--软件产品模板-->
<ul>
<%
set rsnosmall=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
				rsnosmall.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("key")="" then
					rsnosmall.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  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
						rsnosmall.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
					end if
				if Request.cookies(echsys)("reglevel")=2 then
					rsnosmall.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("reglevel")=1 then
					rsnosmall.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				end if
				else
					rsnosmall.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1) order by EC_ArticleID DESC"
				end if
			rsnosmall.Open rsnosmall.Source,conn,1,1
			    if not rsnosmall.EOF then
				while not rsnosmall.EOF
					if showyear=1 then
						newsurl="wygkcn_ShowArticle.asp?EC_ArticleID=" & rsnosmall("EC_ArticleID")
						newswwwurl=rsnosmall("titleface")
						datetime="<font >(" & year(rsnosmall("UpdateTime"))  &"年"& Month(rsnosmall("UpdateTime"))  &"月"& Day(rsnosmall("UpdateTime")) &"日)</font>"
					else
						newsurl="wygkcn_ShowArticle.asp?EC_ArticleID=" & rsnosmall("EC_ArticleID")
						newswwwurl=rsnosmall("titleface")
						datetime="<font >("& Month(rsnosmall("UpdateTime"))  &"月"& Day(rsnosmall("UpdateTime")) &"日)</font>"
					end if
					if rsnosmall("picnews")=1 then
						img="<font class=pic_word>[图]</font>"
					else
						img=""
					end if
						title=trim(rsnosmall("title"))
						title=replace(title,"<br>","")
%>
<%
fileExt=lcase(getFileExtName(rsnosmall("picname")))
Content=htmlencode4(rsnosmall("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 rsnosmall("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" title="<%=htmlencode4(title)%>" target="_blank"> <font color="<%=rsnosmall("titlecolor")%>"><strong> <%=CutStr(title,40)%> </strong></font> </a> <%if year(rsnosmall("updatetime"))=year(date()) and month(rsnosmall("updatetime"))=month(date()) and day(rsnosmall("updatetime"))=day(date()) then%>
<img src="images/new.gif">
<%end if%>
</H5>
<div class="float_left s_pic">
<a href="<%if rsnosmall("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" target=_blank title="<%=htmlencode4(rsnosmall("title"))%>">
                      <%if   rsnosmall("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 & rsnosmall("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 & rsnosmall("picname")%>">
                        <param name=quality value=high>
                        <param name='Play' value='-1'>
                        <param name='Loop' value='0'>
                        <param name='Menu' value='-1'>
                        <embed src="<%=FileUploadPath & rsnosmall("picname")%>" width="80" 5height="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 rsnosmall("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" target="_blank" title="<%=htmlencode4(title)%>"><%=CutStr(nohtml(rsnosmall("Content")),250)%></a> 
</div>
<div class="clear_float"></div>
</div>
</li>
<%
rsnosmall.MoveNext
wend
%>
<%
else
Response.Write "<li>·暂无本栏信息</li>"
end if
rsnosmall.close
set rsnosmall=nothing
%>
</ul>
<% case 5%>
<!--单页面模板-->
<ul>
<%
set rsnosmall=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
				rsnosmall.Source="select top 1 * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("key")="" then
					rsnosmall.Source="select top 1 * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  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
						rsnosmall.Source="select top 1 * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
					end if
				if Request.cookies(echsys)("reglevel")=2 then
					rsnosmall.Source="select top 1 * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("reglevel")=1 then
					rsnosmall.Source="select top 1 * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1 ) order by EC_ArticleID DESC"
				end if
				
			end if
			else
			rsnosmall.Source="select top 1 * from "& db_wygkcn_Article_Table &" where (E_BigClassID=" & E_BigClassID &"  and E_SmallClassID is null and Checked=1) order by EC_ArticleID DESC"
			end if
				rsnosmall.Open rsnosmall.Source,conn,1,1
			if not rsnosmall.EOF then
%>
<li><%=rsnosmall("content")%> </li>
<%
else 
Response.Write "<li>·暂无本栏信息</li>"
end if
rsnosmall.close
set rsnosmall=nothing
%>
</ul>
<%end select%>
<!--无大类文章区结束-->

</div>

<!--大类文章区开始-->
<!--模版开始-->
<% select case bigclasszs%>
<% case 1 %>
<!--图片模版-->
<%
if rseof=1 then
for i=1 to abcount
E_SmallClassID=ArrayE_SmallClassID(i)
E_SmallClassName=ArrayE_SmallClassName(i)
E_smallClassview=ArrayE_smallClassview(i)
if ArrayE_smallClassview(i)=1 then
%>
<div class="class_list1 lm_class_bg">
<H4><SPAN class=more><a href="wygkcn_SmallClass.asp?E_typeid=<%=E_typeid%>&E_BigClassID=<%=E_BigClassID%>&E_SmallClassID=<%=E_SmallClassID%>"><img src="Images/more.gif" alt="更多<%=E_SmallClassName%>" width="28" height="9" border="0" /></a></SPAN><%=E_SmallClassName%></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 "& bigclassshownum &" * from "& db_wygkcn_Article_Table &" where (E_SmallClassID="& E_SmallClassID &" and Checked=1) order by EC_ArticleID DESC"
		end if
		if Request.cookies(echsys)("key")="" then
		rs3.Source="select top "& bigclassshownum &" * from "& db_wygkcn_Article_Table &" where (E_SmallClassID="& E_SmallClassID &" 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 "& bigclassshownum &" * from "& db_wygkcn_Article_Table &" where (E_SmallClassID="& E_SmallClassID &" and Checked=1 ) order by EC_ArticleID DESC"
		end if
		if Request.cookies(echsys)("reglevel")=2 then
		rs3.Source="select top "& bigclassshownum &" * from "& db_wygkcn_Article_Table &" where (E_SmallClassID="& E_SmallClassID &" and Checked=1 ) order by EC_ArticleID DESC"
		end if
		if Request.cookies(echsys)("reglevel")=1 then
		rs3.Source="select top "& bigclassshownum &" * from "& db_wygkcn_Article_Table &" where (E_SmallClassID="& E_SmallClassID &" and Checked=1 ) order by EC_ArticleID DESC"
		end if
		end if
	else
	rs3.Source="select top "& bigclassshownum &" * from "& db_wygkcn_Article_Table &" where (E_SmallClassID="& E_SmallClassID &" and Checked=1) order by EC_ArticleID DESC"
	end if
	rs3.Open rs3.Source,conn,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_SmallClassID=ArrayE_SmallClassID(i)
E_SmallClassName=ArrayE_SmallClassName(i)
E_smallClassview=ArrayE_smallClassview(i)
if ArrayE_smallClassview(i)=1 then 
%>
<div class="class=list1 lm_class_bg">
<H4><SPAN class=more><a href="wygkcn_SmallClass.asp?E_typeid=<%=E_typeid%>&E_BigClassID=<%=E_BigClassID%>&E_SmallClassID=<%=E_SmallClassID%>"><img src="Images/more.gif" alt="更多<%=E_SmallClassName%>" width="28" height="9" border="0" /></a></SPAN><%=E_SmallClassName%></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 " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_SmallClassID=" & E_SmallClassID &" and Checked=1) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("key")="" then
					rs3.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_SmallClassID=" & E_SmallClassID &" 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 " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_SmallClassID=" & E_SmallClassID &" and Checked=1 ) order by EC_ArticleID DESC"
					end if
				if Request.cookies(echsys)("reglevel")=2 then
					rs3.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_SmallClassID=" & E_SmallClassID &" and Checked=1 ) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("reglevel")=1 then
					rs3.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_SmallClassID=" & E_SmallClassID &" and Checked=1 ) order by EC_ArticleID DESC"
				end if
			end if
			else
			rs3.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_SmallClassID=" & E_SmallClassID &" 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")) &")</font>"
				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_SmallClassID=ArrayE_SmallClassID(i)
E_SmallClassName=ArrayE_SmallClassName(i)
E_smallClassview=ArrayE_smallClassview(i)
if ArrayE_smallClassview(i)=1 then
%>
<div class="class_list1 lm_class_bg">
<H4><SPAN class=more><a href="wygkcn_SmallClass.asp?E_typeid=<%=E_typeid%>&E_BigClassID=<%=E_BigClassID%>&E_SmallClassID=<%=E_SmallClassID%>"><img src="Images/more.gif" alt="更多<%=E_SmallClassName%>" width="28" height="9" border="0" /></a></SPAN><%=E_SmallClassName%></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 " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_SmallClassID=" & E_SmallClassID &" and Checked=1) order by EC_ArticleID DESC"
			end if
			if Request.cookies(echsys)("key")="" then
				rs3.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_SmallClassID=" & E_SmallClassID &" 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 " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_SmallClassID=" & E_SmallClassID &" and Checked=1 ) order by EC_ArticleID DESC"
				end if
			if Request.cookies(echsys)("reglevel")=2 then
				rs3.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_SmallClassID=" & E_SmallClassID &" and Checked=1 ) order by EC_ArticleID DESC"
				end if
			if Request.cookies(echsys)("reglevel")=1 then
				rs3.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_SmallClassID=" & E_SmallClassID &" and Checked=1 ) order by EC_ArticleID DESC"
				end if
			end if
			else
			rs3.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_SmallClassID=" & E_SmallClassID &" and Checked=1) order by EC_ArticleID DESC"
			end if
			rs3.Open rs3.Source,conn,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_SmallClassID=ArrayE_SmallClassID(i)
E_SmallClassName=ArrayE_SmallClassName(i)
E_smallClassview=ArrayE_smallClassview(i)
if ArrayE_smallClassview(i)=1 then 
%>
<div class="class_list1 lm_class_bg">
<H4><SPAN class=more><a href="wygkcn_SmallClass.asp?E_typeid=<%=E_typeid%>&E_BigClassID=<%=E_BigClassID%>&E_SmallClassID=<%=E_SmallClassID%>"><img src="Images/more.gif" alt="更多<%=E_SmallClassName%>" width="28" height="9" border="0" /></a></SPAN><%=E_SmallClassName%></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 " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_SmallClassID=" & E_SmallClassID &" and Checked=1) order by EC_ArticleID DESC"
				end if
				if Request.cookies(echsys)("key")="" then
				rs3.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_SmallClassID=" & E_SmallClassID &" 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 " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_SmallClassID=" & E_SmallClassID &" and Checked=1 ) order by EC_ArticleID DESC"
					end if
				if Request.cookies(echsys)("reglevel")=2 then
					rs3.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_SmallClassID=" & E_SmallClassID &" and Checked=1 ) order by EC_ArticleID DESC"
					end if
				if Request.cookies(echsys)("reglevel")=1 then
					rs3.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_SmallClassID=" & E_SmallClassID &" and Checked=1 ) order by EC_ArticleID DESC"
					end if
				end if
				else
					rs3.Source="select top " & bigclassshownum & " * from "& db_wygkcn_Article_Table &" where (E_SmallClassID=" & E_SmallClassID &" 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="<font >(" & year(rs3("UpdateTime"))  &"年"& Month(rs3("UpdateTime"))  &"月"& Day(rs3("UpdateTime")) &"日)</font>"
					else
						newsurl="wygkcn_ShowArticle.asp?EC_ArticleID=" & rs3("EC_ArticleID")
						newswwwurl=rs3("titleface")
						datetime="<font >("& Month(rs3("UpdateTime"))  &"月"& Day(rs3("UpdateTime")) &"日)</font>"
					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>
<!--内容部分结束-->
</body>
</html>