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

📄 newsinfo.asp

📁 狼道公司源码下载
💻 ASP
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--#include file="Inc/Conn.asp" -->
<!--#include file="Inc/Function.asp" -->
<%
Center_Left="Center_Left2.jpg"
%>
<%
ID=Request("ID")
if ID="" or not isnumeric(ID) then Response.Redirect("News.asp")
Set rs=server.CreateObject("adodb.recordset")
rs.open "select * from News where ID="&ID,Conn,3,3
if rs.eof and rs.bof then
   Response.Redirect("News.asp")
else
	Title=Rs("Title")
	UpdateTime=Rs("UpdateTime")
	Hits=Rs("Hits")+1
	Content=rs("Content") 
	rs("Hits")=rs("Hits")+1
  rs.update
  rs.close
  set rs=nothing
end if

%>
<HTML><HEAD><TITLE><%=Title%> <%=WebTitle%></TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<META content="<%=WebKeyWord%>" name=description>
<META content="<%=WebKeyWord%>" name=keywords>
<META http-equiv=Pragma content=no-cache>
<LINK href="Images/common.css" type=text/css rel=STYLESHEET>
<LINK href="Images/style.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.3790.2759" name=GENERATOR></HEAD>
<BODY leftMargin=0 background=Images/bg0.gif topMargin=0 marginwidth="0" marginheight="0">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
    <TD height="81" background=Images/bg_company.gif><!--#include file="Top.asp" --></TD>
  </TR>
  <TR>
    <TD>
      <TABLE cellSpacing=0 cellPadding=0 width=830 border=0>
        <TBODY>
        <TR>
          <TD width=191 vAlign=top><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
            <TBODY>
              <TR>
                <TD vAlign=top><DIV align=center><IMG height=62 src="Images/left_menu2.gif" width=191>
                        <TABLE cellSpacing=0 cellPadding=0 width="90%" align=center 
                  border=0>
                          <TBODY>
                            <TR>
                              <TD 
                      height=19 colspan="2" align=left class=GeneralContentSinglePage1_bg></TD>
                            </TR>
                            <TR>
                              <TD width="5%" 
                      height=21 align=left class=GeneralContentSinglePage1_bg>&nbsp;</TD>
                              <TD width="95%" align=left class=GeneralContentSinglePage1_bg><img src="Images/folder.gif" width="9" height="9" border=0>&nbsp;&nbsp;<a 
                        class=GeneralContentSinglePage1_a 
                        href="News.asp">News</a></TD>
                            </TR>
                            <TR>
                              <TD class=GeneralContentSinglePage1_bg align=left 
                      height=30>&nbsp;</TD>
                              <TD class=GeneralContentSinglePage1_bg align=left><img src="Images/folder.gif" width="9" height="9" 
                        border=0>&nbsp;&nbsp;<a 
                        class=GeneralContentSinglePage1_a 
                        href="Jobs.asp">Jobs</a></TD>
                            </TR>
                          </TBODY>
                        </TABLE>
                  <form name="FormNews" method="post" action="Search.asp">
                          <table cellspacing="0" cellpadding="0">
                            <tr>
                              <td align="right" width="53" height="23">keyword: </td>
                              <td width="117"><input size="14" name="KeyWord" /></td>
                            </tr>
                            <tr>
                              <td align="right" width="53" height="23">sort:</td>
                              <td width="117"><select size="1" name="Flag">
                                  <option value="" selected="selected">unlimited sort</option>
                                  <option value="1">News</option>
                                  <option value="2">Jobs</option>
                              </select></td>
                            </tr>
                            <tr>
                              <td align="right" width="53" height="23" size="1">area:</td>
                              <td><select name="Fid">
                                  <option value="1" selected="selected">title </option>
                                  <option value="2">content </option>
                                  <option value="">title and content</option>
                              </select></td>
                            </tr>
                            <tr>
                              <td align="middle" colspan="2"><img onClick="javascript:document.FormNews.submit();" style="cursor:hand" height="23" src="Images/search.gif" width="56" border="0" twffan="done" /></td>
                            </tr>
                          </table>
                  </form>
                </DIV></TD>
              </TR>
              <TR>
                <TD vAlign=top><br>
                    <img src="Images/bot2.gif" 
            width=191 height=240 border=0 usemap="#Map">
                    <map name="Map">
                      <area shape="rect" coords="103,6,189,51" href="Contact.asp">
                      <area shape="rect" coords="105,59,189,106" href="FeedBack.asp">
                      <area shape="rect" coords="106,117,188,164" href="News.asp">
                      <area shape="rect" coords="105,181,188,225" href="DownLoad.asp">
                  </map></TD>
              </TR>
            </TBODY>
          </TABLE></TD>
          <TD vAlign=top>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD vAlign=top align=right height=25><TABLE cellSpacing=0 cellPadding=0 border=0>
                  <TBODY>
                    <TR>
                      <TD>&nbsp;</TD>
                      <TD width=5>&nbsp;</TD>
                      <TD vAlign=bottom>Index >> News &nbsp;&nbsp;</TD>
                      <TD width=5>&nbsp;</TD>
                    </TR>
                  </TBODY>
                </TABLE></TD></TR>
              <TR>
                <TD>
                  <TABLE cellSpacing=0 cellPadding=0 width=638 border=0>
                    <TBODY>
                    <TR>
                      <TD width=731><IMG height=26 
                        src="Images/compay01_title2.gif" width=450></TD></TR>
                    <TR>
                      <TD><IMG height=3 src="Images/title_line0.gif" 
                        width=670></TD></TR>
                    <TR>
                      <TD vAlign=top><DIV align=center>
                        <table width="628" cellpadding="3" cellspacing="3">
<tr>
<td class="publish_title2">News</td>
</tr>						
                          <TR>
                            <TD align="middle"><%=Title%></TD>
                          </TR>
                          <TR>
                            <TD align="middle"><%=UpdateTime%></TD>
                          </TR>
                          <TR>
                            <TD align="middle">(Visited:<%=Hits%>) </TD>
                          </TR>
                          <TR>
                            <TD height="80"><%=PxhelpEnCode(Content)%></p></TD>
                          </TR>
                        </table>
                      </DIV></TD></TR>
                    <TR>
                      <TD>&nbsp;</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
        </TBODY></TABLE></TD></TR>
  <TR>
    <TD><!--#include file="Bottom.htm" --></TD>
  </TR></TBODY></TABLE>

</BODY></HTML>

⌨️ 快捷键说明

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