📄 sms_back.php
字号:
<?
include_once 'inc/auth.php';
echo '
<html>
<head>
<title>发送短信</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
';
echo '<s';
echo 'cript 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();
}
}
}
function clear_user()
{
document.form1.TO_NAME.value="";
document.form1.T';
echo 'O_ID.value="";
}
function LoadWindow()
{
URL="/module/user_select";
loc_x=document.body.scrollLeft+event.clientX-event.offsetX-100;
loc_y=document.body.scrollTop+event.clientY-event.offsetY+170;
window.showModalDialog(URL,self,"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:400px;dialogHeight:350px;dialogTop:"+loc_y+"px;dialogLeft:"+loc_x+"px");
}
</script>
</head';
echo '>
<body class="bodycolor" topmargin="1" onload="document.form1.CONTENT.focus();">
<table border="0" width="330" 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" nowrap>
<input type=';
echo '"hidden" name="TO_ID" value="';
echo $TO_ID;
echo ',">
<textarea cols="26" name="TO_NAME" rows="2" class="BigStatic" wrap="on" onkeypress="CheckSend()">';
echo $TO_NAME;
echo ',</textarea>
<input type="button" value="添加" class="SmallButton" onClick="LoadWindow()" title="添加收件人" name="button">
</td>
</tr>
<tr>
<td class="TableData" valign="top"> 短信内容:<br><br>';
echo '<s';
echo 'pan style="font-size:8pt;">按Ctrl+回车<br>发送消息</span></td>
<td class="TableData">
<textarea cols="30" name="CONTENT" rows="4" class="BigInput" wrap="on" onkeypress="CheckSend()"></textarea>
</td>
</tr>
<tr align="center" class="TableControl">
<td colspan="2" nowrap>
<input type="hidden" name="I_VER" value="';
echo $I_VER;
echo '">
<input type="submit" value="发送" class="BigButton">
<input type="reset" value="清空" class="BigButton">
<input type="button" value="关闭" class="BigButton" onClick="parent.close();">
</td>
</tr>
</table>
</form>
</body>
</html>';
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -