📄 _communion_bulletin_admin.php
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="./templates/oa.css" type="text/css">
<script language="JavaScript" src="./scripts/bgColor.js"></script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" align="center">
<table border="0" cellspacing="0" cellpadding="0" align="left" width="100%">
<tr>
<td class="pageHeaderBG_Communication" valign="top">
<table cellpadding="0" cellspacing="0" border="0">
<td class="pageHeader"><img src="./images/arrow_yellow.gif" width="12" height="11" hspace="8">(
公 告 栏 )</td>
</table>
</td>
<td valign="top" align="left"> </td>
</tr>
</table>
</td>
</tr>
</table>
<? if($sysaction != 'add') { ?>
<script Language=JavaScript src="./scripts/Popcalendar.js"></script>
<SCRIPT LANGUAGE=javascript>
<!--
function CheckPages()
{ return true;}
function btSearchBulletin()
{
MyForm.action = "communion.php?action=bulletin_admin&s_admin=1";
MyForm.submit();
}
//=============================
//响应“删除”往服务器递交删除任务
//=============================
function btDelBulletin_ondoc()
{
var blnDel = true;
for (var i=0;i<MyForm.elements.length;i++)
{
if (MyForm.elements[i].name == 'chkBulValue' && MyForm.elements[i].checked == true)
{
blnDel = false;
break;
}
}
if (blnDel)
alert("请选择删除项后再进行删除操作!");
else
{
if (window.confirm("确信删除选中的信息吗?单击“确定”删除,否则“取消”!"))
{
MyForm.action = "communion.php?action=bulletin_admin&sysaction=del";
MyForm.submit();
}
}
}
//-->
</SCRIPT>
<div id="Layer1" style="position:absolute; left:0px; top:70px; z-index:1; width:100%">
<table width="96%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="edgingTop"></td>
<td width="22" class="edgingLabelBg"><img src="./images/edgingLable_left.gif"></td>
<td class="edgingLabelBg">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="edgingLabel" nowrap align="center"> 公 告 栏 管 理 - Bulletin Management</td>
</tr>
</table>
</td>
<td width="11" class="edgingLabelBg"><img src="./images/edgingLable_right.gif"></td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" border="0" class="edgingTable_1">
<tr>
<td class="edgingTd_1">
<table width="100%" cellpadding="0" border="1" cellspacing="0" height="100%" bordercolordark="#ffffff" class="edgingTable_2">
<tr align="center">
<td>
<!-- 内容区开始 -->
<form name=MyForm id=MyForm method=Post>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td valign="top" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="Command" width="15"><img src="./images/boxOff_1.gif" width="7" height="18"></td>
<td align="right" class="Command">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class=imgButton onMouseDown='this.className="down"' onMouseOver='this.className="over"' onMouseUp='this.className="over"' onMouseOut='this.className="imgButton"' onClick="window.document.URL='communion.php?action=bulletin_admin&sysaction=add'" align="center" width="80"><img height=16 src="./images/iconAppend.gif" width=45 border=0></td>
<td class=imgButton onMouseDown='this.className="down"' onMouseOver='this.className="over"' onMouseUp='this.className="over"' onMouseOut='this.className="imgButton"' onClick="btDelBulletin_ondoc();" align="center" width="80"><img height=16 src="./images/iconDelete.gif" width=45 border=0></td>
<td width=20 align="right"> </td>
</tr>
</table>
</td>
</tr>
</table>
<!--搜索条件-->
<table width="98%" cellpadding="2" cellspacing="1" border=0>
<tr>
<td width="45%" nowrap> 发布时间:从
<script language=JavaScript>
var m_FromDate = "<?=$s_tdate?>"
arrowtag("s_tdate",m_FromDate);
</script>
到
<script language=JavaScript>
var m_EndDate = "<?=$s_tdate2?>"
arrowtag("s_tdate2",m_EndDate);
</script>
<td nowrap> 公告对象:
<select name="s_scope" >
<? if(is_array($depart_list)) {
foreach($depart_list as $key => $val) { ?>
<option value='<?=$val['id']?>'<?=$departsel[$s_scope]?>><?=$val['name']?></option>
<? }
} ?>
</select>
</td>
<td width="20%" nowrap>状态:
<select name="s_state">
<option value=0></option>
<option value=1
<? if($s_state == 1) { ?>
selected
<? } ?>
>待发布</option>
<option value=2
<? if($s_state == 2) { ?>
selected
<? } ?>
>发布中</option>
<option value=3
<? if($s_state == 3) { ?>
selected
<? } ?>
>已结束</option>
</select>
</td>
<td width=8%>
<input type="button" value="搜 索" class="button" style="height:22px" name="btSearch" onClick="btSearchBulletin()" onMouseOver="onButton(this);" onMouseOut="offButton(this);">
</td>
</tr>
</table>
<!--显示用户的详细信息-->
<table width="100%" border="1" cellspacing="0" cellpadding="2" bgcolor="#888888" align="center" bordercolordark="#ffffff" bordercolor="#888888">
<thead>
<tr>
<td class="headCenter" width="4%" nowrap>#</td>
<td width="56%" nowrap class="headCenter">公告标题</td>
<td width="10%" nowrap class="headCenter">发布对象</td>
<td width="10%" nowrap class="headCenter">发布日期</td>
<td width="10%" nowrap class="headCenter">发布天数</td>
<td width="10%" nowrap class="headCenter">状态</td>
</tr>
</thead>
<!--从数据库中调出用户信息-->
<? if(is_array($bulletin_list)) {
foreach($bulletin_list as $key => $val) { ?>
<tr class='light' onMouseOver="onColor(this);" onMouseOut="offColor(this);">
<td class="textCenter"align="center" nowrap>
<input type="checkbox" name="chkBulValue" value="2" class="checkBox">
</td>
<td class="textLeft" nowrap>[<?=$val['type']?>] <a href="communion.php?action=bulletin_admin&sysaction=add&id=<?=$val['id']?>"><?=$val['title']?></a>
</td>
<td align="center" nowrap><?=$val['depart']?></td>
<td class="textCenter"align="center" nowrap><?=$val['tdate']?></td>
<td class="textCenter"align="center" nowrap><?=$val['daynum']?></td>
<td class="textCenter"align="center" nowrap><?=$val['state']?></td>
</tr>
<? }
} ?>
</table>
</td>
</tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -