<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mail.aspx.cs" Inherits="JuSNS.Web.home.mail.mail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title id="ptitle" runat="server">阅读邮件</title>
<link href="../../template/<% Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/css/base.css" id="skinpath" type="text/css" rel="stylesheet" />
<script language="javascript" type="text/javascript" src="../../js/ajax.js"></script>
<script language="javascript" type="text/javascript" src="../../js/public.js"></script>
<script type="text/javascript" src="../../js/build/yahoo/yahoo-min.js"></script>
<script type="text/javascript" src="../../js/build/dom/dom-min.js"></script>
<script type="text/javascript" src="../../js/build/event/event-min.js"></script>
<script type="text/javascript" src="../../js/build/autocomplete/autocomplete-min.js"></script>
</head>

<body  id="yahoo-com" class="yui-skin-sam">
 <!--头部-->
<%=this.GetHtmlShort()%> 
<div id="divhead">
    <%=this.GetHtmlHead()%>
</div>

<div id="divbody">
    <div id="body_first">
        <div class="body_menu"> 
        <%=this.GetHtmlLeft()%>
        </div>
    </div>
    <div id="body_sec">
            <div id="body_mid"> 
                <div class="body_frame"> 
                     <div class="body_frame_otherinfo">
	                        <div class="title">
                                <div class="l"><img src="../../template/<%Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/images/site/notice.gif" align="absmiddle" /> <span class="shenlan bold font14 ocolor">写私信</span></div>
                                <div class="r"><a href="javascript:window.history.back();" title="返回上一页">返回上一页</a></div>
                                <div class="c"></div>
                            </div>
            		       
                            <div class="nav-menu">
                                <ul>
                                 <li class="current"><a href="../mail">收件箱</a></li>
                                 <li><a href="../mail/out.aspx">发件箱</a></li>
                                 <li><a href="../mail/notice.aspx">通知</a></li>
                                 <li><a href="../mail/to.aspx">写私信</a></li>
                                 </ul>
                            </div>        
                     </div>
          
                     <div class="body_sec_all">
                        <div class="msg-succ" id="div_Suc" runat="server" style="display: none;"></div>
                        <div class="msg-error" id="div_Error" runat="server" style="display: none;"></div>
                        <div  id="H_Title" runat="server" class="bold"  style="margin-left:75px;"></div>
                        <div>
                            <asp:Repeater runat="server" ID="Rpt_Mailinfo">
                                <ItemTemplate>
                                            <div class="body-2m-left image nl center">
                                                <a href="../../user/<%# JuSNS.Common.Public.URLWrite("", "r", DataBinder.Eval(Container.DataItem, "Sender").ToString())%>"><img src="<%# GetHeadImage((int)DataBinder.Eval(Container.DataItem, "Sender"),1)%>" alt="<%# DataBinder.Eval(Container.DataItem, "UserName")%>" /></a>
                                            </div>
                                            
                                            <div class="body-2m-right nr">
                                                <div class="hdtitle s96">
                                                     <a href="../../user/<%# JuSNS.Common.Public.URLWrite("", "r", DataBinder.Eval(Container.DataItem, "Sender").ToString())%>"><%# DataBinder.Eval(Container.DataItem, "UserName")%></a> <span class="time"><%# getTime(DataBinder.Eval(Container.DataItem, "PostTime"))%></span>
                                                </div>
                                                <div class="content">
                                                    <div class="spline"></div>
                                                        <%# JuSNS.Common.Public.CheckSma(JuSNS.Common.Input.HtmlDecode(DataBinder.Eval(Container.DataItem, "Content").ToString()))%>
                                                    
                                                </div>
                                            </div>
                                            
                                        <div class="spline"></div>
                                </ItemTemplate>
                            </asp:Repeater>
                    </div>
                  <form id="form1" runat="server">
                    <span class="spline"></span>   
                    <div class="conent" style="margin-left:75px;">
                            <asp:TextBox ID="Txt_Content" runat="server" MaxLength="500" TextMode="MultiLine" CssClass="f-text s50" Height="100"></asp:TextBox>
                            <div class="pstr">
                                <a href="javascript:void(0);"  id="face" onclick="showface(this.id,'Txt_Content',0);"><img src="../../template/images/face/c.gif" title="选择表情"  align="absmiddle" /></a> 
                                <asp:Button ID="Button1" runat="server" Text="回复信件" CssClass="f-button" OnClick="Button1_Click" />
                                <input type="button" class="f-reset" value="返回收件箱" onclick="javascript:self.location='index.aspx'" />
                                <asp:HiddenField ID="Hid_LetterID" runat="server" />
                                <asp:HiddenField ID="Hid_Receiver" runat="server" />
                            </div>
                        
                    </div>
                    </form>
                    <span class="spline"></span>   
                    <div class="pagination" runat="server" id="DivPage"></div>
                    <span class="spline"></span>   
                     </div>
                     </div>
                     <div class="divbottom">
                      <%=this.GetHtmlFoot()%>
                    </div>                        
                     </div>
                     </div>
                     </div>
</body>
</html>
