MsgManage.aspx
上传用户:cha0314
上传日期:2014-03-02
资源大小:12522k
文件大小:5k
源码类别:

C#编程

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="MsgManage.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.SM.MsgManage" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title>消息中心</title>
  6. <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
  7. <meta content="C#" name="CODE_LANGUAGE">
  8. <meta content="JavaScript" name="vs_defaultClientScript">
  9. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10. <SCRIPT language="JavaScript">
  11. function LoadEvent()
  12. {
  13. if(document.MsgManage.btnNext!=null)
  14. {//查看状态
  15. CloseTimer();
  16. document.MsgManage.btnReply.focus();
  17. }
  18. else
  19. {//回复状态
  20. TimeShow.innerHTML = "";
  21. words.innerHTML = "";
  22. document.MsgManage.txtContent.focus();
  23. }
  24. }
  25. TimeStart=20;
  26. function CloseTimer()
  27. {
  28. if(TimeStart==0)
  29. window.close();
  30. TimeShow.innerHTML=TimeStart;
  31. TimeStart--;
  32. var timer=setTimeout("CloseTimer()",1000);
  33. }
  34. function Reply()
  35. {
  36. if(event.keyCode==10)
  37. {
  38. document.MsgManage.btnReply.click();
  39. }
  40. }
  41. </SCRIPT>
  42. <LINK href="../../Css/BasicLayout.css" type="text/css" rel="stylesheet">
  43. </HEAD>
  44. <body onload="LoadEvent()" MS_POSITIONING="GridLayout" topmargin=0 leftmargin=0>
  45. <form id="MsgManage" method="post" runat="server">
  46. <table cellSpacing="0" cellPadding="0" width="100%" height="100%" border="0" height=30>
  47. <tr>
  48. <td background="../../Images/treetopbg.jpg">
  49. <table class="GbText" cellSpacing="0" cellPadding="0" width="100%" border="0">
  50. <tr>
  51. <td align="center" width="30"><IMG height="16" src="../../Images/page.gif" width="16"></td>
  52. <td>&nbsp;
  53. <asp:Label id="lblInstruction" runat="server">最新消息</asp:Label><span id="TimeShow" style="FONT-WEIGHT: bold; COLOR: #ff0000">
  54. </span><span id="words">&nbsp;秒后关闭</span></td>
  55. </tr>
  56. </table>
  57. </td>
  58. </tr>
  59. <tr>
  60. <td>
  61. <TABLE id="dgMailList" style="BORDER-RIGHT: #93bee2 1px; BORDER-TOP: #93bee2 1px; BORDER-LEFT: #93bee2 1px; WIDTH: 100%; BORDER-BOTTOM: #93bee2 1px; BORDER-COLLAPSE: collapse; BACKGROUND-COLOR: white"
  62. borderColor="#93bee2" cellSpacing="0" cellPadding="3" rules="all" border="1">
  63. <TBODY>
  64. <TR style="FONT-SIZE: x-small; COLOR: black; BACKGROUND-COLOR: #e8f4ff" vAlign="middle"
  65. align="center">
  66. <TD align="center" bgColor="#93bee2" height="4"><FONT face="宋体"></FONT></TD>
  67. </TR>
  68. </TBODY>
  69. </TABLE>
  70. <TABLE id="tnb" style="BORDER-RIGHT: #93bee2 1px; BORDER-TOP: #93bee2 1px; BORDER-LEFT: #93bee2 1px; WIDTH: 100%; BORDER-BOTTOM: #93bee2 1px; BORDER-COLLAPSE: collapse; BACKGROUND-COLOR: white"
  71. borderColor="#93bee2" cellSpacing="0" cellPadding="3" rules="all" border="1">
  72. <TR style="FONT-SIZE: x-small; COLOR: black; BACKGROUND-COLOR: #e8f4ff" vAlign="middle"
  73. align="center">
  74. <TD style="FONT-SIZE: x-small; WIDTH: 50px" align="left" width="50"><FONT face="宋体"><asp:label id="lblSender" runat="server" Font-Size="X-Small">发送者</asp:label></FONT></TD>
  75. <TD style="FONT-SIZE: x-small" align="left"><FONT face="宋体">&nbsp; </FONT>
  76. <asp:textbox id="txtRealName" runat="server" Width="77px" CssClass="InputCss"></asp:textbox><asp:textbox id="txtMsgID" runat="server" Visible="False" Width="7px"></asp:textbox><asp:textbox id="txtSender" runat="server" Visible="False" Width="9px"></asp:textbox></TD>
  77. </TR>
  78. <TR style="FONT-SIZE: x-small; COLOR: black; BACKGROUND-COLOR: white" vAlign="middle"
  79. align="center">
  80. <TD style="FONT-SIZE: x-small; WIDTH: 50px" align="left"><FONT face="宋体">
  81. <asp:label id="lblContent" runat="server" Font-Size="X-Small">内  容</asp:label></FONT></TD>
  82. <TD style="FONT-SIZE: x-small" align="left"><FONT face="宋体">&nbsp; </FONT>
  83. <asp:textbox onkeypress="Reply()" id="txtContent" runat="server" Width="280px" Height="120px"
  84. TextMode="MultiLine" CssClass="InputCss"></asp:textbox><BR>
  85. <FONT face="宋体">&nbsp; </FONT>
  86. <asp:label id="lblShortCut" runat="server" Font-Size="X-Small"></asp:label></TD>
  87. </TR>
  88. <TR style="FONT-SIZE: x-small; COLOR: black; BACKGROUND-COLOR: white" vAlign="middle"
  89. align="center">
  90. <TD style="FONT-SIZE: x-small; WIDTH: 50px" align="left">
  91. <asp:button id="btnHistory" runat="server" Enabled="False" Text="历史记录" CssClass="greenButtonCss"></asp:button></TD>
  92. <TD align="left" style="FONT-SIZE: x-small">&nbsp;
  93. <asp:button id="btnReply" runat="server" Enabled="False" Text="回复" CssClass="redButtonCss"></asp:button>&nbsp;
  94. <asp:button id="btnNext" runat="server" Enabled="False" Text="下一条" CssClass="redButtonCss"></asp:button>&nbsp;
  95. <asp:button id="btnRead" runat="server" Text="我知道啦!" CssClass="redButtonCss"></asp:button></TD>
  96. </TR>
  97. </TABLE>
  98. </td>
  99. </tr>
  100. </table>
  101. </form>
  102. </body>
  103. </HTML>