<%@ page title="" language="VB" masterpagefile="MasterPage.master" autoeventwireup="false" inherits="user_user_email, App_Web_user_email.aspx.6cc23264" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<!--#include file="../web_js/tanboxf4.inc"-->
<script language="javascript" type="text/javascript">
    function CheckAll(form) //传一个表单作参数
    {
        for (var i = 0; i < form.elements.length; i++) //对这个表单里的元素进行循环
        {
            var e = form.elements[i]; //一个一个元素判断
            if (e.Name != "emails_int_id" && e.disabled != true) //如果该元素的name属性为chkAll并且disabled!=true.即:该控件可用时.
                e.checked = form.chkAll.checked; //控元素的checked与当前选中的控件checked保持一致.即:全选/全不选.
        }
    }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="744" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="100%" height="60"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td bgcolor="#CCCCCC"><table width="100%" border="0" cellpadding="0" cellspacing="1">
          <tr>
            <td height="27" bgcolor="#F5F5F5" class="wuse12"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="7%" align="center"><img src="user_image/use_shu2.JPG" width="21" height="25" /></td>
                <td width="93%" class="string_12"><%=ubb.query_string("email")%></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="30" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              
              <tr>
                <td bgcolor="#FFFFFF" class="wuse12"><table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7" class="string_12_999999">
                    <tr>
                      <td width="30" align="center" background="user_image/listbg.gif" bgcolor="#FFFFFF" class="wuse12"><img src="user_image/gli.gif" width="22" height="6" /></td>
                      <td height="22" align="center" background="user_image/listbg.gif" bgcolor="#FFFFFF" class="wuse12"><span class="huise12">标题</span></td>
                      <td width="150" align="center" background="user_image/listbg.gif" bgcolor="#FFFFFF" class="huise12">
                      <%if ubb.query_string("email")="发件箱" then%>
                      收件人名称
                      <%else%>
                      发件人名称
                      <%end if %>
                      </td>
                      <td width="100" align="center" background="user_image/listbg.gif" bgcolor="#FFFFFF" class="wuse12"><span class="huise12">创建时间</span></td>
                     
                    </tr>
                  </table>
                    <asp:Repeater ID="data_email_data" runat="server">
                      <ItemTemplate>
                        <table width="100%" border="0" cellpadding="0" cellspacing="3" class="string_12">
                          <tr>
                            <td width="30"><input name="emails_int_id" type="checkbox" id="emails_int_id" value="<%#Eval("email_id")%>" /></td>
                            <td class="wuse12">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="5%"><img src="user_image/<%#((Eval("email_verify")="未读").tostring.Replace("True", "img-4.gif")).Replace("False","img-5.gif")%>" width="16" height="14" /></td>
                                  <td width="95%" class="string_12">
                                  <a href="javascript:ShowHtmlString(740,500,'user_email_text.aspx?id=<%#Eval("email_id")%>','《<%#Eval("email_bt")%>》');"><%#Eval("email_bt")%></a>
                                  </td>
                                </tr>
                              </table></td>
                            <td width="150" align="center" class="string_12_999999">
                      <%if ubb.query_string("email")="发件箱" then%>
                      <%#Eval("email_your_name")%>
                      <%else%>
                      <%#Eval("email_my_name")%>
                      <%end if %></td>
                            <td width="100" align="center" class="wuse12"><span class="string_12_999999"><%#Eval("email_shijian")%></span></td>
                            
                          </tr>
                          <tr>
                            <td colspan="5" bgcolor="#CCCCCC"><img src="user_image/gli.gif" width="22" height="1"></td>
                          </tr>
                        </table>
                      </ItemTemplate>
                      <AlternatingItemTemplate>
                        <table width="100%" border="0" cellpadding="0" cellspacing="3" bgcolor="#F7F7F7" class="string_12">
                          <tr>
                            <td width="30"><input name="emails_int_id" type="checkbox" id="emails_int_id" value="<%#Eval("email_id")%>" /></td>
                            <td class="wuse12"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="5%"><img src="user_image/<%#((Eval("email_verify")="未读").tostring.Replace("True", "img-4.gif")).Replace("False","img-5.gif")%>" width="16" height="14" /></td>
                                <td width="95%"><a href="javascript:ShowHtmlString(740,500,'user_email_text.aspx?id=<%#Eval("email_id")%>','《<%#Eval("email_bt")%>》');"><%#Eval("email_bt")%></a></td>
                              </tr>
                            </table></td>
                            <td width="150" align="center" class="string_12_999999">
                      <%if ubb.query_string("email")="发件箱" then%>
                      <%#Eval("email_your_name")%>
                      <%else%>
                      <%#Eval("email_my_name")%>
                      <%end if %></td>
                            <td width="100" align="center" class="wuse12"><span class="string_12_999999"><%#Eval("email_shijian")%></span></td>
                          </tr>
                          <tr>
                            <td colspan="5" bgcolor="#CCCCCC"><img src="user_image/gli.gif" width="22" height="1"></td>
                          </tr>
                        </table>
                      </AlternatingItemTemplate>
                    </asp:Repeater>                </td>
              </tr>
              <tr>
                <td class="wuse12"><table width="100%" border="0" cellpadding="0" cellspacing="3" class="wuse12">
                    <tr>
                      <td class="string_12"><input name="chkAll" type="checkbox" id="chkAll" onClick="CheckAll(this.form)" value="checkbox" style="border:0" />
                        全选/反选
                        <asp:Button CssClass="btn1_mouseout" ID="email_quantity_delete" runat="server" 
                                      Text="批量删除"/></td>
                    </tr>
                  </table>
                    </td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<asp:Label CssClass="string_12" ID="web_page" runat="server"></asp:Label>
</asp:Content>

