📄 add_user.php
字号:
<?
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.TO_ID.value=="")
{ alert("请添加参会人员!");
return (false);
}
if(document.form1.CONTENT.value=="")
{ alert("会议邀请短信内容不能为空!");
return (false);
}
return (true);
}
function clear_user()
{
document.form1.TO_NAME.value="";
document.form1.TO_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");
// window.open(URL,null,"height=400,width=550,status=1,toolbar=no,menubar=no,location=no,scrollbars=yes,top=150,left=100,resizable=yes");
}
</script>
</head>
<body class="bodycolor" topmargin="5" onload="document.form1.CONTENT.focus();">
<table border="0" width=500" align=center cellpadding="5" cellspacing="1" bgcolor="#000000" class="small">
<form action="add_user_submit.php" method="post" name="form1" onsubmit="return CheckForm();">
<tr>
<td class="TableHeader">
邀请更多参会人员
</td>
</tr>
<tr>
<td class="TableData">
<input type="hidden" name="TO_ID" value="<?=$TO_ID?>">
<textarea cols=50 name="TO_NAME" rows="3" class="BigStatic" wrap="yes" readonly><?=$TO_NAME?></textarea>
<input type="button" value="添 加" class="SmallButton" onClick="LoadWindow()" title="添加参会人员" name="button">
<input type="button" value="清 空" class="SmallButton" onClick="clear_user()" title="清空参会人员" name="button">
</td>
</tr>
<tr>
<td class="TableHeader">
会议邀请短信内容
</td>
</tr>
<tr>
<td class="TableData">
<textarea cols=70 name="CONTENT" rows="2" class="BigInput" wrap="on">请参加[<?=$LOGIN_USER_NAME?>]主持的视频会议,点击短信链接进入。</textarea>
</td>
</tr>
<tr align="center" class="TableControl">
<td colspan="2" nowrap>
<input type="hidden" value="<?=$SMS_ID?>" name="SMS_ID">
<input type="submit" value="发出邀请" class="BigButton">
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -