📄 send_sms_submit.php
字号:
<?
include_once 'inc/auth.php';
include_once 'inc/utility_sms1.php';
include_once 'inc/utility_all.php';
echo '
<html>
<head>
<title>内部短信通知</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body class="bodycolor" topmargin="5">
';
$query = (((''.'select DISK_TYPE,USER_ID,DEPT_ID from NETDISK where DISK_ID=\'').$DISK_ID).'\'');
$cursor = exequery ($connection, $query);
if ($ROW = mysql_fetch_array ($cursor))
{
$DISK_TYPE = $ROW['DISK_TYPE'];
$USER_ID = $ROW['USER_ID'];
$DEPT_ID = $ROW['DEPT_ID'];
}
if (($DISK_TYPE == 1))
{
$query = 'select USER_ID from USER where NOT_LOGIN!=\'1\'';
$cursor = exequery ($connection, $query);
while ($ROW = mysql_fetch_array ($cursor))
{
($USER_ID_STR .= ($ROW['USER_ID'].','));
}
}
if (($DISK_TYPE == 2))
{
$query = (((''.'select USER_ID from USER where DEPT_ID=\'').$DEPT_ID).'\'');
$cursor = exequery ($connection, $query);
while ($ROW = mysql_fetch_array ($cursor))
{
($USER_ID_STR .= ($ROW['USER_ID'].','));
}
}
if (($DISK_TYPE == 3))
{
$USER_ID_STR = $USER_ID;
}
$SMS_CONTENT = (((('文件“'.$FICHIER).'”被修改,请查看。路径:').$NETDISK_PATH_STR).'。');
if (($CONTENT != ''))
{
($SMS_CONTENT .= ('修改说明:'.$CONTENT));
}
$REMIND_URL = (((''.'netdisk/netdisk.php?DISK_ID=').$DISK_ID).'&ordre=mod&sens=1');
send_sms ('', $LOGIN_USER_ID, $USER_ID_STR, 17, $SMS_CONTENT, $REMIND_URL);
message ('提示', '短消息发送成功');
echo '<br>
<center>
<input type="button" class="BigButton" value="关闭" onClick="window.close();" title="关闭窗口">
</center>
</body>
</html>';
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -