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

📄 enshownews.asp

📁 破解版的企业网站源码!! 绝对好用 适合各种企业应用 其中包包含产品展示 企业介绍等等内容 可供二次开发
💻 ASP
字号:
<!--#Include File="inc/Check_Sql.asp"-->
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/Skin_css.asp"-->
<!-- #include file="inc/config.asp" -->
<!--#include file="inc/Function.asp"-->
<!-- #include file="enHead.asp" -->
<style type="text/css"><!--
.tit                {	font-size: 14px;}
.black              {COLOR: #000000; font-family: "Verdana", "宋体"; FONT-SIZE: 14px}
A.black:link        { COLOR: #000066;  TEXT-DECORATION: none}
A.black:visited     { COLOR: #330000;  TEXT-DECORATION: none}
A.black:active      { COLOR: #FFFFFF;  TEXT-DECORATION: none}
A.black:hover       { COLOR: #ff0000;  TEXT-DECORATION: none}
}
-->
</style>

<%owen=request("id")%>
<script language="JavaScript" type="text/JavaScript">
function fontZoom(size){
 document.getElementById('fontZoom').style.fontSize=size+'px'
}
</SCRIPT>
<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>
<% 
id=cstr(request("id"))
Set rsnews=Server.CreateObject("ADODB.RecordSet") 
sql="update ennews set hits=hits+1 where id="&id
conn.execute sql
sql="select * from ennews where id="&owen
rsnews.Open sql,conn,1,1
title=rsnews("title")
if rsnews.eof and rsnews.bof then
response.Write("数据库出错")
else
%>
<table width="850" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="5" valign="top" bgcolor="#FFFFFF"></td>
  </tr>
  <tr> 
    <td height="72" valign="top" bgcolor="#FFFFFF"><table width="843" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td class="tdbg_left"  width="190" height="179" valign="top" ><!--#include file="left.asp"--></td>
          <td width="6"></td>
          <td valign="top"><table Class=border width="649" height="100%" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td width="550" height="206" valign="top"> 
                  <table width="649" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td class="title_right" height="32">&nbsp;&nbsp;&nbsp;<img src="Images/smallbook.jpg" width="10" height="10">&nbsp;&nbsp;News Center </td>
                    </tr>
                  </table>
                  <table width="649" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td height="50" colspan="2" align="center" class="tit"><%= rsnews("title") %></td>
                    </tr>
                    <tr> 
                      <td width="20%" height="30" class="tit" style="border-top: 1 solid #666666;border-bottom: 1 solid #666666">Scrool</td>
                      <td width="80%" align="center" style="border-top: 1 solid #666666;border-bottom: 1 solid #666666">Editor:<%= rsnews("user") %> 
                        Addtime:<%= rsnews("AddDate") %> Read:<font color="#FF0000"><%= rsnews("hits") %></font>Times 【Size:<A class=black href="javascript:fontZoom(16)">B</A> 
                        <A class=black href="javascript:fontZoom(14)">M</A> <A class=black href="javascript:fontZoom(12)">S</A>】</td>
                    </tr>
                    <tr> 
                      <td class=black id=fontzoom colspan="2"><br>
                        <%=rsnews("content") %></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"><a href="javascript:window.print()">Print</a> 
                        || <a href="javascript:window.close()">Close</a></td>
                    </tr>
                  </table> </td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
<!--#include file="inc/enfoot.asp"-->

⌨️ 快捷键说明

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