<%@ LANGUAGE = VBScript.Encode %>
<!--#include file="class/sub.asp" -->
 <% 
BigClass=request("BigClass")
if BigClass="" then
 BigClass="企业新闻"
else
BigClass=request("BigClass")
end if
SmallClass=request("SmallClass")
bianliang=BigClass
%>
<!--#include file="include/top.asp" -->
<div id='content' style='width:990px;height:574px;background:none transparent scroll repeat 0% 0%;margin:23px auto'>


<!-- 空白边框 -->

<div id='pdv_11982' class='pdv_class'  title='栏目导航' style='width:700px;height:30px;top:17px;left:290px; z-index:1'>
<div id='spdv_11982' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
<div class="pdv_border" style="border:0px;background:url(base/border/788/images/top.png) no-repeat;padding:0px;margin:0px;height:30px">
<div style="color:#424242;font:bold 14px/30px Arial, Helvetica, sans-serif;padding-left:28px;">
	栏目导航
</div>
?
</div>

</div>
</div>

<!-- 图片/FLASH -->
<!-- 图片/FLASH -->
<div id='pdv_11981' class='pdv_class'  title='' style='width:239px;height:188px;top:0px;left:0px; z-index:3'>
<div id='spdv_11981' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
<div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
	<div style="height:25px;margin:1px;display:none;background:;">
		<div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:">
		
		</div>
		<div style="float:right;margin-right:10px;display:none">
		<a href="news/-1" style="line-height:25px;color:">更多</a>
		</div>
	</div>
<div style="padding:0px">


<img src="diy/pics/20100323/1269308818.jpg" border="0" width="100%" />

</div>
</div>

</div>
</div>

<!-- 文章搜索表单 -->
<!-- 当前位置提示条 -->
<div id='pdv_11984' class='pdv_class'  title='' style='width:415px;height:30px;top:0px;left:575px; z-index:10'>
<div id='spdv_11984' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
<div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
	<div style="height:25px;margin:1px;display:none;background:;">
		<div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:">
		
		</div>
		<div style="float:right;margin-right:10px;display:none">
		<a href="news/-1" style="line-height:25px;color:">更多</a>
		</div>
	</div>
<div style="padding:0px">
 
<link href="news/templates/css/nav.css" rel="stylesheet" type="text/css" />
<div id="nav">
<img src="news/templates/images/li_nav.gif" border="0" />&nbsp;&nbsp;您现在的位置：<a href="index.asp"><%=SiteTitle%></a> &gt; <%= bianliang %>

</div>

</div>
</div>

</div>
</div>

<!-- 文章翻页检索 -->

<div id='pdv_11975' class='pdv_class'  title='' style='width:700px;height:499px;top:75px;left:290px; z-index:11'>
<div id='spdv_11975' class='pdv_content' style='overflow:visible;width:100%;'>
<div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
	<div style="height:25px;margin:1px;display:none;background:;">
		<div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:">
		
		</div>
		<div style="float:right;margin-right:10px;display:none">
		<a href="news/-1" style="line-height:25px;color:">更多</a>
		</div>
	</div>
<div style="padding:0px">


<link href="news/templates/css/newsquery.css" rel="stylesheet" type="text/css" />
<div id="newsquery">
<ul id="queryul">

                    <% 
page=clng(request("page"))		 
Set rs=Server.CreateObject("ADODB.RecordSet") 
if BigClass<>"" and SmallClass <>"" then
sql="select * from news where BigClassName='"&BigClass&"' and SmallClassName='"&SmallClass&"' order by AddDate desc"
rs.Open sql,conn,1,1
elseif BigClass<>"" then
sql="select * from news where BigClassName='"&BigClass&"' order by AddDate desc"
rs.Open sql,conn,1,1
end if
if rs.eof and rs.bof then
  response.Write("暂时没有记录")
else 
%>
                    <% 
rs.PageSize=20
if page=0 then page=1 
pages=rs.pagecount
if page > pages then page=pages
rs.AbsolutePage=page  
for j=1 to rs.PageSize 
%>
     
 
<li class="title">
	<div class="title">     <a href="shownews.asp?id=<%= RS("id") %>"  target="_self"><%= cutstr(RS("TITLE"),38) %></a></div>
	<div class="time">[<%=FormatDateTime(RS("AddDate"),2)%>] (点击<font color="#ff0000"><%= RS("hits") %></font>)</div>

</li>
                     <%
rs.movenext
if rs.eof then exit for
next
%>

</ul>
</div>

<div id="showpages">
	  <div id="pagesinfo"><ul><%      response.write "<li class='opt'>&nbsp;共<b><font color='#FF0000'>"&rs.recordcount&"</font></b>条记录 <b>"&rs.pagesize&"</b>条记录/页</li>" %></ul></div>
	  <div id="pages">
	
	   <ul>
	          <form method=Post action="News.asp?BigClass=<%=BigClass%>&SmallClass=<%=SmallClass%>">
                          <%if Page<2 then      
    response.write "<li class='pbutton'>首  页</li>"
	response.write "<li class='pbutton'>上一页</li>"
  else
    response.write "<li class='pbutton'><a href=News.asp?BigClass="&BigClass&"&SmallClass="&SmallClass&"&page=1>首页</a>&nbsp;</li>"
    response.write "<li class='pbutton'><a href=News.asp?BigClass="&BigClass&"&SmallClass="&SmallClass&"&page=" & Page-1 & ">上一页</a>&nbsp;</li>"
  end if
  if rs.pagecount-page<1 then
    response.write "<li class='pbutton'>下一页</li>"
	response.write "<li class='pbutton'>尾 页</li>"
  else
    response.write "<li class='pbutton'><a href=News.asp?BigClass="&BigClass&"&SmallClass="&SmallClass&"&page=" & (page+1) & ">下一页</a></li>"
	Response.Write"<li class='pbutton'> <a href=News.asp?BigClass="&BigClass&"&SmallClass="&SmallClass&"&page="&rs.pagecount&">尾页</a></li>"
  end if
   response.write "<li class='opt'>&nbsp;页次：<strong><font color=red>"&Page&"</font>/"&rs.pagecount&"</strong>页</li> "
   response.write "<li class='opt'><input type='text' name='page' style='width:25px; height:16px; line-height:16px;' maxlength=10 class=input value="&page&"></li>"
   response.write "<li class='opt'> <input class=input type='submit' style='width:55px; height:18px; line-height:14px;'    value=' Goto '  name='cndok'></span></li>"    
%>
                  </form>
	  

				</ul>
	  
</div>
</div>

<% end if %>
</div>
</div>

</div>
</div>

<!-- 文章一级分类 -->

<div id='pdv_11977' class='pdv_class'  title='文章分类' style='width:208px;height:134px;top:38px;left:0px; z-index:12'>
<div id='spdv_11977' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
<div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
	<div style="height:25px;margin:1px;display:none;background:;">
		<div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:">
		文章分类
		</div>
		<div style="float:right;margin-right:10px;display:none">
		<a href="news/-1" style="line-height:25px;color:">更多</a>
		</div>
	</div>
<div style="padding:0px">

<link href="news/templates/css/newsclass_dolphin.css" rel="stylesheet" type="text/css" />
<div class="newsclass_dolphin">


<% call xwleft() %>
 
</div>

</div>
</div>

</div>
</div>
</div>
<%#@~^DwAAAA==~1ls^P	+hkVKG3,bgUAAA==^#~@%>

 <% 
rs.close
set rs=nothing
call CloseConn()
 %><!--#include file="include/bottom.asp" -->
</body>
</html>
