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

📄 summary.php

📁 通达OA2007SE源代码 非常好的
💻 PHP
字号:
<?
  include_once 'inc/auth.php';
  include_once 'inc/utility_all.php';
  echo '
<html>
<head>
<title>会议纪要</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
';
  echo '<s';
  echo 'cript 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="";
  documen';
  echo 't.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.show';
  echo 'ModalDialog(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_n';
  echo 'ew.gif" width="22" height="18">';
  echo '<s';
  echo 'pan class="big3"> 会议纪要</span>
    </td>
  </tr>
</table>
<br>
';
  $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'];
    $SUMMARY = htmlspecialchars ($SUMMARY);
  }
  $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 (',');
  }
  echo '
<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"';
  echo ' class="BigStatic" readonly value="';
  echo $M_NAME;
  echo '">
   </td>
</tr>
<tr>
   <td nowrap class="TableContent" width="80">指定读者:</td>
   <td class="TableData" colspan="3">
   	<input type="hidden" name="COPY_TO_ID" value="';
  echo $READ_PEOPLE_ID;
  echo '">
     <textarea name="COPY_TO_NAME" class="BigStatic" cols="50" rows="3" class="BigStatic" wrap="yes" readonly>';
  echo $USER_NAME2;
  echo '</textarea>
     &nbsp;<input type="button" value="添 加" class="SmallButton" onClick="LoadWindow()" title="添加出席人员" name="button">
     &nbsp;<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"';
  echo '>
   <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="';
  echo $SUMMARY;
  echo '">
	<input type="hidden" value="';
  echo $M_ID;
  echo '" name="M_ID">
  <input type="submit" value="保存" class="BigButton" title="保存会议纪要';
  echo $SUMMARY;
  echo '">&nbsp;&nbsp;&nbsp;&nbsp;
  <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 + -