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

📄 news.asp

📁 人才招聘系统,用asp做的
💻 ASP
字号:
<!--#include file=conn.asp-->
    <% 
    dim id,rs,sql
    id=request("id")
    if id="" then
    response.write "出错提示!"
	response.end
	end if
    set rs=server.createobject("adodb.recordset")
    sql="select * from [news] where id="&cstr(id)
    rs.open sql,conn,1,1
    if rs.eof and rs.bof then
	response.write "没有新闻"
	response.end
   	end if
   	function HTMLEncode(fString)
    fString = replace(fString, ">", "&gt;")
    fString = replace(fString, "<", "&lt;")
    fString = Replace(fString, CHR(13), "")
    fString = Replace(fString, CHR(10) & CHR(10), "</P><P>")
    fString = Replace(fString, CHR(10), "<BR>")
    HTMLEncode = fString
    end function
   	%>
<script language="JavaScript">
function closewindow()
{ 
  window.close();
}
</script>
<title><%=rs("biaoti")%></title>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#FF9933" width="100%">
  <tr>
    <td width="100%">
    <div align="center">
      <center>
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="96%">
      <tr>
        <td width="100%" colspan="3">
        <p align="right">
        <br>
        <font style="FONT-SIZE: 15px; COLOR: #000066; FONT-FAMILY: 宋体">
        <span style="FONT-SIZE: 10pt; FONT-FAMILY: 宋体">
        <a class="yellow" href="javascript:closewindow();" target="_self" style="text-decoration: none; font-weight:700">
        <font color="#808080">关闭窗口</font></a></span></font></td>
      </tr>
      <tr>
        <td width="100%" colspan="3"><img border="0" src="img/TOP.gif"><br>
 </td>
      </tr>
      <tr>
        <td width="100%" colspan="3">
        <p align="center"><span style="font-size: 14pt; font-weight: 700"><%=rs("biaoti")%></span></td>
      </tr>
      <tr>
        <td width="34%" height="18">
        </td>
        <td width="33%" height="18">
        </td>
        <td width="33%" height="18">
        <font color="#C0C0C0" size="2"><%=rs("data")%></font></td>
      </tr>
      <tr>
        <td width="100%" colspan="3"><font size="2">&nbsp;&nbsp;&nbsp; <%=HTMLEncode(rs("neirong"))%></font></td>
      </tr>
      <tr>
        <td width="100%" colspan="3">
        <p align="right">
        <b>
        <font style="FONT-SIZE: 15px; COLOR: #000066; FONT-FAMILY: 宋体">
        <span style="FONT-SIZE: 10pt; FONT-FAMILY: 宋体">
        <a class="yellow" href="javascript:closewindow();" target="_self" style="text-decoration: none">
        <font color="#808080">关闭窗口</font></a></span></font><font size="2" color="#808080"><br>
 </font></b></td>
      </tr>
    </table>
      </center>
    </div>
    </td>
  </tr>
</table>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>

⌨️ 快捷键说明

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