<%@ Page language="c#" Codebehind="Inbox.aspx.cs" AutoEventWireup="false" Inherits="WebOCRM.Message.Inbox" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Inbox</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta http-equiv="Refresh" content="800; url=">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body MS_POSITIONING="GridLayout" topmargin="1">
		<form id="Form1" method="post" runat="server">
			<uc1:css id="Css1" runat="server"></uc1:css>
			<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
				<TR CssClass="WsdnOrgTitle1">
					<TD style="WIDTH: 295px">
						&nbsp; <a href="addmsg.aspx?type=new" target="info">
							<asp:Image id="Image2" runat="server" ImageUrl="../image/pic/m_write.gif"></asp:Image></a></TD>
					<TD align="right">
						<asp:ImageButton id="Button1" runat="server" ImageUrl="../image/pic/m_inbox.gif" Width="40px" Height="40px"></asp:ImageButton>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;
						<asp:ImageButton id="Button2" runat="server" ImageUrl="../image/pic/m_outbox.gif" Width="40px" Height="40px"></asp:ImageButton>&nbsp;&nbsp;&nbsp;|&nbsp;
						<asp:ImageButton id="Button3" runat="server" ImageUrl="../image/pic/m_recycle.gif" Width="40px" Height="40px"></asp:ImageButton>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					</TD>
				<TR>
					<TD colSpan="2"><asp:datagrid id="DataGrid1" runat="server" AutoGenerateColumns="False" Width="100%" AllowPaging="True"
							PageSize="5">
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<Columns>
								<asp:TemplateColumn HeaderImageUrl="../image/upload.GIF" HeaderText="状态">
									<HeaderStyle Width="29px"></HeaderStyle>
									<HeaderTemplate>
										已读
									</HeaderTemplate>
									<ItemTemplate>
										<asp:Image id="Image1" runat="server" ImageUrl='<%# String.Format("../image/{0}.gif", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_IsChecked"))%>'>
										</asp:Image>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:HyperLinkColumn Target="info" DataNavigateUrlField="Wsdn_StarCRM_Id" DataNavigateUrlFormatString="Info.aspx?id={0}"
									DataTextField="Wsdn_StarCRM_Title" HeaderText="标题"></asp:HyperLinkColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_From" HeaderText="发送人"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_To" HeaderText="接收人"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Time" HeaderText="发出时间"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_ReadTime" HeaderText="查阅时间"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Type" HeaderText="消息类型"></asp:BoundColumn>
								<asp:HyperLinkColumn Text="删除" DataNavigateUrlField="Wsdn_StarCRM_Id" DataNavigateUrlFormatString="DelMsg.aspx?id={0}"
									HeaderText="删除"></asp:HyperLinkColumn>
							</Columns>
							<PagerStyle Mode="NumericPages"></PagerStyle>
						</asp:datagrid></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
