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

📄 hande-kx.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">
<!--
.style2 {font-size: 12}
.style3 {font-size: 12px}
a:link {
	color: #000000;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
body {
	margin-top: 5px;
	margin-bottom: 5px;
}
-->
</style>
</head>

<body>
<%owen=request("id")%>
<SCRIPT language=JavaScript>
var currentpos,timer;

function initialize()
{
timer=setInterval("scrollwindow()",50);
}
function sc(){
clearInterval(timer);
}
function scrollwindow()
{
currentpos=document.body.scrollTop;
window.scroll(0,++currentpos);
if (currentpos != document.body.scrollTop)
sc();
}
document.onmousedown=sc
document.ondblclick=initialize
      </SCRIPT>
<% 
Set rsnews=Server.CreateObject("ADODB.RecordSet") 
sql="update news set hits=hits+1 where id="&cstr(request("id"))
conn.execute sql
sql="select * from news where id="&owen
rsnews.Open sql,conn,1,1
title=rsnews("title")
if rsnews.eof and rsnews.bof then
response.Write("数据库出错")
else
%>
<table width="593" height="294" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
  <tr>
    <td height="27" background="Images/tab_bg.gif" bgcolor="#FFFFFF"><div align="center" class="style3">快讯专栏</div></td>
  </tr>
  <tr>
    <td height="264" bgcolor="#FFFFFF"><table width="95%" height="264" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="58" colspan="2" align="center" class="tit"><%= rsnews("title") %></td>
      </tr>
      <tr>
        <td width="26%" height="15"><span class="style2">双击自动滚屏</span></td>
        <td width="74%" align="center"><div align="right"><span class="style2">发布者:<%= rsnews("user") %> 发布时间:<%= rsnews("infotime") %> 阅读:<font color="#FF0000"><%= rsnews("hits") %></font>次</span></div></td>
      </tr>
      <tr>
        <td height="15" colspan="2" class="style2">----------------------------------------------------------------------</td>
      </tr>
      <tr>
        <td height="82" colspan="2"><span class="style2"><br>
            </span>
          <div style='font-size:12'><%=rsnews("content") %></div></td>
      </tr>
      <tr align="right">
        <td height="68" colspan="2">&nbsp;</td>
      </tr>
      <tr align="right">
        <td colspan="2"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td align="right" class="style2"><img src="images/printer.gif" width="16" height="14" align="absmiddle"> <a href="javascript:window.print()">打印本页</a> | <img src="images/close.gif" width="14" height="14" align="absmiddle"> <a href="javascript:window.close()">关闭窗口</a></td>
            </tr>
        </table></td>
      </tr>
      <% 
		end if
		rsnews.close
		set rsnews=nothing
		%>
    </table></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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