📄 submit.php
字号:
<?php
include_once( "inc/auth.php" );
include_once( "inc/utility_sms1.php" );
include_once( "inc/check_type.php" );
include_once( "inc/utility_all.php" );
echo "\r\n<html>\r\n<head>\r\n<title>增加参会人员</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n</head>\r\n<body class=\"bodycolor\" topmargin=\"5\">\r\n";
$BEGIN_TIME = date( "Y-m-d H:i:s", time( ) );
$query = "SELECT SUBJECT,TO_ID from NETMEETING where MEET_ID='".$MEET_ID."'";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
$SUBJECT = $ROW['SUBJECT'];
$OLD_TO_ID = $ROW['TO_ID'];
}
$NEW_ADD_ID = "";
$ARR_TO_ID = explode( ",", $TO_ID );
$I = 0;
for ( ; $I < sizeof( $ARR_TO_ID ); ++$I )
{
if ( !( $ARR_TO_ID[$I] != "" ) && strstr( $OLD_TO_ID, $ARR_TO_ID[$I] ) )
{
$NEW_ADD_ID .= $ARR_TO_ID[$I].",";
}
}
$NEW_TO_ID = $OLD_TO_ID.$NEW_ADD_ID;
$query = "update NETMEETING set TO_ID='".$NEW_TO_ID."' where MEET_ID='{$MEET_ID}'";
exequery( $connection, $query );
$SMS_CONTENT = "请出席网络会议!\n议题:".csubstr( $SUBJECT, 0, 100 );
if ( $NEW_ADD_ID != "" )
{
if ( $SMS_REMIND == "on" )
{
send_sms( $BEGIN_TIME, $LOGIN_USER_ID, $NEW_ADD_ID, 3, $SMS_CONTENT, $REMIND_URL );
}
if ( $SMS2_REMIND == "on" )
{
send_mobile_sms_user( $BEGIN_TIME, $LOGIN_USER_ID, $NEW_ADD_ID, $SMS_CONTENT, 3 );
}
}
header( "location: index.php" );
echo "</body>\r\n</html>\r\n";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -