<%@ Page Language="VB" AutoEventWireup="false" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.Admin_Admin_site_config" %>
<%On Error Resume Next%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="GENERATOR" content="Microsoft FrontPage 4.0" />
<meta name="ProgId" content="FrontPage.Editor.Document" />
<link href="inc/admin_style.css" rel="stylesheet" type="text/css" />
<link href="inc/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form method="POST" action="Admin_site_config.aspx" id="form1" name="form1">
<table style="width:100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table style="height:22; width:100%" border="0" cellpadding="0" cellspacing="1">
      <tr class="topbg">
        <td style="height:22" align="center" class="topbg"><strong>网 站 系 统 配 置　</strong></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table style="width:100%"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td style="height:27; width:30" align="center"><img src="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/gojump01.gif" width="16" height="16" /></td>
        <td><a href="Admin_site_config.aspx">网站信息配置</a> | <a href="channel_manage.aspx">文章频道管理</a> | <a href="Admin_Classlist.aspx">行业类别管理</a> | <a href="Ad_hdp_add.aspx">幻灯广告管理</a> | <a href="Admin_xunjialist.aspx">留言询价管理</a><a href="Ad_hdp_add.aspx"></a> | <a href="Links_manger.aspx">友情链接管理</a> | 
        <a href="Ad_info_tuijian.aspx">信息推荐管理 </a> </td>
      </tr>
    </table>
<table style="height:399; width:100%" border="0" align="center" cellpadding="3" cellspacing="1" class="border">
    <tr> 
      <td colspan="2" class="Title">　<strong>修改系统信息</strong></td>
    </tr>
    <tr class="tdbg"> 
      <td style="height:-2; width:18%" align="center"><div align="right"><strong>网站名称:</strong></div></td>
      <td style="width:82%"><input name="C_cityname" type="text" style="width:200" value="<%=AppConst.SiteName%>" size="20" /> 请填写你的网站名称</td>
    </tr>
    <tr class="tdbg">
      <td style="height:-1; width:18%" align="center"><div align="right"><strong>网站标题:</strong></div></td>
      <td><input name="C_citytitle" type="text" style="width:200" value="<%=AppConst.SiteTitle%>" size="20" /> 此处将在IE标题栏里显示，如“思若科技网，云南最大电子商务网”</td>
    </tr>
    <tr class="tdbg">
      <td style="height:-2; width:18%" align="center"><div align="right"><strong>网站地址:</strong></div></td>
      <td><input name="C_cityurl" type="text" id="C_cityurl" style="width:200" value="<%=AppConst.SiteUrl%>" size="20" />　请填写完整网址，如“http://www.siruo.net.cn”</td>
    </tr>
	    <tr class="tdbg">
      <td style="height:-2; width:18%" align="center"><div align="right"><strong>网站图标:</strong></div></td>
      <td><input name="C_citylogo" type="text" id="C_citylogo" style="width:150" value="<%=AppConst.SiteLogo%>" size="20" />　<input type="button" name="Submit2" value="上传图片" onclick="window.open('../../Include/load.aspx?formname=form1&editname=C_citylogo&uppath=/images/system/&imagename=&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')" /> LOGO上传到系统目录下的“images/system/”里，请不要修改图片名称</td>
    </tr>
	<tr class="tdbg"> 
      <td style="height:-2; width:18%" align="center"><div align="right"><strong>是否启用二级域名:</strong></div></td>
      <td style="width:82%"><input id="dnstwoYes" name="SiteDnstwo" type="radio" value="1" <%if AppConst.SiteDnstwo then%>checked<%end if%> /><label for="dnstwoYes" style="cursor:hand">&nbsp;是&nbsp;</label>
      <input id="dnstwoNo" name="SiteDnstwo" type="radio" value="0" <%if not AppConst.SiteDnstwo then%>checked<%end if%> /><label for="dnstwoNo" style="cursor:hand">&nbsp;否&nbsp;</label>
    是否启用表态目录部属，若启用，前台文件将转换为静态页面访问</td>
    </tr>
	<tr class="tdbg">
  <td style="height:-1; width:18%" align="center"><div align="right"><strong>列表条数:</strong></div></td>
  <td><input name="SiteListnum" type="text" id="SiteListnum" style="width:200" value="<%=AppConst.SiteListnum%>" size="20" />
    列表默认显示条数，只能是数字，否则会出错</td>
</tr>
<tr class="tdbg">
  <td style="height:-2; width:18%" align="center"><div align="right"><strong>是否启用邮件认证：</strong></div></td>
  <td><label style="cursor:hand">
    <input id="TruemailYes" name="Truemail" type="radio" value="1"  <%if AppConst.TrueMail then%>checked<%end if%> />&nbsp;是&nbsp;</label>
    <label style="cursor:hand"><input id="TruemailNo" name="Truemail" type="radio" value="0" <%if Not AppConst.TrueMail then%>checked<%end if%> />&nbsp;否&nbsp;</label>
    说明：若选择选择否，则所有注册用户及发布信息等将不再启用邮件，同时注册会员同样也不再需要邮件认证，直接成为免费会员</td>
</tr>
	    <tr class="tdbg"> 
      <td style="height:-2; width:18%" align="center"><div align="right"><strong>二级域名:</strong></div></td>
      <td style="width:82%"><input name="C_citydns" type="text" id="C_citydns" style="width:200" value="<%=AppConst.SiteDns%>" size="20" /> 请一定要加上"."，如“<font color="red">.siruo.net.cn</font>”</td>
    </tr>
	<tr class="tdbg"> 
      <td style="height:-2; width:18%" align="center"><div align="right"><strong>服务名称:</strong></div></td>
      <td style="width:82%"><input name="C_citynamefw" type="text" id="C_citynamefw" style="width:200" value="<%=AppConst.SiteNamefw%>" size="20" /> 请输入您的服务名称"."，如“<font color="red">服务通、贸易通</font>”等等</td>
    </tr>
<tr class="tdbg"> 
      <td style="height:-2; width:18%" align="center"><div align="right"><strong>产品积分:</strong></div></td>
      <td style="width:82%"><input name="C_publish_products" type="text" id="C_publish_products" style="width:200" value="<%=AppConst.C_publish_products%>" size="20" /> 请输入添加一个产品可以获得的积分数，只能是数字</td>
    </tr>
<tr class="tdbg"> 
      <td style="height:-2; width:18%" align="center"><div align="right"><strong>商机积分:</strong></div></td>
      <td style="width:82%"><input name="C_publish_info" type="text" id="C_publish_info" style="width:200" value="<%=AppConst.C_publish_info%>" size="20" /> 请输入添加一条商机可以获得的积分数，只能是数字</td>
    </tr>
<tr class="tdbg">
  <td style="height:-1; width:18%" align="center"><div align="right"><strong>商机过期管理：</strong></div></td>
  <td><p>
    <label style="cursor:hand">
      <input name="Infodqtime" type="radio" value="1" <%if AppConst.InfoDQTime then%>checked<%end if%> />
      继续显示</label>
    <label style="cursor:hand">
      <input type="radio" name="Infodqtime" value="0" <%if Not AppConst.InfoDQTime then%>checked<%end if%> />
      停止显示</label>
    （此选项用于判断商机过期之后是否显示的状态问题，若选择继续显示，则无论商机过期与否都继续显示）<br>
  </p></td>
</tr>
	<td style="height:-1" colspan="2" align="center"><hr align="right" width="100%" size="1"></td>
<tr class="tdbg"> 
      <td style="height:-1; width:18%" align="center"><div align="right"><strong>会员网站存放目录：</strong></div></td>
      <td style="width:82%"><input name="Memberpath" type="text" id="Memberpath" style="width:200" value="<%=AppConst.Memberpath%>" size="20" />
        请在根目录下建立相应的目录，则所有的收费会员的多站将存放于此目录，默认为dir,注意，不能为空</td>
    </tr>
<tr class="tdbg">
  <td style="height:-2" align="center"><div align="right"><strong>用户后台目录:</strong></div></td>
  <td style="width:82%"><input name="Userpath" type="text" id="Userpath" style="width:200" value="<%=AppConst.Userpath%>" size="20" />
请输入用户后台目录，并请将User目录改为您所设置的目录</td>
</tr>
<tr class="tdbg">
  <td style="height:-1; width:18%" align="center"><div align="right"><strong>系统管理后台目录：</strong></div></td>
  <td><input name="Managepath" type="text" id="Managepath" style="width:200" value="<%=AppConst.Managepath%>" size="20" />       
      请输入网站管理后台目录，并请将Admin333目录改为您所设置的目录</td>
</tr>
	<tr class="tdbg">
  <td style="height:-1; width:18%" align="center"><div align="right"><strong>模板目录：</strong></div></td>
  <td><input name="Mbpath" type="text" id="Mbpath" style="width:200" value="<%=AppConst.Mbpath%>" size="20" />       
      请输入模板目录，并将Templets更名为您所设定的目录</td>
</tr>
	<tr class="tdbg">
	  <td style="height:-2; width:18%" align="center"><div align="right"><strong>风格图片目录：</strong></div></td>
	  <td><input name="Skinpath" type="text" id="Skinpath" style="width:200" value="<%=AppConst.Skinpath%>" size="20" />
	    请将网站前台风格图片、Css文件放到此目录里，修改风格，可参考思若科技提供的默认风格进行修改</td>
	  </tr>
	<tr class="tdbg">
	  <td style="height:0; width:18%" align="center"><div align="right"><strong>是否启用背景色：</strong></div></td>
	  <td><label style="cursor:hand"><input name="Truebgcolor" type="radio" value="1" <%if AppConst.TruebgColor then%>checked<%end if%> />&nbsp;是&nbsp;</label>
	      <label style="cursor:hand"><input name="Truebgcolor" type="radio" value="0" <%if Not AppConst.TruebgColor then%>checked<%end if%> />&nbsp;否&nbsp;</label>
  若启用，则系统将会用下面的“风格主色调”作为页面背景色，此背景色只对于窄屏页面有效，如网站首页、商机首页等</td>
	  </tr>
	<tr class="tdbg">
	  <td style="height:0; width:18%" align="center"><div align="right"><strong>风格主色调：</strong></div></td>
	  <td><input name="Skincolor" type="text" id="dcolor" value="<%=AppConst.Skincolor%>" size="8" />
      <input type="button" name="Submit" value="选择颜色" onclick="window.open('../Include/colorpicker.aspx?txtColor=Skincolor', 'colorPicker', 'width=200, height=160');" />
      此处为风格主色调，很多地方都会调用这个默认的色调哟</td>
	</tr>
    <tr class="tdbg">
      <td style="height:-2; width:18%" align="center"><div align="right"><strong>自动生成静态页面时间:</strong></div></td>
      <td><input name="MakeHtmlTime" type="text" id="MakeHtmlTime" style="width:200" value="<%=AppConst.GetValue("MakeHtmlTime")%>" /> 指定自动生成静态页面的时间（以<font color="red">HH:mm</font>格式）。若为空则不自动生成。
        <br /><font color="red" style="font-weight:bolder">注意：</font>生成网站所有频道、所有栏目需要长达数分钟的时间，建议将生成时间定在凌晨<font color="red" style="font-weight:bolder">03:00</font>左右。
      </td>
    </tr>
    <tr class="tdbg">
      <td style="height:-2; width:18%" align="center"><div align="right"><strong>静态目录:</strong></div></td>
      <td><label style="cursor:hand"><input name="Jthtml" type="radio" value="1" <%if AppConst.JtHtml then%>checked<%end if%> />&nbsp;是&nbsp;</label>
          <label style="cursor:hand"><input name="Jthtml" type="radio" value="0" <%if Not AppConst.JtHtml then%>checked<%end if%> />&nbsp;否&nbsp;</label>
           是否启用伪静态目录部属，若启用，前台文件将转换为静态页面访问</td>
    </tr>
    <tr class="tdbg">
       <td style="height:-1" colspan="2" align="center"><hr align="right" width="100%" size="1"></td>
    </tr>
    <tr class="tdbg">
      <td style="height:-1; width:18%" align="center"><div align="right"><strong>商机条数：</strong><br>
        即会员可发布的商机条数</div></td>
      <td><table style="width:240" border="0" cellspacing="2" cellpadding="2">
        <tr>
          <td style="width:80"><div align="center">免费会员</div></td>
          <td style="width:80"><div align="center"><%=AppConst.SiteNamefw%>会员</div></td>
          <td style="width:80"><div align="center">金牌供应商</div></td>
        </tr>
        <tr>
          <td><input name="Infonum01" type="text" id="Infonum01" style="width:50" value="<%=AppConst.Infonum01%>" size="20" />条</td>
          <td><input name="Infonum02" type="text" id="Infonum02" style="width:50" value="<%=AppConst.Infonum02%>" size="20" />条</td>
          <td><input name="Infonum03" type="text" id="Infonum03" style="width:50" value="<%=AppConst.Infonum03%>" size="20" />条</td>
        </tr>
      </table></td>
    </tr>
    <tr class="tdbg">
      <td style="height:-1; width:18%" align="center"><div align="right"><strong>产品条数：</strong><br>
        即会员可发布的产品条数</div></td>
      <td><table style="width:240" border="0" cellspacing="2" cellpadding="2">
        <tr>
          <td style="width:80"><div align="center">免费会员</div></td>
          <td style="width:80"><div align="center"><%=AppConst.SiteNamefw%>会员</div></td>
          <td style="width:80"><div align="center">金牌供应商</div></td>
        </tr>
        <tr>
          <td><input name="Productsnum01" type="text" id="Productsnum01" style="width:50" value="<%=AppConst.Productsnum01%>" size="20" />条</td>
          <td><input name="Productsnum02" type="text" id="Productsnum02" style="width:50" value="<%=AppConst.Productsnum02%>" size="20" />条</td>
          <td><input name="Productsnum03" type="text" id="Productsnum03" style="width:50" value="<%=AppConst.Productsnum03%>" size="20" />条</td>
        </tr>
      </table></td>
    </tr>
    <tr class="tdbg">
      <td style="height:0; width:18%" align="center"><div align="right"><strong>分类信息：</strong><br>
        即会员可发布的分类信息条数</div></td>
      <td><table style="width:240" border="0" cellspacing="2" cellpadding="2">
        <tr>
          <td style="width:80"><div align="center">免费会员</div></td>
          <td style="width:80"><div align="center"><%=AppConst.SiteNamefw%>会员</div></td>
          <td style="width:80"><div align="center">金牌供应商</div></td>
        </tr>
        <tr>
          <td><input name="Classadnum01" type="text" id="Classadnum01" style="width:50" value="<%=AppConst.Classadnum01%>" size="20" />条</td>
          <td><input name="Classadnum02" type="text" id="Classadnum02" style="width:50" value="<%=AppConst.Classadnum02%>" size="20" />条</td>
          <td><input name="Classadnum03" type="text" id="Classadnum03" style="width:50" value="<%=AppConst.Classadnum03%>" size="20" />条</td>
        </tr>
      </table></td>
    </tr>
	<tr class="tdbg">
      <td style="height:-1" colspan="2" align="center"><hr align="right" width="100%" size="1"></td>
    </tr>
	<tr class="tdbg">
      <td style="height:0; width:18%" align="center"><div align="right"><strong>联 系 人:</strong></div></td>
      <td><input name="C_citypreson" type="text" id="C_citypreson" style="width:200" value="<%=AppConst.SitePerson%>" size="20" /></td>
    </tr>    <tr class="tdbg">
      <td style="height:-2; width:18%" align="center"><div align="right"><strong>联系地址:</strong></div></td>
      <td><input name="C_cityaddress" type="text" id="C_cityaddress" style="width:200" value="<%=AppConst.SiteAddress%>" size="20" /></td>
    </tr>
    <tr class="tdbg">
      <td style="height:-2; width:18%" align="center"><div align="right"><strong>联系电话:</strong></div></td>
      <td><input name="C_cityTel" type="text" id="C_cityTel" style="width:200" value="<%=AppConst.SiteTel%>" size="20" />　</td>
    </tr>
	    <tr class="tdbg">
      <td style="height:-2; width:18%" align="center"><div align="right"><strong>联系传真:</strong></div></td>
      <td><input name="C_cityFax" type="text" id="C_cityFax" style="width:200" value="<%=AppConst.SiteFax%>" size="20" />　</td>
    </tr>
	<tr class="tdbg">
      <td style="height:-2; width:18%" align="center"><div align="right"><strong>联系QQ:</strong></div></td>
      <td><input name="C_cityWebqq" type="text" id="C_cityWebqq" style="width:200" value="<%=AppConst.SiteWebqq%>" size="20" />　      </td>
    </tr>
    <tr class="tdbg">
      <td style="height:-1" colspan="2" align="center"><hr align="right" width="100%" size="1"></td>
    </tr>
	    <tr class="tdbg"> 
      <td style="height:-2; width:18%" align="center"><div align="right"><strong>电子邮件:</strong></div></td>
      <td style="width:82%"><input name="C_emailuser" type="text" id="C_emailuser" style="width:200" value="<%=AppConst.SiteEmailuser%>" size="20" /></td>
    </tr>
    <tr class="tdbg">
      <td style="height:-1; width:18%" align="center"><div align="right"><strong>邮件服务器:</strong></div></td>
      <td><input name="C_emailserver" type="text" id="C_emailserver" style="width:200" value="<%=AppConst.SiteEmailserver%>" size="20" /></td>
    </tr>
    <tr class="tdbg">
      <td style="height:-2; width:18%" align="center"><div align="right"><strong>邮件密码:</strong></div></td>
      <td><input name="C_emailpass" type="password" id="C_emailpass" style="width:200" value="<%=AppConst.SiteEmailpass%>" /></td>
    </tr>
    <tr class="tdbg">
      <td style="height:-1" colspan="2" align="center"><hr align="right" width="100%" size="1"></td>
    </tr>
    <tr class="tdbg"> 
      <td style="height:-2; width:18%" align="center"><div align="right" style="color:Red"><strong>防SQL注入过滤:</strong></div></td>
      <td style="width:82%"><input name="ProtectSqlRegex" type="text" style="width:400" value="<%=AppConst.ProtectSqlRegex%>" size="20" />
        <br />(注意：请以正则表式填写过滤的SQL关键字，这些将在页面参数、表单填入被替换为空。）</td>
    </tr>
    <tr class="tdbg"> 
      <td style="height:-2; width:18%" align="center"><div align="right"><strong>搜索关键字:</strong></div></td>
      <td style="width:82%"><input name="C_Keyword" type="text" style="width:200" value="<%=AppConst.SiteKeyword%>" size="20" />(注意：添加关键
词时请在每个关键词的后面加“，”号) </td>
    </tr>
    <tr class="tdbg">
      <td style="height:-1; width:18%" align="center"><div align="right"><strong>论坛网址:</strong></div></td>
      <td><input name="C_citybbs" type="text" id="C_citybbs" style="width:200" value="<%=AppConst.SiteBbs%>" size="20" />(注意：请填写完整网址，如http://bbs.siruo.net.cn) </td>
    </tr>
    <tr class="tdbg">
      <td style="height:-1; width:18%" align="center"><div align="right"><strong>网站版本:</strong></div></td>
      <td><input name="C_cityver" type="text" id="C_cityver" style="width:200" value="<%=AppConst.SiteVer%>" size="20" /></td>
    </tr>
	<tr class="tdbg">
      <td style="height:-1; width:18%" align="center"><div align="right"><strong>网站备案:</strong></div></td>
      <td><input name="c_citymii" type="text" id="c_citymii" style="width:200" value="<%=AppConst.SiteMii%>" size="20" /></td>
    </tr>
	<tr class="tdbg">
	  <td style="height:-1" align="center"><div align="right"><strong> 密码输入：</strong></div></td>
      <td>
         <label style="cursor:hand"><input name="Safekeybord" type="radio" value="1"  <%if AppConst.Safekeybord then%>checked<%end if%> />&nbsp;是&nbsp;</label>
         <label style="cursor:hand"><input name="Safekeybord" type="radio" value="0" <%if not AppConst.Safekeybord then%>checked<%end if%> />&nbsp;否&nbsp;</label> (若选择是，则会员登录后台时使用软键盘输入密码，适合网吧等场所上网使用。)</td>
	</tr>
	    <tr class="tdbg">
      <td style="height:-2; width:18%" align="center"><div align="right"><strong>网站底部:</strong></div></td>
      <td><textarea name="C_citybottom" cols="20" rows="6" id="C_citybottom" style="width:400"><%=AppConst.SiteBottom%></textarea>　      </td>
    </tr>
    <tr class="tdbg">
      <td style="height:-1" colspan="2" align="center"><hr width="100%" size="1"></td>
    </tr>
    <tr align="center" class="tdbg">
      <td style="height:15" colspan="2"><input name="Action" type="hidden" id="Action" value="SaveConfig" />
        <input name="cmdSave" type="submit" id="cmdSave" value=" 保存设置 " /></td>
    </tr>
</table>
</form>
</body>
</html>
