<!--#include file=inc/conn.asp-->
<!--#include file=inc/inc.asp-->
<% 
    id=trim(request("id"))
    if id="" then
    call list()
	response.end
	end if
    set rs=server.createobject("adodb.recordset")
    sql="select * from [jle_gonggao] 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
   	%>
<title><%=rs("biaoti")%>-<%=title%></title>
<script language="JavaScript">
function closewindow()
{ 
  window.close();
}
</script>
<link href="inc/style.css" rel="stylesheet" type="text/css">
<body topmargin="0">
<%call t()%><DIV class=h></DIV>
<div align="center">
<table border="0" cellpadding="0" style="border-collapse: collapse" width="980">
<tr>
<td width="74%" bordercolor="#808080" class="td" valign="top">
<div align="center">
<center>
<table border="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="100%">
<tr>
<td width="697" colspan="3" class="td1">
&nbsp;位置导航：<a href="/">首页</a>→<a href="gonggao.asp">网站公告</a></td>
</tr>
<tr>
<td colspan="3" align="center" style="font-weight: bold">
<span style="border-bottom:1px solid #CCCCCC; font-size: 14pt; height:40; padding-top:10px; width:90%; text-align:center; border-left-width:1px; border-right-width:1px; border-top-width:1px"><%=rs("biaoti")%></span></td>
</tr>
<tr>
<td width="697" height="28" align="center" colspan="3">
<font color="#999999" size="2"><%=rs("data")%>&nbsp;&nbsp;   来自:[<%=title%>]</font></td>
</tr>
<tr>
<td width="36">　</td>
<td width="624"><%=HTMLEncode(rs("neirong"))%></td>
<td width="37">　</td>
</tr>
<tr>
<td colspan="3" align="center"><hr size="1" width="90%" color="#CCCCCC"><a href="javascript:closewindow();" target="_self" style="text-decoration: none">
<font color="#999999">【关闭窗口】</font></a> <a href="index.asp">
<font color="#999999">【返回首页】</font></a><p>
<a target="_blank" href="news.asp"></a></td>
</tr>
</table>
</center>
</div>
</td>
<td width="3%" valign="top">
<img border="0" src="image/newspic.gif" width="25" height="257"></td>
<td width="23%" bordercolor="#808080" class="td">
　</td>
</tr>
</table>
</center>
</div>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<%sub list()
dim k
set rs=server.createobject("adodb.recordset")
sql="select * from [jle_gonggao] order by id desc"
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write "没有新闻"
response.end
end if
k=0
%>
<div align="center">
<center><body topmargin="0">
<%call t()%><DIV class=h></DIV>
<table border="0" cellpadding="0" cellspacing="0" width="980">
<tr>
<td width="705" class="td" valign="top">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="99%">
<tr>
<td width="100%" colspan="4" class="td1">&nbsp;位置导航：<a href="/">首页</a>→<a href="gonggao.asp">网站公告</a></td>
</tr>
<tr>
<td width="100%" colspan="4"><a target="_blank" href="news.asp"></a></td>
</tr>
<tr>
<td width="100%" colspan="4">　</td>
</tr>
<tr>
<td width="2%">　</td>
<td width="6%" height="20">
<p align="center"><font size="2">编号</font></td>
<td width="64%" height="20"><font size="2">标题</font></td>
<td width="28%" height="20"><font size="2">发布时间</font></td>
</tr>
<%do while not rs.eof%><span style="font-size: 12px">
<tr>
<td width="2%">　</td>
<td width="6%" height="20"> </span>
<p align="center">
<font size="2"><%=k+1%></font></td>
<td width="64%" height="20"><a  class=left href="gonggao.asp?id=<%=rs("id")%>" target="_blank">
<font size="2"><%=rs("biaoti")%></font></a></td>
<td width="28%" height="20"><font size="2" color="#C0C0C0"><%=rs("data")%></font></td>
</tr>
<%
rs.movenext
k=k+1
loop
%>
<tr>
<td width="100%" colspan="4">
<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></b></td>
</tr></table></center>
</div>
</td>
<td width="25" valign="top">
<img border="0" src="image/newspic.gif" width="25" height="257"></td>
<td width="250" class="td">
　</td>
</tr>
</table><!--#include file="foot.asp"--></tbody>
</div>
<%end sub%><!--#include file="foot.asp"-->