<!--#include virtual="/incs/config.asp" -->
<!--#include virtual="/incs/top.asp" -->


<%
chk_log()
chk_newpwr 1,4,1

	dnme=SafeRequest("dnme")
If dnme="" Then
 call errorpage(-2,"请选择域名!")
end if
	conn.open constr
if session("sysclass")>=5 then
query="select * from v_dmelst   where d_dme ='"&dnme&"'"
elseif session("sysclass")>=4 then
query="select * from v_dmelst  where d_dme ='"&dnme&"'  and  ((("&session("sysarestr")&" or u_myare=0) and u_rotnme='') or u_rotnme='"&session("usrname")&"')"
else
query="select * from v_dmelst  where d_unme='"&session("usrname")&"' and d_dme ='"&dnme&"'"
end if
	rs.open query,conn,1,1
	  if rs.recordcount<>1 then
      call errorpage(-2,"对不起，该域名不存在！")
      end if

	  cooper=rs("d_cpr")
	domain_to_modi= rs("d_dme")
%>
<%

if SafeRequest("module")="passwordmodify" then
if session("agentname")<>"" and  mid(session("oldpower"),7,1)<>"1" then
call errorpage(-2,"对不起，您没有产品管理权限")
end if
   substrContent = "entryclass:dme_mng"&Vend
   substrContent =substrContent& "entrytype:passwordmodify"&Vend
   substrContent =substrContent& "entryuser:"&entryuser&Vend
   substrContent =substrContent& "entrypass:"&entrypass&Vend
   substrContent =substrContent& "agentname:"&session("agentname")&Vend
   substrContent = substrContent & "domainname:" & domain_to_modi & Vend
   substrContent =substrContent& "newpass:"&trim(SafeRequest("newpass"))&Vend
   substrContent =substrContent& "newpass1:"&trim(SafeRequest("newpass1"))&Vend
   substrContent =substrContent & "."&Vend
   doresult = hzsocket(substrContent)
   left5=left(doresult,5)
   If left5= "10000" Then
      call okpage( "/master/pdtmng/dme_mng/dme_pwd.asp?dnme=" & dnme)
   Else
      call errorpage(-2,doresult)
   end if

end if


 '''''''''''''''
 



%>

   <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><b>英文域名列表</b><a href="index.asp" class=commonface><font color="#FF0000">（查询）</font></a> 
          </td>
          <td valign=bottom noWrap align=right 
                        width="75%"><a href="dme_lst.asp?querytype=8" class=commonface>今日新注册</a> 
            | <a href="dme_lst.asp?querytype=9" class=commonface>本周新注册</a> | <a href="dme_lst.asp?querytype=10" class=commonface>本周到期</a> 
            | <a href="dme_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>
      
    </td>
              </tr>
              <tr> 
                <td  colspan=2 valign="middle" height="28"> 
                  
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr> 
                      <td height=8></td>
                    </tr>
                    <tr> 
                      <td style="font-size:12px"> 
                        <div align="center"> 
                          <!--#include virtual="/master/pdtmng/dme_mng/menu.asp" -->
                          <br>
                          域名: <font style="FONT-FAMILY: Tahoma,verdana,arial;"><b><%= rs("d_dme") %></b></font> 
                          <br>
                          <br>
                        </div>
                      </td>
                    </tr>
                  </table>
                  
      <table cellspacing=0 cellpadding=0 width=100% border=0  align="center">
        <tbody> 
        <form action="dme_pwd.asp" method=post>
          <tr> 
            <td colspan = 3 height="25" valign="top"> 
              <div align="center"> 
                            
                <table cellspacing=0  cellpadding=0  width="100%" border=0 class=datalist>
                  <tr > 
                                <th height="26" class=datalistheader  colspan="2"> &nbsp;&nbsp;&nbsp;<b>域名管理密码更改：  
                                  </b> </th>
                  </tr>
                  <tr> 
                                <td class=datalistgrida  height="26" width="40%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;输入新密码 
                                  <input type="hidden" name="module" value="passwordmodify">
                      <input type="hidden" name="dnme" value="<%=dnme%>">
                    </td>
                                <td class=datalistgrida  > 
                                  <input type="password" name="newpass" maxlength="16" size="30">
                                </td>
                  </tr>
                  <tr> 
                                <td  class=datalistgrida height="26">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;再次输入新密码</td>
                                <td  class=datalistgrida > 
                                  <input type="password" name="newpass1" maxlength="16" size="30">
                                </td>
                  </tr>
                </table>
                            <br>
                <input type=submit value=" 确 定 " name=Submit2 class=btxx>
                <input type=reset value=" 重 置 " name=Submitd2 class=btxx>
              </div>
            </td>
          </tr>
        </form>
        </tbody> 
      </table>
      <br>
                  <br>
                </td>
              </tr>
              </tbody> 
            </table>
          
      <!--#include virtual="/incs/bottom.asp"-->

