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

function chk_edt()
{
if(confirm("请确认是否更改!"))
return true;
else
return false;
}
  </SCRIPT>
<%
chk_log()
chk_newpwr 1,26,1

	fnme=SafeRequest("fnme")
	If  fnme="" Then
	call errorpage(-2,"对不起，参数错误！(103)")
	response.end
	End If
if session("sysclass")>=5 then
query="select * from v_ftplst   where f_ftpnme ='"&fnme&"'"
elseif session("sysclass")>=4 then
query="select * from v_ftplst  where f_ftpnme ='"&fnme&"'  and  ((("&session("sysarestr")&" or u_myare=0) and u_rotnme='') or u_rotnme='"&session("usrname")&"')"
else
query="select * from v_ftplst   where f_ftpnme ='"&fnme&"' f_unme='"&session("usrname")&"'"
end if
	conn.open constr

	rs.open query,conn,1,1
    if rs.recordcount<>1 then
	rs.close
	conn.close
	call errorpage(-2,"对不起，该FTP空间不存在或者您无权操作！")
	response.end
	end if
	ftpname=trim(rs("f_ftpnme"))
u_nme=trim(rs("f_unme"))


%>
<%
			    proid=trim(rs("f_prd"))

		%>

      <script language=javascript>
		function expl()
		{
		if (identity.style.display=="none")
		identity.style.display="block";
		else
		identity.style.display="none";
		}
		
	
		</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>FTP空间<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="ftp_lst.asp?querytype=8" class=commonface >今天新开通</a> 
            | <a href="ftp_lst.asp?querytype=9" class=commonface >本周新开通</a> | 
            <a href="ftp_lst.asp?querytype=10" class=commonface >本周到期</a> | <a href="ftp_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 align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class=datalist>
              <tr align="center"> 
                <th colspan="2" class=datalistheader > <b>管理密码</b></th>
              </tr>
              <tr> 
                <td valign="bottom" height="22" class=datalistgrida  >FTP空间名称</td>
                <td valign="bottom" class=datalistgrida >&nbsp;<b><font color=#ff0000><%=ftpname%></font></b></td>
              </tr>
              <form action=ftp_mng.asp method=post>
                <tr> 
                  <td valign="bottom" class=datalistgrida  width="40%" height="22"> 
                    <p>新密码 
                      <input type=hidden value="ftp_mng_pss" name=module>
                      <input name="ftpname" type="hidden" value="<%=ftpname%>">
                  </td>
                  <td valign="bottom" class=datalistgrida > 
                    <input name="newpass1"    size=28 s class=normalform  maxlength="20" type="password">
                  </td>
                </tr>
                <tr> 
                  <td valign="bottom" height="22" class=datalistgrida >密码确认</td>
                  <td valign="bottom" class=datalistgrida > 
                    <input name="newpass2"  class=normalform   size=28  maxlength="20" type="password">
                    <input type=submit   name="image2" class=btxx value="更  改">
                  </td>
                </tr>
              </form>
            </table>
                      </td>
                    </tr>
                    <tr> 
                      
          <td height="175" valign="top"> <br>
          </td>
                    </tr>
                    <tr> 
                      
          <td height="20" valign="top"> <br>
                        <%
Function showstatus(regstt,regtpe,exptme)
if cdate(exptme)-date()<0 then
regstt=20
elseif cdate(exptme)-date()<7 and regtpe<>0 then
regstt=19
elseif cdate(exptme)-date()<30 and regtpe<>0 then
regstt=18
end if
regtpe_str=right("000"&cstr(regtpe),2)
regstt_str=right("000"&cstr(regstt),2)
gifstr=regtpe_str&regstt_str&".gif"
showstatus="<img src=/icons/"&gifstr&">"   

End Function
%>
                        <%
Function showstatus_usr(regstt,regtpe)
regtpe_str=right("000"&cstr(regtpe),2)
regstt_str=right("000"&cstr(regstt),2)
gifstr=regtpe_str&regstt_str&".gif"
showstatus_usr="<img src=/icons/"&gifstr&">"   

End Function
%>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
              </tbody> 
            </table>
          
      <!--#include virtual="/incs/bottom.asp"-->



