<!--新闻页面-->
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<!--#include file="sql.inc"-->
<!--#include file="ip.asp"--><%'限止IP%>
<%
set rswzm=server.createobject("adodb.recordset")
sqlwzm="select * from wzxx "
rswzm.open sqlwzm,conn,1,3%>
<title><%=rswzm("wzxxwzmc")%>_新闻</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
body,td,th {
	font-size: 12px;
}
a {
	font-size: 12px;
}
a:link {
	text-decoration: none;
	color: #000000;
}
a:visited {
	text-decoration: none;
	color: #000000;
}
a:hover {
	text-decoration: none;
	color: #FF3300;
}
a:active {
	text-decoration: none;
}
.STYLE1 {
	color: #000000;
	font-size: 12px;
}
.STYLE4 {color: #EDDFC2; }
.STYLE4 {
	font-family: "新宋体";
	font-size: 12px;
	font-style: normal;
	line-height: 18px;
	color: #000000;
	text-decoration: none;
}
.STYLE6 {color: #FF0000}
.STYLE8 {color: #000000}
-->
</style>
</head>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="338" valign="top" background="images/s_bg.gif"><table cellspacing="0" cellpadding="0" width="843" align="center" border="0">
      <tbody>
        <tr>
          <td><img src="images/pic_top.gif"  
  width="843" height="82" /></td>
        </tr>
        <tr>
          <td><table height="650" cellspacing="0" cellpadding="0" width="843" align="center" border="0">
            <tbody>
              <tr>
                <td width="29" background="images/pic_left.gif">&nbsp;</td>
                <td valign="top" align="center" width="782" 
    background="images/main_bg.jpg">
                  <table height="174" cellspacing="0" cellpadding="0" width="740" align="center" 
      border="0">
                    <tbody>
                      <tr>
                        <td valign="middle" height="174"><object 
            codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" 
            height="160" width="740" 
            classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
                            <param name="movie" value="flash/menu.swf" />
                            <param name="wmode" value="transparent" />
                            <embed src="flash/menu.swf" quality="high" 
            pluginspage="http://www.macromedia.com/go/getflashplayer" 
            type="application/x-shockwave-flash" width="740" 
            height="160"></embed>
                        </object></td>
                      </tr>
                    </tbody>
                  </table>
                  <table height="12" cellspacing="0" cellpadding="3" width="720" border="0">
                      <tbody>
                        <tr>
                          <td align="left">当前位置： <a href="index.asp" target="_blank">首 页</a> &gt;&gt; <span class="STYLE1"><a href="news.asp" target="_blank">画廊新闻</a></span></td>
                        </tr>
                      </tbody>
                    </table>
                    <table height="20" cellspacing="0" cellpadding="0" width="754" border="0">
                      <tbody>
                        <tr>
                          <td width="575" align="left" valign="top"><table cellspacing="0" cellpadding="0" width="575" border="0">
                            <tbody>
                              <tr valign="top">
                                <td valign="center" 
                      background="images/title_main.gif" 
                        height="27"><strong>　</strong>&gt;&gt; 画廊新闻 </td>
                              </tr>
                              <tr valign="top">
                                <td valign="center"><table width="100%" height="811" border="1" bordercolor="#663333">
                                    <tbody>
                                      <tr>
                                        <td align="center" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                          <tr>
                                            <td height="30" align="center"><strong><%=rswzm("wzxxwzmc")%>&nbsp;画廊新闻&nbsp;</strong></td>
                                          
                                          </tr>
                                        </table>
                                        <%
								   page=cint(Request.QueryString("page")) 
                                   pagecount=cint(request("page"))
								  set rs=server.createobject("adodb.recordset") 
								   sql="select   * from news order by id desc" 
						          rs.open sql,conn,1,1 
								  %>
								  
 
								  
<table width="100%" border="1" bordercolor="#663333" >
<% rs.pagesize=7
if page<=1 then 
   page=1
elseif page>=rs.pagecount then
   page=rs.pagecount
end if
if rs.eof and rs.bof then
else
rs.absolutepage=clng(page)
end if
for i=1 to rs.pagesize
if rs.eof then exit for	 %>  
<tr onMouseOver="this.bgColor='#DFDBDB'" onMouseOut="this.bgColor='#FFFFFF'">
<td width="22%" align="right" valign="middle">标题：</td>
<td width="60%" align="left">&nbsp;<a href="newsread.asp?id=<%=rs("id")%>" target="_blank"><%=rs("bt")%></a></td>
<td width="18%" align="center"><%=rs("date")%></td>
</tr>
<% 
rs.movenext				
next	
%>
</table>
								  
<br />

                                  <table width="100%" border="1" bordercolor="#663333">
                                    <tr>
                                      <td align="center" valign="middle">共<%=rs.pagecount%>页  <%=rs.recordcount%>条记录 每页<%=rs.pagesize%>条 当前第 <%=page%> 页
                    <% If rs.pagecount>1 Then %>                    <a href="?page=1">首页</a>&nbsp;&nbsp;<a href="?page=<%= page-1 %>">上一页</a>&nbsp;&nbsp;<a href="?page=<%= page+1 %>">下一页</a>&nbsp;&nbsp;<a href="?page=<%=rs.pagecount%>">尾页</a><% End If %>&nbsp;</td>
                                    </tr>
                                  </table></td>
                                      </tr>
                                    </tbody>
                                </table></td>
                              </tr>
                            </tbody>
                          </table></td>
                          <td width="179" align="center" valign="top"><p><!--#include file="right.asp"--></p></td>
                        </tr>
                      </tbody>
                  </table>
                    <table height="12" cellspacing="0" cellpadding="0" width="660" border="0">
                      <tbody>
                        <tr>
                          <td>&nbsp;</td>
                        </tr>
                      </tbody>
                    </table>
                     <!--#include file="gdtp.asp"-->
					 <!--#include file="down.asp"--></td>
                <td width="32" 
  background="images/pic_right.gif">&nbsp;</td>
              </tr>
            </tbody>
          </table></td>
        </tr>
      </tbody>
    </table>
      <table height="92" cellspacing="0" cellpadding="0" width="843" align="center" border="0">
        <tbody>
          <tr>
            <td width="843" height="94" valign="top" background="images/pic_bottom.gif">&nbsp;</td>
          </tr>
        </tbody>
    </table></td>
  </tr>
</table>
</body>
</html>
<!-- #include file="jz.asp" --><!--禁止非法抄袭-->

