Display.aspx
资源名称:OAJP.rar [点击查看]
上传用户:jdb8708888
上传日期:2013-05-29
资源大小:19971k
文件大小:9k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
C#
- <%@ Import Namespace="UDS.Components"%>
- <%@ Import Namespace="System"%>
- <%@ Import Namespace="System.Data"%>
- <%@ Page language="c#" Codebehind="Display.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.UnitiveDocument.BBS.Display" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <title>
- <%=title%>
- </title>
- <META http-equiv="Content-Type" content="text/html; charset=gb2312">
- <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">
- <LINK href="../../../Css/BasicLayout.css" type="text/css" rel="stylesheet">
- <script language="javascript">
- <!--
- function addcontent(str1,str2)
- {
- Display.Content.focus();
- if ((document.selection)&&(document.selection.type== "Text"))
- {
- var range= document.selection.createRange();
- var ch_text=range.text;
- range.text= str1 + ch_text + str2;
- }
- else
- {
- document.Display.Content.value=document.Display.Content.value+str1+str2;
- Display.Content.focus();
- }
- }
- //-->
- </script>
- <script language="C#" runat="server">
- private bool GetReplayOpt(string author)
- {
- if((string.Compare(username.Trim(),author.Trim(),true)==0)||(isboardmaster))
- {
- return(true);
- }
- else
- return(false);
- }
- </script>
- </HEAD>
- <body>
- <form id="Display" method="post" runat="server" encType="multipart/form-data">
- <div align="center">
- <center>
- <table id="AutoNumber1" style="BORDER-COLLAPSE: collapse" height="224" cellSpacing="0"
- cellPadding="0" width="96%" border="1">
- <tr bgcolor="#93bee2">
- <td class="Gbtext" align="center" colSpan="2" height="26"><asp:label id="lblTitle" runat="server" Font-Bold="True" Font-Names="宋体" Font-Size="Medium"></asp:label><asp:CheckBox ID="cbx_sysBulletin" Text="系统公告" Visible="False" AutoPostBack="True" Runat="server"></asp:CheckBox><asp:CheckBox ID="cbx_DeskTop" Text="桌面显示" Visible="False" AutoPostBack="True" Runat="server"></asp:CheckBox><asp:CheckBox ID="cbx_boardBulletin" Text="板块公告" Visible="False" AutoPostBack="True" Runat="server"></asp:CheckBox></td>
- </tr>
- <tr>
- <td class="Gbtext" align="left" bgColor="#e8f4ff" height="26" valign="top">
- <B>发送日期</B>:<br>
- <asp:literal id="sendtime" runat="server"></asp:literal><br>
- <B>浏览次数</B>:
- <asp:literal id="browsetime" runat="server"></asp:literal><br>
- <B>回复次数</B>:
- <asp:literal id="replaytimes" runat="server"></asp:literal><br>
- <B>作者</B>:<br>
- <asp:literal id="sendman" runat="server"></asp:literal><br>
- </td>
- <td class="Gbtext" id="itemcontent" vAlign="top" align="left" bgColor="#e8f4ff" height="26"
- runat="server">
- </td>
- <asp:repeater id="replaylist" Runat="server">
- <ItemTemplate>
- <tr>
- <td height="26" align="left" class="Gbtext" bgcolor='#e8f4ff' valign=top>
- <B>发送日期</B>:<br>
- <asp:Literal id="replaytime" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"replay_time")%>'>
- </asp:Literal><br>
- <B>回复人</B>:<br>
- <asp:Literal id="replayer" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"replayer")%>'>
- </asp:Literal><br>
- </td>
- <td height="26" align="left" class="Gbtext" bgcolor='#e8f4ff' id="replaycontent" vAlign="top" runat="server">
- <asp:Panel ID = "pnlReplayOp" Visible=<%# GetReplayOpt(DataBinder.Eval(Container.DataItem,"replayer").ToString())%> Runat=server>
- <b>操