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

📄 stop.php

📁 通达OA官方提供的30源代码,感觉很实在
💻 PHP
字号:
<?
include_once("inc/auth.php");
?>

<html>
<head>
<title>停止会议</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>

<body class="bodycolor" topmargin="8">

<?
 $query = "SELECT * from NETMEETING where FROM_ID='$LOGIN_USER_ID' and MEET_ID='$MEET_ID'";
 $cursor= exequery($connection,$query);
 if(!$ROW=mysql_fetch_array($cursor))
 {
 	  message("提示","非法操作");
 	 	exit;
 	}   

 $MSG_FILE="msg/".$MEET_ID.".msg";
 $STOP_FILE="msg/".$MEET_ID.".stp";

 $fp = fopen($MSG_FILE,"a+");
 fputs($fp,"\n[系统消息] - 会议召集人已经结束会议  ");
 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);
?>

<center>
  <input type="button" value="离开会场" class="SmallButton" onclick="parent.location='../'">
</center>

<script>
   parent.chat_view.location.reload();
</script>

</body>
</html>

⌨️ 快捷键说明

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