admin/templets/sys_multiserv.htm
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>服务器分布/远程</title>
<link href="css/base.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
function AddServer()
{
var op="";
var sel = document.getElementById("c_userlist");
for(var i=0;i<sel.length;i++){
if(sel.options[i].selected == true){
op +=sel.options[i].value+",";
}
}
if(document.form1.c_servurl.value==""||document.form1.c_servurl.value=="http://"){ alert('服务器网址不能为空!'); return ;}
if(document.form1.c_servname.value==""){ alert('服务器名称不能为空!'); return ;}
if(document.form1.c_servuser.value==""){ alert('FTP用户名不能为空!'); return ;}
if(document.form1.c_servpwd.value==""){ alert('FTP密码不能为空!'); return ;}
document.form1.c_servinfo.value += document.form1.c_servname.value+" | "+document.form1.c_servurl.value+
" | "+document.form1.c_servport.value+" | "+document.form1.c_servuser.value+" | "+document.form1.c_servpwd.value+" | "+op+
"\r\n";
}
</script>
</head>
<body background='images/allbg.gif' leftmargin='8' topmargin='8'>
<table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" align="center">
<form name="form1" action="sys_multiserv.php" method="post">
<input type="hidden" name="dopost" value="save" />
<tr>
<td height="28" colspan="2" background='images/tbg.gif'> <table width="98%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="30%" height="18" style="padding-left:10px;"><strong>服务器分布/远程设置:</strong></td>
<td width="70%" align="right"> </td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF">在开启分布/远程设置后需要在栏目中对相关的站点进行设置,例如子域名、后台栏目生成</td>
</tr>
<tr>
<td height="26" colspan="2" bgcolor="#F9FCEF">
<strong>附件服务器设置: </strong></td>
</tr>
<tr>
<td bgcolor="#FFFFFF" width="19%">是否启用附件服务器:</td>
<td width="81%" bgcolor="#FFFFFF">
<input name="c_remoteuploads" type="radio" class="np" value="1" <?php echo ($row['remoteuploads']==1)? 'checked' : '';?>/>
启用
<input name="c_remoteuploads" type="radio" class="np" value="0" <?php echo ($row['remoteuploads']==0)? 'checked' : '';?>/>
不启用
<small style="color:#999">开启后附件将同步远程发布到附件服务器中</small></td>
</tr>
<tr>
<td bgcolor="#FFFFFF">附件服务器域名:</td>
<td bgcolor="#FFFFFF"> <label>
<input name="c_remoteupUrl" type="text" id="c_remoteupUrl" value="<?php echo empty($row['remoteupUrl'])? '' :$row['remoteupUrl'];?>" size="35">
<small style="color:#999"> 例如:http://img.dedecms.com,开启后图片地址都变为远程地址</small></label></td>
后面还有 79 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。