⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hande-news.asp

📁 asp源码
💻 ASP
字号:
<!--#include file="inc/conn.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>中山天思中山速达中山神州数码中山ERP软件销售服中心</title>
<style type="text/css">
<!--
body,td,th {
	font-family: "宋体";
	font-size: 12px;
	color: #000000;
	font-weight: normal;
}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
a:link {
	color: #000000;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
-->
</style></head>

<body>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th width="180" height="85" background="images/hande-index_01.gif" scope="col">&nbsp;</th>
    <th width="500" height="85" background="images/hande-index_02.gif" scope="col"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="500" height="85">
      <param name="movie" value="images/logo1.swf">
      <param name="quality" value="high">
      <param name="wmode" value="transparent">
      <embed src="images/logo1.swf" width="500" height="85" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
    </object></th>
    <th width="120" height="85" valign="top" background="images/hande-index_03.gif" scope="col"><table width="120" height="75" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <th width="25" height="10" scope="col">&nbsp;</th>
        <th width="70" height="10" scope="col">&nbsp;</th>
        <th width="38" height="10" scope="col">&nbsp;</th>
      </tr>
      <tr>
        <td width="25" height="22" align="right" valign="middle"><a href="#">&lt;&gt;</a></td>
        <td width="70" height="22" align="center" valign="middle"><a href="#">设为主页</a></td>
        <td width="38" height="22">&nbsp;</td>
      </tr>
      <tr>
        <td width="25" height="22" align="right" valign="middle"><a href="#">&lt;&gt;</a></td>
        <td width="70" height="22" align="center" valign="middle"><a href="#">加入收藏</a></td>
        <td width="38" height="22">&nbsp;</td>
      </tr>
      <tr>
        <td width="25" height="21" align="right" valign="middle"><a href="#">&lt;&gt;</a></td>
        <td width="70" height="21" align="center" valign="middle"><a href="#">联系我们</a></td>
        <td width="38" height="21">&nbsp;</td>
      </tr>
    </table></th>
  </tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th width="800" height="25" background="images/hande-index_04.gif" scope="col"><table width="800" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <th width="249" height="25" scope="col">&nbsp;</th>
        <th width="92" height="25" align="center" valign="middle" scope="col"><a href="hande-index.asp">首 页</a></th>
        <th width="84" height="25" align="center" valign="middle" scope="col"><a href="hande-news.asp">新闻动态</a></th>
        <th width="86" height="25" align="center" valign="middle" scope="col"><a href="hande-plan.asp">解决方案</a></th>
        <th width="84" height="25" align="center" valign="middle" scope="col"><a href="hande-products.asp">产品介绍</a></th>
        <th width="84" height="25" align="center" valign="middle" scope="col"><a href="hande-case.asp">实施案例</a></th>
        <th width="86" height="25" align="center" valign="middle" scope="col"><a href="hande-about-us.asp">关于我们</a></th>
        <th width="35" height="25" scope="col">&nbsp;</th>
      </tr>
    </table></th>
  </tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th width="175" height="190" valign="top" background="images/hande-news_03.gif" scope="col"><table width="175" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <th width="18" height="46" scope="col">&nbsp;</th>
        <th width="137" height="46" colspan="2" scope="col">&nbsp;</th>
        <th width="20" height="46" scope="col">&nbsp;</th>
      </tr>
      <tr>
        <td width="18" height="35">&nbsp;</td>
        <td width="137" height="35" colspan="2" align="right" valign="bottom">用户名:
            <input name="textfield" type="text" size="10" maxlength="20"></td>
        <td width="20" height="35">&nbsp;</td>
      </tr>
      <tr>
        <td width="18" height="35">&nbsp;</td>
        <td width="137" height="35" colspan="2" align="right" valign="bottom"> 密 码:
            <input name="textfield" type="text" size="10" maxlength="20"></td>
        <td width="20" height="35">&nbsp;</td>
      </tr>
      <tr>
        <td width="18" height="40">&nbsp;</td>
        <td width="68" height="40" align="center" valign="bottom"><input type="submit" name="Submit" value="登录">
        </td>
        <td width="69" height="40" align="center" valign="bottom"><input type="submit" name="Submit" value="注册"></td>
        <td width="20" height="40">&nbsp;</td>
      </tr>
    </table></th>
    <th width="625" height="190" background="images/hande-news_04.gif" scope="col">&nbsp;</th>
  </tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th width="171" rowspan="2" align="left" valign="top" background="images/di.gif" scope="col">&nbsp;</th>
    <th width="13" rowspan="2" valign="top" scope="col">&nbsp;</th>
    <th width="616" align="left" valign="middle" scope="col">
	<%
set rsNew=Server.CreateObject("ADODB.recordset")
sqlcmd="select * from news where smallclassname='公司新闻' or smallclassname='市场动态' or smallclassname='行业动态' order by infotime DESC"
rsNew.open sqlcmd,conn,1,1
rsNewcount=rsNew.recordcount
rsNew.pagesize=20
page=request.QueryString("page")
if Cstr(page)<"1" or page="" then
   page=1
elseif Cint(page)>=rsNew.pagecount then
   page=rsNew.pagecount
end if

if not rsNew.eof then
   lastpage=rsNew.pagecount
   rsNew.absolutepage=page
   rscount=rsNew.recordcount
end if
%>
	<%
			  for i=1 to 20  
			  if rsNew.eof then exit for
			  %>
      <table width="78%" height="19"  border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="7%" height="19"><div align="right"></div></td>
          <td width="93%"><a href="hande-news-detail.asp?id=<%=rsNew("id")%>" target="_blank"><>&nbsp;&nbsp;<%=rsNew("title")%><font color="#FFCC00">&nbsp;&nbsp;[<%=rsNew("infotime")%>]</font></a></td>
        </tr>
      </table>
    <%
				rsNew.movenext
				next
				%></th>
  </tr>
  <tr>
    <th align="left" valign="middle" scope="col"><table width="90%"  border="0" align="center" cellpadding="0" cellspacing="3">
      <tr>
        <td>共<%=lastpage%>页<%=rscount%>条记录 当前第<%=page%>页   
            <%if page<=1 then%>
            <%
			  Response.Write("首页 上页")
			  else
			  %>
            <a href="?page=1">首页</a> <a href="?page=<%=(page-1)%>">上页</a>
            <%end if%>
       
      <%if Cint(page)>=Cint(lastpage) then
			      Response.Write("下页 尾页")
				 else
			   %>
      <a href="?page=<%=(page+1)%>">下页</a> <a href="?page=<%=lastpage%>">尾页</a>
      <%end if%>
        </td>
      </tr>
    </table></th>
  </tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th width="800" height="55" scope="col"><img src="images/hande-news_06.gif" width="800" height="55" border="0" usemap="#Map"></th>
  </tr>
</table>
<map name="Map">
  <area shape="rect" coords="585,9,633,24" href="#">
  <area shape="rect" coords="657,11,705,25" href="book/Boards.asp">
  <area shape="rect" coords="729,6,775,25" href="#">
</map>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -