sms_send.php

来自「极限网络智能办公系统 Office Automation V3.0官方100%源」· PHP 代码 · 共 49 行

PHP
49
字号
<?
include_once("inc/auth.php");
include_once("inc/utility_sms1.php");
include_once("inc/utility_all.php");
?>

<html>
<head>
<title>发送短信</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>

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

<?
//------------------- 发送 -----------------------
send_sms("",$LOGIN_USER_ID,$TO_ID,0,$CONTENT);
?>

<script>
<?
if($I_VER=="2")
{
   $query1 = "SELECT * from USER where USER_ID='$TO_ID'";
   $cursor1= exequery($connection,$query1);
   if($ROW=mysql_fetch_array($cursor1))
   {
      $TO_NAME=$ROW["USER_NAME"];
      $DEPT_ID=$ROW["DEPT_ID"];
      $DEPT_NAME=dept_long_name($DEPT_ID);
   }
   
   $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>";
?>
parent.opener.external.OA_SMS("<?=$CONTENT?>","","SEND");
<?
}
?>

window.close();
</script>
</body>
</html>

⌨️ 快捷键说明

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