📄 sendback.aspx
字号:
<%@ Page language="c#" Codebehind="sendBack.aspx.cs" AutoEventWireup="false" Inherits="HTMS.Web.SysManage.MessaeManage.sendBack" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>SendBack</title>
<meta content="Microsoft Visual Studio .NET 7.1" 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">
<LINK href="../../WebStyle/Style/admin.css" type="text/css" rel="stylesheet">
<script language="javascript" src="../../skin/js/DataValid.js" type="text/javascript"></script>
<script language="javascript" src="../../skin/js/Calendar2.js" type="text/javascript"></script>
<style type="text/css">.input { BORDER-TOP-STYLE:none;word-break:break-all; BORDER-BOTTOM: black 1px groove; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none }
</style>
<script language="javascript">
function DataValid()
{
var i=1;
var message="∵错误信息提示!\n";
var flag=true;
if(trim(document.getElementById("txtAnswerContent").value)=="")
{
window.alert(message+"请填写回复内容");
return false;
}
else
return true;
}
function trim(str)
{
return str.replace(/(^[\\s]*)|([\\s]*$)/g, "");
}
function AddFiles()
{
if(parseInt(document.Form1.myid.value)>=10)
{window.alert("最多添加10个!");return;}
var str="<br><input type='file' size=50 name=file/>";
document.getElementById('MyFile').insertAdjacentHTML("beforeEnd",str);
document.Form1.myid.value=parseInt(document.Form1.myid.value)+1;
}
</script>
</HEAD>
<body bottomMargin="0" leftMargin="0" topMargin="0" scroll="no" MS_POSITIONING="GridLayout">
<form id="Form1" method="post" encType="multipart/form-data" runat="server">
<div style="DISPLAY: block; VISIBILITY: visible; OVERFLOW: auto; HEIGHT: 550px">
<table cellSpacing="0" cellPadding="0" width="100%" border="1">
<tr bgColor="#eafce6">
<TD class="ReadOnlyInputField" vAlign="middle" align="left" colSpan="2" height="28"><IMG height="16" alt="" src="../../WebStyle/Images/closed.gif" width="19">
<FONT face="宋体" style="FONT-SIZE:16px"><STRONG>短消息回复页面</STRONG> </FONT>
</TD>
</tr>
</table>
<table style="WIDTH: 904px; HEIGHT: 211px" cellSpacing="3" cellPadding="3" width="904"
border="0">
<tr bgColor="#eafce6">
<td style="WIDTH: 103px; HEIGHT: 8px" align="right" height="8">发送者
</td>
<td style="HEIGHT: 8px" height="8"><font color="red" size="4">
<asp:label id="Label1" runat="server" ForeColor="Green" Width="70px"></asp:label>*</font>
<input id="SenderID" type="hidden" name="SenderID" runat="server">
</td>
</tr>
<TR bgColor="#f3f3f3">
<TD style="WIDTH: 103px; HEIGHT: 8px" align="right" height="8">接收者</TD>
<TD style="HEIGHT: 8px" height="8"><font color="red" size="4">
<asp:label id="receiverName" runat="server" ForeColor="Green" Width="70px"></asp:label>*</font><INPUT id="receiverID" type="hidden" name="receiverID" runat="server">
</TD>
</TR>
<tr bgColor="#eafce6">
<td style="WIDTH: 103px; HEIGHT: 2px" align="right" height="2">消息标题
</td>
<td style="HEIGHT: 2px" colSpan="3" height="2"><asp:textbox id="txtMsgTitle" style="BORDER-TOP-STYLE: none; BORDER-BOTTOM: #f3f3f3 1px; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none"
runat="server" Width="640px" ReadOnly="True"></asp:textbox><font color="red" size="4"> *</font>
</td>
</tr>
<tr bgColor="#f3f3f3">
<td style="WIDTH: 103px; HEIGHT: 50px" align="right" height="50">消息内容
</td>
<td style="HEIGHT: 50px" colSpan="3" height="50"><asp:textbox id="txtMsgContent" style="BORDER-TOP-STYLE:none;BORDER-BOTTOM: #eafce6 1px; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none;word-wrap:normal;word-break:break-all"
runat="server" Width="760px" TextMode="MultiLine" Rows="5" Columns="90" ReadOnly="True"></asp:textbox><font color="red" size="4"> *</font>
</td>
</tr>
<TR bgColor="#eafce6">
<TD style="WIDTH: 103px; HEIGHT: 50px" align="right" height="50">相关信息</TD>
<TD style="HEIGHT: 50px" colSpan="3" height="50">发送时间: <span style="WIDTH:34px">
<asp:label id="Label2" runat="server" ForeColor="Green" Width="296px"></asp:label></span>
附件:<span style="WIDTH:34px">
<asp:hyperlink id="HyperLink1" runat="server" Width="360px"></asp:hyperlink></span></TD>
</TR>
</table>
<div id="return" runat="server">
<table cellSpacing="3" cellPadding="3" width="923" border="0">
<tr>
<td style="WIDTH: 443px; HEIGHT: 16px" colSpan="2">
<div><IMG src="../../WebStyle/Images/child.gif"><FONT face="宋体" style="FONT-SIZE:16px"><strong>回复消息:</strong></FONT></div>
</td>
</tr>
<tr bgColor="#eafce6">
<td style="WIDTH: 103px" align="right" height="30">回复内容
</td>
<td colSpan="3" height="30"><asp:textbox style="word-wrap:normal;word-break:break-all" id="txtAnswerContent" runat="server" TextMode="MultiLine" Rows="3" Columns="60"></asp:textbox> <font color="red" size="4"> *</font>
</td>
</tr>
<TR bgColor="#f3f3f3">
<TD style="WIDTH: 103px" align="right" height="30">添加附件</TD>
<TD colSpan="3" height="30">附件标题:
<asp:textbox id="TextBox1" runat="server"></asp:textbox><INPUT onclick="AddFiles();" type="button" value="添 加">>>
<div id="MyFile"><INPUT type="file" size="50" name="File"></div>
</TD>
</TR>
<tr>
<td></td>
<td style="WIDTH: 331px"><FONT face="宋体"></FONT></td>
</tr>
</table>
</div>
<table style="WIDTH: 923px; HEIGHT: 24px" cellSpacing="3" cellPadding="3" width="923" border="0">
<tr bgColor="#eafce6">
<TD vAlign="middle" align="center"><input id="submit1" type="submit" value="提交内容" name="submit1" onclick="return DataValid();"
runat="server"> <input id="back" type="button" value="返 回" onclick="window.history.back();">
<input id="myid" value="1" type="hidden">
</TD>
</tr>
</table>
</div>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -