📄 newsinfo.asp
字号:
<!--#include file="ku_top.asp" -->
<%
sub navigation()
response.write " >> "
response.write "<a href='ku_news.asp'>学校新闻</a>"
response.write " >> "
response.write "新闻浏览"
end sub
%>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="800" height="50" bgcolor="#FFFFFF">
<tr>
<td width="218" valign="top">
<div align="center">
<table border="0" width="208" id="table2" bgcolor="#ebebeb" cellpadding="0" cellspacing="0">
<tr>
<td height="30" background="xbqq_img/gonggao.gif">
<p align="center"><b>站 内 公 告</b></td>
</tr>
<tr>
<td><% xbqq_Marquee %></td>
</tr>
<tr>
<td height="0"><hr></td>
</tr>
<tr>
<td height="30" background="xbqq_img/gonggao.gif">
<p align="center"><b>信 息 搜 索</b></td>
</tr>
<tr>
<td height="23"><% xbqq_Search %></td>
</tr>
<tr>
<td height="0"><hr></td>
</tr>
<tr>
<td height="30" background="xbqq_img/gonggao.gif">
<p align="center"><b>站 内 投 票</b></td>
</tr>
<tr>
<td><% xbqq_vote %></td>
</tr>
<tr>
<td height="0"><br></td>
</tr>
</table>
</div>
</td>
<td width="560" valign="top">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="580" height="28" id="table1" background="xbqq_img/kind1.gif">
<tr>
<td> <img border="0" src="xbqq_img/ico1.gif" width="11" height="9">
<font color="#FFFFFF">新闻浏览</font> </td>
</tr>
</table>
</div>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="550" height="5">
<tr>
<td></td>
</tr>
</table>
</div>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="580" height="160" style="border: 1px solid #2C87E9">
<tr>
<td bgcolor="#FFFFFF" width="100%">
<!--新闻文章开始-->
<TABLE cellSpacing=3 cellPadding=5 width="100%" border=0>
<%
ID=CheckStr(Request.QueryString("ID"))
If isInt(ID)=False OR Not IsNumeric(ID) Then
Response.Redirect "news.asp"
Response.End()
End If
set rs=server.createobject("adodb.recordset")
rs.Open "Select * From news where id="&id, conn,3,3
if rs.bof and rs.eof then
response.Redirect("News.asp")
end if
%>
<TR>
<TD align="center"><strong><%=rs("title")%></strong></TD>
</TR>
<TR>
<TD align="center"><hr size="1" width="80%" height="1"><a href="http://<%=Gaobei_http%>" target=_blank><%=Gaobei_http%></a> <%=rs("time")%></TD>
</TR>
<TR>
<TD height=34 style="line-height: <%=Gaobei_line_H%>"><%=rs("Content")%></TD>
</TR>
<TR>
<TD height=34 align="right">发布:<%=rs("Admin")%> 时间:[<%=rs("time")%>]</TD>
</TR>
</TABLE>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="362" height="34"> </td>
<td width="186">【<a href='Ku_News.asp'>返回</a>】 【<a href="javascript:window.scroll(0,-360)">顶部</a>】
【<a href="javascript:self.close()">关闭</a>】</td>
</tr>
</table>
<!-- 新闻文章结束-->
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<!--#include file="xbqq_foot.asp" -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -