mybulletin.htm

来自「全方面的OA管理程序代码」· HTM 代码 · 共 79 行

HTM
79
字号
<!--#include file="../inc/Secure.htm"-->
<!--#include file="../inc/conn.htm"-->
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="../CSS/main.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" leftmargin=20 topmargin=5>
<BR>
<div align=center>
<table width="80%" border="0" cellspacing="0" cellpadding="0">
  <tr align="center"> 
	<td width="25%"><a href="index.htm"><img src="../images/zxgg.gif" width="110" height="20" border=0></a></td>
	<td width="25%"><a href="read_index.htm"><img src="../images/lsgg.gif" width="110" height="20" border=0></a></td>
	<td width="25%"><a href="NewBulletin.htm"><img src="../images/wyqfgg.gif" width="110" height="20" border=0></a></td>
	<td width="25%"><img src="../images/wfbdgg-2.gif" width="110" height="20" border=0></td>
  </tr>
</table>
</div>
<BR>
<div align=center>
<table border=0 width="90%"><tr>
      <td> 上页   下页 </td>
    </tr></table></div>
<div align=center>
  <table border=0 width="90%" cellspacing="1" cellpadding=3 bgcolor="#005AB5">
    <tr bgcolor=#53A9FF> 
      <td width="50">分类</td>
      <td>标题</td>
      <td>主题词</td>
      <td width=80>发布人</td>
      <td width="120">发布时间</td>
    </tr>
    <%
if isempty(msgArr) then
	response.write "<tr bgcolor=#ffffff><td colspan=7>暂时没有内容。</td></tr>"
else
for i = 0 to UBound(msgArr,2)
if i mod 2 =0 then
	strColor="#FFFFFF"
else
	strColor="#E6F2FF"
end if
%>
    <%
next
end if
%>
  </table>
</div>

</BODY>
</HTML>
<%
Function GetTableValue(TableName,Field,ValueField,Value)
	if TableName<>"" and Value<>"" then
		Set RsTmp = Server.Createobject("Adodb.recordset")
		strSql = "Select "& Field &" from "& TableName &" where "& ValueField &"='"& Value &"'"
		Rstmp.open strSql,oConn,1,1
		If not Rstmp.eof then
			GetTableValue=trim(Rstmp(Field))
		else
			GetTableValue=""
		end if
		Rstmp.close
		'set RsTmp = Nothing
	else
		GetTableValue=""
	end if
End Function

%>
<!--#include file="../inc/conn_close.htm"-->
<script language=javascript>
function CheckDelete()
{
	return confirm("确实删除吗?");
}
</script>

⌨️ 快捷键说明

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