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

📄 sms_send.php

📁 极限网络智能办公系统 - Office Automation 2008 官方100% 源码
💻 PHP
字号:
<?php
 

include_once( "inc/auth.php" );
include_once( "inc/utility_sms1.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\r\n<body class=\"bodycolor\" topmargin=\"5\">\r\n\r\n";
send_sms( "", $LOGIN_USER_ID, $TO_ID, 0, $CONTENT );
echo "\r\n<script>\r\n";
if ( $I_VER == "2" )
{
	$COUNT = 0;
	$query1 = "SELECT USER_NAME,DEPT_ID from USER where find_in_set(USER_ID,'".$TO_ID."')";
	$cursor1 = exequery( $connection, $query1 );
	while ( $ROW = mysql_fetch_array( $cursor1 ) )
	{
		++$COUNT;
		$TO_NAME .= $ROW['USER_NAME'].",";
		if ( $COUNT == 1 )
		{
			$DEPT_ID = $ROW['DEPT_ID'];
			$DEPT_NAME = dept_long_name( $DEPT_ID );
		}
	}
	if ( $COUNT == 1 )
	{
		$DEPT_NAME = "群发";
	}
	$SEND_TIME = date( "Y-m-d H:i:s", time( ) );
	$CONTENT = str_replace( "<", "&lt", $CONTENT );
	$CONTENT = str_replace( ">", "&gt", $CONTENT );
	$CONTENT = str_replace( "\r\n", "<br>", $CONTENT );
	$CONTENT = stripslashes( $CONTENT );
	$CONTENT = "<td nowrap>".$SEND_TIME."</td><td nowrap>{$DEPT_NAME}</td><td nowrap>{$TO_NAME}</td><td>{$CONTENT}</td>";
	echo "parent.opener.external.OA_SMS(\"";
	echo $CONTENT;
	echo "\",\"\",\"SEND\");\r\n";
}
echo "\r\nwindow.close();\r\n</script>\r\n</body>\r\n</html>\r\n";
?>

⌨️ 快捷键说明

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