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

📄 yenewsinfo.asp

📁 企事业单位网站管理系统 防止数据库数据非法备份
💻 ASP
字号:
<!--#include file="Inc/syscode.asp"-->
<!--#include file="Inc/TOP.asp"-->
<!--#include file="Inc/eshopcode.asp"-->
<!-- #include file="Inc/Head.asp" -->
<TABLE width="760" border=0 align="center" cellPadding=0 cellSpacing=0 bgcolor="#FFFFFF">
  <TBODY>
    <TR> 
      <TD width=196 height="480" vAlign=top bgcolor="#FFFFFF"> 
        <table width="92%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
          <tr> 
            <td valign="top"><TABLE width="100%" border=0 cellPadding=0 cellSpacing=0 background="Img/index_01b.gif">
                <TBODY>
                  <TR> 
                    <TD height=15 bgcolor="#FFFFFF"></TD>
                  </TR>
                  <TR> 
                    <TD height="26" background="Img/index_01.gif">
<div align="center"><font color="#FFFFFF">会员登陆</font> </div></TD>
                  </TR>
                  <TR> 
                    <TD height="5"> </TD>
                  </TR>
                  <TR> 
                    <TD vAlign=top><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr> 
                          <td> 
                            <% call ShowUserLogin() %>
                          </td>
                        </tr>
                      </table></TD>
                  </TR>
                  <TR> 
                    <TD height="5"> </TD>
                  </TR>
                  <TR> 
                    <TD 
                            height=1 colspan="2" 
                            background=img/naSzarym.gif><IMG height=1 src="img/1x1_pix.gif" 
                              width=10></TD>
                  </TR>
                </TBODY>
              </TABLE>
              <TABLE width="100%" border=0 cellPadding=0 cellSpacing=0 background="Img/index_01b.gif">
                <TBODY>
                  <TR> 
                    <TD height=15 bgcolor="#FFFFFF"></TD>
                  </TR>
                  <TR> 
                    <TD height="26" background="Img/index_01.gif">
<div align="center"><font color="#FFFFFF">新闻中心</font> </div></TD>
                  </TR>
                  <TR> 
                    <TD height="22"> <div align="center"><a href="News.asp">企 
                        业 新 闻</a></div></TD>
                  </TR>
                  <TR> 
                    <TD 
                            height=1 colspan="2" 
                            background=img/naSzarym.gif><IMG height=1 src="img/1x1_pix.gif" 
                              width=10></TD>
                  </TR>
                  <TR> 
                    <TD height="22"><div align="center"><a href="yeNews.asp">业 
                        内 资 讯</a></div></TD>
                  </TR>
                  <TR> 
                    <TD 
                            height=1 colspan="2" 
                            background=img/naSzarym.gif><IMG height=1 src="img/1x1_pix.gif" 
                              width=10></TD>
                  </TR>
                </TBODY>
              </TABLE>
              <TABLE width="100%" border=0 cellPadding=0 cellSpacing=0 background="Img/index_01b.gif">
                <TBODY>
                  <TR> 
                    <TD height=15 bgcolor="#FFFFFF"></TD>
                  </TR>
                  <TR> 
                    <TD height="26" background="Img/index_01.gif">
<div align="center"><font color="#FFFFFF">邮件列表</font> </div></TD>
                  </TR>
                  <TR> 
                    <TD height="5"> </TD>
                  </TR>
                  <TR> 
                    <form method="POST" action="chkemail.asp">
                      <TD vAlign=top><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr> 
                            <td height="25"> <div align="center"> 
                                <input name='email' type='text' value="@" size='15'>
                              </div></td>
                          </tr>
                          <tr> 
                            <td height="25"><div align="center"> 
                                <input type="submit" value="订阅" name="action">
                                &nbsp; 
                                <input type="submit" value="退订" name="action">
                              </div></td>
                          </tr>
                        </table></TD>
                    </form>
                  </TR>
                  <TR> 
                    <TD height="5"> </TD>
                  </TR>
                  <TR> 
                    <TD 
                            height=1 colspan="2" 
                            background=img/naSzarym.gif><IMG height=1 src="img/1x1_pix.gif" 
                              width=10></TD>
                  </TR>
                </TBODY>
              </TABLE></td>
          </tr>
        </table>
      </TD>
      <TD width=1 background=img/kropki_pion_naBialym.gif><IMG 
            height=2 src="img/1x1_pix.gif" width=1></TD>
      <TD vAlign=top> <TABLE width="90%" border=0 align="right" cellPadding=0 cellSpacing=0>
          <TBODY>
            <TR> 
              <TD 
                  height=1 background=img/naBialym.gif><IMG height=1 src="img/1x1_pix.gif" 
              width=10></TD>
            </TR>
            <TR> 
              <TD height=10> 
                <table width="559" height="136" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr> 
                    <td height="7"></td>
                  </tr>
                  <tr> 
                    <td height="165" background="image/b1.gif">  
                                <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="555" height="158">
									<param name="movie" value="Img/32.swf">
									<param name="quality" value="High">
									<param name="wmode" value="transparent">
									<embed src="Img/32.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="555" height="158"></object>
                              </td>
                  </tr>
                </table></TD>
            </TR>
            <TR> 
              <TD>  </TD>
            </TR>
            <TR> 
              <TD 
                  height=1 background=img/naBialym.gif><IMG height=1 src="img/1x1_pix.gif" 
              width=10></TD>
            </TR>
            <TR> 
              <TD 
                  height=1> <%
if not isEmpty(request.QueryString("id")) then
id=request.QueryString("id")
else
id=1
end if

Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open "Select * From Yenews where id="&id, conn,3,3
'纪录访问次数
rs("counter")=rs("counter")+1
rs.update
nCounter=rs("counter")
'定义内容
content=ubbcode(rs("content"))
%> 
                <table width="100%" height="19" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr> 
                    <td width="96%" height="22" bgcolor="#FDFFFB">&nbsp;<img src="img/arrow.gif" width="16" height="13"><strong>业内资讯 
                      =&gt; <%=rs("title")%></strong></td>
                    <td width="4%" bgcolor="#FDFFFB"> </td>
                  </tr>
                  <tr> 
                    <td height="1" colspan="2" bgcolor="#CCCCCC"></td>
                  </tr>
                </table>
                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FDFFFB">
                  <tr> 
                    <td><table width="95%" border="0" align="center" cellpadding="0" cellspacing="5">
                        <tr> 
                          <td height="5"></td>
                        </tr>
                        <tr> 
                          <td><div align="center">发布日期:[<%=rs("time")%>]&nbsp;&nbsp;&nbsp; 共阅[<%=rs("counter")%>]次</div></td>
                        </tr>
                        <tr> 
                          <td height="5"></td>
                        </tr>
                        <tr> 
                          <td>&nbsp;&nbsp;&nbsp;&nbsp;<%=content%> <%rs.close%> </td>
                        </tr>
                        <tr> 
                          <td> </td>
                        </tr>
                      </table></td>
                  </tr>
                </table>
                <table width="100%" height="19" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr> 
                    <td height="1" colspan="2" bgcolor="#CCCCCC"></td>
                  </tr>
                  <tr> 
                    <td width="77%" height="22" bgcolor="#FDFFFB"> <div align="right"></div></td>
                    <td width="23%" bgcolor="#FDFFFB">【<a href='javascript:window.print()'>打印此页</a>】&nbsp;【<a href='javascript:history.back()'>返回</a>】</td>
                  </tr>
                </table></TD>
            </TR>
            <TR> 
              <TD 
                  height=1 background=img/naBialym.gif><IMG height=1 src="img/1x1_pix.gif" 
              width=10></TD>
            </TR>
            <TR> 
              <TD 
                  height=1>&nbsp;</TD>
            </TR>
          </TBODY>
        </TABLE></TD>
    </TR>
  </TBODY>
</TABLE>
<!-- #include file="Inc/Foot.asp" -->
</BODY></HTML>

⌨️ 快捷键说明

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