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

📄 meeting_detail.php

📁 泛微协同办公系统标准版E-office V5.5的源代码内含泛微办公系统V5.5自动注册文件。
💻 PHP
字号:
<?php

include_once( "inc/auth.php" );
include_once( "inc/utility_all.php" );
include_once( "inc/utility.php" );
echo "\r\n<html>\r\n<head>\r\n<title>会议详细信息</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n\r\n</head>\r\n<body class=\"bodycolor\" topmargin=\"5\">\r\n<table border=\"0\" width=\"100%\" cellspacing=\"1\"  cellpadding=\"0\">\r\n   <tr class=\"tablehead1\">\r\n    <td ><img src=\"/images/menu/meeting.gif\"> 会议详细信息\r\n    </td>\r\n  </tr>\r\n  <tr class=\"tablehead2\"><td>\r\n  <input type=\"image\" src=\"/images/button/p";
echo "rint.gif\"  onclick=\"document.execCommand('Print');\" title=\"直接打印表格页面\">&nbsp;&nbsp;&nbsp;&nbsp;\r\n  <input type=\"image\" src=\"/images/button/shut.gif\" onClick=\"window.close();\" title=\"关闭窗口\">\r\n   </td></tr>\r\n</table>\r\n<hr width=\"100%\" height=\"1\" align=\"left\" color=\"#FFFFFF\">\r\n";
$connection = openconnection( );
$query = "SELECT * from MEETING where M_ID='{$M_ID}'";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
	++$MEETING_COUNT;
	$M_ID = $ROW['M_ID'];
	$M_NAME = $ROW['M_NAME'];
	$M_TOPIC = $ROW['M_TOPIC'];
	$M_DESC = $ROW['M_DESC'];
	$M_PROPOSER = $ROW['M_PROPOSER'];
	$M_REQUEST_TIME = $ROW['M_REQUEST_TIME'];
	$M_ATTENDEE = $ROW['M_ATTENDEE'];
	$M_START = $ROW['M_START'];
	$M_END = $ROW['M_END'];
	$M_ROOM = $ROW['M_ROOM'];
	$M_STATUS = $ROW['M_STATUS'];
	$query = "SELECT * from MEETING_ROOM where MR_ID={$M_ROOM}";
	$cursor1 = exequery( $connection, $query );
	if ( $ROW1 = mysql_fetch_array( $cursor1 ) )
	{
		$M_ROOM_NAME = $ROW1['MR_NAME'];
	}
	if ( $M_STATUS == 0 )
	{
		$M_STATUS_DESC = "待批";
	}
	else if ( $M_STATUS == 1 )
	{
		$M_STATUS_DESC = "已准";
	}
	else if ( $M_STATUS == 2 )
	{
		$M_STATUS_DESC = "进行中";
	}
	else if ( $M_STATUS == 3 )
	{
		$M_STATUS_DESC = "未批准";
	}
	else if ( $M_STATUS == 4 )
	{
		$M_STATUS_DESC = "已结束";
	}
	$query = "SELECT * from USER where USER_ID='{$M_PROPOSER}'";
	$cursor2 = exequery( $connection, $query );
	if ( $ROW2 = mysql_fetch_array( $cursor2 ) )
	{
		$USER_NAME = $ROW2['USER_NAME'];
	}
	echo "    \r\n<table border=\"0\" cellspacing=\"1\" width=\"100%\" class=\"small\" cellpadding=\"5\">\r\n  <tr class=\"TableLine1\">\r\n      <td nowrap align=\"left\" width=\"80\" >会议编号:</td>\r\n      <td nowrap align=\"left\" >";
	echo $M_ID;
	echo "</td>\r\n  </tr>\r\n  <tr class=\"TableLine2\">\r\n      <td nowrap align=\"left\" width=\"80\" >会议名称:</td>\r\n      <td nowrap align=\"left\" >";
	echo $M_NAME;
	echo "</td>\r\n  </tr>\r\n  <tr class=\"TableLine1\">\r\n      <td nowrap align=\"left\" width=\"80\" >会议主题:</td>\r\n      <td nowrap align=\"left\" >";
	echo $M_TOPIC;
	echo "</td>\r\n  </tr>\r\n  <tr class=\"TableLine2\">\r\n      <td nowrap align=\"left\" width=\"80\" >会议描述:</td>\r\n      <td nowrap align=\"left\" >";
	echo $M_DESC;
	echo "</td>\r\n  </tr>\r\n  <tr class=\"TableLine1\">\r\n      <td nowrap align=\"left\" width=\"80\" >申请人:</td>\r\n      <td nowrap align=\"left\" >";
	echo $USER_NAME;
	echo "</td>\r\n  </tr>\r\n  <tr class=\"TableLine2\">\r\n      <td nowrap align=\"left\" width=\"80\" >申请时间:</td>\r\n      <td nowrap align=\"left\" >";
	echo $M_REQUEST_TIME;
	echo "</td>\r\n  </tr>\r\n  <tr class=\"TableLine1\">\r\n      <td nowrap align=\"left\" width=\"80\" >出席人员:</td>\r\n      <td nowrap align=\"left\" >";
	echo $M_ATTENDEE;
	echo "</td>\r\n  </tr>\r\n  <tr class=\"TableLine2\">\r\n      <td nowrap align=\"left\" width=\"80\" >开始时间:</td>\r\n      <td nowrap align=\"left\" >";
	echo $M_START;
	echo "</td>\r\n  </tr>\r\n  <tr class=\"TableLine1\">\r\n      <td nowrap align=\"left\" width=\"80\" >结束时间:</td>\r\n      <td nowrap align=\"left\" >";
	echo $M_END;
	echo "</td>\r\n  </tr>\r\n  <tr class=\"TableLine2\">\r\n      <td nowrap align=\"left\" width=\"80\" >会议室:</td>\r\n      <td nowrap align=\"left\" >";
	echo $M_ROOM_NAME;
	echo "</td>\r\n  </tr>\r\n  <tr class=\"TableLine1\">\r\n      <td nowrap align=\"left\" width=\"80\" >状态:</td>\r\n      <td nowrap align=\"left\" >";
	echo $M_STATUS_DESC;
	echo "</td>\r\n  </tr>\r\n  </table>\r\n";
}
else
{
	message( "", "无未找到相应记录!" );
}
echo "\r\n</body>\r\n\r\n</html>\r\n";
?>

⌨️ 快捷键说明

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