<?php
/*
'**************************************************************************************************
' 软件名称: 盘锦DJ舞曲网CMS Content Management PjRen.Net
' 版本编号: Version 2.5
' 盘锦舞曲: http://www.pj57.com
' 官方网站: http://www.pjren.net
' 小说网站: http://www.hx39.com
' 0427DJ网: http://www.0427dj.net
' 官方论坛: http://www.tianjiazhen.com
' 版权所有: 盘锦舞曲开发团队    盘锦人(QQ:814006710)
' 郑重声明:
'    1、任何个人或组织不得在未经授权的情况下删除、修改、拷贝本软件及其他副本上一切关于版权的信息；
'    2、盘锦网络事业部保留此软件的法律追究权利
'**************************************************************************************************
*/
include "../../include/conn.php";
include "../../include/function.php";
include "../../include/userset.php";
include "../admin_version.php";
include "../admin_loginstate.php";
?>
<!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=gb2312" />
<title>基本设置</title>
<link type="text/css" href="../images/style.css" rel="stylesheet" />
<link type="text/css" href="../images/alerts.css" rel="stylesheet" media="screen">
<script type="text/javascript" language="javascript">var tentpath='<?php echo S_SitePath?>';</script>
<script language="javascript" src="../js/jquery.js"></script>
<script language="javascript" src="../js/alerts.js"></script>
</head>
<body>
<?php echo SystemPer(9);?>
<div class="r_main" style="margin-top:10px;">
	<div class="r_content">
		<div class="r_content_1">
          <form action="?action=saveconf" method="post" name="form4" id="form4">
 <table  border="0" cellpadding="0" cellspacing="0" class="tb_Style" width="98%" style="margin:0 auto;">
    <tr>
      <td colspan="3" height="30" class="td_title">&nbsp;网银在线支付设置（<a href="http://www.chinabank.com.cn/" target="_blank">注册地址</a>）&nbsp;&nbsp;&nbsp;<input type="radio" class="radio" id="S_WyFun" name="S_WyFun" <?php if(S_WyFun==1){echo("checked='checked'");}?>  value="1">
      <font color=red>开启 <input type="radio" class="radio" id="S_WyFun" name="S_WyFun" <?php if(S_WyFun==0){echo("checked='checked'");}?>  value="0">
      关闭</font> <input type="radio" class="radio" id="S_MrFun" name="S_MrFun" <?php if(S_MrFun==1){echo("checked='checked'");}?>  value="1">
      <font color=#0000ff>默认支付</font></td>
    </tr>
  <tr>
  <tr>
    <td width="40%" height="30" align="left" class="td_border">&nbsp;&nbsp;网&nbsp;&nbsp;银&nbsp;&nbsp;&nbsp;商户号：<input type="text" name="S_playwyid" id="S_playwyid" value="<?php echo S_playwyid?>" onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"/>&nbsp;<font color="#FF0000">*</font></td>
    <td width="60%"align="left" class="td_border">
      MD5私钥：&nbsp;<input type="text" size="35" name="S_playwykey" id="S_playwykey" value="<?php echo S_playwykey?>"/>&nbsp;<font color="#FF0000">*</font></td>
  </tr>

    <tr>
      <td colspan="3" height="30" class="td_title">&nbsp;财富通支付设置（<a href="http://mch.tenpay.com/market/index.shtml" target="_blank">注册地址</a>）&nbsp;&nbsp;&nbsp;<input type="radio" class="radio" id="S_TenFun" name="S_TenFun" <?php if(S_TenFun==1){echo("checked='checked'");}?>  value="1">
      <font color=red>开启 <input type="radio" class="radio" id="S_TenFun" name="S_TenFun" <?php if(S_TenFun==0){echo("checked='checked'");}?>  value="0">
      关闭</font> <input type="radio" class="radio" id="S_MrFun" name="S_MrFun" <?php if(S_MrFun==2){echo("checked='checked'");}?>  value="2">
      <font color=#0000ff>默认支付</font></td>
    </tr>
  <tr>
  <tr>
    <td width="40%" height="30" align="left" class="td_border">&nbsp;&nbsp;财富通&nbsp;&nbsp;商户号：<input type="text" name="S_playtenid" id="S_playtenid" value="<?php echo S_playtenid?>" onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"/>&nbsp;<font color="#FF0000">*</font></td>
    <td width="60%"align="left" class="td_border">
      MD5密钥：&nbsp;<input type="text" size="35" name="S_playtenkey" id="S_playtenkey" value="<?php echo S_playtenkey?>"/>&nbsp;<font color="#FF0000">*</font></td>
  </tr>

    <tr>
      <td colspan="3" height="30" class="td_title">&nbsp;易宝支付设置（<a href="http://www.yeepay.com/" target="_blank">注册地址</a>）&nbsp;&nbsp;&nbsp;<input type="radio" class="radio" id="S_TenFun" name="S_YeeFun" <?php if(S_YeeFun==1){echo("checked='checked'");}?>  value="1">
      <font color=red>开启 <input type="radio" class="radio" id="S_YeeFun" name="S_YeeFun" <?php if(S_YeeFun==0){echo("checked='checked'");}?>  value="0">
      关闭</font> <input type="radio" class="radio" id="S_MrFun" name="S_MrFun" <?php if(S_MrFun==3){echo("checked='checked'");}?>  value="3">
      <font color=#0000ff>默认支付</font></td>
    </tr>
  <tr>
  <tr>
    <td width="40%" height="30" align="left" class="td_border">&nbsp;&nbsp;易&nbsp;&nbsp;宝&nbsp;&nbsp;商户ID：<input type="text" name="S_playyeeid" id="S_playtenid" value="<?php echo S_playyeeid?>" onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"/>&nbsp;<font color="#FF0000">*</font></td>
    <td width="60%"align="left" class="td_border">
      MD5密钥：&nbsp;<input type="text" size="35" name="S_playyeekey" id="S_playyeekey" value="<?php echo S_playyeekey?>"/>&nbsp;<font color="#FF0000">*</font></td>
  </tr>

    <tr>
      <td colspan="2" height="30" class="td_title">&nbsp;支付宝支付设置（<a href="https://lab.alipay.com/user/reg/index.htm" target="_blank">注册地址</a>）&nbsp;&nbsp;&nbsp;<input type="radio" class="radio" id="S_ZfbFun" name="S_ZfbFun" <?php if(S_ZfbFun==1){echo("checked='checked'");}?>  value="1">
      <font color=red>开启 <input type="radio" class="radio" id="S_ZfbFun" name="S_ZfbFun" <?php if(S_ZfbFun==0){echo("checked='checked'");}?>  value="0">
      关闭</font> <input type="radio" class="radio" id="S_MrFun" name="S_MrFun" <?php if(S_MrFun==4){echo("checked='checked'");}?>  value="4">
      <font color=#0000ff>默认支付</font></td>
    </tr>
  <tr>
  <tr>
    <td width="45%" height="30" align="left" class="td_border">&nbsp;支付宝用户名：<input type="text" name="S_playzfbname" id="S_playzfbname" value="<?php echo S_playzfbname?>" />&nbsp;<font color="#FF0000">*</font></td>
    <td width="55%" align="left" class="td_border">&nbsp;合作者ID：<input type="text" name="S_playzfbid" size="35" id="S_playzfbid" value="<?php echo S_playzfbid?>" />&nbsp;<font color="#FF0000">*</font></td>
  </tr>
  <tr>
    <td width="50%" height="30" align="left" class="td_border">&nbsp;&nbsp;安&nbsp;全&nbsp;检验码：<input type="text" size="45" name="S_playzfbkey" id="S_playzfbkey" value="<?php echo S_playzfbkey?>" />&nbsp;<font color="#FF0000">*</font></td>
    <td width="50%" align="left" class="td_border"></td>
  </tr>
 </table>
 <table  border="0" cellpadding="0" cellspacing="0" class="tb_Style" width="98%" style="margin:0 auto;">
  <tr>
    <td colspan="3" class="td_title" height="30">&nbsp;增加点数基本配置</td>
  </tr>
  <tr>
        <td width="14%" height="30" align="left" class="td_border">&nbsp;登入是否加点：</td>
    <td align="left" class="td_border"><input type="radio" class="radio" id="S_LoginFun" name="S_LoginFun" <?php if(S_LoginFun==1){echo("checked='checked'");}?>  value="1">
      开启 <input type="radio" class="radio" id="S_LoginFun" name="S_LoginFun" <?php if(S_LoginFun==0){echo("checked='checked'");}?>  value="0">
      关闭    </td>
    <td width="63%" align="left" class="td_border">
      默认增加点数：
    &nbsp;<input type="text" name="S_LoginPoints" id="S_LoginPoints" value="<?php echo S_LoginPoints?>" onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"/>
      <font color="#FF0000">＊注：必须为整数字</font></td>
  </tr>
  <tr>
        <td width="14%" height="30" align="left" class="td_border">&nbsp;发布舞曲加点：</td>
    <td align="left" class="td_border"><input type="radio" class="radio" id="S_DjaddFun" name="S_DjaddFun" <?php if(S_DjaddFun==1){echo("checked='checked'");}?>  value="1">
      开启 <input type="radio" class="radio" id="S_DjaddFun" name="S_DjaddFun" <?php if(S_DjaddFun==0){echo("checked='checked'");}?>  value="0">
      关闭    </td>
    <td width="63%" align="left" class="td_border">
      默认增加点数：
    &nbsp;<input type="text" name="S_DjaddPoints" id="S_DjaddPoints" value="<?php echo S_DjaddPoints?>" onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"/>
      <font color="#FF0000">＊注：必须为整数字</font></td>
  </tr>
  <tr>
        <td width="14%" height="30" align="left" class="td_border">&nbsp;上传相片加点：</td>
    <td align="left" class="td_border"><input type="radio" class="radio" id="S_PicFun" name="S_PicFun" <?php if(S_PicFun==1){echo("checked='checked'");}?>  value="1">
      开启 <input type="radio" class="radio" id="S_PicFun" name="S_PicFun" <?php if(S_PicFun==0){echo("checked='checked'");}?>  value="0">
      关闭    </td>
    <td width="63%" align="left" class="td_border">
      默认增加点数：
    &nbsp;<input type="text" name="S_PicPoints" id="S_PicPoints" value="<?php echo S_PicPoints?>" onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"/>
      <font color="#FF0000">＊注：必须为整数字</font></td>
  </tr>
 </table>
 <table  border="0" cellpadding="0" cellspacing="0" class="tb_Style" width="98%" style="margin:0 auto;">
  <tr>
    <td colspan="3" class="td_title" height="30">&nbsp;会员基本配置</td>
  </tr>
  <tr>
        <td width="14%" height="30" align="left" class="td_border">&nbsp;开启会员功能：</td>
    <td align="left" class="td_border"><input type="radio" class="radio" id="S_VipFun" name="S_VipFun" <?php if(S_VipFun==1){echo("checked='checked'");}?>  value="1">
      开启 <input type="radio" class="radio" id="S_VipFun" name="S_VipFun" <?php if(S_VipFun==0){echo("checked='checked'");}?>  value="0">
      关闭    </td>
    <td width="63%" align="left" class="td_border">
      开启会员注册：&nbsp;<input type="radio" class="radio" id="S_VipReg" name="S_VipReg" <?php if(S_VipReg==1){echo("checked='checked'");}?>  value="1" />
      开启
      <input type="radio" class="radio" id="S_VipReg" name="S_VipReg" <?php if(S_VipReg==0){echo("checked='checked'");}?>  value="0" />
      关闭</td>
  </tr>
  <tr>
    <td height="30" align="left" class="td_border">&nbsp;开启舞曲审核:</td>
    <td align="left" class="td_border"><input type="radio" name="S_Djopen" id="S_Djopen" value="1" class="radio" <?php if(S_Djopen==1){echo("checked='checked'");}?> />
      开启
      <input type="radio" name="S_Djopen" id="S_Djopen" value="0" class="radio" <?php if(S_Djopen==0){echo("checked='checked'");}?> />
      关闭</td>
    <td class="td_border" align="left">舞曲下在权限：
       &nbsp;<input type="radio" name="S_DjDown" id="S_DjDown" value="1" class="radio" <?php if(S_DjDown==1){echo("checked='checked'");}?> />
      会员
      <input type="radio" name="S_DjDown" id="S_DjDown" value="0" class="radio" <?php if(S_DjDown==0){echo("checked='checked'");}?> />
      游客</td>
  </tr>
  <tr>
        <td width="14%" height="30" align="left" class="td_border">&nbsp;FTP服务器IP：</td>
    <td align="left" class="td_border"><input type="text" name="S_Ftp" id="S_Ftp" value="<?php echo S_Ftp?>" /></td>
    <td width="63%" align="left" class="td_border">
      默认上传目录：&nbsp;<input type="text" name="S_Fdir" id="S_Fdir" value="<?php echo S_Fdir?>" /><font color="#FF0000">会员上传默认FTP目录，如果是主目录请填'./'</font></td>
  </tr>
  <tr>
        <td width="14%" height="30" align="left" class="td_border">&nbsp;FTP用户名：</td>
    <td align="left" class="td_border"><input type="text" name="S_Fuser" id="S_Fuser" value="<?php echo S_Fuser?>" /></td>
    <td width="63%" align="left" class="td_border">
      FTP 密码：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="password" name="S_Fpass" id="S_Fpass" value="<?php echo S_Fpass?>" /></td>
  </tr>
  <tr>
        <td width="14%" height="30" align="left" class="td_border">&nbsp;上传歌曲方式：</td>
    <td align="left" class="td_border"><input type="radio" class="radio" id="S_Vipdj" name="S_Vipdj" <?php if(S_Vipdj==1){echo("checked='checked'");}?>  value="1">
      本地无组件上传  <input type="radio" class="radio" id="S_Vipdj" name="S_Vipdj" <?php if(S_Vipdj==5){echo("checked='checked'");}?>  value="5">
      本地有组件上传<br><input type="radio" class="radio" id="S_Vipdj" name="S_Vipdj" <?php if(S_Vipdj==3){echo("checked='checked'");}?>  value="3">
      FTP  <input type="radio" class="radio" id="S_Vipdj" name="S_Vipdj" <?php if(S_Vipdj==2){echo("checked='checked'");}?>  value="2">
      飞速  <input type="radio" class="radio" id="S_Vipdj" name="S_Vipdj" <?php if(S_Vipdj==4){echo("checked='checked'");}?>  value="4">
      威客  <input type="radio" class="radio" id="S_Vipdj" name="S_Vipdj" <?php if(S_Vipdj==0){echo("checked='checked'");}?>  value="0">
      关闭 </td>
    <td width="63%" align="left" class="td_border">
      动态保留天数：&nbsp;<input type="text" name="S_Dtday" id="S_Dtday" value="<?php echo S_Dtday?>" />
      </br><font color="#FF0000">个人动态的保留天数。超过该天数的个人动态会被清理掉，从而可以保证MySQL的效率。</font></td>
  </tr>
  <tr>
    <td height="30" align="left" class="td_border">&nbsp;包月需要点数：</td>
    <td align="left" class="td_border">&nbsp;<input type="text" name="S_TGChange" id="S_TGChange" value="<?php echo S_TGChange?>" />
      <font color="#FF0000">＊ </font><br />
      <font color="#FF0000">&nbsp;设置升级包月需要多少点数！</font></td>
    <td align="left" class="td_border">
    注册赠送积分：
    &nbsp;<input type="text" name="S_GiftPoints" id="S_GiftPoints" value="<?php echo S_GiftPoints?>" onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"/>
      <font color="#FF0000">＊</font>
    </td>
  </tr>
  <tr>
    <td height="30" align="left" class="td_border">&nbsp;开启推广功能：</td>
    <td align="left" class="td_border"><input type="radio" name="S_TGFun" value="1" class="radio" <?php if(S_TGFun==1){echo("checked='checked'");}?> />
      开启
      <input type="radio" name="S_TGFun" value="0" class="radio" <?php if(S_TGFun==0){echo("checked='checked'");}?> />
      关闭    </td>
	<td class="td_border" align="left">推广获取积分：
    &nbsp;<input name="S_Points" id="S_Points" type="text" value="<?php echo S_Points?>" onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"/>
      <font color="#FF0000">＊</font></td>
  </tr>
  <tr>
    <td height="30" align="left" class="td_border">&nbsp;推广页面地址：</td>
    <td align="left" class="td_border" colspan="2">&nbsp;<input name="S_TGURL" type="text" size="65" value="<?php echo S_TGURL?>"/>
      <font color="#FF0000">＊ </font><br />
      &nbsp;<font color="#FF0000">会员推广时链接的页面，不填写则默认是您的网站首页！</font></td>
  </tr>
  <tr>
    <td height="30" align="left" class="td_border">&nbsp;开启评论功能：</td>
    <td align="left" class="td_border"><input type="radio" name="S_IsOpen" id="radio" value="1" class="radio" <?php if(Syc_Star==1){echo("checked='checked'");}?> />
开启
  <input type="radio" name="S_IsOpen" id="radio" value="0" class="radio" <?php if(Syc_Star==0){echo("checked='checked'");}?> />
关闭&nbsp;</td>
    <td class="td_border" align="left">开启留言功能：    
      <input type="radio" name="S_MIsOpen" id="S_MIsOpen" value="1" class="radio" <?php if(S_MStar==1){echo("checked='checked'");}?> />
开启
<input type="radio" name="S_MIsOpen" id="S_MIsOpen" value="0" class="radio" <?php if(S_MStar==0){echo("checked='checked'");}?> />
关闭 </td>
  </tr>
  <tr>
    <td class="td_border" height="30" align="left">&nbsp;开启评论审核：</td>
    <td class="td_border" align="left"><input type="radio" class="radio" id="S_IsCheck" name="S_IsCheck" <?php if(Syc_Check==1){ echo "checked='checked'";}?>   value="1" />
开启
  <input type="radio" class="radio" id="S_IsCheck" name="S_IsCheck" <?php if(Syc_Check==0){ echo "checked='checked'";}?>   value="0" />
  关闭 </td>
    <td class="td_border" align="left">
    评论每页数量：
    &nbsp;<input type="text" name="S_Count" id="S_Count" value="<?php echo Syc_Count?>">
    <font color="red">＊</font>    </td>
  </tr> 
   <tr>
    <td class="td_border"  height="30" align="left">&nbsp;留言网名限制：</td>
    <td class="td_border" align="left">&nbsp;<input type="text" name="S_MNameLen" id="S_MNameLen" value="<?php echo S_MNameLen?>"> 
    <font color="red">＊</font></td>
    <td class="td_border" align="left">
    评论网名限制：
    &nbsp;<input type="text" name="S_NameLen" id="S_NameLen" value="<?php echo Syc_NameLen?>"> 
   <font color="red">＊</font>    </td>
  </tr>
   <tr>
    <td class="td_border" height="30" align="left">&nbsp;留言内容控制：</td>
    <td class="td_border" align="left">&nbsp;<input type="text" name="S_MContentLen" id="S_MContentLen" value="<?php echo S_Message?>"> 
    <font color="red">＊</font></td>
    <td class="td_border" align="left">
    评论内容控制：
    &nbsp;<input type="text" name="S_ContentLen" id="S_ContentLen" value="<?php echo Syc_Comment?>"> 
    <font color="red">＊</font>    </td>
  </tr>    

  <tr>
    <td class="td_border" height="30" align="left">&nbsp;留言每页数量：</td>
    <td class="td_border" align="left">&nbsp;<input type="text" name="S_MCount" id="S_MCount" value="<?php echo S_MCount?>" />
    <font color="red">＊</font></td>
    <td class="td_border" align="left">
    默认用户名称：
    &nbsp;<input type="text" name="S_NameDefault" id="S_NameDefault" value="<?php echo Syc_Name?>"> 
    <font color="red">＊</font>    </td>
  </tr>
   <tr>
    <td class="td_border" height="30" align="left">&nbsp;留言验证码：</td>
    <td class="td_border" align="left">&nbsp;开启<input type="radio" name="S_Mcode" id="S_Mcode" value="1" class="radio" <?php 
		if(defined('S_Mcode') && S_Mcode!='0') echo "checked";
	?>/>&nbsp;&nbsp;关闭<input type="radio" name="S_Mcode" id="S_Mcode" value="0" class="radio" <?php 
		if(defined('S_Mcode') && S_Mcode=='0') echo "checked";
	?>/>
    <font color="red">＊</font></td>
    <td class="td_border" align="left">
    评论验证码：
    &nbsp;&nbsp;开启<input type="radio" name="S_Ccode" id="S_Ccode" value="1" class="radio" <?php 
		if(defined('S_Ccode') && S_Ccode!='0') echo "checked";
	?>/>&nbsp;&nbsp;关闭<input type="radio" name="S_Ccode" id="S_Ccode" value="0" class="radio" <?php 
		if(defined('S_Ccode') && S_Ccode=='0') echo "checked";
	?>/>
    <font color="red">＊(new)</font>    </td>
  </tr> 
  <tr>
    <td class="td_border" height="30" align="left">&nbsp;注册发送邮件：</td>
    <td class="td_border" align="left">&nbsp;开启<input type="radio" name="S_YjMode" id="S_YjMode" value="1" class="radio" <?php 
		if(defined('S_YjMode') && S_YjMode!='0') echo "checked";
	?>/>&nbsp;&nbsp;关闭<input type="radio" name="S_YjMode" id="S_YjMode" value="0" class="radio" <?php 
		if(defined('S_YjMode') && S_YjMode=='0') echo "checked";
	?>/>
    <font color="red">＊</font></td>
    <td class="td_border" align="left">
    邮件SMTP服务器：
    &nbsp;<input type="text" name="S_Smtp" id="S_Smtp" value="<?php echo S_Smtp?>"> 
    <font color="red">＊如：smtp.qq.com</font>    </td>
  </tr>
  <tr>
    <td class="td_border" height="30" align="left">&nbsp;用户邮箱：</td>
    <td class="td_border" align="left">&nbsp;<input type="text" name="S_Mail" id="S_Mail" value="<?php echo S_Mail?>" /></td>
    <td class="td_border" align="left">
    飞速网盘帐号：
    &nbsp;<input type="text" name="S_Rayfileup" id="S_Rayfileup" value="<?php echo S_Rayfileup?>"> 
    <font color="red">＊</font>    </td>
  </tr>
  <tr>
    <td class="td_border" height="30" align="left">&nbsp;邮箱帐号：</td>
    <td class="td_border" align="left">&nbsp;<input type="text" name="S_Mailuser" id="S_Mailuser" value="<?php echo S_Mailuser?>"> </td>
    <td class="td_border" align="left">
    邮箱密码：
    &nbsp;<input type="password" name="S_Mailpass" id="S_Mailpass" value="<?php echo S_Mailpass?>"> 
    <font color="red">＊</font>    </td>
  </tr>
  <tr>
    <td class="td_border"   align="left">&nbsp;邮件发送内容：</td>
    <td class="td_border" align="left" colspan="2">&nbsp;<textarea name="S_MailContent" id="S_MailContent" rows="7" cols="80"><?php echo S_MailContent?></textarea>
    <font color="red">＊</font></td>
  </tr> 
  <tr>
    <td class="td_border"   align="left">&nbsp;脏话文字过滤：</td>
    <td class="td_border" align="left" colspan="2">&nbsp;<textarea name="S_Filter" id="S_Filter" rows="7" cols="80"><?php echo Syc_GSQL?></textarea>
    <font color="red">＊</font></td>
  </tr> 
  <tr>
    <td class="td_border"  height="30" align="center">&nbsp;</td>
    <td class="td_border"  height="30"> &nbsp;
      <input name="submit" type="submit" class="rb1" value="更新会员参数" /></td>
    <td class="td_border"  height="30" align="center">&nbsp;</td>
  </tr>           
</table>
</form>

      </div>
	</div>
</div>
<?php
$action=SafeRequest("action","get");
if($action=="saveconf"){
	
	$S_IsOpen=SafeRequest("S_IsOpen","post");
	$S_IsCheck=SafeRequest("S_IsCheck","post");
	$S_Count=SafeRequest("S_Count","post");
	$S_NameLen=SafeRequest("S_NameLen","post");
	$S_ContentLen=SafeRequest("S_ContentLen","post");
	$S_NameDefault=SafeRequest("S_NameDefault","post");
	$S_Filter=SafeRequest("S_Filter","post");
	
	$S_MIsOpen=SafeRequest("S_MIsOpen","post");
	$S_MCount=SafeRequest("S_MCount","post");
	$S_MNameLen=SafeRequest("S_MNameLen","post");
	$S_MContentLen=SafeRequest("S_MContentLen","post");
	$S_VipFun=SafeRequest("S_VipFun","post");
	$S_VipReg=SafeRequest("S_VipReg","post");
	$S_Points=SafeRequest("S_Points","post");
	$S_TGFun=SafeRequest("S_TGFun","post");
	$S_TGURL=SafeRequest("S_TGURL","post");
	$S_TGChange=SafeRequest("S_TGChange","post");
	$S_GiftPoints=SafeRequest("S_GiftPoints","post");
	
	$S_Mcode=SafeRequest("S_Mcode","post");
	$S_Ccode=SafeRequest("S_Ccode","post");
	$S_Vipdj=SafeRequest("S_Vipdj","post");
	$S_Dtday=SafeRequest("S_Dtday","post");
	$S_playwyid=SafeRequest("S_playwyid","post");
	$S_playwykey=SafeRequest("S_playwykey","post");
	$S_playtenid=SafeRequest("S_playtenid","post");
	$S_playtenkey=SafeRequest("S_playtenkey","post");
	$S_playzfbname=SafeRequest("S_playzfbname","post");
	$S_playzfbid=SafeRequest("S_playzfbid","post");
	$S_playzfbkey=SafeRequest("S_playzfbkey","post");
	$S_playyeeid=SafeRequest("S_playyeeid","post");
	$S_playyeekey=SafeRequest("S_playyeekey","post");
	$S_Ftp=SafeRequest("S_Ftp","post");
	$S_Fuser=SafeRequest("S_Fuser","post");
	$S_Fpass=SafeRequest("S_Fpass","post");
	$S_Fdir=SafeRequest("S_Fdir","post");
	$S_YjMode=SafeRequest("S_YjMode","post");
	$S_Smtp=SafeRequest("S_Smtp","post");
	$S_Mail=SafeRequest("S_Mail","post");
	$S_Mailuser=SafeRequest("S_Mailuser","post");
	$S_Mailpass=SafeRequest("S_Mailpass","post");
	$S_MailContent=SafeRequest("S_MailContent","post");
	$S_LoginFun=SafeRequest("S_LoginFun","post");
	$S_DjaddFun=SafeRequest("S_DjaddFun","post");
	$S_PicFun=SafeRequest("S_PicFun","post");
	$S_LoginPoints=SafeRequest("S_LoginPoints","post");
	$S_DjaddPoints=SafeRequest("S_DjaddPoints","post");
	$S_PicPoints=SafeRequest("S_PicPoints","post");
	$S_ZfbFun=SafeRequest("S_ZfbFun","post");
	$S_WyFun=SafeRequest("S_WyFun","post");
	$S_MrFun=SafeRequest("S_MrFun","post");
	$S_TenFun=SafeRequest("S_TenFun","post");
	$S_YeeFun=SafeRequest("S_YeeFun","post");
	$S_Rayfileup=SafeRequest("S_Rayfileup","post");
	$S_Djopen=SafeRequest("S_Djopen","post");
	$S_DjDown=SafeRequest("S_DjDown","post");
	$strs="<?php"."\n";
	
	$strs=$strs."define(\"Syc_Name\",\"".$S_NameDefault."\");\n";
	$strs=$strs."define(\"Syc_Star\",".$S_IsOpen.");\n";	
	$strs=$strs."define(\"Syc_Check\",".$S_IsCheck.");\n";
	$strs=$strs."define(\"Syc_Count\",".$S_Count.");\n";	
	$strs=$strs."define(\"Syc_NameLen\",".$S_NameLen.");\n";	
	$strs=$strs."define(\"Syc_Comment\",".$S_ContentLen.");\n";	
	$strs=$strs."define(\"S_Djopen\",".$S_Djopen.");\n";	
	$strs=$strs."define(\"S_MStar\",".$S_MIsOpen.");\n";	
	$strs=$strs."define(\"S_MCount\",".$S_MCount.");\n";	
	$strs=$strs."define(\"S_DjDown\",".$S_DjDown.");\n";	
	$strs=$strs."define(\"S_MNameLen\",".$S_MNameLen.");\n";	
	$strs=$strs."define(\"S_Message\",".$S_MContentLen.");\n";	
	$strs=$strs."define(\"Syc_GSQL\",\"".$S_Filter."\");\n";
	$strs=$strs."define(\"S_VipFun\",\"".$S_VipFun."\");\n";
	$strs=$strs."define(\"S_MrFun\",".$S_MrFun.");\n";
	$strs=$strs."define(\"S_VipReg\",\"".$S_VipReg."\");\n";
	$strs=$strs."define(\"S_Points\",\"".$S_Points."\");\n";
	$strs=$strs."define(\"S_TGFun\",\"".$S_TGFun."\");\n";
	$strs=$strs."define(\"S_TGURL\",\"".$S_TGURL."\");\n";
	$strs=$strs."define(\"S_TGChange\",\"".$S_TGChange."\");\n";
	$strs=$strs."define(\"S_GiftPoints\",\"".$S_GiftPoints."\");\n";
	$strs=$strs."define(\"S_Mcode\",\"".$S_Mcode."\");\n";
	$strs=$strs."define(\"S_Ccode\",\"".$S_Ccode."\");\n";
	$strs=$strs."define(\"S_Vipdj\",\"".$S_Vipdj."\");\n";
	$strs=$strs."define(\"S_Dtday\",\"".$S_Dtday."\");\n";
	$strs=$strs."define(\"S_ZfbFun\",\"".$S_ZfbFun."\");\n";
	$strs=$strs."define(\"S_WyFun\",\"".$S_WyFun."\");\n";
	$strs=$strs."define(\"S_TenFun\",\"".$S_TenFun."\");\n";
	$strs=$strs."define(\"S_YeeFun\",\"".$S_YeeFun."\");\n";
	$strs=$strs."define(\"S_playwyid\",\"".$S_playwyid."\");\n";
	$strs=$strs."define(\"S_playwykey\",\"".$S_playwykey."\");\n";
	$strs=$strs."define(\"S_playtenid\",\"".$S_playtenid."\");\n";
	$strs=$strs."define(\"S_playtenkey\",\"".$S_playtenkey."\");\n";
	$strs=$strs."define(\"S_playzfbname\",\"".$S_playzfbname."\");\n";
	$strs=$strs."define(\"S_playzfbid\",\"".$S_playzfbid."\");\n";
	$strs=$strs."define(\"S_playzfbkey\",\"".$S_playzfbkey."\");\n";
	$strs=$strs."define(\"S_playyeeid\",\"".$S_playyeeid."\");\n";
	$strs=$strs."define(\"S_playyeekey\",\"".$S_playyeekey."\");\n";
	$strs=$strs."define(\"S_Ftp\",\"".$S_Ftp."\");\n";
	$strs=$strs."define(\"S_Fuser\",\"".$S_Fuser."\");\n";
	$strs=$strs."define(\"S_Fpass\",\"".$S_Fpass."\");\n";
	$strs=$strs."define(\"S_Fdir\",\"".$S_Fdir."\");\n";
	$strs=$strs."define(\"S_YjMode\",\"".$S_YjMode."\");\n";
	$strs=$strs."define(\"S_Smtp\",\"".$S_Smtp."\");\n";
	$strs=$strs."define(\"S_Mail\",\"".$S_Mail."\");\n";
	$strs=$strs."define(\"S_Mailuser\",\"".$S_Mailuser."\");\n";
	$strs=$strs."define(\"S_Mailpass\",\"".$S_Mailpass."\");\n";
	$strs=$strs."define(\"S_MailContent\",\"".$S_MailContent."\");\n";
	$strs=$strs."define(\"S_LoginFun\",\"".$S_LoginFun."\");\n";
	$strs=$strs."define(\"S_DjaddFun\",\"".$S_DjaddFun."\");\n";
	$strs=$strs."define(\"S_PicFun\",\"".$S_PicFun."\");\n";
	$strs=$strs."define(\"S_LoginPoints\",\"".$S_LoginPoints."\");\n";
	$strs=$strs."define(\"S_DjaddPoints\",\"".$S_DjaddPoints."\");\n";
	$strs=$strs."define(\"S_PicPoints\",\"".$S_PicPoints."\");\n";
	$strs=$strs."define(\"S_Rayfileup\",\"".$S_Rayfileup."\");\n";
	$strs=$strs."?>";
	
	//写文件
	$ifile = new iFile('../../include/userset.php','w');
	$ifile->WriteFile($strs,3); 
	echo "<script>window.location='admin_userset.php';</script>";}
?>
<?php include "../admin_bottom.php"; ?>
</body>
</html>