stop.php

来自「通达OA2007SE源代码 非常好的」· PHP 代码 · 共 35 行

PHP
35
字号
<?
  include_once 'inc/auth.php';
  echo '
<html>
<head>
<title>停止会议</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body class="bodycolor" topmargin="8">
';
  $MSG_FILE = (('msg/'.$MEET_ID).'.msg');
  $STOP_FILE = (('msg/'.$MEET_ID).'.stp');
  $fp = fopen ($MSG_FILE, 'a+');
  fputs ($fp, '
[系统消息] - 会议召集人已经结束会议  ');
  flock ($fp, 2);
  fclose ($fp);
  $fp = fopen ($STOP_FILE, 'w');
  fclose ($fp);
  $query = ((''.'update NETMEETING set STOP=\'1\' where MEET_ID=').$MEET_ID);
  exequery ($connection, $query);
  echo '
<center>
  <input type="button" value="离开会场" class="SmallButton" onclick="parent.location=\'../\'">
</center>
';
  echo '<s';
  echo 'cript>
parent.chat_view.location.reload();
</script>
</body>
</html>
';
?>

⌨️ 快捷键说明

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