<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>会员基本设置</title>
<LINK href="<?=base_url()?>csdj/admin/images/admin.css" type="text/css" rel="stylesheet">
<SCRIPT type="text/javascript" src="<?=base_url()?>csdj/admin/js/admin.js"></script>
<script type="text/javascript" src="<?=base_url()?>csdj/admin/js/dialog.js"></script>
<script type="text/javascript" src="<?=base_url()?>csdj/admin/js/setcolor.js"></script>
<script>
function User(id){
        for (var i=1;i<7;i++){
            if(i==id){
                $("userpz"+i).style.display="";
            }else{
                $("userpz"+i).style.display="none";
            }
        }
}
</script>
</head>
<BODY style="margin:2px">
	<table align="center" border="1" cellspacing="0" cellpadding="5" bordercolor="#C4DFF4" width="950" style="border-collapse:collapse;">
  	<tr>
    		<td height="20" colspan="3" align="center">
                     <input type="button" name="Submit" value="基本配置" class="italk-st" onClick="User(1);">&nbsp;&nbsp;&nbsp;&nbsp;
                     <input type="button" name="Submit" value="注册配置" class="italk-st" onClick="User(2);">&nbsp;&nbsp;&nbsp;&nbsp;
                     <input type="button" name="Submit" value="下载配置" class="italk-st" onClick="User(3);">&nbsp;&nbsp;&nbsp;&nbsp;
                     <input type="button" name="Submit" value="主页配置" class="italk-st" onClick="User(4);">&nbsp;&nbsp;&nbsp;&nbsp;
                     <input type="button" name="Submit" value="金币策略" class="italk-st" onClick="User(5);">&nbsp;&nbsp;&nbsp;&nbsp;
                     <input type="button" name="Submit" value="远程附件" class="italk-st" onClick="User(6);">&nbsp;&nbsp;&nbsp;&nbsp;
                </td>
  	</tr> 
	</table>
	<form method="post" Name="myForm" action="<?=site_url('admin/setting/useredit')?>">
	<table id="userpz1" align="center" border="1" cellspacing="0" cellpadding="5" bordercolor="#C4DFF4" width="950" style="border-collapse:collapse;">
  	<tr>
    		<td height="20" colspan="3" class="title" align="center">会员信息相关设置</td>
  	</tr>
  	<tr>
    		<td width="20%" align="right">会员系统状态:</td>
    		<td width="40%">
		    <label><input type="radio" name="User_Mode" value="1"<?php if(User_Mode==1) echo ' checked';?>/>开启</label>&nbsp;&nbsp;
		    <label><input type="radio" name="User_Mode" value="2"<?php if(User_Mode==2) echo ' checked';?>/>关闭</label>
		</td>
    		<td width="40%">是否开启会员系统</td>
  	</tr>
  	<tr>
    		<td align="right">强制上传头像:</td>
    		<td>
		    <label><input type="radio" name="User_Logo" value="1"<?php if(User_Logo==1) echo ' checked';?>/>开启</label>&nbsp;&nbsp;
		    <label><input type="radio" name="User_Logo" value="2"<?php if(User_Logo==2) echo ' checked';?>/>关闭</label>
		</td>
    		<td width="40%">是否强制会员上传头像</td>
  	</tr>
  	<tr>
    		<td align="right">上传歌曲审核:</td>
    		<td>
		    <label><input type="radio" name="User_DjFun" value="1"<?php if(User_DjFun==1) echo ' checked';?>/>开启</label>&nbsp;&nbsp;
		    <label><input type="radio" name="User_DjFun" value="2"<?php if(User_DjFun==2) echo ' checked';?>/>关闭</label>
		</td>
    		<td width="40%">会员上传歌曲审核开关</td>
  	</tr>
  	<tr>
    		<td align="right">发表文章审核:</td>
    		<td>
		    <label><input type="radio" name="User_NewsFun" value="1"<?php if(User_NewsFun==1) echo ' checked';?>/>开启</label>&nbsp;&nbsp;
		    <label><input type="radio" name="User_NewsFun" value="2"<?php if(User_NewsFun==2) echo ' checked';?>/>关闭</label>
		</td>
    		<td width="40%">会员发表文章审核开关</td>
  	</tr>
  	<tr>
    		<td align="right">发布视频审核:</td>
    		<td>
		    <label><input type="radio" name="User_VodFun" value="1"<?php if(User_VodFun==1) echo ' checked';?>/>开启</label>&nbsp;&nbsp;
		    <label><input type="radio" name="User_VodFun" value="2"<?php if(User_VodFun==2) echo ' checked';?>/>关闭</label>
		</td>
    		<td width="40%">会员发布视频审核开关</td>
  	</tr>
  	<tr>
    		<td align="right">制作专集审核:</td>
    		<td>
		    <label><input type="radio" name="User_TopicFun" value="1"<?php if(User_TopicFun==1) echo ' checked';?>/>开启</label>&nbsp;&nbsp;
		    <label><input type="radio" name="User_TopicFun" value="2"<?php if(User_TopicFun==2) echo ' checked';?>/>关闭</label>
		</td>
    		<td width="40%">会员制作专集审核开关</td>
  	</tr>
  	<tr>
    		<td align="right">上传图片审核:</td>
    		<td>
		    <label><input type="radio" name="User_PicFun" value="1"<?php if(User_PicFun==1) echo ' checked';?>/>开启</label>&nbsp;&nbsp;
		    <label><input type="radio" name="User_PicFun" value="2"<?php if(User_PicFun==2) echo ' checked';?>/>关闭</label>
		</td>
    		<td width="40%">会员发布视频审核开关</td>
  	</tr>
  	<tr>
    		<td align="right">上传歌曲方式:</td>
    		<td>
		    <label><input onClick="document.getElementById('csdj').style.display='none';" type="radio" name="User_DjMode" value="1"<?php if(User_DjMode==1) echo ' checked';?>/>站内</label>&nbsp;&nbsp;
		    <label><input onClick="document.getElementById('csdj').style.display='none';" type="radio" name="User_DjMode" value="3"<?php if(User_DjMode==3) echo ' checked';?>/>威盘</label>&nbsp;&nbsp;
		    <label><input onClick="document.getElementById('csdj').style.display='none';" type="radio" name="User_DjMode" value="0"<?php if(User_DjMode==0) echo ' checked';?>/>关闭</label>
		</td>
    		<td width="40%">会员发布视频审核开关</td>
  	</tr>
  	<tr>
    		<td align="right">网站留言开关:</td>
    		<td>
		    <label><input onClick="document.getElementById('gbook').style.display='';" type="radio" name="User_BookFun" value="1"<?php if(User_BookFun==1) echo ' checked';?>/>开启</label>&nbsp;&nbsp;
		    <label><input onClick="document.getElementById('gbook').style.display='none';" type="radio" name="User_BookFun" value="2"<?php if(User_BookFun==2) echo ' checked';?>/>关闭</label>
		</td>
    		<td width="40%">网站留言开关</td>
  	</tr>
  	<tr id="gbook" <?php if(User_BookFun==2){echo 'style="display:none"';}?>>
    		<td align="right">留言每页条数 :</td>
    		<td ><input name="User_BookNum" type="text" value="<?=User_BookNum?>" size=10 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></td>
    		<td >留言每页显示条数</td>
  	</tr>
  	<tr>
    		<td align="right">普通会员数量限制 :</td>
    		<td >
                    歌曲：<input name="User_MusicNum" type="text" value="<?=User_MusicNum?>" size=10 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">&nbsp;&nbsp;
                    视频：<input name="User_VodNum" type="text" value="<?=User_VodNum?>" size=10 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">&nbsp;&nbsp;
                    文章：<input name="User_NewsNum" type="text" value="<?=User_NewsNum?>" size=10 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"><br>
                    专集：<input name="User_TopicNum" type="text" value="<?=User_TopicNum?>" size=10 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">&nbsp;&nbsp;
                    图片：<input name="User_PicNum" type="text" value="<?=User_PicNum?>" size=10 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
                </td>
    		<td >普通会员数量限制，0表示不限制，VIP会员也是不限制的</td>
  	</tr>
  	<tr>
    		<td align="right">动态保留天数 :</td>
    		<td ><input name="User_Dtts" type="text" value="<?=User_Dtts?>" size=10 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">天</td>
    		<td >动态保留天数,数字越大，数据库压力越大,0为永久保留。</td>
  	</tr>
  	<tr>
    		<td align="right">访客保留数量 :</td>
    		<td ><input name="User_Fkts" type="text" value="<?=User_Fkts?>" size=10 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">条</td>
    		<td >访客保留数,数字越大，数据库压力越大,0为全部保留。</td>
  	</tr>
  	<tr>
    		<td align="right">好友保留数量 :</td>
    		<td ><input name="User_Hyts" type="text" value="<?=User_Hyts?>" size=10 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">条</td>
    		<td >好友保留数量,数字越大，数据库压力越大,0为全部保留。</td>
  	</tr>
  	<tr>
    		<td align="right">粉丝保留数量 :</td>
    		<td ><input name="User_Fsts" type="text" value="<?=User_Fsts?>" size=10 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">条</td>
    		<td >粉丝保留数量,数字越大，数据库压力越大,0为全部保留。</td>
  	</tr>
  	<tr>
    		<td align="right">说说保留数量 :</td>
    		<td ><input name="User_Bkts" type="text" value="<?=User_Bkts?>" size=10 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">条</td>
    		<td >说说保留数量,数字越大，数据库压力越大,0为全部保留。</td>
  	</tr>
        </table>

	<table id="userpz2" style="display:none" align="center" border="1" cellspacing="0" cellpadding="5" bordercolor="#C4DFF4" width="950" style="border-collapse:collapse;">
  	<tr>
    		<td height="20" colspan="3" class="title" align="center">会员注册相关设置</td>
  	</tr> 
  	<tr>
    		<td align="right">会员注册状态:</td>
    		<td>
		    <label><input type="radio" name="User_Reg" value="1"<?php if(User_Reg==1) echo ' checked';?>/>开启</label>&nbsp;&nbsp;
		    <label><input type="radio" name="User_Reg" value="2"<?php if(User_Reg==2) echo ' checked';?>/>关闭</label>
		</td>
    		<td width="40%">是否开启会员注册</td>
  	</tr>
	<tr><td align="right">会员注册协议：</td>
		<td><textarea name="User_Regxy" cols="60" rows="4"><?=stripslashes(html_entity_decode(User_Regxy))?></textarea></td>
		<td>会员注册协议</td>
	</tr>
  	<tr>
    		<td align="right">同一IP注册限制小时 :</td>
    		<td ><input name="User_RegIP" type="text" value="<?=User_RegIP?>" size=15 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></td>
    		<td >同一IP注册限制小时</td>
  	</tr>
  	<tr>
    		<td align="right">新用户注册审核:</td>
    		<td>
		    <label><input type="radio" name="User_RegFun" value="1"<?php if(User_RegFun==1) echo ' checked';?>/>开启</label>&nbsp;&nbsp;
		    <label><input type="radio" name="User_RegFun" value="2"<?php if(User_RegFun==2) echo ' checked';?>/>关闭</label>
		</td>
    		<td width="40%">新用户注册是否审核</td>
  	</tr>
  	<tr>
    		<td align="right">新用户邮件激活:</td>
    		<td>
		    <label><input onClick="document.getElementById('regmail').style.display='';" type="radio" name="User_RegEmailFun" value="1"<?php if(User_RegEmailFun==1) echo ' checked';?>/>开启</label>&nbsp;&nbsp;
		    <label><input onClick="document.getElementById('regmail').style.display='';" type="radio" name="User_RegEmailFun" value="2"<?php if(User_RegEmailFun==2) echo ' checked';?>/>关闭</label>
		</td>
    		<td width="40%">新用户是否需要邮件激活</td>
  	</tr>
  	<tbody id="regmail" <?php if(User_RegEmailFun==2){echo 'style="display:none"';}?>>
	<tr><td align="right">邮件激活标题：</td>
		<td><input size=60 value="<?=stripslashes(html_entity_decode(User_RegEmailTitle))?>" name="User_RegEmailTitle"></td>
		<td>支持参数：<br>{cscms:user}：用户名<br> {cscms:webname}：站点名称。</td>
	</tr>
	<tr><td align="right">邮件激活内容：</td>
		<td><textarea name="User_RegEmailContent" cols="60" rows="4"><?=stripslashes(html_entity_decode(User_RegEmailContent))?></textarea></td>
		<td>支持html代码，支持参数：<br>{cscms:user}：用户名<br>{cscms:webname}：站点名称<br>{cscms:url}：激活链接<br>{cscms:time}：发送时间。</td>
	</tr>
  	</tbody>
  	<tr>
    		<td align="right">发送欢迎信息:</td>
    		<td>
		    <label><input type="checkbox" name="User_RegMsgFun[]" value="1"<?php if(strpos(User_RegMsgFun,'1') !== FALSE) echo ' checked';?>>欢迎消息</label>&nbsp;&nbsp;
		    <label><input type="checkbox" name="User_RegMsgFun[]" value="2"<?php if(strpos(User_RegMsgFun,'2') !== FALSE) echo ' checked';?>>欢迎邮件</label>
		</td>
    		<td width="40%">新用户发送欢迎信息</td>
  	</tr>
	<tr><td align="right">欢迎信息标题：</td>
		<td><input size=60 value="<?=stripslashes(html_entity_decode(User_RegMsgTitle))?>" name="User_RegMsgTitle"></td>
		<td>支持参数：<br>{cscms:user}：用户名<br> {cscms:webname}：站点名称。</td>
	</tr>
	<tr><td align="right">欢迎信息内容：</td>
		<td><textarea name="User_RegMsgContent" cols="60" rows="4"><?=stripslashes(html_entity_decode(User_RegMsgContent))?></textarea></td>
		<td>支持html代码，支持参数：<br>{cscms:user}：用户名<br>{cscms:webname}：站点名称<br>{cscms:time}：发送时间。</td>
	</tr>
	<tr><td align="right">注册禁止用户名/呢称：</td>
		<td><textarea name="User_RegJzName" cols="60" rows="4"><?=User_RegJzName?></textarea></td>
		<td>注册禁止的用户名/呢称,用逗号阁开</td>
	</tr>
	<tr><td align="right">找回密码邮件标题：</td>
		<td><input size=60 value="<?=stripslashes(html_entity_decode(User_PassTitle))?>" name="User_PassTitle"></td>
		<td>支持参数：<br>{cscms:user}：用户名<br> {cscms:webname}：站点名称。</td>
	</tr>
	<tr><td align="right">找回密码邮件内容：</td>
		<td><textarea name="User_PassContent" cols="60" rows="4"><?=stripslashes(html_entity_decode(User_PassContent))?></textarea></td>
		<td>支持html代码，支持参数：<br>{cscms:user}：用户名<br>{cscms:webname}：站点名称<br>{cscms:url}：重置链接<br>{cscms:time}：发送时间。</td>
	</tr>
        </table>

	<table id="userpz3" style="display:none" align="center" border="1" cellspacing="0" cellpadding="5" bordercolor="#C4DFF4" width="950" style="border-collapse:collapse;">
  	<tr>
    		<td height="20" colspan="3" class="title" align="center">会员下载相关设置</td>
  	</tr>
  	<tr>
    		<td align="right">下载分成开关:</td>
    		<td>
		    <label><input onClick="document.getElementById('down').style.display='';" type="radio" name="User_DownFun" value="1"<?php if(User_DownFun==1) echo ' checked';?>/>开启</label>&nbsp;&nbsp;
		    <label><input onClick="document.getElementById('down').style.display='none';" type="radio" name="User_DownFun" value="2"<?php if(User_DownFun==2) echo ' checked';?>/>关闭</label>
		</td>
    		<td width="40%">下载分成比列开关</td>
  	</tr>
  	<tr id="down" <?php if(User_DownFun==2){echo 'style="display:none"';}?>>
    		<td align="right">默认下载分成百分比 :</td>
    		<td ><input name="User_Downcion" type="text" value="<?=User_Downcion?>" size=6 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">%</td>
    		<td >默认下载分成百分比数量</td>
  	</tr>
  	<tr>
    		<td align="right">物理路径下载:</td>
    		<td>
		    <label><input onClick="document.getElementById('dir').style.display='';" type="radio" name="User_DirFun" value="1"<?php if(User_DirFun==1) echo ' checked';?>/>开启</label>&nbsp;&nbsp;
		    <label><input onClick="document.getElementById('dir').style.display='none';" type="radio" name="User_DirFun" value="2"<?php if(User_DirFun==2) echo ' checked';?>/>关闭</label>
		</td>
    		<td width="40%">物理路径下载开关</td>
  	</tr>
  	<tr id="dir" <?php if(User_DirFun==2){echo 'style="display:none"';}?>>
    		<td align="right">物理路径 :</td>
    		<td ><input name="User_Dirpath" type="text" value="<?=User_Dirpath?>" size=35></td>
    		<td >物理路径,比如：E:/music/&nbsp;&nbsp;注意必须是歌曲所在目录</td>
  	</tr>
  	<tr>
    		<td align="right">下载扣币间隔小时 :</td>
    		<td ><input name="User_Downtime" type="text" value="<?=User_Downtime?>" size=20 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></td>
    		<td >重复下载同一首歌曲，扣币间隔小时。</td>
  	</tr>
  	<tr>
    		<td align="right">讯雷联盟ID号 :</td>
    		<td ><input name="thunderID" type="text" value="<?=User_thunderID?>" size=20 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"></td>
    		<td >讯雷联盟ID号,比如：214853434</td>
  	</tr>
        </table>

	<table id="userpz4" style="display:none" align="center" border="1" cellspacing="0" cellpadding="5" bordercolor="#C4DFF4" width="950" style="border-collapse:collapse;">
  	<tr>
    		<td height="20" colspan="3" class="title" align="center">会员主页相关设置</td>
  	</tr>
  	<tr>
    		<td width="20%" align="right">会员主页运行方式:</td>
    		<td width="40%">
		    <input id="zt1" type="radio" name="Home_Mode" value="1"<?php if(Home_Mode==1) echo ' checked';?>/><label for="zt1">ID动态</label>&nbsp;&nbsp;
		    <input id="zt2" type="radio" name="Home_Mode" value="2"<?php if(Home_Mode==2) echo ' checked';?>/><label for="zt2">伪静态</label>
		</td>
    		<td width="40%">会员主页地址运行方式,<font color=red>伪静态规则需要手动进行添加。</font></td>
  	</tr>
  	<tr>
    		<td width="20%" align="right">会员主页二级域名:</td>
    		<td width="40%">
		    <label><input onClick="document.getElementById('homeym').style.display='';" type="radio" name="Home_Ym" value="1"<?php if(Home_Ym==1) echo ' checked';?>/>开启</label>&nbsp;&nbsp;
		    <label><input onClick="document.getElementById('homeym').style.display='none';" type="radio" name="Home_Ym" value="2"<?php if(Home_Ym==2) echo ' checked';?>/>关闭</label>
		</td>
    		<td width="40%">会员主页二级域名开关</td>
  	</tr>
  	<tr id="homeym" <?php if(Home_Ym==2){echo 'style="display:none"';}?>>
    		<td align="right">二级域名地址 :</td>
    		<td ><input name="Home_YmUrl" type="text" value="<?=Home_YmUrl?>" size=40></td>
    		<td >二级域名地址&nbsp;比如：chshcms.com</td>
  	</tr>
  	<tr>
    		<td width="20%" align="right">会员主页人气防刷:</td>
    		<td width="40%">
		    <label><input type="radio" name="Home_Hits" value="1"<?php if(Home_Hits==1) echo ' checked';?>/>开启</label>&nbsp;&nbsp;
		    <label><input type="radio" name="Home_Hits" value="2"<?php if(Home_Hits==2) echo ' checked';?>/>关闭</label>
		</td>
    		<td width="40%">会员主页地址运行方式</td>
  	</tr>
        </table>

	<table id="userpz5" style="display:none" align="center" border="1" cellspacing="0" cellpadding="5" bordercolor="#C4DFF4" width="950" style="border-collapse:collapse;">
  	<tr>
    		<td height="20" colspan="3" class="title" align="center">会员金币策略</td>
  	</tr>
  	<tr>
    		<td align="right">充值金币比例 :</td>
    		<td >
                     1元=&nbsp;<input name="Cion_RmbToCion" type="text" value="<?=Cion_RmbToCion?>" size=8 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">&nbsp;个金币&nbsp;&nbsp;&nbsp;
                </td>
    		<td >默认充值金币比比例!</td>
  	</tr>
  	<tr>
    		<td align="right">歌曲奖罚策略 :</td>
    		<td >
                     注册：+&nbsp;<input name="Cion_Reg" type="text" value="<?=Cion_Reg?>" size=6 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">&nbsp;&nbsp;&nbsp;&nbsp;
                     登入：+&nbsp;<input name="Cion_Log" type="text" value="<?=Cion_Log?>" size=6 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">&nbsp;&nbsp;&nbsp;&nbsp;
                     签到：+&nbsp;<input name="Cion_Qd" type="text" value="<?=Cion_Qd?>" size=6 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
                </td>
    		<td >奖罚策略,0为关闭</td>
  	</tr>
  	<tr>
    		<td align="right">每天上限次数 :</td>
    		<td >
                     <input name="Cion_Num" type="text" value="<?=Cion_Num?>" size=32 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">&nbsp;&nbsp;&nbsp;&nbsp;
                </td>
    		<td >每天奖罚最多次数,只对下面的有效!</td>
  	</tr>
  	<tr>
    		<td align="right">歌曲奖罚策略 :</td>
    		<td >
                     上传：+&nbsp;<input name="Cion_UpMusic" type="text" value="<?=Cion_UpMusic?>" size=6 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">&nbsp;&nbsp;&nbsp;&nbsp;
                     删除：-&nbsp;<input name="Cion_DelMusic" type="text" value="<?=Cion_DelMusic?>" size=6 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
                </td>
    		<td >歌曲奖罚策略,0为关闭</td>
  	</tr>
  	<tr>
    		<td align="right">视频奖罚策略 :</td>
    		<td >
                     发布：+&nbsp;<input name="Cion_UpVod" type="text" value="<?=Cion_UpVod?>" size=6 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">&nbsp;&nbsp;&nbsp;&nbsp;
                     删除：-&nbsp;<input name="Cion_DelVod" type="text" value="<?=Cion_DelVod?>" size=6 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
                </td>
    		<td >视频奖罚策略,0为关闭</td>
  	</tr>
  	<tr>
    		<td align="right">文章奖罚策略 :</td>
    		<td >
                     发表：+&nbsp;<input name="Cion_UpNews" type="text" value="<?=Cion_UpNews?>" size=6 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">&nbsp;&nbsp;&nbsp;&nbsp;
                     删除：-&nbsp;<input name="Cion_DelNews" type="text" value="<?=Cion_DelNews?>" size=6 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
                </td>
    		<td >文章奖罚策略,0为关闭</td>
  	</tr>
  	<tr>
    		<td align="right">图片奖罚策略 :</td>
    		<td >
                     上传：+&nbsp;<input name="Cion_UpPic" type="text" value="<?=Cion_UpPic?>" size=6 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">&nbsp;&nbsp;&nbsp;&nbsp;
                     删除：-&nbsp;<input name="Cion_DelPic" type="text" value="<?=Cion_DelPic?>" size=6 onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
                </td>
    		<td >图片奖罚策略,0为关闭</td>
  	</tr>
        </table>

	<table id="userpz6" style="display:none" align="center" border="1" cellspacing="0" cellpadding="5" bordercolor="#C4DFF4" width="950" style="border-collapse:collapse;">
  	<tr>
    		<td height="20" colspan="3" class="title" align="center">远程附件配置</td>
  	</tr>
  	<tr>
    		<td width="20%" align="right">远程附件开关:</td>
    		<td width="40%">
		    <label><input onClick="document.getElementById('fujian').style.display='';" type="radio" name="FTP_Fun" value="1"<?php if(FTP_Fun==1) echo ' checked';?>/>开启</label>&nbsp;&nbsp;
		    <label><input onClick="document.getElementById('fujian').style.display='none';" type="radio" name="FTP_Fun" value="2"<?php if(FTP_Fun==2) echo ' checked';?>/>关闭</label>
		</td>
    		<td width="40%">远程附件开关,<font color=red>附件存储方式的更换可能会造成附件丢失，建议在深夜或者关闭站点后再进行操作。并且更换附件存储方案需手动转移附件文件(与存储方案本身提供的支持有关)，请谨慎选择。</font></td>
  	</tr>
        <tbody id="fujian" <?php if(FTP_Fun==2){echo 'style="display:none"';}?>>
  	<tr>
    		<td align="right">远程附件地址:</td>
    		<td ><input name="FTP_Url" type="text" value="<?=FTP_Url?>" size=40></td>
    		<td ><font color=red>远程附件连接地址，如:http://www.chshcms.com/</font></td>
  	</tr>
  	<tr>
    		<td align="right">FTP服务器地址:</td>
    		<td ><input name="FTP_Server" type="text" value="<?=FTP_Server?>" size=40></td>
    		<td >FTP服务器IP</td>
  	</tr>
  	<tr>
    		<td align="right">FTP服务器端口:</td>
    		<td ><input name="FTP_Port" type="text" value="<?=FTP_Port?>" size=40></td>
    		<td ><font color=red>默认为21</font></td>
  	</tr>
  	<tr>
    		<td align="right">FTP上传目录:</td>
    		<td ><input name="FTP_Dir" type="text" value="<?=FTP_Dir?>" size=40></td>
    		<td ><font color=red>默认为空，表示主目录,前后不要加“/”</font></td>
  	</tr>
  	<tr>
    		<td align="right">FTP帐号:</td>
    		<td ><input name="FTP_Name" type="text" value="<?=FTP_Name?>" size=40></td>
    		<td ><font color=red>FTP密码</font></td>
  	</tr>
  	<tr>
    		<td align="right">FTP密码:</td>
    		<td ><input name="FTP_Pass" type="password" value="<?=FTP_Pass?>" size=40></td>
    		<td ><font color=red>FTP密码</font></td>
  	</tr>
  	<tr>
    		<td width="20%" align="right">是否使用被动模式:</td>
    		<td width="40%">
		    <label><input type="radio" name="FTP_Ive" value="TRUE"<?php if(FTP_Ive=='TRUE') echo ' checked';?>/>开启</label>&nbsp;&nbsp;
		    <label><input type="radio" name="FTP_Ive" value="FALSE"<?php if(FTP_Ive=='FALSE') echo ' checked';?>/>关闭</label>
		</td>
    		<td width="40%">是否使用被动模式，默认开启被动模式。</td>
  	</tr>
        </tbody>
        </table>

	<table align="center" border="1" cellspacing="0" cellpadding="5" bordercolor="#C4DFF4" width="950" style="border-collapse:collapse;">
  	<tr align="center">
    		<td height="36" colspan="3" ><input type="submit" name="Submit" class="italk-bt" value=" 保 存 "></td>
  	</tr>
	</table>
</form>
</body>
</html>

