📄 asms726.jsp
字号:
<html>
<head>
<title>ELOOK通讯录--沟通无限</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="/css.css" rel="stylesheet" type="text/css">
<%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="com.sxit.pim.shortmessage.*"%>
<%@ page import="java.sql.Date"%>
<%@ page import="java.util.*"%>
<%
/**
* <p>功能: 选择要发送短信的成员</p>
* <p>作者: sxit</p>
* <p>公司: 深训信科</p>
* <p>日期: 2005-08-07</p>
* @版本: 1.0
* @修改:
**/
%>
<%
int recCount=0;
SMSNiceList smsnicelist=new SMSNiceList();
Vector recList = new Vector();
if(request.getAttribute("smsnicelist")!=null){
smsnicelist=(SMSNiceList)request.getAttribute("smsnicelist");
}
recCount=smsnicelist.getRecCount();
recList=smsnicelist.getRecList();
%>
<script language="JavaScript">
<!--
//选择动作
function selAction(option){
switch(option){
case 1://选择分类
document.form1.save.value="save";
document.form1.submit();
break;
default:break;
}
}
//-->
<!--
//选择框操作
function returnsubmit()
{//单条增加
srcList = window.document.form1.srcList;
var len = srcList.length;
var mobilenolist="";
for(var i = 0; i < srcList.length; i++)
{
if ((srcList.options[i] != null) && (srcList.options[i].selected))
{
var ListText = srcList.options[i].text;
if(srcList.options[i].value==0)
ListText="";
if (mobilenolist=="") mobilenolist = ListText;
else mobilenolist = mobilenolist + "," + ListText;
}
}
window.document.form1.selectContent.value=mobilenolist;
}
// -->
</script>
</head>
<body topmargin="0" leftmargin="0">
<table width="100%" height="197" border=0 align=left cellpadding=1 cellspacing=1 class=pt9>
<tbody>
<form name="form1" method="post" >
<input type="hidden" name="selectContent" >
<tr align="center" bgcolor="#E9ECF0" class="p13">
<td height="100%" align=center>企业短语库 </td>
</tr>
<tr align="center" bgcolor="#FFFFFF">
<td height="100%" align="center">
<select name="srcList" size="10" multiple class=input1 >
<%
if(recList!=null && recList.size()!=0)
{
long listID =0;
String content = "";
for(int i=0;i<recList.size();i++)
{
SMSNice smsnice = (SMSNice)recList.get(i);
listID = smsnice .getListID();
content = smsnice .getContent();
%>
<option value="<%=listID%>"><%=content%></option>
<%
}
}else{
%>
<option value="0">您的企业没有存储短语,请到短信采编添加</option>
<%
}
%>
</select>
</td>
</tr>
<tr align="center" bgcolor="#FFFFFF">
<td height="100%" colspan="3" align=center>
<input class=button1 style="WIDTH: 45px; HEIGHT: 18px" type=button value=确定 name=delbtn onclick="returnsubmit();opener.document.form1.msgcontent.value = opener.document.form1.msgcontent.value + document.form1.selectContent.value;window.close();">
<input class=button1 style="WIDTH: 45px; HEIGHT: 18px" onclick="window.close();" type=button value=返回 name=delbtn2></td>
</tr>
</form></tbody>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -