<!--#
##
#	Project: PHPDISK File Storage Solution
#	This is NOT a freeware, use is subject to license terms.
#
#	Site: http://www.phpdisk.com
#
#	$Id: admin.tpl.php 121 2014-03-04 12:38:05Z along $
#
#	Copyright (C) 2008-2016 PHPDisk Team. All Rights Reserved.
#
##
#-->
<!--#
if($action =='edit_ftp'){
#-->
<div id="container">
<h1>修改用户FTP信息</h1>
<div>
<div class="tips_box"><img class="img_light" src="images/light.gif" align="absmiddle" /> <b><?=__('tips')?>: </b>
<span class="txtgray">配置FTP，可以让用户使用FTP上传大文件，批量上传文件等特殊功能。使用前请确认配置好服务器的FTP服务。</span>
</div>
<form action="{#urr(ADMINCP,"item=plugins&menu=plugin&app=$app")#}" method="post" onsubmit="return dosubmit(this);">
<input type="hidden" name="action" value="{$action}" />
<input type="hidden" name="task" value="{$action}" />
<input type="hidden" name="uid" value="{$uid}" />
<input type="hidden" name="formhash" value="{$formhash}" />
<table align="center" width="100%" cellpadding="4" cellspacing="0" border="0" class="td_line">
<tr>
	<td width="50%"><span class="bold">用户UID:</span><br /><span class="txtgray">建议用户FTP目录使用此UID结尾，方便管理</span></td>
	<td>{$uid}</td>
</tr>
<tr>
	<td><span class="bold">FTP主机:</span><br /><span class="txtgray">用户上传的目标主机，一般为当前正在使用的上传主机IP或主机地址</span></td>
	<td><input type="text" name="ftp_host" value="{$ps[ftp_host]}" size="40" maxlength="50" /></td>
</tr>
<tr>
	<td><span class="bold">FTP用户名:</span><br /><span class="txtgray">登录FTP的用户名，建议使用当前用户名，只能使用英文+数字组合，不能使用中文等特殊字符！</span></td>
	<td><input type="text" name="ftp_user" value="{$ps[ftp_user]}" size="40" maxlength="50"  /></td>
</tr>
<tr>
	<td><span class="bold">FTP登录密码:</span><br /><span class="txtgray">FTP登录密码</span></td>
	<td><input type="text" name="ftp_pwd" id="ftp_pwd" value="{$ps[ftp_pwd]}" maxlength="50" />&nbsp;<input type="button" value="<?=__('make_random')?>" class="btn" onclick="make_code();" /></td>
</tr>
<tr>
	<td><span class="bold">FTP端口:</span><br /><span class="txtgray">登录FTP端口，请确认服务器上的其他程序没有占用此FTP端口。如无特殊配置，一般为：21。</span></td>
	<td><input type="text" name="ftp_port" value="{$ps[ftp_port]}" size="40" maxlength="10" /></td>
</tr>
<tr>
	<td><span class="bold">FTP对应目录:</span><br /><span class="txtgray">对应的FTP文件上传目录，此目录需要填写服务器上存在的具有写入权限的目录，一个用户一个目录，不能重复，不支持中文名等特殊路径。<b>请填写绝对路径，Windows系统如 f:/soft/file/ , Linux系统如 /home/files/ 等形式。</b><span class="txtred">为了服务器安全，此目录需要放到网盘目录外，确认不能使用http访问！！</span></span></td>
	<td><input type="text" name="ftp_path" value="{$ps[ftp_path]}" size="40" maxlength="255" /></td>
</tr>
<tr>
	<td><span class="bold">FTP服务器对应主机HTTP地址:</span><br /><span class="txtgray">用于FTP上传的文件检测入库。如使用分布服务器上传，请填写相应的子服地址；如没有，只填写网盘地址 {$settings[phpdisk_url]}</span></td>
	<td><input type="text" name="file_host" value="{$ps[file_host]}" size="40" maxlength="255" /></td>
</tr>
<tr>
	<td><span class="bold">FTP服务器对应的上传机:</span><br /><span class="txtgray">用于FTP文件入库时，写入数据的文件标识ID</span></td>
	<td><select name="server_oid">
	<!--#
	$arr = get_multi_servers();
	if(count($arr)){
		foreach($arr as $v){
	#-->
	<option value="{$v[server_oid]}" {#ifselected($ps[server_oid],$v[server_oid])#}>【{$v[server_name]}】,标识ID:{$v[server_oid]}</option>
	<!--#}
	}#-->
	</select></td>
</tr>
<tr>
	<td><span class="bold">锁定:</span><br /><span class="txtgray">锁定后，用户FTP上传的文件无法入库。</span></td>
	<td><input type="radio" name="ftp_locked" value="1" {#ifchecked(1,$ps[ftp_locked])#} /><?=__('yes')?>&nbsp;&nbsp;<input type="radio" name="ftp_locked" value="0" {#ifchecked(0,$ps[ftp_locked])#} /><?=__('no')?></td>
</tr>
<tr>
	<td>&nbsp;</td>
	<td><input type="submit" class="btn" value="<?=__('btn_submit')?>"/>&nbsp;&nbsp;<input type="button" class="btn" value="<?=__('btn_back')?>" onclick="javascript:history.back();" /></td>
</tr>
</table>
</form>
</div>
<!--#if($has_ftp){#-->
<div>
<fieldset><legend>linux vsftp 手动操作脚本</legend>
1.开通用户FTP代码:<br />
<span class="txtblue">
adduser -d {$ps[ftp_path]} -g ftp -s /sbin/nologin {$ps[ftp_user]}<br />
echo {$ps[ftp_user]} >> /etc/vsftpd/chroot_list<br />
chmod -R 777 {$ps[ftp_path]}<br />
echo "{$ps[ftp_pwd]}" | passwd --stdin {$ps[ftp_user]}<br />
rm -rf {$ps[ftp_path]}*<br />
service vsftpd restart<br /><br /></span>

确认安装好 vsftp 服务器后，复制上述脚本，粘贴到putty等终端管理工具上即可开通。<br /><br />

2.删除用户FTP代码:<br />
<span class="txtred">
userdel -r {$ps[ftp_user]}<br />
sed -i -e '/{$ps[ftp_user]}/d' /etc/vsftpd/chroot_list<br />
rm -rf {$ps[ftp_path]}*<br />
service vsftpd restart<br /><br /></span>
确认安装好 vsftp 服务器后，复制上述脚本，粘贴到putty等终端管理工具上即可删除。<br /><br />
</fieldset>
</div>
<!--#}#-->
</div>
<script language="javascript">
function dosubmit(o){

}
function make_code(){
   var chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
   var tmp = "";
   var code = "";
   for(var i=0;i<10;i++){
	   code += chars.charAt(Math.ceil(Math.random()*100000000)%chars.length);
   }
   getId('ftp_pwd').value = code;
}
</script>
<!--#
}elseif($action=='setting'){
#-->
<div id="container">
<h1>FTP参数配置</h1>
<div>
<div class="tips_box"><img class="img_light" src="images/light.gif" align="absmiddle" /> <b><?=__('tips')?>: </b>
<span class="txtgray">适用于用户自己开通FTP，只支持Linux。</span>
</div>
<div class="search_box">
<a href="{#urr(ADMINCP,"item=plugins&menu=$menu&app=$app")#}" id="n_">全部用户</a>&nbsp;&nbsp;
<a href="{#urr(ADMINCP,"item=plugins&menu=$menu&app=$app&action=active_ftp")#}" id="n_active_ftp">已开通FTP</a>&nbsp;&nbsp;
<a href="{#urr(ADMINCP,"item=plugins&menu=$menu&app=$app&action=setting")#}" id="n_setting">FTP配置</a>&nbsp;&nbsp;
<a href="{#urr(ADMINCP,"item=plugins&menu=$menu&app=$app&action=ftp_log")#}" id="n_ftp_log">FTP入库记录</a>&nbsp;&nbsp;
</div>
<script type="text/javascript">getId('n_{$action}').className = 'sel_a';</script>
<form action="{#urr(ADMINCP,"item=plugins&menu=plugin&app=$app")#}" method="post" onsubmit="return dosubmit(this);">
<input type="hidden" name="action" value="{$action}" />
<input type="hidden" name="task" value="{$action}" />
<input type="hidden" name="formhash" value="{$formhash}" />
<table align="center" width="100%" cellpadding="4" cellspacing="0" border="0" class="td_line">
<tr>
	<td width="50%"><span class="bold">开启FTP客户端上传:</span><br /><span class="txtgray">开启FTP后，用户FTP上传的文件才能正常上传入库等。</span></td>
	<td><input type="radio" name="setting[open_ftp]" value="1" {#ifchecked(1,$settings[open_ftp])#} /><?=__('yes')?>&nbsp;&nbsp;<input type="radio" name="setting[open_ftp]" value="0" {#ifchecked(0,$settings[open_ftp])#} /><?=__('no')?></td>
</tr>
<tr>
	<td><span class="bold">开启FTP客户端上传方式:</span><br /><span class="txtgray"></span></td>
	<td><input type="radio" name="setting[open_ftp_mode]" value="1" {#ifchecked(1,$settings[open_ftp_mode])#} />管理员开启&nbsp;&nbsp;<input type="radio" name="setting[open_ftp_mode]" value="0" {#ifchecked(0,$settings[open_ftp_mode])#} />用户开启</td>
</tr>
<tr>
	<td><span class="bold">FTP主机:</span><br /><span class="txtgray">用户上传的目标主机，一般为当前正在使用的上传主机IP或主机地址</span></td>
	<td><input type="text" name="setting[ftp_host]" value="{$settings[ftp_host]}" size="40" maxlength="50" /></td>
</tr>
<tr>
	<td><span class="bold">FTP端口:</span><br /><span class="txtgray">登录FTP端口，请确认服务器上的其他程序没有占用此FTP端口。如无特殊配置，一般为：21。</span></td>
	<td><input type="text" name="setting[ftp_port]" value="{$settings[ftp_port]}" size="40" maxlength="10" /></td>
</tr>
<tr>
	<td><span class="bold">FTP对应的根目录:</span><br /><span class="txtgray">对应的FTP文件上传目录，此目录需要填写服务器上存在的具有写入权限的目录，一个用户一个目录，不能重复，不支持中文名等特殊路径。<span class="txtred">为了服务器安全，此目录需要放到网盘目录外，确认不能使用http访问！！</span></span></td>
	<td><input type="text" name="setting[ftp_path]" value="{$settings[ftp_path]}" size="40" maxlength="255" /></td>
</tr>
<tr>
	<td><span class="bold">FTP服务器对应主机HTTP地址:</span><br /><span class="txtgray">用于FTP上传的文件检测入库。如使用分布服务器上传，请填写相应的子服地址；如没有，只填写网盘地址 {$settings[phpdisk_url]}</span></td>
	<td><input type="text" name="setting[file_host]" value="{$settings[file_host]}" size="40" maxlength="255" /></td>
</tr>
<tr>
	<td><span class="bold">FTP服务器对应的上传机:</span><br /><span class="txtgray">用于FTP文件入库时，写入数据的文件标识ID</span></td>
	<td><select name="setting[ftp_server_oid]">
	<!--#
	$arr = get_multi_servers();
	if(count($arr)){
		foreach($arr as $v){
	#-->
	<option value="{$v[server_oid]}" {#ifselected($settings[ftp_server_oid],$v[server_oid])#}>【{$v[server_name]}】,标识ID:{$v[server_oid]}</option>
	<!--#}
	}#-->
	</select></td>
</tr>
<tr>
	<td>&nbsp;</td>
	<td><input type="submit" class="btn" value="<?=__('btn_submit')?>"/>&nbsp;&nbsp;<input type="button" class="btn" value="<?=__('btn_back')?>" onclick="javascript:history.back();" />&nbsp;<span class="txtred">更新配置后，需要更新FTP所在的服务器的子服程序配置！</span></td>
</tr>
</table>
</form>
</div>
</div>

<!--#
}else{
#-->
<div id="container">
<!--#if($action=='active_ftp'){#-->
<h1>已开通FTP用户</h1>
<!--#}else{#-->
<h1><?=__('user_list')?></h1>
<!--#}#-->
<div>
<div class="tips_box"><img class="img_light" src="images/light.gif" align="absmiddle" /> <b><?=__('tips')?>: </b>
<span class="txtgray"><?=__('user_list_tips')?></span>
</div>
<div class="search_box">
<a href="{#urr(ADMINCP,"item=plugins&menu=$menu&app=$app")#}" id="n_">全部用户</a>&nbsp;&nbsp;
<a href="{#urr(ADMINCP,"item=plugins&menu=$menu&app=$app&action=active_ftp")#}" id="n_active_ftp">已开通FTP</a>&nbsp;&nbsp;
<a href="{#urr(ADMINCP,"item=plugins&menu=$menu&app=$app&action=setting")#}" id="n_setting">FTP配置</a>&nbsp;&nbsp;
<a href="{#urr(ADMINCP,"item=plugins&menu=$menu&app=$app&action=ftp_log")#}" id="n_ftp_log">FTP入库记录</a>&nbsp;&nbsp;
</div>
<script type="text/javascript">getId('n_{$action}').className = 'sel_a';</script>
<!--#if($action!='ftp_log'){#-->
<form name="search_frm" action="{#urr(ADMINCP,"")#}" method="get" onsubmit="return dosearch(this);">
<input type="hidden" name="item" value="plugins" />
<input type="hidden" name="menu" value="plugin" />
<input type="hidden" name="app" value="{$app}" />
<input type="hidden" name="action" value="{$action}" />
<input type="hidden" name="task" value="search" />
<div class="search_box">
<div class="l"><img src="{$admin_tpl_dir}images/it_nav.gif" align="absbottom" /><?=__('view_group_type')?>: 
<select id="gid" onchange="chg_gid();">
<option value="0" class="txtgreen" {#ifselected(0,$gid);#}><?=__('all_users')?></option>
<!--#
if(count($groups)){
	foreach($groups as $v){
#-->
<option value="{$v['gid']}" class="{$v['txtcolor']}" {#ifselected($v['gid'],$gid);#}>{$v['group_name']}</option>
<!--#
	}
	unset($groups);
}
#-->
</select>&nbsp;
<?=__('view_mode')?>: 
<select id="orderby" onchange="chg_orderby();">
<option value="0" class="txtgreen"><?=__('please_select')?></option>
<option value="credit_asc" {#ifselected('credit_asc',$orderby,'str');#}><?=__('credit_asc')?></option>
<option value="credit_desc" {#ifselected('credit_desc',$orderby,'str');#}><?=__('credit_desc')?></option>
<option value="time_asc" {#ifselected('time_asc',$orderby,'str');#}><?=__('time_asc')?></option>
<option value="time_desc" {#ifselected('time_desc',$orderby,'str');#}><?=__('time_desc')?></option>
<option value="is_locked" {#ifselected('is_locked',$orderby,'str');#}><?=__('is_locked')?></option>
</select>
</div>
<div class="r"><input type="text" name="word" value="{$word}"/>
<select name="o_type">
<option value="username" {#ifselected('username',$o_type,'str')#}>用户名</option>
<option value="email" {#ifselected('email',$o_type,'str')#}>E-mail</option>
</select>
 <input type="submit" class="btn" value="<?=__('search_users')?>" /></div>
</div>
</form>
<div class="clear"></div>
<script language="javascript">
function chg_gid(){
	var gid = parseInt(getId('gid').value);
	document.location.href = '{#urr(ADMINCP,"item=plugins&menu=plugin&app=phpdisk_ftp&action=$action&gid='+gid+'")#}';
}
function chg_orderby(){
	var orderby = getId('orderby').value.strtrim();
	var gid = parseInt(getId('gid').value);
	document.location.href = '{#urr(ADMINCP,"item=plugins&menu=plugin&app=phpdisk_ftp&action=$action&gid='+gid+'&orderby='+orderby+'")#}';
}
function dosearch(o){
	if(o.word.value.strtrim().length <1){
		o.word.focus();
		return false;
	}
}
</script>
<!--#}#-->
<!--#if($action=='active_ftp'){#-->
<script type="text/javascript">
function open_ftp_u(url,uid){
	if(confirm('确认开通FTP?')){
	$('#u_ftp_o_'+uid).html('<img src="images/ajax_loading.gif" align="absmiddle">');
		$.getScript(url,function(){
			var arr = cb.split('|');			
			if(arr[0]=='true'){
			$('#u_ftp_o_'+uid).html('成功');
			setTimeout(function(){$('#u_ftp_o_'+uid).hide();},2250);
			}else{
			$('#u_ftp_o_'+uid).html(cb);
			}
		});
	}
}
function del_ftp_u(url,uid){
	if(confirm('确认删除FTP?')){
	$('#u_ftp_d_'+uid).html('<img src="images/ajax_loading.gif" align="absmiddle">');
		$.getScript(url,function(){			
			var arr = cb.split('|');			
			if(arr[0]=='true'){
			$('#u_ftp_d_'+uid).html('成功');
			setTimeout(function(){$('#u_ftp_tr_'+uid).hide();},2250);
			}else{
			$('#u_ftp_d_'+uid).html(cb);
			}
		});
	}
}
</script>
<table align="center" width="100%" cellpadding="0" cellspacing="0" border="0" class="td_line">
<!--#
if(count($users)){
#-->
<tr>
	<td width="30%" class="bold"><?=__('user_name')?>|最后活动时间</td>
	<td class="bold">FTP主机|入库主机</td>
	<td align="center" width="100" class="bold">FTP用户名</td>
	<td align="center" class="bold">FTP存储目录</td>
	<td align="center" class="bold">FTP端口</td>
	<td width="180" class="bold">FTP文件管理地址</td>
	<td align="right" class="bold"><?=__('operation')?></td>
</tr>
<!--#
	foreach($users as $k => $v){
		$color = ($k%2 ==0) ? 'color1' :'color4';
#-->
<tr class="{$color}" id="u_ftp_tr_{$v[userid]}">
	<td><!--#if($v[ftp_locked]){#--><a href="javascript:alert('用户FTP已锁定，上传的文件无法入库')" class="txtred">{$v['username']}</a><!--#}else{#--><a href="{$v['a_user_edit']}">{$v['username']}</a><!--#}#--> | <span class="txtgray">{$v[last_time]}</span><br /><!--#if($action=='active_ftp'){#--><a href="{$v[a_import]}" target="_blank">查看用户FTP文件</a><!--#}#--></td>
	<td>{$v['ftp_host']}<br /><span class="txtgray">{$v[server_name]}(ID:{$v[server_oid]})</span></td>
	<td align="center">{$v['ftp_user']}</td>
	<td align="center">{$v['ftp_path']}</td>
	<td align="center">{$v['ftp_port']}</td>
	<td>{$v['file_host']}</td>
	<td align="right">
	<a href="{$v['a_user_ftp']}">编辑FTP</a>
	<!--#if($action=='active_ftp'){#-->
	<a href="javascript:;" id="u_ftp_o_{$v[userid]}" onclick="open_ftp_u('{$v[a_open_ftp]}',{$v[userid]})">开</a>
	<a href="javascript:;" id="u_ftp_d_{$v[userid]}" class="txtred" onclick="del_ftp_u('{$v[a_del_ftp]}',{$v[userid]})">删</a>
	<!--#}#-->
	</td>
</tr>	
<!--#
	}
	unset($users);
#-->
<tr>
	<td colspan="7"><input type="button" class="btn" onclick="if(confirm('批量更新后，所有FTP用户的上传主机及文件管理地址将会更新为 分布服务器插件 中的默认上传主机地址!')){go('{#urr(ADMINCP,"item=plugins&menu=plugin&app=phpdisk_ftp&action=bat_update_ftp")#}');}" value="批量更新FTP主机及入库地址" />&nbsp;&nbsp;FTP端口:<input type="text" id="b_ftp_port" size="3" maxlength="5" /><input type="button" onclick="update_ftp_port()" class="btn" value="批量更新FTP端口" /> </td>
</tr>
<!--#	
}else{	
#-->
<tr>
	<td align="center" colspan="7"><?=__('user_not_found')?></td>
</tr>
<!--#
}
#-->
<!--#if($page_nav){#-->
<tr>
	<td colspan="7">{$page_nav}</td>
</tr>
<!--#}#-->
</table>
<!--#}elseif($action=='ftp_log'){#-->
<form action="{#urr(ADMINCP,"item=$item&menu=$menu&app=$app")#}" name="user_form" method="post" onsubmit="return dosubmit(this);">
<input type="hidden" name="action" value="{$action}" />
<input type="hidden" name="formhash" value="{$formhash}" />
<table align="center" width="100%" cellpadding="0" cellspacing="0" border="0" class="td_line">
<!--#
if(count($logs)){
#-->
<tr>
	<td width="20%" class="bold"><?=__('user_name')?></td>
	<td class="bold">入库文件</td>
	<td class="bold">文件大小</td>
	<td align="center" width="150" class="bold">开始时间</td>
	<td align="center" width="150" class="bold">结束时间</td>
	<td align="center" class="bold">操作IP</td>
</tr>
<!--#
	foreach($logs as $k => $v){
		$color = ($k%2 ==0) ? 'color1' :'color4';
#-->
<tr class="{$color}">

	<td><input type="checkbox" name="ids[]" id="ids" value="{$v['id']}"  /> {$v['username']}</td>
	<td>{$v['file_name']}</td>
	<td>{$v['file_size']}</td>
	<td align="center">{$v['start_time']}</td>
	<td align="center" class="txtgray">{$v['done_time']}</td>
	<td align="center" class="txtgray">{$v['ip']}</td>
</tr>	
<!--#
	}
	unset($logs);
#-->
<!--#if($page_nav){#-->
<tr>
	<td colspan="6">{$page_nav}</td>
</tr>
<!--#}#-->
<tr>
	<td colspan="6"><a href="javascript:void(0);" onclick="reverse_ids(document.user_form.ids);"><?=__('select_all')?></a>&nbsp;&nbsp;<a href="javascript:void(0);" onclick="cancel_ids(document.user_form.ids);"><?=__('select_cancel')?></a>&nbsp;&nbsp;
	<input type="radio" name="task" value="del_log" checked="checked" />删除FTP日志&nbsp;&nbsp;
	<input type="submit" class="btn" value="<?=__('btn_submit')?>"/>
	<input type="button" class="btn" onclick="if(confirm('确认清空所有？')){go('{#urr(ADMINCP,"item=plugins&menu=plugin&app=phpdisk_ftp&action=ftp_log&task=del_log_all")#}');}" value="一键清空FTP日志"/>
	</td>
</tr>
<!--#	
}else{	
#-->
<tr>
	<td align="center" colspan="6">暂无FTP日志</td>
</tr>
<!--#
}
#-->
</table>
</form>
<script language="javascript">
function dosubmit(o){
	if(checkbox_ids("ids[]") != true){
		alert("请选择需要删除的FTP日志。");
		return false;
	}
}
</script>

<!--#}else{#-->
<table align="center" width="100%" cellpadding="0" cellspacing="0" border="0" class="td_line">
<!--#
if(count($users)){
#-->
<tr>
	<td width="30%" class="bold"><?=__('user_name')?></td>
	<td class="bold">E-mail</td>
	<td align="center" width="80" class="bold"><?=__('user_group')?></td>
	<td align="center" width="100" class="bold">注册IP</td>
	<td align="center" width="150" class="bold"><?=__('reg_time')?></td>
	<td align="right" class="bold"><?=__('operation')?></td>
</tr>
<!--#
	foreach($users as $k => $v){
		$color = ($k%2 ==0) ? 'color1' :'color4';
#-->
<tr class="{$color}">

	<td><!--#if($v[ftp_locked]){#--><a href="javascript:alert('用户FTP已锁定，上传的文件无法入库')" class="txtred">{$v['username']}</a><!--#}else{#--><a href="{$v['a_user_edit']}">{$v['username']}</a><!--#}#--></td>
	<td>{$v['email']}</td>
	<td align="center">{$v['group_name']}</td>
	<td align="center">{$v['reg_ip']}</td>
	<td align="center" class="txtgray">{$v['reg_time']}</td>
	<td align="right">
	<a href="{$v['a_user_ftp']}">编辑FTP</a>
	</td>
</tr>	
<!--#
	}
	unset($users);
}else{	
#-->
<tr>
	<td align="center" colspan="6"><?=__('user_not_found')?></td>
</tr>
<!--#
}
#-->
<!--#if($page_nav){#-->
<tr>
	<td colspan="6">{$page_nav}</td>
</tr>
<!--#}#-->
</table>
<!--#}#-->
</div>
</div>
<script language="javascript">
function update_ftp_port(){
	if($.trim($('#b_ftp_port').val())==''){
		alert('请填写需要更换的FTP端口');
		$('#b_ftp_port').focus();
	}else{
		go('{#urr(ADMINCP,"item=plugins&menu=plugin&app=phpdisk_ftp&action=bat_update_ftp_port&port=")#}'+$.trim($('#b_ftp_port').val()));
	}
}
</script>

<!--#
}
#-->
