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

📄 shownews.asp

📁 简洁清爽的网站管理管理系统,基本功能都具备了
💻 ASP
字号:
<!--#Include File="inc/Check_Sql.asp"-->
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/Skin_css.asp"-->
<!-- #include file="inc/config.asp" -->
<style type="text/css">
<!--
.style1 {
	font-size: 14px;
	font-weight: bold;
}
-->
</style>
<!-- #include file="Head.asp" -->
<%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="767" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td class="tdbg_left"  width="202" valign="top" ><!--#include file="left_product.asp" --></td>
    <td width="6"></td>
    <td valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="206" valign="top">
            <table width="100%" height="5"  border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td></td>
              </tr>
            </table>
            <table border="0" cellpadding="0" cellspacing="0" background="Images/81235959_dj_gbg.gif">
              <tr>
                <td height="28" background="Images/xxbg.gif"><img src="Images/81235959_detai.gif" width="556" height="34"></td>
              </tr>
              <tr>
                <td height="28"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td height="50" colspan="2" align="center" class="tit"><span class="style1"><%= rsnews("title") %></span></td>
                  </tr>
                  <tr>
                    <td width="83%" height="30" style="border-top: 1 solid #EEEEEE;border-bottom: 1 solid #EEEEEE">作者:<%= rsnews("user") %> 时间:<%= rsnews("infotime") %> 阅读:<font color="#FF0000"><%= rsnews("hits") %></font>次</td>
                    <td width="17%" align="right" style="border-top: 1 solid #EEEEEE;border-bottom: 1 solid #EEEEEE">双击自动滚屏</td>
                  </tr>
                  <tr>
                    <td colspan="2"><br>
                        <div style='font-size:10.5pt'><%=rsnews("content") %></div></td>
                  </tr>
                  <tr align="right">
                    <td colspan="2">&nbsp;</td>
                  </tr>
                  <tr align="right">
                    <td colspan="2">&nbsp;</td>
                  </tr>
                  <% 
		end if
		rsnews.close
		set rsnews=nothing
		%>
                </table>
                  <br>
                  <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td align="right"> <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>
              <tr>
                <td><img src="Images/81235959_dj_tb.gif" width="556" height="6"></td>
              </tr>
            </table>
            <table width="100%" height="5"  border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td></td>
              </tr>
            </table></td>
        </tr>
    </table></td>
  </tr>
</table>
<!--#include file="inc/foot.asp"-->

⌨️ 快捷键说明

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