<%@ page language="C#" autoeventwireup="true" inherits="safe_ftpedit, App_Web_tqrintju" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=gbk"/>
<meta http-equiv="expires" content="0"/>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Cache-Control" content="no-cache"/>
 <title>safehost</title>
  <link type="text/css" href="../css/common.css" rel="Stylesheet" />
</head>

<body>
<div class="tt">
<table class="site_bg_site" border=0 cellSpacing=1 cellPadding=0 width="100%" style="background:#eef5fb">
  <tbody>
  <tr class="tr3" style="height:30px;">
    <td class="site_bg_bs" height=28 width="100%" scope=col align=left>&nbsp;<h2>
        单独FTP空间管理</h2></td></tr>
   </tbody>
</table>

 <SCRIPT language=JavaScript type=text/javascript> 
function len(s) { 
var l = 0; 
var a = s.split(""); 
for (var i=0;i<a.length;i++) { 
if (a[i].charCodeAt(0)<299) { 
l++; 
} else { 
l+=2; 
} 
} 
return l; 
}
function checkform(theform){
  if (theform.toFTPpass.value!=theform.FTPpass.value) {
      window.alert("两次FTP密码不一致");
      theform.toFTPpass.focus();
      return false;
 }
  if (theform.spanum.value=="") {
      window.alert("请输入空间大小");
      theform.spanum.focus();
      return false;
 }
 return true;
 }
</SCRIPT>

<table class="site_bg_site" border="0" cellSpacing="1" cellPadding="0" width="100%">
    <tbody>
<form id="Form1" onsubmit="return checkform(this)" runat="server" >
 <tr class="tr3 s3" style="height:30px;">
     <td class="site_bg_bs" height="22" width="200px" width="20%" scope=col>&nbsp; FTP状态：</TD>
    <td class="site_bg_bs"  scope=col><INPUT id="radrun" runat="server" value="1" CHECKED type=radio name="rad">运行&nbsp;&nbsp; 
    <INPUT id="radstop" runat="server" value="2" type=radio name="rad">停止&nbsp;&nbsp; </TD>
</tr>
  <tr class="tr3 s3" style="height:30px;">
    <td class="site_bg_bs" height=22 scope=col>&nbsp;&nbsp;FTP密码：</td>
    <td class="site_bg_bs" scope=col><input id=FTPpass runat="server"  class="input_to_to" 
      title=请输入独立FTP密码(必填) maxLength=20 size=30 type=password name=FTPpass> 
      &nbsp;<span class=syt_1>若无修改请保持为空</span></td></tr>
  <tr class="tr3 s3" style="height:30px;">
    <td class="site_bg_bs" height=22 scope=col>&nbsp;&nbsp;FTP确认密码：</td>
    <td class="site_bg_bs" scope=col><input id=toFTPpass  class="input_to_to" 
      maxLength=20 size=30 type=password name=toFTPpass></td></tr>
  <tr class="tr3 s3" style="height:30px;">
    <td class="site_bg_bs" height=22 scope=col>&nbsp;&nbsp;空间大小：</td>
    <td class="site_bg_bs" scope=col>
    <input id=spanum  runat="server"  class="input_to_to" title="请输入独立FTP空间大小(必填) 如:100" onkeyup="value=value.replace(/[^0-9,]/g,'')" maxLength=9 size=5 
      name=spanum> M&nbsp;&nbsp;&nbsp;&nbsp;<span 
  class=syt_1>必须0-9的数字</span></td></tr>

  <tr class="tr3 s3" style="height:30px;">
    <td class="site_bg_bs" height=22 scope=col>&nbsp;&nbsp;FTP空间续期</td>
    <td class="site_bg_bs" scope=col><select id=Eyear runat="server"  class="input_to_to" 
      name=Eyear> <option value=0 selected >0年</option> <option
        value=1>1年</option> <option value=2>2年</option> <option 
        value=3>3年</option> <option value=4>4年</option> <option 
        value=5>5年</option> <option value=6>6年</option> <option 
        value=7>7年</option> <option value=8>8年</option> <option 
        value=9>9年</option> <option value=10>10年</option></select>
        <select id=Emone  runat="server"  class="input_to_to" name=Emone> <option selected 
        value=0>0个月</option> <option value=1>1个月</option> <option 
        value=2>2个月</option> <option value=3>3个月</option> <option 
        value=4>4个月</option> <option value=5>5个月</option> <option 
        value=6>6个月</option> <option value=7>7个月</option> <option 
        value=8>8个月</option> <option value=9>9个月</option> <option 
        value=10>10个月</option> <option value=11>11个月</option></select></td></tr>
  <tr class="tr3 s3" style="height:30px;">
    <td class="site_bg_bs" height=28 colspan=2 scope=col align=middle>
    
    <asp:ImageButton ID="btnYes" runat="server" 
            ImageUrl="~/images/host/update.gif" onclick="btnYes_Click" />
    
    </td></tr></form>
    </tbody>
</table>
</div>

</body>  
</html>


