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

📄 index.php

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

<html>
<head>
<title>网络会议</title>
</head>

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

 $query = "SELECT * from USER where USER_ID='$LOGIN_USER_ID'";
 $cursor= exequery($connection,$query);
 if($ROW=mysql_fetch_array($cursor))
    $USER_NAME=$ROW["USER_NAME"];


 $STOP_FILE="msg/".$MEET_ID.".stp";
 $MSG_FILE="msg/".$MEET_ID.".msg";
 if(!file_exists($STOP_FILE))
 {
   if($fp = fopen($MSG_FILE,  "a+"))
   {
      fputs($fp,"\n[系统消息] - ".$USER_NAME."进入会议室  ");
      fclose($fp);
   }
 }
?>

<frameset rows="*" cols="*,120" FRAMEBORDER="no" FRAMESPACING="1">
  <frameset rows="30,0,*,60" cols="*" FRAMEBORDER="yes">
    <frame src="title.php?MEET_ID=<?=$MEET_ID?>&SUBJECT=<?=$SUBJECT?>" name="chat_title" scrolling="no" FRAMEBORDER="no">
    <frame src="view.php?MEET_ID=<?=$MEET_ID?>&FIRST_VIEW=1" name="chat_view" scrolling="yes">
    <frame src="view_area.php" name="chat_view_area" scrolling="auto">
    <frame name="chat_input" src="input.php?MEET_ID=<?=$MEET_ID?>&USER_NAME=<?=$USER_NAME?>" scrolling="no" FRAMEBORDER="no">
  </frameset>

  <frameset rows="*,60" cols="*">
    <frame src="user.php?MEET_ID=<?=$MEET_ID?>&USER_NAME=<?=$USER_NAME?>" name="chat_user" scrolling="auto" FRAMEBORDER="no">
    <frame src="control.php?MEET_ID=<?=$MEET_ID?>" name="chat_control" FRAMEBORDER="no">
  </frameset>

</frameset>

<noframes>
<body bgcolor="#cccccc">
</body></noframes>
</html>

⌨️ 快捷键说明

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