📄 summary.php
字号:
<?
include_once("inc/auth.php");
include_once("inc/utility_all.php");
?>
<html>
<head>
<title>会议纪要</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script Language="JavaScript">
function Load_Do()
{
EDIT_HTML.insertHtml(document.form1.SUMMARY.value);
}
function CheckForm()
{
document.form1.SUMMARY.value=EDIT_HTML.get_docHtml();
if (document.form1.SUMMARY.value=="")
{ alert("请填写会议纪要!");
return (false);
}
return (true);
}
function clear_user()
{
document.form1.COPY_TO_NAME.value="";
document.form1.COPY_TO_ID.value="";
}
function LoadWindow()
{
URL="/module/user_select?ID=2";
loc_x=document.body.scrollLeft+event.clientX-event.offsetX-100;
loc_y=document.body.scrollTop+event.clientY-event.offsetY+170;
//window.open(URL,"read_notify","height=400,width=550,status=1,toolbar=no,menubar=no,location=no,scrollbars=yes,left=300,top=150,left=150,resizable=yes");
window.showModalDialog(URL,self,"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:350px;dialogHeight:350px;dialogTop:"+loc_y+"px;dialogLeft:"+loc_x+"px");
}
</script>
</head>
<body class="bodycolor" topmargin="5" onsubmit="return CheckForm();" onload="Load_Do();">
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="Big"><img src="/images/notify_new.gif" width="22" height="18"><span class="big3"> 会议纪要</span>
</td>
</tr>
</table>
<br>
<?
$connection=OpenConnection();
$query = "SELECT * from MEETING where M_ID='$M_ID'";
$cursor= exequery($connection,$query);
if($ROW=mysql_fetch_array($cursor))
{
$M_NAME=$ROW["M_NAME"];
$SUMMARY=$ROW["SUMMARY"];
$READ_PEOPLE_ID=$ROW["READ_PEOPLE_ID"];
}
$TOK=strtok($READ_PEOPLE_ID,",");
while($TOK!="")
{
$query2 = "SELECT * from USER where USER_ID='$TOK'";
$cursor2= exequery($connection,$query2);
if($ROW=mysql_fetch_array($cursor2))
$USER_NAME2.=$ROW["USER_NAME"].",";
$TOK=strtok(",");
}
?>
<table border="0" width="90%" cellpadding="2" cellspacing="1" align="center" bgcolor="#000000" class="small">
<form enctype="multipart/form-data" action="summary_submit.php" method="post" name="form1" onsubmit="return CheckForm();">
<tr>
<td nowrap class="TableContent" width="80">会议名称:</td>
<td class="TableData" colspan="3">
<input type="text" name="M_NAME" size="40" maxlength="100" class="BigStatic" readonly value="<?=$M_NAME?>">
</td>
</tr>
<tr>
<td nowrap class="TableContent" width="80">指定读者:</td>
<td class="TableData" colspan="3">
<input type="hidden" name="COPY_TO_ID" value="<?=$READ_PEOPLE_ID?>">
<textarea name="COPY_TO_NAME" class="BigStatic" cols="50" rows="3" class="BigStatic" wrap="yes" readonly><?=$USER_NAME2?></textarea>
<input type="button" value="添 加" class="SmallButton" onClick="LoadWindow()" title="添加出席人员" name="button">
<input type="button" value="清 空" class="SmallButton" onClick="clear_user()" title="清空出席人员" name="button">
</td>
</td>
</tr>
<tr>
<td valign="top" nowrap class="TableContent" width="80">纪要内容:</td>
<td class="TableData" colspan="3">
<iframe name="EDIT_HTML" style="BACKGROUND-COLOR: buttonface" src="/module/rte" width="100%" height="360" type="text/x-scriptlet" VIEWASTEXT></iframe>
</td>
</tr>
<tr class="TableControl">
<td></td>
<td align="center">
<input type="hidden" name="SUMMARY" value="<?=$SUMMARY?>">
<input type="hidden" value="<?=$M_ID?>" name="M_ID">
<input type="submit" value="保存" class="BigButton" title="保存会议纪要<?=$SUMMARY?>">
<input type="button" class="BigButton" value="关闭" onclick="window.close()">
</td>
</tr>
</form>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -