<!--#include virtual="/incs/config.asp" -->
<!--#include virtual="/incs/top.asp"-->
<%
chk_log()
chk_newpwr 4,24,1
conn.open constr
query="select * from pltcfg"
rs.open query,conn,1,1
if rs.eof then
call errorpage(-2,"对不起，系统错误！")
end if
%>
<table cellspacing=2 cellpadding=0 width="100%" border=0>
  <tbody> 
  <tr> 
    <td  colspan=2 valign="middle"> 
      <table class=line cellspacing=0 cellpadding=0 width="100%" 
                  border=0 align="center">
        <tbody> 
        <tr> 
          <td valign=bottom width="25%" height=20><font color="#000000" class=ddropshadow><b><span class=enbold><strong>系统参数设置</strong></span></b></font></td>
          <td valign=bottom noWrap align=right 
                        width="75%"><a href="index.asp" class=commonface>系统参数设置</a> 
            <font color="#000000">|</font> <a href="pay_idx.asp" class=commonface>付款帐号设置</a> 
            <font color="#000000">|</font> <a href="onl_idx.asp" class=commonface>在线支付接口</a> 
          </td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=5></td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=2 class=menuline></td>
        </tr>
        </tbody> 
      </table>
      <br>
    </td>
  </tr>
  <tr> 
    <td  colspan=2 valign="middle" height="28"> 
      <table width="80%" border="0" cellspacing="0" cellpadding="10" align="center" class=datalist>
        <form action=plt_mng.asp method=post name=theform>
          <tr> 
            <td><b>基本信息设置</b></td>
          </tr>
          <tr> 
            <td class=datagroup> 
              <table border=0 cellpadding=0 
                        cellspacing=0 bordercolordark="#FFFFFF" align="center" width="100%">
                <tbody> 
                <tr > 
                  <td width="25%">网站名称</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_stenme" value="<%=trim(rs("pl_stenme"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>网站网址</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_steurl" value="<%=trim(rs("pl_steurl"))%>">
                    用该网址必须能正常访问到该站点，因为中国频道的域名解析和Winwebmail企业邮局开设管理需要使用此网址。</td>
                </tr>
                <tr > 
                  <td>在上级网站中的会员名称</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_usrnme_fat"   value="<%=trim(rs("pl_usrnme_fat"))%>">
                    用于开设认证</td>
                </tr>
                <tr > 
                  <td>在上级网站中的会员密码</td>
                  <td> 
                    <input class=normalform  size=28  type="password" name="pl_usrpss_fat" value="<%=trim(rs("pl_usrpss_fat"))%>">
                    这里显示的是加密后的字符串，不修改则请保持不变</td>
                </tr>
                </tbody> 
              </table>
            </td>
          </tr>
          <tr> 
            <td><b>会员注册/登录设置</b></td>
          </tr>
          <tr> 
            <td class=datagroup> 
              <table border=0 cellpadding=0 
                        cellspacing=0 bordercolordark="#FFFFFF" align="center" width="100%">
                <tbody> 
                <tr > 
                  <td>注册会员限制</td>
                  <td> 
                    <input class=normalform  size=28  type="radio" name="pl_emlsgl" value="1" <%if trim(rs("pl_emlsgl"))="1" then
						  response.write " checked"
						  end if %>>
                    限制 
                    <input class=normalform  size=28  type="radio" name="pl_emlsgl" value="0" <%if trim(rs("pl_emlsgl"))="0" then
						  response.write " checked"
						  end if %>>
                    不限制 是否限制一个Email地址仅能申请一个会员号</td>
                </tr>
                <tr > 
                  <td>注册会员激活</td>
                  <td> 
                    <input class=normalform  size=28  type="radio" name="pl_newifcfm" value="1" <%if trim(rs("pl_newifcfm"))="1" then
						  response.write " checked"
						  end if %>>
                    启用 
                    <input class=normalform  size=28  type="radio" name="pl_newifcfm" value="0" <%if trim(rs("pl_newifcfm"))="0" then
						  response.write " checked"
						  end if %>>
                    不启用 新注册的会员是否需要到其所填写的Email信箱中激活才能登录</td>
                </tr>
                <tr > 
                  <td>默认价格等级</td>
                  <td> 
                    <select name=pl_dftprc>
                      <%query="select * FROM clslst order by c_cls"
				  rs2.open query,conn,1,1
				 while not rs2.eof 
				 if clng(rs2("c_cls"))=clng(rs("pl_dftprc")) then
				 response.write "<option selected value="&rs2("c_cls")&">"&trim(rs2("c_nme"))&"（"&trim(rs2("c_inf"))&"）</option>"
				 else
				 response.write "<option value="&rs2("c_cls")&">"&trim(rs2("c_nme"))&"（"&trim(rs2("c_inf"))&"）</option>"
				 end if
				 rs2.movenext
				 wend
				  rs2.close 
				  %>
                    </select>
                    用户注册成功后即为此价格等级</td>
                </tr>
                <tr > 
                  <td>默认管理等级</td>
                  <td> 
                    <select name=pl_dftpwr>
                      <%query="select * FROM pwrlst order by pw_id"
				  rs2.open query,conn,1,1
				 while not rs2.eof 
				 if clng(rs2("pw_id"))=clng(rs("pl_dftpwr")) then
				 response.write "<option  selected value="&rs2("pw_id")&">"&trim(rs2("pw_nme"))&"（"&trim(Rs2("pw_cnt"))&"）</option>"
				 else
				 response.write "<option value="&rs2("pw_id")&">"&trim(rs2("pw_nme"))&"（"&trim(Rs2("pw_cnt"))&"）</option>"
				 end if
				 rs2.movenext
				 wend
				  rs2.close 
				  %>
                    </select>
                    用户注册成功后即为此管理等级</td>
                </tr>
                <tr > 
                  <td width="25%">登录验证码</td>
                  <td> 
                    <input class=normalform  size=28  type="radio" name="pl_ifsecnum" value="1" <%if trim(rs("pl_ifsecnum"))="1" then
						  response.write " checked"
						  end if %>>
                    启用 
                    <input class=normalform  size=28  type="radio" name="pl_ifsecnum" value="0" <%if trim(rs("pl_ifsecnum"))="0" then
						  response.write " checked"
						  end if %>>
                    不启用 会员登录时需要输入附加码以防止登录机猜解密码</td>
                </tr>
                <tr > 
                  <td>非注册用户默认会员名称</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_usrnme_gst"   value="<%=trim(rs("pl_usrnme_gst"))%>">
                    用户未登录系统的时候提交的订单归于该默认会员下。保持为空则表示必须登录会员才可以提交订单。<br>
                    <font color="#FF0000">注意：如果修改了该默认会员的密码，必须重新保存系统参数。</font></td>
                </tr>
                <tr > 
                  <td>系统用户</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_usrnme_sys"   value="<%=trim(rs("pl_usrnme_sys"))%>" maxlength="16">
                    用于完成自动任务如加密解密FTP密码等。</td>
                </tr>
                </tbody> 
              </table>
            </td>
          </tr>
          <tr> 
            <td><b>产品试用默认限制</b></td>
          </tr>
          <tr> 
            <td class=datagroup> 
              <table border=0 cellpadding=0 
                        cellspacing=0 bordercolordark="#FFFFFF" align="center" width="100%">
                <tbody> 
                <%
				'由8位串组成，分别表示"主机-ftp-邮局-数据库" -1表示不限
				pl_tstcntstr=trim(rs("pl_tstcnt"))
				pl_tstcntstr=right("00000000"&pl_tstcntstr,8)
				pl_tstcnt_hst=cint(mid(pl_tstcntstr,1,2))
				pl_tstcnt_ftp=cint(mid(pl_tstcntstr,3,2))
				pl_tstcnt_eml=cint(mid(pl_tstcntstr,5,2))
				pl_tstcnt_sql=cint(mid(pl_tstcntstr,7,2))
				%>
                <tr > 
                  <td>试用主机个数</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_tstcnt_hst"  value="<%=pl_tstcnt_hst%>" maxlength="2">
                    个/会员 </td>
                </tr>
                <tr > 
                  <td>试用FTP个数</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_tstcnt_ftp"  value="<%=pl_tstcnt_ftp%>" maxlength="2">
                    个/会员 </td>
                </tr>
                <tr > 
                  <td>试用邮局个数</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_tstcnt_eml"  value="<%=pl_tstcnt_eml%>" maxlength="2">
                    个/会员 </td>
                </tr>
                <tr > 
                  <td width="25%">试用数据库个数</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_tstcnt_sql"  value="<%=pl_tstcnt_sql%>" maxlength="2">
                    个/会员 </td>
                </tr>
                </tbody> 
              </table>
            </td>
          </tr>
          <tr> 
            <td><b>网址连接</b></td>
          </tr>
          <tr> 
            <td class=datagroup> 
              <table border=0 cellpadding=0 
                        cellspacing=0 bordercolordark="#FFFFFF" align="center" width="100%">
                <tbody> 
                <tr > 
                  <td width="25%">域名管理网址</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_dmectr_url"  value="<%=trim(rs("pl_dmectr_url"))%>">
                    如：http://domain.com 
                    <input type="button" name="Button2" value="以下网址与此相同" onClick="javascript:return urltoall();">
                  </td>
                </tr>
                <tr > 
                  <td>主机管理网址</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_hstctr_url"   value="<%=trim(rs("pl_hstctr_url"))%>">
                    如：http://domain.com </td>
                </tr>
                <tr > 
                  <td>FTP管理网址</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_ftpctr_url"   value="<%=trim(rs("pl_ftpctr_url"))%>">
                    如：http://domain.com </td>
                </tr>
                <tr > 
                  <td>邮局管理网址</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_emlctr_url"   value="<%=trim(rs("pl_emlctr_url"))%>">
                    如：http://domain.com </td>
                </tr>
                <tr > 
                  <td>数据库管理网址</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_sqlctr_url"   value="<%=trim(rs("pl_sqlctr_url"))%>">
                    如：http://domain.com </td>
                </tr>
                <tr > 
                  <td>付款方式链接</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_pay_url"   value="<%=trim(rs("pl_pay_url"))%>">
                    如：http://domain.com </td>
                </tr>
                </tbody> 
              </table>
            </td>
          </tr>
          <tr> 
            <td><b>在线支付</b></td>
          </tr>
          <tr> 
            <td class=datagroup> 
              <table border=0 cellpadding=0 
                        cellspacing=0 bordercolordark="#FFFFFF" align="center" width="100%">
                <tbody> 
                <tr > 
                  <td width="25%">是否启用</td>
                  <td> 
                    <input type="checkbox" name="pl_ifonl" value="1" <%if rs("pl_ifonl")="1" then
					response.write " checked "
					end if %>>
                    启用。只有在这里设置了启用在线支付，才可以使用该功能。</td>
                </tr>
                </tbody> 
              </table>
            </td>
          </tr>
          <tr> 
            <td ><b>公司联系方式</b></td>
          </tr>
          <tr> 
            <td class=datagroup> 
              <table border=0 cellpadding=0 
                        cellspacing=0 bordercolordark="#FFFFFF" align="center" width="100%">
                <tbody> 
                <tr > 
                  <td width="25%">公司名称（中）</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_copnme_cn"   value="<%=trim(rs("pl_copnme_cn"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>公司名称（英）</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_copnme_en"  value="<%=trim(rs("pl_copnme_en"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>公司地址</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_adr_cn"  value="<%=trim(rs("pl_adr_cn"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>邮政编码</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_cde"  value="<%=trim(rs("pl_cde"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>咨询信箱</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_emlask"  value="<%=trim(rs("pl_emlask"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>财务信箱</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_emlfnc"  value="<%=trim(rs("pl_emlfnc"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>技术支持信箱</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_emlsup"  value="<%=trim(rs("pl_emlsup"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>招聘信箱</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_emljob"  value="<%=trim(rs("pl_emljob"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>联系电话（长）</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_tel_lng"  value="<%=trim(rs("pl_tel_lng"))%>">
                    用于显示在页面底部</td>
                </tr>
                <tr > 
                  <td>联系电话（短）</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_tel_sht"  value="<%=trim(rs("pl_tel_sht"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>传真</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_fax"  value="<%=trim(rs("pl_fax"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>OICQ咨询</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_oicq"  value="<%=trim(rs("pl_oicq"))%>">
                  </td>
                </tr>
                </tbody> 
              </table>
            </td>
          </tr>
          <tr> 
            <td><b>邮件发送帐号信息</b></td>
          </tr>
          <tr> 
            <td class=datagroup> 
              <table border=0 cellpadding=0 
                        cellspacing=0 bordercolordark="#FFFFFF" align="center" width="100%">
                <tbody> 
                <tr > 
                  <td width="25%">邮箱服务器</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_emlsvr"  value="<%=trim(rs("pl_emlsvr"))%>">
                    如：mail.domain.com </td>
                </tr>
                <tr > 
                  <td>邮箱地址</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_emlmbx"  value="<%=trim(rs("pl_emlmbx"))%>">
                    如：web@domain.com </td>
                </tr>
                <tr > 
                  <td>是否验证</td>
                  <td> 
                    <input class=normalform  size=28  type="radio" name="pl_emlath" value="1" <%if trim(rs("pl_emlath"))="1" then
						  response.write " checked"
						  end if %>>
                    需要验证 
                    <input class=normalform  size=28  type="radio" name="pl_emlath" value="0" <%if trim(rs("pl_emlath"))="0" then
						  response.write " checked"
						  end if %>>
                    不需要验证</td>
                </tr>
                <tr > 
                  <td>验证密码</td>
                  <td> 
                    <input class=normalform  size=28  type="password" name="pl_emlpss" value="<%=trim(rs("pl_emlpss"))%>">
                    如果需要，则填写邮箱密码 </td>
                </tr>
                <tr > 
                  <td>发件人名称</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_emlnme"  value="<%=trim(rs("pl_emlnme"))%>">
                    如：XX公司</td>
                </tr>
                </tbody> 
              </table>
            </td>
          </tr>
          <tr> 
            <td ><b>业务专管信箱（接收抄送邮件等）</b></td>
          </tr>
          <tr> 
            <td class=datagroup> 
              <table border=0 cellpadding=0 
                        cellspacing=0 bordercolordark="#FFFFFF" align="center" width="100%">
                <tbody> 
                <tr > 
                  <td width="25%">英文域名信箱</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_emldme"   value="<%=trim(rs("pl_emldme"))%>">
                    <input type="button" name="Button" value="以下邮箱与此相同" onclick="javascript:return emltoall();">
                  </td>
                </tr>
                <tr > 
                  <td>中文域名信箱</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_emldmc"  value="<%=trim(rs("pl_emldmc"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>通用网址信箱</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_emldmt"  value="<%=trim(rs("pl_emldmt"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>虚拟主机信箱</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_emlhst"  value="<%=trim(rs("pl_emlhst"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>FTP空间信箱</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_emlftp"  value="<%=trim(rs("pl_emlftp"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>企业邮局信箱</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_emleml"  value="<%=trim(rs("pl_emleml"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>数据库信箱</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_emlsql"  value="<%=trim(rs("pl_emlsql"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>租用托管信箱</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_emlser"  value="<%=trim(rs("pl_emlser"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>网站推广信箱</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_emladv"  value="<%=trim(rs("pl_emladv"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>网站建设信箱</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_emldsn"  value="<%=trim(rs("pl_emldsn"))%>">
                  </td>
                </tr>
                <tr > 
                  <td>特惠套餐信箱</td>
                  <td> 
                    <input class=normalform  size=28  type="text" name="pl_emlset"  value="<%=trim(rs("pl_emlset"))%>">
                  </td>
                </tr>
                </tbody> 
              </table>
            </td>
          </tr>
          <tr> 
            <td  > <br>
              注： 密码以加密方式保存，如果密码不作更改，请保持加密的字符串不动即可。<br>
            </td>
          </tr>
          <tr> 
            <td align="center" > 
              <input   type="submit" name="Submit23" value=" 修改 " class=btxx>
              <input     type="reset" name="Submit222" value=" 复原 " class=btxx>
              <input   type="hidden" name="module" value="plt_edt">
            </td>
          </tr>
        </form>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height=8></td>
        </tr>
      </table>
      <br>
    </td>
  </tr>
  </tbody> 
</table>
<script language="javascript">
					function emltoall()
					{
					theform.pl_emldmc.value=theform.pl_emldme.value;
					theform.pl_emldmt.value=theform.pl_emldme.value;
					theform.pl_emlhst.value=theform.pl_emldme.value;
					theform.pl_emleml.value=theform.pl_emldme.value;
					theform.pl_emlsql.value=theform.pl_emldme.value;
					theform.pl_emlftp.value=theform.pl_emldme.value;
					theform.pl_emlser.value=theform.pl_emldme.value;
					theform.pl_emladv.value=theform.pl_emldme.value;
					theform.pl_emldsn.value=theform.pl_emldme.value;
					theform.pl_emlset.value=theform.pl_emldme.value;
					}
					function urltoall()
					{
					theform.pl_hstctr_url.value=theform.pl_dmectr_url.value;
					theform.pl_ftpctr_url.value=theform.pl_dmectr_url.value;
					theform.pl_sqlctr_url.value=theform.pl_dmectr_url.value;
					theform.pl_emlctr_url.value=theform.pl_dmectr_url.value;
					}
					</script>
<!--#include virtual="/incs/bottom.asp"-->

