sms_back.php
来自「极限网络智能办公系统 Office Automation V3.0官方100%源」· PHP 代码 · 共 66 行
PHP
66 行
<?
include_once("inc/auth.php");
?>
<html>
<head>
<title>发送短信</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script Language="JavaScript">
function CheckForm()
{
if(document.form1.CONTENT.value=="")
{ alert("短信内容不能为空!");
return (false);
}
return (true);
}
function CheckSend()
{
if(event.keyCode==10)
{
if(CheckForm())
{
document.form1.submit();
}
}
}
</script>
</head>
<body class="bodycolor" topmargin="5" onload="document.form1.CONTENT.focus();">
<table border="0" width="300" cellpadding="3" cellspacing="1" align="center" bgcolor="#000000" class="small">
<form action="sms_send.php" method="post" name="form1" onsubmit="return CheckForm();">
<tr>
<td nowrap class="TableData">收信人:</td>
<td class="TableData">
<input type="hidden" name="TO_ID" value="<?=$TO_ID?>">
<input type="text" name="TO_NAME" class="BigStatic" readonly value="<?=$TO_NAME?>">
</td>
</tr>
<tr>
<td nowrap class="TableData" valign="top"> 短信内容:</td>
<td class="TableData">
<textarea cols="30" name="CONTENT" rows="3" class="BigInput" wrap="on" onkeypress="CheckSend()"></textarea>
按Ctrl+回车键 发送消息
</td>
</tr>
<tr align="center" class="TableControl">
<td colspan="2" nowrap>
<input type="hidden" name="I_VER" value="<?=$I_VER?>">
<input type="submit" value="发送" class="BigButton">
<input type="button" value="清空" class="BigButton" onclick="document.form1.CONTENT.value='';">
<input type="button" value="关闭" class="BigButton" onClick="parent.close();">
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?