<!--#include virtual="/incs/config.asp" -->
<!--#include virtual="/incs/top.asp" -->
<SCRIPT language=JavaScript type=text/javascript>

function ifok()
{
if (confirm("请再次确认是否更换域名！"))
document.mail_modi.submit();
}
function chk_edt()
{
if(confirm("请确认是否更改!"))
return true;
else
return false;
}
function chk_del()
{
if(confirm("如果确认，将删除该邮局组，但不会删除邮局组成员!"))
return true;
else
return false;
}
  </SCRIPT>
<%
chk_log()
chk_newpwr 1,1,1
conn.open constr
	mnme=SafeRequest("mnme")
	If mnme="" Then
	call errorpage(-2,"对不起，参数错误！")
	End If
if session("sysclass")>=5 then
query="select * from v_emllst   where m_dme ='"&mnme&"'"
elseif session("sysclass")>=4 then
query="select * from v_emllst  where m_dme ='"&mnme&"'  and  ((("&session("sysarestr")&" or u_myare=0) and u_rotnme='') or u_rotnme='"&session("usrname")&"')"
else
query="select * from v_emllst   where m_dme ='"&mnme&"' m_unme='"&session("usrname")&"'"
end if
	rs.open query,conn,1,1
    if rs.recordcount<>1 then
	rs.close
	conn.close
	call errorpage(-2,"对不起，该邮局不存在或者您无权操作！")
	response.end
	end if
	mailname=trim(rs("m_dme"))
	m_regtpe=cint(rs("m_regtpe"))
	m_svrip=trim(rs("m_svrip"))
		g_sst=rs("m_sst")
u_nme=trim(rs("m_unme"))
proid=trim(rs("m_prd"))
rs.close
%>
<%
			    

		%>

      <script language=javascript>
		function expl()
		{
		if (identity.style.display=="none")
		identity.style.display="block";
		else
		identity.style.display="none";
		}
		
		function b_regstt_chg()
		{
		if(confirm("是否确认更改邮箱状态?"))
		return true;
		else
		return false;
		
		}
		</script>
<table cellspacing=2 cellpadding=0 width="100%" border=0>
              <tbody> 
              <tr> 
                
    <td  colspan=2 valign="middle"> 
      <table class=line cellspacing=0 cellpadding=0 width="100%" 
                  border=0 align="center">
        <tbody> 
        <tr> 
          <td valign=bottom width="25%" height=20><font color="#000000" class=ddropshadow><b><span class=enbold><strong>邮局<font color="#000000">列表</font></strong></span></b><span class=enbold><font color="#000000"><a class=commonface  href="index.asp"><font color="#FF0000">（查询）</font></a></font></span></font></td>
          <td valign=bottom noWrap align=right 
                        width="75%"><a href="eml_lst.asp?querytype=8" class=commonface >今天新开通</a> 
            | <a href="eml_lst.asp?querytype=9" class=commonface >本周新开通</a> | 
            <a href="eml_lst.asp?querytype=10" class=commonface >本周到期</a> | <a href="eml_lst.asp?querytype=11" class=commonface >本月到期</a></td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=5></td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=2 class=menuline></td>
        </tr>
        </tbody> 
      </table>
      <br>
                </td>
              </tr>
              <tr> 
                <td  colspan=2 valign="middle" height="28"> 
                  
      <table   bordercolor="#5785B2" cellpadding="0" cellspacing="0" id="AutoNumber3" style="border-collapse: collapse" width="100%" align="center">
        <tr> 
                      
          <td height="34"> 
            <div align="center"> 
                          
              <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
                <tr> 
                              <td> 
                                <!--#include file="menu.asp"-->
                              </td>
                            </tr>
                          </table>
                          <br>
                        </div>
                      </td>
                    </tr>
                    <tr> 
                      
          <td valign="top" height="50"> 
            <table width="100%"  cellspacing="0" cellpadding="0" border="0" class=datalist >
              <tr align="middle" > 
                <th align="center" colspan="7"  class=datalistheader ><b>邮局组列表</b></th>
                          </tr>
                          
              <tr align="center"> 
                <td height="22"  class=datalistgrida width=35%>组名称</td>
                            
                <td class=datalistgrida  width="40%">备注</td>
                            
                <td class=datalistgrida >操作</td>
                          </tr>
                          <%
						  query="select * from emlgrp where mg_emldme='"& mnme & "' order by mg_nme desc"
						 
rs1.open query,conn,1,1
If not(rs1.eof And rs1.bof) Then
	%>
                          <%

	Do While Not rs1.eof
	%>
                          
              <tr align="center"> 
                <td height="22"  class=datalistgrida align=center>&nbsp;<b><%=trim(rs1("mg_nme"))%></b>&nbsp;<b><font color="#FF0000">@</font></b>&nbsp;<%=mailname%></td>
                            
                <form action="eml_mng.asp" method="post" name=form1>
                  <td class=datalistgrida  align=left>&nbsp; <%=trim(rs1("mg_inf"))%> 
                  </td>
                              
                  <td  class=datalistgrida align=center> <img src="/imgs/edit.gif" width="23" height="17"  onClick="javascript:location.href='eml_grp_edt.asp?mg_nme=<%=trim(rs1("mg_nme"))%>&mnme=<%=mnme%>';" title="修改邮局组" style="cursor:hand;"> 
                    &nbsp;&nbsp; 
                    <input type=image src="/imgs/del.gif" width="17" height="17" title="删除邮局组" name="image"  onClick="javascript:return chk_del();">
                                <input type=hidden value="<%=mailname%>" name=mailname >
                                <input type=hidden value="eml_grp_del" name=module>
                                <input type=hidden value="<%=trim(rs1("mg_nme"))%>" name=mailgroup>
                              </td>
                            </form>
                          </tr>
                          <%
	rs1.movenext
	Loop
End If
%>
                        </table>
                      </td>
                    </tr>
                    <tr> 
                      
          <td height="20" valign="top"><br>
                        
            <table width="100%"  cellspacing="0" cellpadding="0" border="0" class=datalist>
              <tr align="middle"> 
                <th align="center" colspan="7" class=datalistheader ><b>邮局组添加</b></th>
                          </tr>
                          
              <tr align="center"> 
                <td height="22" width=35% class=datalistgrida >组名称</td>
                            
                <td width="40%" class=datalistgrida >备注</td>
                            
                <td class=datalistgrida >操作</td>
                          </tr>
                          
              <tr align="center"> 
                <form action="eml_mng.asp" method="post" name=form1>
                  <td height="22" class=datalistgrida  align=left>&nbsp; 
                    <input name="mailgroup"   tabindex=1  style="FONT-SIZE: 9pt ;border: 1px solid #C0C0C0 ; height:16px ;width:60px;">
                                &nbsp;<b><font color="#FF0000">@</font></b>&nbsp;<%=mailname%></td>
                              
                  <td  class=datalistgrida align=center> 
                    <input name="mailcontent"   tabindex=1  style="FONT-SIZE: 9pt ;border: 1px solid #C0C0C0 ; height:16px ;width:200px;">
                              </td>
                              
                  <td class=datalistgrida  align=center> 
                    <input type=submit value="添加" name=adfadf class=btxx>
                                <input type=hidden value="<%=mailname%>" name=mailname >
                                <input type=hidden value="eml_grp_add" name=module>
                              </td>
                            </form>
                          </tr>
                        </table>
                        <br>
                        
            <table width="100%"  cellspacing="0" cellpadding="0" border="0" class=datalist>
              <tr align="middle" > 
                            
                <th height="2" align="center" colspan="5" class=datalistheader ><b>邮局组说明</b></th>
                          </tr>
                          <tr  > 
                            
                <td height="25"  style="line-Height:160%;" class=datalistgrida > 邮局组的作用：如果一封邮件发往邮局组group@domain.com,那么所有该邮局组的成员邮箱都将收到这封信，对于企业而言，该功能可以用于事务通知等。 
                </td>
                          </tr>
                        </table>
                        <br>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
              </tbody> 
            </table>
                <!--#include virtual="/incs/bottom.asp"-->




