MsgSend.aspx
资源名称:OAJP.rar [点击查看]
上传用户:jdb8708888
上传日期:2013-05-29
资源大小:19971k
文件大小:5k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
C#
- <%@ Page language="c#" Codebehind="MsgSend.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.SM.MsgSend" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <title>MsgSend</title>
- <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
- <meta content="C#" name="CODE_LANGUAGE">
- <meta content="JavaScript" name="vs_defaultClientScript">
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <script language="javascript">
- function dialwinprocess()
- {
- var newdialoguewin = window.showModalDialog("SelectReceiver.aspx",window,"dialogWidth:600px;DialogHeight=490px;status:no");
- if(newdialoguewin!=null){
- if(newdialoguewin.length>5)
- {
- ReceiverTypeArray = newdialoguewin.split("|");
- SendToArray = ReceiverTypeArray[0].split("-");
- MobileSendToArray = ReceiverTypeArray[1].split("-");
- try{
- this.document.MsgSend.txtSendTo.value = SendToArray[0];
- this.document.MsgSend.txtMobileSendTo.value = MobileSendToArray[0];
- }
- catch(e){}
- }
- }
- }
- function SendMsg()
- {
- if(event.keyCode==10)
- {
- document.MsgSend.btnSend.click();
- }
- }
- </script>
- <LINK href="../../Css/BasicLayout.css" type="text/css" rel="stylesheet">
- </HEAD>
- <body MS_POSITIONING="GridLayout" leftmargin="0" topmargin="0" onload="javascript:document.all.MsgSend.txtContent.focus()">
- <form id="MsgSend" method="post" runat="server">
- <TABLE borderColor="#111111" cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TR height="30">
- <TD class="GbText" width="20" background="../../Images/treetopbg.jpg" bgColor="#c0d9e6"
- align="right"><FONT color="#003366" size="3"><IMG height="16" src="../../dataImages/message2.GIF" width="16"></FONT></TD>
- <TD class="GbText" background="../../Images/treetopbg.jpg" bgColor="#e8f4ff" width="60"
- align="right">短讯管理</TD>
- <TD class="GbText" background="../../Images/treetopbg.jpg" bgColor="#e8f4ff" align="left"><FONT face="宋体">-发送短信</FONT> </TD>
- </TR>
- </TABLE>
- <TABLE borderColor="#93bee2" cellSpacing="0" cellPadding="0" width="100%" border="1" style="BORDER-COLLAPSE: collapse"
- class="GbText">
- <TR height="30">
- <TD align="right" width="150"><asp:label id="lblLReceiver" runat="server" Width="93px">站内短讯接收人</asp:label><FONT face="宋体">:</FONT></TD>
- <TD><FONT face="宋体"> </FONT><INPUT
- class=InputCss
- readOnly type=text size=50 value="<%=SendToRealName%>" name=txtSendTo><A onclick="dialwinprocess()" href="#"><img src="../../DataImages/staff.gif" border="0"><FONT face="宋体">选择人员</FONT></A></TD>
- </TR>
- <TR height="30">
- <TD align="right"><asp:label id="lblMReceiver" runat="server">站内用户手机短讯</asp:label><FONT face="宋体">:</FONT></TD>
- <TD><FONT face="宋体"> </FONT><INPUT class=InputCss
- readOnly type=text size=50 value="<%=MobileSendToRN%>" name=txtMobileSendTo style="HEIGHT: 19px"><A onclick="dialwinprocess()" href="#"><img src="../../DataImages/staff.gif" border="0"><FONT face="宋体">选择人员</FONT></A></TD>
- </TR>
- <TR height="30">
- <TD align="right">
- <asp:label id="lblAdditionalNo" runat="server">附加手机号码</asp:label><FONT face="宋体">:</FONT></TD>
- <TD><FONT face="宋体"> </FONT><INPUT class=InputCss
- onkeypress="var k=event.keyCode; if ((k==44) || (k<=57 && k>=48) ) return true; else return false"
- onpaste="return false"
- type=text size=62 value="<%=AdditionalNo%>" name=txtAdditionalNo style="HEIGHT: 19px"><asp:label id="lblRemind" runat="server" Font-Size="X-Small">(多个手机号码请用逗号隔开)</asp:label></TD>
- </TR>
- <TR height="30">
- <TD align="right" vAlign="top">
- <asp:label id="lblContent" runat="server">发送内容</asp:label><FONT face="宋体">:</FONT></TD>
- <TD><FONT face="宋体"> </FONT>
- <asp:textbox onkeypress="SendMsg()" id="txtContent" runat="server" Width="400px" Height="200px"
- TextMode="MultiLine"></asp:textbox></TD>
- </TR>
- <TR height="30">
- <TD align="right"> </TD>
- <TD><FONT face="宋体"> </FONT><asp:button id="btnSend" runat="server" Width="100px" Text="发 送" CssClass="buttoncss"></asp:button><FONT face="宋体">
- </FONT>
- <asp:button id="btnReturn" runat="server" Width="100px" Text="返 回" CssClass="buttoncss"></asp:button>
- <asp:label id="lblShortCut" runat="server" Font-Size="Small">按Ctrl+回车键 发送消息 </asp:label></TD>
- </TR>
- </TABLE>
- <input type=hidden value="<%=SendTo%>" name=hdnTxtSendTo><input type=hidden value="<%=MobileSendTo%>"
- name=hdnTxtMobileSendTo> </form>
- </body>
- </HTML>