📄 sms_send.php
字号:
<?
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("<","<",$CONTENT);
$CONTENT=str_replace(">",">",$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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -