<!--#include file="conn.asp"-->
<!--#include file="adminset.asp"-->
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');window.location.href='login.asp';</script>"
response.End
end if
%>
<%dim action
action=request.QueryString("action")
'//保存信息
if action="save" then
if session("flag")>1 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限！</b></font></div>"
response.End
end if
if qx14<>1 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限！</b></font></div>"
response.End
end if
gouwu=trim(request("gouwu"))
info=1
info_user=trim(request("info_user"))
ly=trim(request("ly"))
login=1
vote=1
links=1
fl=1
flsl=trim(request("flsl"))
fll=trim(request("fll"))
shenhe=trim(request("shenhe"))
skin=trim(request("skin"))
class_text=trim(request("class_text"))
djj_jggz=trim(request("djj_jggz"))
shop_config=gouwu&","&info&","&info_user&","&ly&","&login&","&vote&","&links&","&fl&","&flsl&","&fll&","&shenhe&","&skin&","&class_text &","&djj_jggz
userjf=trim(request("userjf"))
jfbl=trim(request("jfbl"))
upload=trim(request("upload"))
upload1=trim(request("upload1"))
upload3=trim(request("upload3"))
upload6=trim(request("upload6"))
upload10=trim(request("upload10"))
upload11=trim(request("upload11"))
upload12=trim(request("upload12"))
upload13=trim(request("upload13"))
upload14=trim(request("upload14"))
upload15=trim(request("upload15"))
upload16=trim(request("upload16"))
upload17=trim(request("upload17"))
upload18=trim(request("upload18"))
pics=trim(request("pics"))
shop_config2=userjf&","&jfbl&","&upload&","&upload1&","&upload3&","&upload6&","&upload10&","&upload11&","&upload12&","&pics&","&upload13&","&upload14&","&upload15&","&upload16&","&upload17&","&upload18
xw=1
xw1=2
zt=1
zt1=2
gq=1
gq1=2
rj=1
rj1=2
zhtj=2
zhtj1=2
xhelp=1
xredian=1
xretie=1
xgonggao=1
xgwz=1
xxinping=1
xreping=1
xxinpingtj=1
xfenlei=1
xfenlei1=1
xgondon=1




shop_config3=xw&","&xw1&","&zt&","&zt1&","&gq&","&gq1&","&rj&","&rj1&","&zhtj&","&zhtj1&","&xhelp&","&xredian&","&xretie&","&xgonggao&","&xgwz&","&xxinping&","&xreping&","&xxinpingtj&","&xfenlei&","&xfenlei1&","&xgondon

set rs=server.CreateObject("adodb.recordset")
rs.Open "select * from shop_config ",conn,1,3
rs("webname")=trim(request("webname"))
rs("webemail")=trim(request("webemail"))
rs("dizhi")=trim(request("dizhi"))
rs("youbian")=trim(request("youbian"))
rs("dianhua")=trim(request("dianhua"))
rs("gzsj")=trim(request("gzsj"))
rs("copyright")=trim(request("copyright"))
rs("weblogo")=trim(request("weblogo"))
rs("class")=trim(request("class"))
rs("jiagename")=trim(request("jiagename"))
rs("shop_config")=shop_config
rs("shop_config2")=shop_config2
rs("shop_config3")=shop_config3
rs("webbanner")=trim(request("webbanner"))
rs("bannerlx")=1
rs("weburl")=trim(request("weburl"))
rs("webmx")=trim(request("webmx"))
rs("webgjz")=trim(request("webgjz"))
rs("uploadlx")=trim(request("uploadlx"))
rs("musicurl")=2
rs("mailaddress")=request("mailaddress")
rs("mailusername")=request("mailusername")
rs("mailuserpass")=request("mailuserpass")
rs("mailname")=request("mailname")
rs("mailsend")=request("mailsend")
rs("upload2")=request("upload2")
rs("upload4")=request("upload4")
rs("upload5")=request("upload5")
rs("upload7")=request("upload7")
rs("upload8")=request("upload8")
rs("upload9")=request("upload9")
rs("hb")=trim(request("hb"))
rs.update
rs.close
set rs=nothing
response.Write "<script language=javascript>alert('网站资料修改成功！');history.go(-1);</script>"
end if%>
<%
Set rs_midi = Server.CreateObject("ADODB.Recordset")
rs_midi.open "select * from shop_midi",conn,1,1
%>
<html>
<head>
<title>网软志成在线购物系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {color: #FF0000}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
}
-->
</style>
</head>

<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="1%" height="28">&nbsp;</td>
    <td width="99%"><table width="100%" border="0" cellspacing="0" cellpadding="5">
      <tr>
        <td width="77%" height="27" style="font-size:14px;color:#ffffff">&nbsp;<strong><font color="#000000">网软志成购物后台管理系统 &gt;&gt; 系统管理 &gt;&gt; 网站配置 </font></strong></td>
        <td width="23%" style="font-size:14px;color:#ffffff"><span class="style2">* 为必添项目</span></td>
      </tr>
      
    </table></td>
  </tr>
</table>
<br>
  <table border="0" width="95%" cellspacing="1" cellpadding="3" style="border-collapse: collapse" align=center bgcolor="#999999">
  <form name="form1" method="post" action="web_config.asp?action=save">
<%set rs=server.CreateObject("adodb.recordset")
rs.Open "select * from shop_config",conn,1,1
shop_config_2=rs("shop_config")
shop_config_2=split(shop_config_2,",")
gouwu=shop_config_2(0)
info=shop_config_2(1)
info_user=shop_config_2(2)
ly=shop_config_2(3)
login=shop_config_2(4)
vote=shop_config_2(5)
links=shop_config_2(6)
fl=shop_config_2(7)
flsl=shop_config_2(8)
fll=shop_config_2(9)
shenhe=shop_config_2(10)
skin=shop_config_2(11)
class_text=shop_config_2(12)
djj_jggz=shop_config_2(13)

shop_config2_2=rs("shop_config2")
shop_config2_2=split(shop_config2_2,",")
userjf=shop_config2_2(0)
jfbl=shop_config2_2(1)
upload=shop_config2_2(2)
upload1=shop_config2_2(3)
upload3=shop_config2_2(4)
upload6=shop_config2_2(5)
upload10=shop_config2_2(6)
upload11=shop_config2_2(7)
upload12=shop_config2_2(8)
upload13=shop_config2_2(10)
upload14=shop_config2_2(11)
upload15=shop_config2_2(12)
upload16=shop_config2_2(13)
upload17=shop_config2_2(14)
upload18=shop_config2_2(15)
pics=shop_config2_2(9)
shop_config2_3=rs("shop_config3")
shop_config2_3=split(shop_config2_3,",")
xw=shop_config2_3(0)
xw1=shop_config2_3(1)
zt=shop_config2_3(2)
zt1=shop_config2_3(3)
gq=shop_config2_3(4)
gq1=shop_config2_3(5)
rj=shop_config2_3(6)
rj1=shop_config2_3(7)
zhtj=shop_config2_3(8)
zhtj1=shop_config2_3(9)
xhelp=shop_config2_3(10)
xredian=shop_config2_3(11)
xretie=shop_config2_3(12)
xgonggao=shop_config2_3(13)
xgwz=shop_config2_3(14)
xxinping=shop_config2_3(15)
xreping=shop_config2_3(16)
xxinpingtj=shop_config2_3(17)
xfenlei=shop_config2_3(18)
xfenlei1=shop_config2_3(19)
xgondon=shop_config2_3(20)


%><tr bgcolor="#F3F3F3">
      <td height="4" colspan="2"><strong>基础资料配置 </strong></td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td>网站网址：</td>
      <td width="460">
      <input name="weburl" class="wenbenkuang" type="text" id="weburl2" size="21" value="<%=trim(rs("weburl"))%>">  <span class="style2">请在后面加/ 比如：http://www.wrzc.net/ 否则前台不正常</span>    </td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td width="128">网站名称：</td>
      <td>
      <input name="webname" class="wenbenkuang" type="text" id="webname" size="28" value="<%=trim(rs("webname"))%>">      </td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td width="128">网站Email：</td>
      <td>
      <input name="webemail" class="wenbenkuang" type="text" id="webemail" size="28" value="<%=trim(rs("webemail"))%>">      </td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td width="128">公司地址：</td>
      <td>
      <input name="dizhi" class="wenbenkuang" type="text" id="dizhi" size="28" value="<%=trim(rs("dizhi"))%>">      </td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td width="128">公司邮编：</td>
      <td>
      <input name="youbian" class="wenbenkuang" type="text" id="youbian" size="28" value="<%=trim(rs("youbian"))%>"	>      </td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td width="128">公司电话：</td>
      <td>
      <input name="dianhua" class="wenbenkuang" type="text" id="dianhua" size="28" value="<%=trim(rs("dianhua"))%>">      </td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td>工作时间：</td>
      <td><input name="gzsj" class="wenbenkuang" type="text" id="dianhua2" size="28" value="<%=trim(rs("gzsj"))%>"></td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td width="128">网站版权：</td>
      <td>
      <input name="copyright" class="wenbenkuang" type="text" size="28" value="<%=trim(rs("copyright"))%>">      </td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td height="22">网站Logo：</td>
      <td height="22">
        <input name="weblogo" class="wenbenkuang" type="text" id="weblogo" size="28" value="<%=trim(rs("weblogo"))%>">
      <a href=# onClick="window.open('../upload.asp?formname=form1&editname=weblogo&uppath=shoppic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')">上传图片</a> </td>
    </tr>
    
    <tr bgcolor="#F3F3F3">
      <td height="-1" bgcolor="#F3F3F3"><span class="forumRow">站点关键字：<BR>
        </span></td>
      <td height="-1" bgcolor="#F3F3F3"><span class="forumRow">
        <input name="webgjz" type="text" class="wenbenkuang" id="webgjz" value="<%=trim(rs("webgjz"))%>" size="40">
        <span class="style2">每个关键字用“,”号分隔</span></span></td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td height="-1" bgcolor="#F3F3F3"><span class="forumRowHighlight">搜索引擎站点描述：</span></td>
      <td height="-1" bgcolor="#F3F3F3"><span class="forumRowHighlight">
        <input name="webmx" type="text" class="wenbenkuang" id="webmx" value="<%=trim(rs("webmx"))%>" size="40">
用来说明您网站的主要内容 <font color=red>介绍中请不要带英文的逗号</font> </span></td>
    </tr>
	<tr bgcolor="#F3F3F3">
      <td height="-1" bgcolor="#F3F3F3"><span class="forumRowHighlight">网站货币：</span></td>
      <td height="-1" bgcolor="#F3F3F3"><span class="forumRowHighlight">
        <input name="hb" type="text" class="wenbenkuang" id="webmx" value="<%=trim(rs("hb"))%>" size="10">
 <font color=red>请填货币符号，如：$ 、€等</font> </span></td>
    </tr>
    
    <tr bgcolor="#F3F3F3">
      <td height="1" colspan="2"><strong>基础功能配置</strong></td>
    </tr>




<tr bgcolor="#F3F3F3">
      <td height="0">是否允许非会员购物：</td>
      <td height="-2">
        <%select case gouwu
			case 1%>
        <input name="gouwu" type="radio" value="1" checked>
        允许
        <input type="radio" name="gouwu" value="0">
        不允许
        <%case 0%>
        <input name="gouwu" type="radio" value="1" >
        允许
        <input type="radio" name="gouwu" value="0" checked>
        不允许
      <%end select%>      </td>
    </tr>
    
    <tr bgcolor="#F3F3F3">
      <td height="1">是否允许非会员发布供求：</td>
      <td height="0">
        <%select case info_user
			case 1%>
        <input name="info_user" type="radio" value="1" checked>
        允许
        <input type="radio" name="info_user" value="0">
        不允许
        <%case 0%>
        <input name="info_user" type="radio" value="1" >
        允许
        <input type="radio" name="info_user" value="0" checked>
        不允许
      <%end select%>      </td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td height="3">留言是否对外公开：</td>
      <td height="0">
        <%select case ly
			case 1%>
        <input name="ly" type="radio" value="1" checked>
        公开
        <input type="radio" name="ly" value="0">
        不公开
        <%case 0%>
        <input name="ly" type="radio" value="1" >
        公开
        <input type="radio" name="ly" value="0" checked>
        不公开
      <%end select%>      </td>
    </tr>
    
    <tr bgcolor="#F3F3F3">
      <td>商品评论是否审核：</td>
      <td height="0">
        <%select case shenhe
			case 1%>
        <input name="shenhe" type="radio" value="1" checked>
        审核
        <input type="radio" name="shenhe" value="0">
        不审核
        <%case 0%>
        <input name="shenhe" type="radio" value="1" >
        审核
        <input type="radio" name="shenhe" value="0" checked>
        不审核
      <%end select%>      </td>
    </tr>
	<tr bgcolor="#F3F3F3">
      <td>商品价格自定义：</td>
      <td height="1"><input name="jiagename" class="wenbenkuang" type="text" id="jiagename" size="26" value="<%=trim(rs("jiagename"))%>">
      如市场价,Member Price:,VIP价,批发价(*只能为四项并且用&quot;,&quot;分隔)</td>
    </tr><tr bgcolor="#F3F3F3">
      <td>商品价格规则：</td>
      <td height="1">
        <select name="djj_jggz" id="djj_jggz">
          <option value="0"  <%if djj_jggz="0" then%>selected<%end if%> >所有价格都可见</option>
          <option value="1" <%if djj_jggz="1" then%>selected<%end if%>>只显示本组价格</option>
          <option value="2" <%if djj_jggz="2" then%>selected<%end if%>>显示本组及以下</option>
        </select>     </td>
    </tr>
	<tr bgcolor="#F3F3F3">
      <td height="1">分类页面商品调用数量：</td>
      <td height="1"><select name="flsl" class="wenbenkuang" id="select4" onChange="(document.myform.pinpai.value=this.options[this.selectedIndex].value)">
          <option value="" <%if flsl="0" then%>selected<%end if%>>请选择</option>
          <option value="5" <%if flsl="5" then%>selected<%end if%>>五行</option>
          <option value="6" <%if flsl="6" then%>selected<%end if%>>六行</option>
          <option value="7" <%if flsl="7" then%>selected<%end if%>>七行</option>
          <option value="8" <%if flsl="8" then%>selected<%end if%>>八行</option>
          <option value="9" <%if flsl="9" then%>selected<%end if%>>九行</option>
          <option value="10" <%if flsl="10" then%>selected<%end if%>>十行</option>
          <option value="11" <%if flsl="11" then%>selected<%end if%>>十一</option>
          <option value="13" <%if flsl="12" then%>selected<%end if%>>十二</option>
          <option value="13" <%if flsl="13" then%>selected<%end if%>>十三</option>
          <option value="14" <%if flsl="14" then%>selected<%end if%>>十四</option>
          <option value="15" <%if flsl="15" then%>selected<%end if%>>十五</option>
          <option value="16" <%if flsl="16" then%>selected<%end if%>>十六</option>
          <option value="17" <%if flsl="17" then%>selected<%end if%>>十七</option>
          <option value="18" <%if flsl="18" then%>selected<%end if%>>十八</option>
          <option value="19" <%if flsl="19" then%>selected<%end if%>>十九</option>
          <option value="20" <%if flsl="20" then%>selected<%end if%>>二十</option>
        </select>
          <select name="fll" class="wenbenkuang" id="select5" onChange="(document.myform.pinpai.value=this.options[this.selectedIndex].value)">
            <option value="" <%if fll="0" then%>selected<%end if%>>请选择</option>
            <option value="1" <%if fll="1" then%>selected<%end if%>>一列</option>
            <option value="2" <%if fll="2" then%>selected<%end if%>>二列</option>
            <option value="3"  <%if fll="3" then%>selected<%end if%>>三列</option>
          </select>          </td>
    </tr>
	<tr bgcolor="#F3F3F3">
      <td height="1">商品列表风格：</td>
      <td height="1"><%select case class_text
			case 1%>
        <input name="class_text" class="wenbenkuang" type="radio" value="1" checked> 
        文字风格优先
        <input type="radio" name="class_text" value="0">
图片风格优先
<%case 0%>
<input name="class_text" type="radio" value="1" >
文字风格优先
<input type="radio" name="class_text" value="0" checked>
图片风格优先
<%end select%></td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td height="0" colspan="2"><strong>首页配置</strong></td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td>网站界面界面风格调用：</td>
      <td height="0"><select name="skin" id="skin">
        <option value="1" <%if skin=1 then%>selected<%end if%>>蓝色河畔界面</option>
        <option value="2" <%if skin=2 then%>selected<%end if%>>金色年华界面</option>
		<option value="3" <%if skin=3 then%>selected<%end if%>>银灰时尚界面</option>
		<option value="4" <%if skin=4 then%>selected<%end if%>>縁色心情界面</option>
		<option value="5" <%if skin=5 then%>selected<%end if%>>红粉知己界面</option>
      </select></td>
    </tr>
    
    
    
    
    <tr bgcolor="#F3F3F3">
      <td height="5">首页分类调用：</td>
      <td height="5"><input name="class" class="wenbenkuang" type="text" id="class" size="26" value="<%=trim(rs("class"))%>">
      填写分类ID号(数量不限,分类与分类之间用小写,号隔开,如：1,2,3)</td>
    </tr>
    
    <tr bgcolor="#F3F3F3">
      <td height="4" colspan="2"><strong>会员积分配置</strong></td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td height="2" bgcolor="#F3F3F3">是否打开在线积分功能：</td>
      <td height="2" bgcolor="#F3F3F3"><%select case userjf
			case 1%>
        <input name="userjf" class="wenbenkuang" type="radio" value="1" checked> 
        打开
        <input type="radio" name="userjf" value="0">
不打开
<%case 0%>
<input name="userjf" type="radio" value="1" >
打开
<input type="radio" name="userjf" value="0" checked>
不打开
<%end select%></td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td height="2" bgcolor="#F3F3F3">每分钟积分比例：</td>
      <td height="2" bgcolor="#F3F3F3">每在线一分钟，积
      <input name="jfbl" type="text" class="wenbenkuang" id="jfbl" value="<%=jfbl%>" size="15">
      点(如在线积分功能不打开则设置无效)。</td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td height="11" colspan="2"><strong>图片上传配置 </strong></td>
    </tr>
	<tr bgcolor="#F3F3F3">
      <td height="5">图片上传组件：</td>
      <td height="5"><span class="Forumrow">
        <select name="Upload" id="select">
          <option value="999" <%if upload=999 then%>selected<%end if%>>关闭
          <option value="0" <%if upload=0 then%>selected<%end if%>>无组件上传类
          <option value="1" <%if upload=1 then%>selected<%end if%>>Aspupload3.0组件 
	      <option value="2" <%if upload=2 then%>selected<%end if%>>SA-FileUp 4.0组件 </option>
        </select>        
      <a href="asp">请点击服务器探测看看是否支持选择的组件</a> 安装组件网站根目录有配组件包</span></td>
	</tr>
	<tr bgcolor="#F3F3F3">
	  <td height="5" bgcolor="#F3F3F3">图片上传类型：</td>
      <td height="5"><input name="uploadlx" class="wenbenkuang" type="hidden" id="uploadlx" size="26" value="<%=trim(rs("uploadlx"))%>"> 上传图片默认类型为：jpg|gif</td>
	</tr>
	<tr bgcolor="#F3F3F3">
	  <td height="2" bgcolor="#F3F3F3">图片上传文件大小：</td>
      <td height="2" bgcolor="#F3F3F3"><input name="pics" class="wenbenkuang" type="text" id="pics" size="16" value="<%=pics%>"> KB(每个)</td>
	</tr>
	<tr bgcolor="#F3F3F3">
	  <td height="2" bgcolor="#F3F3F3">商品小图片的高与宽：</td>
      <td height="2" bgcolor="#F3F3F3">宽        <INPUT NAME="upload13" TYPE="text" class="wenbenkuang" id="upload13" value="<%=upload13%>" size=10> 
      高        <INPUT NAME="upload14" TYPE="text" class="wenbenkuang" id="upload14" value="<%=upload14%>" size=10>
      像素</td>
	</tr>
	<tr class="tdbg" onMouseOver="this.style.backgroundColor='#BFDFFF'" onMouseOut="this.style.backgroundColor=''"> 
      <td height="12" bgcolor="#F3F3F3" >图片缩略图及水印设置开关：<br>      </td>
      <td height="12" bgcolor="#F3F3F3" ><select name="upload1" class="wenbenkuang" id="select2">
        <option value="999" <%if upload1=999 then%>selected<%end if%>>关闭缩略图及水印效果</option>
        <option value="1" <%if upload1=1 then%>selected<%end if%>>开启缩略图及水印文字效果(推荐)</option>
        <option value="2" <%if upload1=2 then%>selected<%end if%>>开启缩略图及水印图片效果</option>
      </select>        
(服务器需安装aspjepg组件，根目录配有) </td>
    </tr>
	<tr class="tdbg" onMouseOver="this.style.backgroundColor='#BFDFFF'" onMouseOut="this.style.backgroundColor=''">
	  <td height="5" bgcolor="#F3F3F3" >缩略图是否直接做为商品小图：</td>
      <td height="5" bgcolor="#F3F3F3" ><SELECT name="upload15" class="wenbenkuang" id="select3">
        <OPTION value=0 <%if upload15=0 then%>selected<%end if%>>否</OPTION>
        <OPTION value=1 <%if upload15=1 then%>selected<%end if%>>是</OPTION>
      </SELECT>
      选是则添加商品时小图可不用上传，如需要手动上传小图片一定要选择“否”。否则无法上传</td>
	</tr>
	<tr class="tdbg" onMouseOver="this.style.backgroundColor='#BFDFFF'" onMouseOut="this.style.backgroundColor=''">
	  <td height="6" bgcolor="#F3F3F3" >缩略图相关设置：</td>
      <td height="6" bgcolor="#F3F3F3" >是否按比例缩略
        <SELECT name="upload16" class="wenbenkuang" id="select6">
          <OPTION value=0 <%if upload16=0 then%>selected<%end if%>>固定缩小</OPTION>
          <OPTION value=1 <%if upload16=1 then%>selected<%end if%>>比例缩小</OPTION>
        </SELECT>
      如不按比例缩略图片宽度： 
        <INPUT NAME="upload17" TYPE="text" class="wenbenkuang" id="upload102" value="<%=upload17%>" size=10>
象素 高度：
<INPUT NAME="upload18" TYPE="text" class="wenbenkuang" id="upload112" value="<%=upload18%>" size=10>
象素</td>
	</tr>
    <tr class="tdbg" onMouseOver="this.style.backgroundColor='#BFDFFF'" onMouseOut="this.style.backgroundColor=''"> 
      <td height="25" bgcolor="#F3F3F3" >上传图片添加水印文字信息:</td>
      <td height="25" bgcolor="#F3F3F3" ><INPUT NAME="upload2" TYPE="text" class="wenbenkuang" id="upload2" value="<%=trim(rs("upload2"))%>" size=40>
      （可为空或0）</td>
    </tr>
    <tr class="tdbg" onMouseOver="this.style.backgroundColor='#BFDFFF'" onMouseOut="this.style.backgroundColor=''"> 
      <td height="25" bgcolor="#F3F3F3" >上传添加水印字体大小:</td>
      <td height="25" bgcolor="#F3F3F3" > <INPUT NAME="upload3" TYPE="text" class="wenbenkuang" id="upload3" value="<%=upload3%>" size=10> 
      <b>px</b> </td>
    </tr>
    <tr class="tdbg" onMouseOver="this.style.backgroundColor='#BFDFFF'" onMouseOut="this.style.backgroundColor=''"> 
      <td height="25" bgcolor="#F3F3F3" >上传添加水印字体颜色:</td>
      <td height="25" bgcolor="#F3F3F3" ><input name="upload4" type="text" class="wenbenkuang" id="upload4" value="<%=trim(rs("upload4"))%>" size=10>              </td>
    </tr>
    <tr class="tdbg" onMouseOver="this.style.backgroundColor='#BFDFFF'" onMouseOut="this.style.backgroundColor=''"> 
      <td height="25" bgcolor="#F3F3F3" >上传添加水印字体名称:</td>
      <td height="25" bgcolor="#F3F3F3" ><SELECT name="upload5" class="wenbenkuang" id="upload5">
          <option value="宋体" <%if rs("upload5")="宋体" then%>selected<%end if%>>宋体</option>
          <option value="楷体_GB2312" <%if rs("upload5")="楷体" then%>selected<%end if%>>楷体</option>
          <option value="新宋体" <%if rs("upload5")="新宋体" then%>selected<%end if%>>新宋体</option>
          <option value="黑体" <%if rs("upload5")="黑体" then%>selected<%end if%>>黑体</option>
          <option value="隶书" <%if rs("upload5")="隶书" then%>selected<%end if%>>隶书</option>
          <OPTION value="Andale Mono" <%if rs("upload5")="Andale Mono" then%>selected<%end if%>>Andale Mono</OPTION>
          <OPTION value=Arial <%if rs("upload5")="Arial" then%>selected<%end if%>>Arial</OPTION>
          <OPTION value="Arial Black" <%if rs("upload5")="Arial Black" then%>selected<%end if%>>Arial Black</OPTION>
          <OPTION value="Book Antiqua" <%if rs("upload5")="Book Antiqua" then%>selected<%end if%>>Book Antiqua</OPTION>
          <OPTION value="Century Gothic" <%if rs("upload5")="Century Gothic" then%>selected<%end if%>>Century Gothic</OPTION>
          <OPTION value="Comic Sans MS" <%if rs("upload5")="Comic Sans MS" then%>selected<%end if%>>Comic Sans MS</OPTION>
          <OPTION value="Courier New" <%if rs("upload5")="Courier New" then%>selected<%end if%>>Courier New</OPTION>
          <OPTION value=Georgia <%if rs("upload5")="Georgia" then%>selected<%end if%>>Georgia</OPTION>
          <OPTION value=Impact <%if rs("upload5")="Impact" then%>selected<%end if%>>Impact</OPTION>
          <OPTION value=Tahoma <%if rs("upload5")="Tahoma" then%>selected<%end if%>>Tahoma</OPTION>
          <OPTION value="Times New Roman" <%if rs("upload5")="Times New Roman" then%>selected<%end if%>>Times New Roman</OPTION>
          <OPTION value="Trebuchet MS" <%if rs("upload5")="Trebuchet MS" then%>selected<%end if%>>Trebuchet MS</OPTION>
          <OPTION value="Script MT Bold" <%if rs("upload5")="Script MT Bold" then%>selected<%end if%>>Script MT Bold</OPTION>
          <OPTION value=Stencil <%if rs("upload5")="Stencil" then%>selected<%end if%>>Stencil</OPTION>
          <OPTION value=Verdana <%if rs("upload5")="Verdana" then%>selected<%end if%>>Verdana</OPTION>
          <OPTION value="Lucida Console" <%if rs("upload5")="Lucida Console" then%>selected<%end if%>>Lucida Console</OPTION>
      </SELECT></td>
    </tr>
    <tr class="tdbg" onMouseOver="this.style.backgroundColor='#BFDFFF'" onMouseOut="this.style.backgroundColor=''"> 
      <td height="25" bgcolor="#F3F3F3" >上传水印字体是否粗体:</td>
      <td height="25" bgcolor="#F3F3F3" ><SELECT name="upload6" class="wenbenkuang" id="upload6">
          <OPTION value=0 <%if upload6=0 then%>selected<%end if%>>否</OPTION>
          <OPTION value=1 <%if upload6=1 then%>selected<%end if%>>是</OPTION>
      </SELECT></td>
    </tr>
    <tr class="tdbg" onMouseOver="this.style.backgroundColor='#BFDFFF'" onMouseOut="this.style.backgroundColor=''"> 
      <td height="25" bgcolor="#F3F3F3" >上传图片添加水印LOGO图片:<br>      </td>
      <td height="25" bgcolor="#F3F3F3" ><INPUT NAME="upload7" TYPE="text" class="wenbenkuang" id="upload7" value="<%=trim(rs("upload7"))%>" size=40>        
      填写LOGO的图片相对路径（可为空或0）</td>
    </tr>
    <tr class="tdbg" onMouseOver="this.style.backgroundColor='#BFDFFF'" onMouseOut="this.style.backgroundColor=''"> 
      <td height="25" bgcolor="#F3F3F3" >上传图片添加水印透明度:</td>
      <td height="25" bgcolor="#F3F3F3" ><INPUT NAME="upload8" TYPE="text" class="wenbenkuang" id="upload8" value="<%=trim(rs("upload8"))%>" size=10>
      如60%请填写0.6 </td>
    </tr>
    <tr class="tdbg" onMouseOver="this.style.backgroundColor='#BFDFFF'" onMouseOut="this.style.backgroundColor=''"> 
      <td height="25" bgcolor="#F3F3F3" >水印图片去除底色:<br>      </td>
      <td height="25" bgcolor="#F3F3F3" ><INPUT NAME="upload9" TYPE="text" class="wenbenkuang" ID="upload9" value="<%=trim(rs("upload9"))%>" size=10> 
      保留为空则水印图片不去除底色。     </td>
    </tr>
    <tr class="tdbg" onMouseOver="this.style.backgroundColor='#BFDFFF'" onMouseOut="this.style.backgroundColor=''"> 
      <td height="25" bgcolor="#F3F3F3" >水印文字或图片的长宽定义:<br>      </td>
      <td height="25" bgcolor="#F3F3F3" >宽度： 
        <INPUT NAME="upload10" TYPE="text" class="wenbenkuang" id="upload10" value="<%=upload10%>" size=10>
        象素 高度： 
        <INPUT NAME="upload11" TYPE="text" class="wenbenkuang" id="upload11" value="<%=upload11%>" size=10>
      象素 如水印图片的宽度和高度。</td>
    </tr>
    <tr class="tdbg" onMouseOver="this.style.backgroundColor='#BFDFFF'" onMouseOut="this.style.backgroundColor=''"> 
      <td height="25" bgcolor="#F3F3F3" >上传图片添加水印位置坐标 :</td>
      <td height="25" bgcolor="#F3F3F3" ><SELECT NAME="upload12" class="wenbenkuang" id="upload12">
          <option value="0" <%if upload12=0 then response.Write("selected")%>>左上</option>
          <option value="1" <%if upload12=1 then response.Write("selected")%>>左下</option>
          <option value="2" <%if upload12=2 then response.Write("selected")%>>居中</option>
          <option value="3" <%if upload12=3 then response.Write("selected")%>>右上</option>
          <option value="4" <%if upload12=4 then response.Write("selected")%>>右下</option>
      </SELECT></td>
    </tr>
	<tr bgcolor="#F3F3F3">
      <td height="11" colspan="2"><strong>邮件服务器配置 </strong></td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td height="22">邮件服务器地址：</td>
      <td height="22">
      <input name="mailaddress" class="wenbenkuang" type="text" id="mailaddress" size="36" value="<%=trim(rs("mailaddress"))%>">      </td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td height="22">发送邮箱：</td>
      <td height="22">
      <input name="mailsend" class="wenbenkuang" type="text" id="mailsend" size="36" value="<%=trim(rs("mailsend"))%>">      </td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td height="22">登录名：</td>
      <td height="22">
      <input name="mailusername" class="wenbenkuang" type="text" id="mailusername" size="36" value="<%=trim(rs("mailusername"))%>">      </td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td height="22">登录密码：</td>
      <td height="22">
      <input name="mailuserpass" class="wenbenkuang" type="password" id="mailuserpass" size="36" value="<%=trim(rs("mailuserpass"))%>">      </td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td height="22">发送时显示的姓名：</td>
      <td height="22">
      <input name="mailname" class="wenbenkuang" type="text" id="mailname" size="36" value="<%=trim(rs("mailname"))%>">      </td>
    </tr>
    <tr bgcolor="#F3F3F3">
      <td height="22" colspan="2">
        <div align="center">
          <input type="submit" class="go-wenbenkuang" name="Submit" value="提 交">
&nbsp;&nbsp;
          <input type="reset" class="go-wenbenkuang" name="Submit2" value="恢 复">
      </div></td>
    </tr>
  </form>
</table>
<%rs.Close
          set rs=nothing%>
<!--#include file="copyright.asp"-->
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>
<script>
	function regInput(obj, reg, inputStr)
	{
		var docSel	= document.selection.createRange()
		if (docSel.parentElement().tagName != "INPUT")	return false
		oSel = docSel.duplicate()
		oSel.text = ""
		var srcRange	= obj.createTextRange()
		oSel.setEndPoint("StartToStart", srcRange)
		var str = oSel.text + inputStr + srcRange.text.substr(oSel.text.length)
		return reg.test(str)
	}
</script>