<!--#include virtual="/incs/config.asp" -->
<!--#include virtual="/incs/web_top.asp"-->
      <%
chk_log_usr()
	fnme=SafeRequest("fnme")
	If fnme="" Then
	call errorpage(-2,"对不起，参数错误！")
	End If
 query="select * from v_ftplst where f_unme='"&session("usrname")&"'  and f_ftpnme='"&fnme&"'"
	rs.open query,conn,1,1
    if rs.recordcount<>1 then
	rs.close
	call errorpage(-2,"对不起，该FTP空间不存在或者您无权操作！")
	end if
u_nme=trim(rs("f_unme"))

%>
      <%          ftpname=trim(rs("f_ftpnme"))
			    proid=trim(rs("f_prd"))
f_sst=rs("g_sst")
		%>
      <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=0 cellpadding=0 width="100%" border=0>
        <tbody> 
        <tr> 
          <td colspan=2><img height=3 
            src="/imgs/spacer.gif" width=3></td>
        </tr>
        <tr> 
          <td width=438 
          background=/imgs/bg_inside_pages_link.jpg 
          height=30><img height=11 
            src="/imgs/aword_square.gif" width=11 
            align=absMiddle> <a href="/">首 页</a> <strong>&gt;</strong> <a href="/control/">管理中心</a> 
            <b>&gt;</b> <a href="/control/ftp_mng/ftp_lst.asp">FTP空间管理</a></td>
          <td>&nbsp;</td>
        </tr>
        <tr> 
          <td colspan=2><img height=10 
            src="/imgs/shadow_inside_pages.jpg" 
        width=438></td>
        </tr>
        </tbody> 
      </table>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY> 
        <TR> 
          <TD vAlign=top width=180 bgColor=#f3f3f3> 
            <!--#include virtual="/incs/control_left.asp"-->
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
          </TD>
          <TD vAlign=top width=10 
          background=/imgs/bg_inside_pages_block.jpg><IMG 
            height=1 src="/imgs/bg_inside_pages_block.jpg" 
            width=10></TD>
          <TD vAlign=top> 
            <table cellspacing=2 cellpadding=0 width="100%" border=0>
              <tbody> 
              <tr> 
                <td  colspan=2 valign="middle"> 
                  <table class=line cellspacing=0 cellpadding=0 width="98%" 
                  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">列表<a href="index.asp"><font color="#FF0000">（查询）</font></a></font></strong></span></b></font></td>
                      <td valign=bottom noWrap align=right 
                        width="75%"><a href="ftp_lst.asp?querytype=8"><font color="#000000">今天新开通</font></a> 
                        <font color="#000000">|</font> <a href="ftp_lst.asp?querytype=9"><font color="#000000">本周新开通</font></a> 
                        <font color="#000000">|</font> <a href="ftp_lst.asp?querytype=10"><font color="#000000">本周到期</font></a> 
                        <font color="#000000">| </font><a href="ftp_lst.asp?querytype=11"><font color="#000000">本月到期</font></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 bgcolor="#5F5F5F"></td>
                    </tr>
                    </tbody> 
                  </table>
                  <br>
                </td>
              </tr>
              <tr> 
                <td  colspan=2 valign="middle" height="28"> 
                  <table width="80%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr> 
                      <td> 
                        <!--#include file="menu.asp" -->
                      </td>
                    </tr>
                  </table><br>
                  <table   bordercolor="#5785B2" cellpadding="0" cellspacing="0" id="AutoNumber3" style="border-collapse: collapse" width="95%" align="center">
                    
                    <tr> 
                      <td valign="top" bgcolor="#FFFFFF" height="50"> 
                        <table align="center" bgcolor="#666666" border="0" cellpadding="4" cellspacing="1" width="100%">
                          <tr align="center" bgcolor="#EAF5FC"> 
                            <td height="22" bgcolor="#8b8b8b" colspan="2"> <b><font color="#FFFFFF">管理密码</font></b> 
                            </td>
                          </tr>
                          <tr  bgcolor="#FFFFFF"> 
                            <td valign="bottom" height="29">FTP管理员</td>
                            <td valign="bottom">&nbsp;<b><font color=#ff0000><%=ftpname%></font></b></td>
                          </tr>
                          <form action=ftp_mng.asp method=post>
                            <tr  bgcolor="#FFFFFF"> 
                              <td valign="bottom" width="40%"> 
                                <p>新密码 
                                  <input type=hidden value="ftp_mng_pss" name=module>
                                  <input name="ftpname" type="hidden" value="<%=ftpname%>">
                              </td>
                              <td valign="bottom"> 
                                <input name="newpass1"   tabindex=1 size=25  maxlength="20" type="password">
                              </td>
                            </tr>
                            <tr  bgcolor="#FFFFFF"> 
                              <td valign="bottom">密码确认</td>
                              <td valign="bottom"> 
                                <input name="newpass2"   tabindex=1 size=25  maxlength="20" type="password">
                              </td>
                            </tr>
                            <tr  bgcolor="#FFFFFF" align="center"> 
                              <td valign="bottom" colspan="2"> 
                                <input type=submit   name="image2" class=dud_button1 value="现在更改">
                              </td>
                            </tr>
                          </form>
                        </table>
                      </td>
                    </tr>
                    <tr> 
                      <td height="175" valign="top" bgcolor="#FFFFFF"> <br>
                      </td>
                    </tr>
                    <tr> 
                      <td height="20" valign="top" bgcolor="#FFFFFF"> <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>
          </TD>
        </TR>
        </TBODY> 
      </TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY> 
        <TR> 
          <TD bgColor=#cccccc><IMG height=1 
            src="/imgs/spacer.gif" 
      width=1></TD>
        </TR>
        </TBODY> 
      </TABLE>
      <!--#include virtual="/incs/web_bottom.asp"-->





