<%@ page language="C#" masterpagefile="AdminIndexMaster.master" autoeventwireup="true" inherits="HL_Admin_Admin_Config, WebApp_deploy" title="网站配置" validaterequest="false" debug="true" enableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript" src="Js/Admin_Config.js"></script>
<table class="adminheading" border="0" >
  <tr>
     <th class="config" nowrap="nowrap">网站信息配置</th>
  </tr>
</table>

<table class="nick" cellpadding="1" cellspacing="1">
        <tr><td class="tit" colspan="2">网站配置</td></tr>
        <tr><td class="ltd" style="text-align:center"><a href="?all=1">显示全部</a></td>
		<td class="rtd"><a href="?id=0" id="a0">网站配置</a> | <a href="?id=1" id="a1">登录设置</a> | <a href="?id=2" id="a2">注册设置</a> | <a href="?id=10" id="a10">会员积分设置</a> | <a href="?id=3" id="a3">邮件设置</a> | <a href="?id=4" id="a4">整合设置</a> | <a href="?id=5" id="a5">商城设置</a> | <a href="?id=6" id="a6">缩略图</a> | <a href="?id=7" id="a7">上传选项</a> | <a href="?id=8" id="a8">支付宝</a> | <a href="?id=9" id="a9">二级域名</a></td></tr>
</table>

<asp:FormView ID="FormView1" runat="server" DataSourceID="ObjectDataSource1" DefaultMode="Edit"  Width="100%"  EnableViewState="False" OnDataBound="FormView1_DataBound" OnItemUpdated="FormView1ItemUpdated" OnItemUpdating="FormView1ItemUpdating" OnPageIndexChanging="FormView1_PageIndexChanging" >
      <EditItemTemplate>
                
<table class="adminlist">
 <tbody>
	<tr><th>名称</th><th>属性</th></tr>
 </tbody>
 <tbody class="hidden" id="m0">
   <!--tr><td class="tit" colspan="2">网站配置</td></tr-->
   <tr>
	  <td class="ltd">网站离线：</td>
	  <td class="rtd">
		   <asp:RadioButtonList id="CloseSite" runat="server" AutoPostBack="False" RepeatDirection="Horizontal" CssClass="inputbox" SelectedValue='<%# Bind("CloseSite") %>' EnableViewState="true" RepeatLayout="Flow">
			   <asp:ListItem Value="0">否(No)</asp:ListItem>
				<asp:ListItem Value="1">是(Yes)</asp:ListItem>
		   </asp:RadioButtonList>
		</td>
	 </tr>
	  <tr>
		 <td class="ltd">离线消息：</td>
		 <td class="rtd">
			 <asp:TextBox ID="CloseMessage"  CssClass="text_area" TextMode="MultiLine" Height="40px" Width="70%" Columns="60" runat="server" Text='<%# Bind("CloseMessage") %>' EnableViewState="true"/>
		</td>
	 </tr>
	 <tr>
	   <td class="ltd">网站名称：</td>
	   <td class="rtd"><asp:TextBox MaxLength="50" CssClass="text_area" Text='<%# Bind("SiteName") %>' ID="SiteName" runat="server" Width="70%"/></td>
	 </tr>
	 <tr>
	   <td class="ltd">网站地址：</td>
	   <td class="rtd"><asp:TextBox MaxLength="50"  CssClass="text_area" Text='<%# Bind("SiteUrl") %>' ID="SiteUrl" runat="server" Width="70%"/>
	   <a href="javascript:void(0)"  ><img alt="请填写商城所在网站URL，后面必须带“/”" src="Images/tooltip.png" border="0" /></a>
	   </td>
	   
	   	<td class="rtd">


   </td>
	 </tr>
	 <tr>
	   <td class="ltd">网站安装目录：</td>
	   <td class="rtd"><asp:TextBox MaxLength="50"  CssClass="text_area" ReadOnly="true" Text='<%# Bind("InstallDir") %>' ID="InstallDir" runat="server" Width="70%"/>
	   <a href="javascript:void(0)" ><img alt="请填写商城所在网站的安装目录，如在根目录请填写“/”，如安装在二级目录，请填写“/二级目录名/”" src="Images/tooltip.png" border="0" /></a>
	   </td>
	 </tr>
	 <tr>
	   <td class="ltd">LogoUrl：</td>
	   <td class="rtd"><asp:TextBox MaxLength="50"  CssClass="text_area" Text='<%# Bind("LogoUrl") %>' ID="LogoUrl" runat="server" Width="70%"/></td>
	 </tr>
	 <tr style="display:none">
	   <td class="ltd">BanderUrl：</td>
	   <td class="rtd"><asp:TextBox CssClass="text_area"  MaxLength="50" Text='<%# Bind("BannerUrl") %>' ID="BannerUrl" runat="server" Width="70%"/></td>
	 </tr>
	 <tr>
	   <td class="ltd">站长姓名：</td>
	   <td class="rtd"><asp:TextBox MaxLength="50" CssClass="text_area" Text='<%# Bind("WebMasterName") %>' ID="WebMasterName" runat="server" Width="70%"/></td>
	 </tr>
	 <tr>
	   <td class="ltd">站长邮箱：</td>
	   <td class="rtd"><asp:TextBox MaxLength="100" CssClass="text_area" Text='<%# Bind("WebMasterEmail") %>' ID="WebMasterEmail" runat="server" Width="70%"/></td>
	 </tr>
	 <tr>
	   <td class="ltd">标题附加字：</td>
	   <td class="rtd"><asp:TextBox MaxLength="200" CssClass="text_area" Text='<%# Bind("otherTitle") %>' ID="TextBox2" runat="server" Width="70%" Height="80px" TextMode="MultiLine"/>
		  <a href="javascript:void(0)" ><img alt="网页标题通常是搜索引擎关注的重点，本附加字设置将出现在标题中论坛名称的后面，如果有多个关键字，建议用 "|"、","(不含引号) 等符号分隔 " src="Images/tooltip.png" border="0" /></a>
		</td>
	 </tr>

	 <tr>
	   <td class="ltd">Meta Keywords：</td>
	   <td class="rtd">
		  <asp:TextBox MaxLength="200" CssClass="text_area" Text='<%# Bind("MetaKeywords") %>' ID="TextBox3" runat="server" Width="70%" Height="80px" TextMode="MultiLine"/>
		  <a href="javascript:void(0)" ><img alt="Keywords 项出现在页面头部的 Meta 标签中，用于记录本页面的关键字，多个关键字间请用半角逗号 "," 隔开 " src="Images/tooltip.png" border="0" /></a>
		  </td>
	 </tr>
	 <tr>
	   <td class="ltd">Meta Description：</td>
	   <td class="rtd"><asp:TextBox MaxLength="500" CssClass="text_area" Text='<%# Bind("MetaDescription") %>' ID="TextBox4" runat="server" Width="70%" Height="80px" TextMode="MultiLine"/>
		   <a href="javascript:void(0)" ><img alt="Description 出现在页面头部的 Meta 标签中，用于记录本页面的概要与描述" src="Images/tooltip.png" border="0" /></a>
	   </td>
	 </tr>
	 
	  <tr>
	   <td class="ltd">找回密码设置：</td>
	   <td class="rtd">
		  <asp:RadioButtonList id="WebLiveSet" runat="server" AutoPostBack="False" RepeatDirection="Horizontal" CssClass="inputbox" SelectedValue='<%# Bind("WebLiveSet") %>' EnableViewState="true" RepeatLayout="Flow">                            
			  <asp:ListItem Value="0" Selected="true" Text="发送到安全邮箱方式"/>
			  <asp:ListItem Value="1" Text="直接修改密码方式"/>							
		 </asp:RadioButtonList>
	  </td>
	 </tr> 
	 
	 <tr>
	   <td class="ltd">版本型号：</td>
	   <td class="rtd">
		  <asp:RadioButtonList id="VersionType" runat="server" AutoPostBack="False" RepeatDirection="Horizontal" CssClass="inputbox" SelectedValue='<%# Bind("VersionType") %>' EnableViewState="true" RepeatLayout="Flow">                            
			  <asp:ListItem Value="1">体验版：获得官方商业版以后可以获得序列号解除限制！</asp:ListItem>							     
		  </asp:RadioButtonList>
		</td>
	 </tr>
<%--	<tr id="SiteRegKey" >
	   <td class="ltd">序列号：</td>
	   <td class="rtd">
		   <asp:TextBox MaxLength="2100"  ID="SiteKey"  CssClass="text_area" TextMode="MultiLine" Height="100px" Width="550px"  runat="server" Text='<%# Bind("SiteKey") %>'/><asp:Literal ID="CodeTips" runat="server" />
	   </td>
	 </tr>
	 <tr id="CheckSiteRegKey" >
	   <td class="ltd">序列号验证：</td>
	   <td class="rtd">
		   <asp:Button ID="CheckIdentifyRegCodeIsValid" runat="server" Text="校验注册码"  OnClick="CheckIdentifyRegCodeIsValid_Click"/>
		</td>
	 </tr>--%>
	 <tr>
	   <td class="ltd">版权信息：</td>
	   <td class="rtd">
		 <asp:TextBox ID="ProductDescripe" runat="server" Text='<%# Bind("CopyRight") %>' TextMode="MultiLine" Height="200px" EnableViewState="false" style="display:none;" />
		 <iframe src="../Editor/Editor.aspx?id=ctl00_ContentPlaceHolder1_FormView1_ProductDescripe" scrolling="auto" frameborder="0" height="200" width="100%" ></iframe>
	   </td>
	 </tr>
	 <tr style="display:none;">
	   <th style="height: 48px">后台管理目录地址</td>
	   <td  style="height: 48px"><asp:TextBox MaxLength="50"  ID="AdminDir" CssClass="text_area" Width="70%" Height="40px" runat="server" Text='<%# Bind("AdminDir") %>'/></td>
	 </tr>
	 <tr style="display:none;">
	   <td class="ltd">网站模块设置：</td>
	   <td class="rtd">
	  <asp:CheckBoxList ID="SystemSet" AutoPostBack="false" RepeatDirection="Horizontal" runat="server" SelectedValue='<%# Bind("SystemSet") %>' EnableViewState="true" RepeatLayout="Flow">
		  <asp:ListItem Value="1" Text="首页"/>
		  <asp:ListItem Value="1" Text="客户服务中心"/>
		  <asp:ListItem Value="1" Text="广告管理"/>
		  <asp:ListItem Value="1" Text="客户关系管理系统"/>
	   </asp:CheckBoxList>
	  </td>
	 </tr>
	 <tr>
		<td class="ltd">模板方案路径：</td>
		<td class="rtd">
			<asp:TextBox ID="TemplateDir" runat="server" Text='<%# Bind("TemplateDir") %>' Width="200" />
			<a href="javascript:void(0)" ><img alt="如果需要修改模板方案路，修改以后通过ftp直接修改模板所在目录的文件夹路径" src="Images/tooltip.png" border="0" /></a>
			</td>
	 </tr>  
	 <tr>
		<td class="ltd">
			网站专题目录：</td>
		<td class="rtd">
			<asp:TextBox ID="SiteSpecialDir" runat="server" Text='<%# Bind("SiteSpecialDir") %>' Width="150" />修改后请将文件 /Specail/Specail.aspx 复制到相应的目录下。
			<a href="javascript:void(0)" ><img  alt="修改后请将文件 /Vertical/Specail.aspx 复制到相应的目录下。”" src="Images/tooltip.png" border="0" /></a>
			</td>
	 </tr>             
</tbody>

<tbody class="hidden" id="m1">
   <!--tr><td class="tit" colspan="2">登录配置</td></tr-->
	  <tr>
		<td class="ltd">登录方式：</td>
		<td class="rtd">
			  <div style="float:left"><asp:RadioButtonList id="LoginType" SelectedValue='<%# Bind("GuestBookShowIP") %>' runat="server" AutoPostBack="False" RepeatDirection="Horizontal" >                            
				   <asp:ListItem Value="0" Selected="true" Text="同步整合登录"/>
				   <asp:ListItem Value="1" Text="异步整合登录"/>							    
			 </asp:RadioButtonList></div>
			 <div style="float:left; padding-top:1px;"><a href="javascript:void(0)" >&nbsp;<img alt="若不想出现导航条则可以选择同步登录，则整合方式为登录某一系统后则全部整合系统同时登录，则不会出现导航条" src="Images/tooltip.png" border="0" /></a></div>
		</td>
	  </tr>                 
	  <tr>
		<td class="ltd">登录验证码：</td>
		<td class="rtd">
			<asp:RadioButtonList id="EnableLoginCheckCode" runat="server" AutoPostBack="False" RepeatDirection="Horizontal" CssClass="inputbox" SelectedValue='<%# Bind("EnableLoginCheckCode") %>' EnableViewState="true" RepeatLayout="Flow">                            
				 <asp:ListItem Value="0" Selected="true" Text="不开启"/>
				 <asp:ListItem Value="1" Text="开启"/>							
			</asp:RadioButtonList>
	   </td>
	  </tr>					   
	  <tr style="display:none">
		<td class="ltd">登录失败允许次数：</td>
		<td class="rtd">
			 <asp:TextBox ID="TryLoginTimes" CssClass="inputbox" runat="server" Text='<%# Bind("TryLoginTimes") %>' Width="70%" />
			 0表示不限制
		 </td>
	  </tr>
	  <tr style="display:none">
		<td class="ltd">限制再登录时间间隔：</td>
		<td class="rtd">
			<asp:TextBox ID="LoginInterval" CssClass="inputbox" runat="server" Text='<%# Bind("LoginInterval") %>' Width="70%"/>
			默认为20分钟
		</td>
	  </tr>
	  <tr>
		<td class="ltd">禁止登录IP黑名单：</td>
		<td class="rtd">
			 <asp:TextBox ID="LoginIPBan"  CssClass="text_area" TextMode="MultiLine" Height="40px" Width="70%" Columns="60" runat="server" Text='<%# Bind("LoginIPBan") %>'/>
		</td>
	  </tr>
	  <tr>
		<td class="ltd">允许登录IP白名单：</td>
		<td class="rtd">
			 <asp:TextBox ID="LoginIPAccess"  CssClass="text_area" TextMode="MultiLine" Height="40px" Width="70%" Columns="60" runat="server" Text='<%# Bind("LoginIPAccess") %>'/>
			   白名单仅超级管理员可修改
		 </td>
	  </tr>          
</tbody>

<tbody class="hidden" id="m2">
  <!--tr><td class="tit" colspan="2">注册配置</td></tr-->  
  <tr>
	<td class="ltd">是否关闭注册：</td>
	<td class="rtd">
	<asp:RadioButtonList id="EnableReg" runat="server" AutoPostBack="False" RepeatDirection="Horizontal" CssClass="inputbox" SelectedValue='<%# Bind("EnableReg") %>' EnableViewState="true" RepeatLayout="Flow">                            
		<asp:ListItem Value="0" Text="是"/>
		<asp:ListItem Value="1" Text="否"/>							
	</asp:RadioButtonList>
	</td>
   </tr>
   <tr>
	<td class="ltd">注册页面URL：</td>
	<td class="rtd">
	   <asp:TextBox MaxLength="100"  ID="RegPageSet" Text='<%# Bind("RegPageSet") %>' CssClass="inputbox" runat="server" Width="70%"/>&nbsp;
	   <a href="javascript:void(0)" ><img alt="注册页面，为空则表示从那个系统点击注册就在该系统注册，若不为空，则跳到该页面进行注册!”" src="Images/tooltip.png" border="0" /></a>
   </td>
  </tr>	
  <tr>
	<td class="ltd">开启注册验证码：</td>
	<td class="rtd">
	<asp:RadioButtonList id="EnableRegCode" runat="server" AutoPostBack="False" RepeatDirection="Horizontal" CssClass="inputbox" SelectedValue='<%# Bind("EnableRegCode") %>' EnableViewState="true" RepeatLayout="Flow">                            
		<asp:ListItem Value="0" Text="否(No)"/>
		<asp:ListItem Value="1" Text="是(Yes)"/>							
   </asp:RadioButtonList>
	</td>
  </tr>
  <tr>
	<td class="ltd">允许同一Email注册：</td>
	<td class="rtd">
	<asp:RadioButtonList id="EnableEmailOnce" runat="server" AutoPostBack="False" RepeatDirection="Horizontal" CssClass="inputbox" SelectedValue='<%# Bind("EnableEmailOnce") %>' EnableViewState="true" RepeatLayout="Flow">                            
		<asp:ListItem Value="0" Text="否(No)"/>
		<asp:ListItem Value="1" Text="是(Yes)"/>							
   </asp:RadioButtonList>
	</td>
  </tr>
  <tr style="display:none;">
	<td class="ltd">注册密码强度检测：</td>
	<td class="rtd">
	<asp:RadioButtonList id="EnablePasswordCheck" runat="server" AutoPostBack="False" RepeatDirection="Horizontal" CssClass="inputbox" SelectedValue='<%# Bind("EnablePasswordCheck") %>' EnableViewState="true" RepeatLayout="Flow">                            
		<asp:ListItem Value="0"  Text="否(No)"/>
		<asp:ListItem Value="1" Text="是(Yes)"/>							
   </asp:RadioButtonList>
	</td>
  </tr>
  <tr>
	  <td class="ltd">限制注册邮箱域名：</td>
	  <td class="rtd">
	  <asp:TextBox ID="RegBanEmail"  CssClass="text_area" TextMode="MultiLine" Height="40px" Width="70%" Columns="60" runat="server" Text='<%# Bind("RegBanEmail") %>'/>
	</td>
  </tr>
  <tr>
	<td class="ltd">注册验证方式：</td>
	<td class="rtd">
	   <asp:RadioButtonList id="RegConfirm" runat="server" AutoPostBack="False" RepeatDirection="Horizontal" 
	   CssClass="inputbox" SelectedValue='<%# Bind("RegConfirm") %>' EnableViewState="true" RepeatLayout="Flow">                            
			 <asp:ListItem Value="0" Text="自动验证"/>
			 <asp:ListItem Value="1" Text="邮件欢迎"/>
			 <asp:ListItem Value="2" Text="邮件验证"/>
			 <%--<asp:ListItem Value="3" Text="手机验证"/>--%>
			 <asp:ListItem Value="4" Text="管理员验证"/>						
	   </asp:RadioButtonList>                        
	</td>
  </tr>
  <tr style="display:none;">
	  <td class="ltd">开启邮件认证后<br/>会自动发一封邮件<br/>到注册邮箱<br/>内容为：</td>
	  <td class="rtd">
		<asp:TextBox ID="RegEmailContent"  CssClass="text_area" TextMode="MultiLine" Height="100px" Width="70%"  runat="server" Text='<%# Bind("RegEmailContent") %>' />
	  </td>
  </tr>					 
  <tr>
	<td class="ltd">注册积分初始设置：</td>
	<td class="rtd">
	<p>通行币：
	  <asp:TextBox ID="RegPresent1" CssClass="inputbox" runat="server" Text='<%# Bind("RegPresent1") %>' Width="100px" />
	  <br>
	  点&nbsp;&nbsp;&nbsp;&nbsp;券：
	   <asp:TextBox ID="RegPresent2" CssClass="inputbox" runat="server" Text='<%# Bind("RegPresent2") %>' Width="100px" />
	  <br>
	  经验值：
	  <asp:TextBox ID="RegPresent3" CssClass="inputbox" runat="server" Text='<%# Bind("RegPresent3") %>' Width="100px"/>
	  <br>
	  积&nbsp;&nbsp;&nbsp;&nbsp;分：
	  <asp:TextBox ID="RegPresent4" CssClass="inputbox" runat="server" Text='<%# Bind("RegPresent4") %>' Width="100px" />
	 
	</p>
	</td>
  </tr>

  <tr>
	<td class="ltd">注册名设置：</td>
	<td class="rtd">
	<asp:RadioButtonList id="RegNameSet" runat="server" AutoPostBack="False" RepeatDirection="Horizontal" CssClass="inputbox" SelectedValue='<%# Bind("RegNameSet") %>' EnableViewState="true" RepeatLayout="Flow">                            
		<asp:ListItem Value="0" Text="不限制"/>
		<asp:ListItem Value="1" Text="禁止全数字"/>
		<asp:ListItem Value="2" Text="禁止英文名"/>
		<asp:ListItem Value="3" Text="禁止中文名"/>							
   </asp:RadioButtonList>
	</td>
  </tr>
  <tr>
	<td class="ltd">注册用户名最短长度：</td>
	<td class="rtd">
	<asp:TextBox ID="RegNameMin" CssClass="inputbox" runat="server" Text='<%# Bind("RegNameMin") %>' Width="60px" onblur="if(this.value==''|| isNaN(this.value)||this.value<1||this.value>50){alert('请输入正确数字！');this.value='4';}" />(一个中文占两个字符)
	</td>
  </tr>
  <tr>
	<td class="ltd">注册用户名最大长度：</td>
	<td class="rtd">
	<asp:TextBox ID="RegNameMax" CssClass="inputbox" runat="server" Text='<%# Bind("RegNameMax") %>' Width="60px" onblur="if(this.value==''|| isNaN(this.value)||this.value<1||this.value>50){alert('请输入正确数字！');this.value='16';}" />(一个中文占两个字符)
	</td>
  </tr>
  <tr>
	<td class="ltd">禁止注册用户名包含：</td>
	<td class="rtd">
	<asp:TextBox ID="RegBanName"  CssClass="text_area" TextMode="MultiLine" Height="40px" Width="70%" Columns="60" runat="server" Text='<%# Bind("RegBanName") %>'/>						                      
	</td>
  </tr>
  <tr>
	<td class="ltd">注册跳转页设置：</td>
	<td class="rtd">
	<asp:RadioButtonList id="RegURLSet" runat="server" AutoPostBack="False" RepeatDirection="Horizontal" CssClass="inputbox" SelectedValue='<%# Bind("RegURLSet") %>' EnableViewState="true" RepeatLayout="Flow">                            
		<asp:ListItem Value="0" Text="系统默认"/>
		<asp:ListItem Value="1" Text="首页"/>
		<asp:ListItem Value="2" Text="自定义页面" />												
   </asp:RadioButtonList>
	</td>
  </tr>
  <tr>
	<td class="ltd">注册跳转自定义页面：</td>
	<td class="rtd">
	<asp:TextBox ID="RegURl" MaxLength="50"  CssClass="inputbox" runat="server" Text='<%# Bind("RegURL") %>' Width="70%" /></td>
  </tr>
  <tr>
	<td class="ltd">IP注册间隔限制：</td>
	<td class="rtd">
	<asp:RadioButtonList id="RegIPOnce" runat="server" AutoPostBack="False" RepeatDirection="Horizontal" CssClass="inputbox" SelectedValue='<%# Bind("RegIPOnce") %>' EnableViewState="true" RepeatLayout="Flow">                            
		<asp:ListItem Value="0"  Text=" 不限制"/>
		<asp:ListItem Value="10" Text="10分钟"/>
		<asp:ListItem Value="20" Text="20分钟" />
		<asp:ListItem Value="30" Text="30分钟" />
		<asp:ListItem Value="60" Text="60分钟" />																		
   </asp:RadioButtonList>
	</td>
  </tr>
  <tr>
	<td class="ltd">注册发送欢迎短信：</td>
	<td class="rtd">
	   <asp:RadioButtonList id="RegSendMsg" runat="server" AutoPostBack="False" RepeatDirection="Horizontal" CssClass="inputbox" SelectedValue='<%# Bind("RegSendMsg") %>' EnableViewState="true" RepeatLayout="Flow">                            
		  <asp:ListItem Value="0" Text=" 不开启"/>
		  <asp:ListItem Value="1" Text="开启"/>	
	   </asp:RadioButtonList>					 
	</td>
  </tr>
  <tr id="div_RegSendMsg">                        
	 <td class="ltd">编辑欢迎短信：</td>
	 <td class="rtd">
		 <asp:TextBox  MaxLength="50" ID="RegMsgContent"  CssClass="text_area" TextMode="MultiLine" Height="100px" Width="70%"  runat="server" Text='<%# Bind("RegMsgContent") %>'/>
	 </td>                        
  </tr>
  <tr  style="display:none">
	<td class="ltd">注册回答问题：</td>
	<td class="rtd">
	<asp:RadioButtonList id="RegAnswerCheck" runat="server" AutoPostBack="False" RepeatDirection="Horizontal" CssClass="inputbox" SelectedValue='<%# Bind("RegAnswerCheck") %>' EnableViewState="true" RepeatLayout="Flow">                            
		<asp:ListItem Value="0" Text="不开启"/>
		<asp:ListItem Value="1" Text="开启"/>	
   </asp:RadioButtonList>
	</td>
  </tr>
  <tr style="display:none">                        
	<td class="ltd"></td>
	<td class="rtd">
		  问题:<asp:TextBox MaxLength="50" ID="RegQuestion" CssClass="inputbox" runat="server" Text='<%# Bind("RegQuestion") %>' Width="70%"/><br />
		  答案:<asp:TextBox MaxLength="50"  ID="RegAnswer" CssClass="inputbox" runat="server" Text='<%# Bind("RegAnswer") %>' Width="70%"/>
	</td>	
  </tr>								  
   <tr>
	<td class="ltd">注册协议：</td>
	<td class="rtd">
	 <asp:TextBox ID="RegProtocalContent"  CssClass="text_area" TextMode="MultiLine" Height="100px" Width="70%" Columns="60" runat="server" />&nbsp;&nbsp;<a href="javascript:void(0)" onclick='addheight("add");'>+</a>&nbsp;&nbsp; <a href="javascript:void(0)" onclick='addheight("sub");'>-</a>
	</td>
  </tr>
  <tr style="display:none">
	<td class="ltd">注册必填项目：</td>
	<td class="rtd">
	<asp:CheckBoxList ID="RegItems" runat="server" RepeatDirection="Horizontal" RepeatColumns="5">
		<asp:ListItem Text="帐号"  Value="1" Selected="true"  Enabled="false"/>
		<asp:ListItem Text="密码"  Value="2" Selected="true" Enabled="false"/>
		<asp:ListItem Text="邮箱"  Value="3" Selected="true" Enabled="false"/>
		<asp:ListItem Text="密码问题"  Value="4" Selected="true" />
		<asp:ListItem Text="密码答案"  Value="12" Selected="true"/>
		<asp:ListItem Text="年龄"  Value="6" Selected="false"/>
		<asp:ListItem Text="生日"  Value="7" Selected="false"/>
		<asp:ListItem Text="性别"  Value="5" Selected="false"/>							
		<asp:ListItem Text="真实姓名"  Value="9" Selected="false"/>
		<asp:ListItem Text="QQ"  Value="10" Selected="false"/>
		<asp:ListItem Text="MSN"  Value="11" Selected="false"/>
		<asp:ListItem Text="手机号码"  Value="8" Selected="false"/>							
		<asp:ListItem Text="ICQ"  Value="13" Selected="false"/>
		<asp:ListItem Text="UC"  Value="14" Selected="false"/>
		<asp:ListItem Text="雅虎通"  Value="15" Selected="false"/>
		<asp:ListItem Text="主页"  Value="16" Selected="false"/>
		<asp:ListItem Text="办公电话"  Value="17" Selected="false"/>
		<asp:ListItem Text="联系地址"  Value="18" Selected="false"/>
		<asp:ListItem Text="签名档"  Value="19" Selected="false"/>							
	</asp:CheckBoxList>						
	</td>
  </tr>
  <tr style="display:none">
	<td class="ltd">自定义注册选项：</td>
	<td class="rtd">
		 <asp:RadioButtonList id="EnableRegSelectItem" SelectedValue='<%# Bind("EnableRegSelectItem") %>' runat="server" AutoPostBack="False" RepeatDirection="Horizontal" CssClass="inputbox" RepeatLayout="Flow">                            
			 <asp:ListItem Value="0" Text=" 不开启"/>
			 <asp:ListItem Value="1" Text="开启"/>	
		</asp:RadioButtonList>						
	</td>
  </tr>
  <tr>
	<td class="ltd">&nbsp;</td>
	<td class="rtd">
	<table width="483" border="0" cellpadding="0" cellspacing="0" id="RegSelectItemTable" style="display:none">
	  <tr>
		<td width="63">选择</td>
		<td width="176">名称</td>
		<td style="width: 222px">类型</td>
	  </tr>
	  <tr>
		<td><asp:CheckBox ID="RegSelectItem1" runat="server"/></td>
		<td><asp:TextBox ID="RegSelectItemName1" runat="server"/></td>
		<td style="width: 222px">
		<asp:RadioButtonList id="RegSelectChoice" runat="server" AutoPostBack="False" RepeatDirection="Horizontal" CssClass="inputbox" RepeatLayout="Flow">                            
			 <asp:ListItem Value="0" Selected="true" Text=" 文本"/>
			 <asp:ListItem Value="1" Text="下拉列表"/>
			 <asp:ListItem Value="3" Text="复选框"/>	
		</asp:RadioButtonList>                              
		</td>
	  </tr>
	  <tr>
		<td><asp:CheckBox ID="RegSelectItem2" runat="server"/></td>
		<td><asp:TextBox ID="RegSelectItemName2" runat="server"/></td>
		<td style="width: 222px">
		<asp:RadioButtonList id="RegSelectChoice2" runat="server" AutoPostBack="False" RepeatDirection="Horizontal" CssClass="inputbox">                            
			 <asp:ListItem Value="0" Selected="true" Text=" 文本"/>
			 <asp:ListItem Value="1" Text="下拉列表"/>
			 <asp:ListItem Value="3" Text="复选框"/>	
		</asp:RadioButtonList>                              
		</td>
	  </tr>
	</table>
	</td>
 </tr>
</tbody>

<tbody class="hidden" id="m3">  
   <!--tr><td class="tit" colspan="2">邮件配置</td></tr-->
  <tr>
	<td class="ltd">邮件发送主题：</td>
	<td class="rtd">
	<asp:TextBox MaxLength="50" ID="MailObject" runat="server" CssClass="text_area" Width="70%" Text='<%# Bind("MailObject") %>' />
	</td>
  </tr>
  <tr>
	<td class="ltd">SMTP邮件服务器地址：</td>
	<td class="rtd">
	  <asp:TextBox MaxLength="50"  ID="MailSmtpServer" runat="server" CssClass="text_area" Width="70%" Text='<%# Bind("MailSmtpServer") %>'/>
	</td>
  </tr>
  <tr>
	<td class="ltd">SMTP登录用户名：</td>
	<td class="rtd">
	   <asp:TextBox MaxLength="50" ID="MailServerUserName" runat="server" CssClass="text_area" Width="70%" Text='<%# Bind("MailServerUserName") %>'/>
	</td>
  </tr>
  <tr>
	<td class="ltd">SMTP登录密码：</td>
	<td class="rtd">
	 <asp:TextBox MaxLength="50"   TextMode="password" ID="MailServerPassWord" runat="server" CssClass="text_area" Width="70%" Text='<%# Bind("MailServerPassWord") %>'/>
	</td>
  </tr>
  <tr>
	<td class="ltd">用于发送的邮箱名：</td>
	<td class="rtd">
	<asp:TextBox MaxLength="50"  ID="MailServerFrom" runat="server" CssClass="text_area" Width="70%" Text='<%# Bind("MailServerFrom") %>'/>
	</td>
  </tr>        
</tbody>

<tbody class="hidden" id="m4">
   <!--tr><td class="tit" colspan="2">整合配置</td></tr-->
   <tr>
	   <td class="ltd">是否开启整合：</td>
	   <td class="rtd">
		   <asp:RadioButtonList id="HLIntergation" SelectedValue='<%# Bind("HLIntegration") %>' runat="server" AutoPostBack="False" RepeatDirection="Horizontal" CssClass="inputbox" EnableViewState="true" RepeatLayout="Flow">                            
			   <asp:ListItem Value="0" Text=" 不开启"/>
			   <asp:ListItem Value="1" Text="开启"/>							    
		   </asp:RadioButtonList> 
		</td>
	</tr>
	<tr>
		<td class="ltd">网站根域名：</td>
		<td class="rtd">
			<asp:TextBox MaxLength="100" ID="DomainName" runat="server" Text='<%# Bind("DomainName") %>' Width="70%" />
		</td>
	 </tr> 
	 <tr>
		<td class="ltd">前台整合密钥：</td>
		<td class="rtd">
			<asp:TextBox  MaxLength="100" ID="SecurityKey" runat="server" Text='<%# Bind("SecurityKey") %>' Width="70%" /><a href="javascript:CreateSecurityCode('font');">生成前台密钥</a>&nbsp;&nbsp;<a href="javascript:copyCcode('font');alert('数据成功复制到粘贴板中！');">复制</a>&nbsp;&nbsp;<a href="javascript:clearCcode('font');">清除</a>
		<a href="#" ><img alt="整合前台用到的通讯标准！" src="Images/tooltip.png" border="0" /></a>
		</td>
	 </tr> 
	 <tr>
		<td class="ltd">后台整合密钥：</td>
		<td class="rtd">
			<asp:TextBox MaxLength="100"  ID="AdminSecurityKey" runat="server" Text='<%# Bind("AdminSecurityKey") %>' Width="70%"/><a href="javascript:CreateSecurityCode('admin');">生成后台密钥</a>&nbsp;&nbsp;<a href="javascript:copyCcode('admin');alert('数据成功复制到粘贴板中！');">复制</a>&nbsp;&nbsp;<a href="javascript:clearCcode('admin');">清除</a>
		</td>
	 </tr>					     
</tbody>

<tbody class="hidden" id="m5">  
   <!--tr><td class="tit" colspan="2">商城配置</td></tr-->
   <tr>
	   <td class="ltd">确认订单时站内短信/Email通知内容：</td>
	   <td class="rtd">
		   <asp:TextBox MaxLength="800" ID="MessageOfOrderConfirm" TextMode="MultiLine" Height="50px" Width="70%" runat="server"  Text='<%# Bind("MessageOfOrderConfirm") %>' CssClass="text_area" />
		</td>
	</tr>
	 <tr>
	   <td class="ltd">收到银行汇款时站内短信/Email通知内容：</td>
	   <td class="rtd">
		   <asp:TextBox MaxLength="800"  ID="MessageOfReceiveMoney" TextMode="MultiLine" Height="50px" Width="70%" runat="server"  Text='<%# Bind("MessageOfReceiveMoney") %>' CssClass="text_area" />
		</td>
	</tr> 
	<tr>
	   <td class="ltd">退货时站内短信/Email通知内容：</td>
	   <td class="rtd">
		   <asp:TextBox MaxLength="800"  ID="MessageOfRefund" TextMode="MultiLine" Height="50px" Width="70%" runat="server"  Text='<%# Bind("MessageOfRefund") %>' CssClass="text_area" />
		</td>
	</tr>
	<tr>
	   <td class="ltd">发出货物时站内短信/Email通知内容：</td>
	   <td class="rtd">
		   <asp:TextBox MaxLength="800"  ID="MessageOfDeliver" TextMode="MultiLine" Height="50px" Width="70%" runat="server"  Text='<%# Bind("MessageOfDeliver") %>' CssClass="text_area" />
		</td>
	</tr>
	<tr>
	   <td class="ltd">交付充值卡时站内短信/Email通知内容：</td>
	   <td class="rtd">
		   <asp:TextBox MaxLength="800"  ID="MessageOfSendCard" TextMode="MultiLine" Height="50px" Width="70%" runat="server"  Text='<%# Bind("MessageOfSendCard") %>' CssClass="text_area" />
		</td>
	</tr>
	<tr>
	   <td class="ltd">绑定Email时发送Email通知内容：</td>
	   <td class="rtd">
		   <asp:TextBox MaxLength="800"  ID="MessageOfConfrimEmail" TextMode="MultiLine" Height="50px" Width="70%" runat="server"  Text='<%# Bind("MessageOfConfrimEmail") %>' CssClass="text_area" />
		</td>
	</tr>
	<tr>
	   <td class="ltd">忘记密码发送Email通知内容：</td>
	   <td class="rtd">
		   <asp:TextBox MaxLength="800" ID="MessageOfConfrimPassword" TextMode="MultiLine" Height="50px" Width="70%" runat="server"  Text='<%# Bind("MessageOfConfrimPassword") %>' CssClass="text_area" />
		   
		</td>
	</tr>
</tbody>

<tbody class="hidden" id="m6"> 
   <!--tr><td class="tit" colspan="2">缩略图</td></tr--> 
	<tr>
	   <td class="ltd">缩略图默认宽度：</td>
	   <td class="rtd">
		   <asp:TextBox ID="SamllPic_DefaultWidth" runat="server"  Text='<%# Bind("SamllPic_DefaultWidth") %>' CssClass="text_area" />
		</td>
	</tr>
	<tr>
	   <td class="ltd">缩略图默认高度：</td>
	   <td class="rtd">
		   <asp:TextBox ID="SamllPic_DefaultHieght" runat="server"  Text='<%# Bind("SamllPic_DefaultHieght") %>' CssClass="text_area" />
		</td>
	</tr>
	<tr>
	   <td class="ltd">水印类型：</td>
	   <td class="rtd">
		  <asp:RadioButtonList ID="Wartermark_Type" runat="server" RepeatDirection="Horizontal"  SelectedValue='<%# Bind("Wartermark_Type") %>' RepeatLayout="Flow">
			 <asp:ListItem Text="无水印" Value="0" />
			 <asp:ListItem Text="文字水印" Value="1" />
			 <asp:ListItem Text="图片水印" Value="2" />
		  </asp:RadioButtonList>
		</td>
	</tr>
	<tr>
	   <td  colspan="2" style=" text-align:left;">
		  <table id="Text_Watermark" class="nick">
				<tr>
				   <td class="ltd">水印文字：</td>
				   <td class="rtd">
					  <asp:TextBox  MaxLength="100" ID="Wartermark_Text" runat="server" Text='<%# Bind("Wartermark_Text") %>'/>
					</td>
				</tr>
				<tr>
				   <td class="ltd">文字字体：</td>
				   <td class="rtd">
						<asp:DropDownList ID="Wartermark_FontFamily" runat="server" SelectedValue='<%# Bind("Wartermark_FontFamily") %>' >
							<asp:ListItem value="宋体">宋体</asp:ListItem>
							<asp:ListItem value="楷体_GB2312" >楷体</asp:ListItem>
							<asp:ListItem value="仿宋_GB2312" >新宋体</asp:ListItem>
							<asp:ListItem value="黑体" >黑体</asp:ListItem>
							<asp:ListItem value="隶书" >隶书</asp:ListItem>
							<asp:ListItem value="幼圆" >幼圆</asp:ListItem>
							<asp:ListItem value="Andale Mono" >Andale Mono</asp:ListItem> 
							<asp:ListItem value="Arial"  >Arial</asp:ListItem> 
							<asp:ListItem value="Arial Black"  >Arial Black</asp:ListItem> 
							<asp:ListItem value="Book Antiqua"  >Book Antiqua</asp:ListItem>
							<asp:ListItem value="Century Gothic"  >Century Gothic</asp:ListItem> 
							<asp:ListItem value="Comic Sans MS"  >Comic Sans MS</asp:ListItem>
							<asp:ListItem value="Courier New"  >Courier New</asp:ListItem>
							<asp:ListItem value="Georgia"  >Georgia</asp:ListItem>
							<asp:ListItem value="Impact"  >Impact</asp:ListItem>
							<asp:ListItem value="Tahoma"  >Tahoma</asp:ListItem>
							<asp:ListItem value="Times New Roman"  >Times New Roman</asp:ListItem>
							<asp:ListItem value="Trebuchet MS"  >Trebuchet MS</asp:ListItem>
							<asp:ListItem value="Script MT Bold"  >Script MT Bold</asp:ListItem>
							<asp:ListItem value="Stencil"  >Stencil</asp:ListItem>
							<asp:ListItem value="Verdana"  >Verdana</asp:ListItem>
							<asp:ListItem value="Lucida Console"  >Lucida Console</asp:ListItem>
						</asp:DropDownList>
					</td>
				</tr>				     	           
				<tr>
				   <td class="ltd">是否粗体：</td>
				   <td class="rtd"><asp:DropDownList ID="Wartermark_FontWeight" runat="server" SelectedValue='<%# Bind("Wartermark_FontWeight") %>' RepeatLayout="Flow">
						  <asp:ListItem Text="否" Value="0" Selected="True" />
						  <asp:ListItem Text="是" Value="1" />					            
					   </asp:DropDownList></td>
				</tr> 
				<tr>
				   <td class="ltd">水印文字比例：</td>
				   <td class="rtd">
					   文字宽度占原图比例：<asp:TextBox ID="Watermark_PositionX"  runat="server"  Text='<%# Bind("Watermark_PositionX") %>' CssClass="text_area" /> %<br />
					   文字高度占原图比例：<asp:TextBox ID="Watermark_PositionY"  runat="server"  Text='<%# Bind("Watermark_PositionY") %>' CssClass="text_area" /> %
					</td>
				</tr> 				              
		  </table>
		  <table id="Pic_Watermark" class="nick">
			 <tr>
				<td class="ltd">水印图片路径：</td>
				<td class="rtd">
				   <asp:TextBox  MaxLength="100"  ID="Watermark_PhotoUrl" runat="server"  Text='<%# Bind("Watermark_PhotoUrl") %>' CssClass="text_area" />
				</td>
			 </tr>				     	         
			 <tr>
				<td class="ltd">水印图片距原图右下角边距：</td>
				<td class="rtd">
				   <asp:TextBox ID="Watermark_Position"  runat="server"  Text='<%# Bind("Watermark_Position") %>' CssClass="text_area" />					          
				</td>
			 </tr>	
										
		  </table>				           
	   </td>					       
	</tr>
	<tr>
		<td class="ltd">水印透明度：</td>
		<td class="rtd">
		   <asp:TextBox ID="Watermark_PhotoAlpha" runat="server"  Text='<%# Bind("Watermark_PhotoAlpha") %>' CssClass="text_area" />0~255
		</td>
	</tr>
	<tr>
		<td class="ltd">水印占原图比例：</td>
		<td class="rtd">
		   <asp:TextBox ID="TextBox1"  runat="server"  Text='<%# Bind("Watermark_PositionX") %>' CssClass="text_area" />%					          
		</td>
	 </tr>	 
</tbody>

<tbody class="hidden" id="m7"> 
   <!--tr><td class="tit" colspan="2">上传选项</td></tr-->
	<tr>
	   <td class="ltd">上传图片后缀限制：</td>
	   <td class="rtd">
		   <asp:TextBox ID="TextUploadType" runat="server" Text='<%#Bind("UploadType") %>' /> 多个请用","隔开，如：.jpg,.gif</td>
	</tr> 
	<tr>
	   <td class="ltd">上传图片大小限制：</td>
	   <td class="rtd">
		   <asp:TextBox ID="TextUploadPicmaxSize" runat="server" Text='<%#Bind("UploadPicmaxSize") %>' /> KB</td>
	</tr> 
	<tr>
	   <td class="ltd">上传视频后缀限制：</td>
	   <td class="rtd">
		   <asp:TextBox ID="TextUploadVideoType" runat="server" Text='<%#Bind("UploadVideoType") %>' /> 多个请用","隔开，如：.flv,.wav</td>
	</tr>
	<tr>
	   <td class="ltd">上传视频大小限制：</td>
	   <td class="rtd">
		   <asp:TextBox ID="TextUploadVidmaxSize" runat="server" Text='<%#Bind("UploadVidmaxSize") %>' /> KB</td>
	</tr>
 </tbody>

<tbody class="hidden" id="m8">
   <!--tr><td class="tit" colspan="2">支付宝</td></tr--> 
	<tr>
	   <td class="ltd">支付宝设置：</td>
	   <td class="rtd">
		   <asp:DropDownList ID="AliPay_Config" runat="server"  SelectedValue='<%# Bind("AlipayConfig") %>'>
			   <asp:ListItem Text="强制使用固定的支付宝合作伙伴ID" Value="system" />
			   <asp:ListItem Text="允许卖家使用自己的支付宝合作伙伴ID" Value="self" />
		   </asp:DropDownList>
		</td>
	</tr> 
	<tr id="self_account">
	   <td class="ltd">合作者身份ID：</td>
	   <td class="rtd">
		   <asp:TextBox ID="AliPay_Account" runat="server"  Text='<%# Bind("AlipayPartnerID") %>' CssClass="text_area" />
		</td>
	</tr>
	<tr id="self_key">
	   <td class="ltd">安全校验码：</td>
	   <td class="rtd">
		   <asp:TextBox ID="AliPay_Key" runat="server"  Text='<%# Bind("AlipayKey") %>' CssClass="text_area"  Width="250px"/>
		</td>
	</tr>
</tbody>

<tbody class="hidden" id="m9"> 
   <!--tr><td class="tit" colspan="2">店铺配置</td></tr-->
	<tr>
	   <td class="ltd">二级根域名：</td>
	   <td class="rtd">
		   <asp:TextBox ID="TextBox7" runat="server" Text='<%# Bind("ShopRootUrl") %>'></asp:TextBox></td>
	</tr> 
	<tr>
	   <td class="ltd">开启二级域名：</td>
	   <td class="rtd">
		   <asp:RadioButtonList id="RadioButtonList1" runat="server" AutoPostBack="False" RepeatDirection="Horizontal" CssClass="inputbox" SelectedValue='<%# Bind("IsUserSecUrl") %>' EnableViewState="true" RepeatLayout="Flow">                            
		<asp:ListItem Value="1" Text="是"/>
		<asp:ListItem Value="0" Text="否"/>							
   </asp:RadioButtonList>
		</td>
	</tr>
</tbody>
<tbody class="hidden" id="m10">
    <tr>
        <td class="ltd">注册赠送积分：</td>
        <td class="rtd"><asp:TextBox style="width:80px" ID="txtRegisterScope" runat="Server" Text='<%#Bind("RegisterScope") %>' />分积分</td>
    </tr>
    <tr>
        <td class="ltd">登陆奖励积分：</td>
        <td class="rtd"><asp:TextBox style="width:80px" ID="txtLoginScope" runat="Server" Text='<%#Bind("LoginScope") %>' />分积分</td>
    </tr>
    <tr>
        <td class="ltd">团购奖励积分：</td>
        <td class="rtd"><asp:TextBox style="width:80px" ID="txtGroupScope" runat="Server" Text='<%#Bind("GroupScope") %>' />分积分</td>
    </tr>
    <tr>
        <td class="ltd">推广赠送积分：</td>
        <td class="rtd"><asp:TextBox style="width:80px" ID="txtPromotionScope" runat="Server" Text='<%#Bind("PromotionScope") %>' />分积分</td>
    </tr>
    <tr>
        <td class="ltd">积分兑换比率：</td>
        <td class="rtd"><asp:TextBox style="width:80px" ID="txtTransparentScope" runat="Server" Text='<%#Bind("TransparentScope") %>' />分积分可兑换1个商城币</td>
    </tr>
</tbody>
</table>
              
	 <div class="div_btm">
	 <asp:Button ID="SaveConfigButton" runat="server" CommandName="Update" Text="保存网站设置"  />
	 <asp:Button ID="Button1" runat="server" OnCommand="CreatIndexHTML" Text="生成静态首页"  />
	 <asp:Button ID="Button2" runat="server" OnCommand="CheckSite" Text="验证是否正版"  />
	 </div>
     </EditItemTemplate>  
    </asp:FormView>
     
          
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetSiteConfig" UpdateMethod="UpdateSiteConfig"
                TypeName="HoWave.Web.SiteConfigBll" OldValuesParameterFormatString="original_{0}" >
        <UpdateParameters>
            <asp:Parameter Name="CloseSite" Type="String" />
            <asp:Parameter Name="CloseMessage" Type="String" />
            <asp:Parameter Name="SiteName" Type="String" />
            <asp:Parameter Name="SiteUrl" Type="String" />
            <asp:Parameter Name="InstallDir" Type="String" />
            <asp:Parameter Name="LogoUrl" Type="String" />
            <asp:Parameter Name="BannerUrl" Type="String" />
            <asp:Parameter Name="WebMasterName" Type="String" />
            <asp:Parameter Name="WebMasterEmail" Type="String" />
            <asp:Parameter Name="WebLiveSet" Type="String" />
            <asp:Parameter Name="CopyRight" Type="String" />
            <asp:Parameter Name="VersionType" Type="String" />
            <asp:Parameter Name="SiteKey" Type="String" />
            <asp:Parameter Name="AdminDir" Type="String" />
            <asp:Parameter Name="SystemSet" Type="String" />          
            <asp:Parameter Name="GuestBookShowIP" Type="String" />
            <asp:Parameter Name="EnableLoginCheckCode" Type="String" />
            <asp:Parameter Name="TryLoginTimes" Type="String" />
            <asp:Parameter Name="LoginInterval" Type="String" />
            <asp:Parameter Name="LoginIPBan" Type="String" />
            <asp:Parameter Name="LoginIPAccess" Type="String" />
            <asp:Parameter Name="EnableReg" Type="String" />
            <asp:Parameter Name="RegPageSet" Type="String" />
            <asp:Parameter Name="EnableRegCode" Type="String" />
            <asp:Parameter Name="EnableEmailOnce" Type="String" />
            <asp:Parameter Name="EnablePasswordCheck" Type="String" />
            <asp:Parameter Name="RegBanEmail" Type="String" />
            <asp:Parameter Name="RegConfirm" Type="String" />
            <asp:Parameter Name="RegEmailContent" Type="String" />
            <asp:Parameter Name="RegProtocalContent" Type="String" />
            <asp:Parameter Name="RegPresent1" Type="String" />
            <asp:Parameter Name="RegPresent2" Type="String" />
            <asp:Parameter Name="RegPresent3" Type="String" />
            <asp:Parameter Name="RegPresent4" Type="String" />
            <asp:Parameter Name="RegNameSet" Type="String" />
            <asp:Parameter Name="RegNameMin" Type="String" />
            <asp:Parameter Name="RegNameMax" Type="String" />
            <asp:Parameter Name="RegBanName" Type="String" />
            <asp:Parameter Name="RegURLSet" Type="String" />
            <asp:Parameter Name="RegURl" Type="String" />
            <asp:Parameter Name="RegIPOnce" Type="String" />
            <asp:Parameter Name="RegSendMsg" Type="String" />
            <asp:Parameter Name="RegMsgContent" Type="String" />
            <asp:Parameter Name="RegAnswerCheck" Type="String" />
            <asp:Parameter Name="RegQuestion" Type="String" />
            <asp:Parameter Name="RegAnswer" Type="String" />
            <asp:Parameter Name="EnableRegSelectItem" Type="String" />
            <asp:Parameter Name="MailObject" Type="String" />
            <asp:Parameter Name="MailSmtpServer" Type="String" />
            <asp:Parameter Name="MailServerUserName" Type="String" />
            <asp:Parameter Name="MailServerPassWord" Type="String" />
            <asp:Parameter Name="MailServerFrom" Type="String" />
            <asp:Parameter Name="GuestBookEnable" Type="String" />
            <asp:Parameter Name="GuestBookEnableVistor" Type="String" />
            <asp:Parameter Name="GuestBookCheckCode" Type="String" />
            <asp:Parameter Name="GuestBookCheck" Type="String" />
            <asp:Parameter Name="HLIntegration" Type="String" />
            <asp:Parameter Name="DomainName" Type="String" />
            <asp:Parameter Name="SecurityKey" Type="String" />
            <asp:Parameter Name="AdminSecurityKey" Type="String" />
            <asp:Parameter Name="MessageOfOrderConfirm" Type="String" />
            <asp:Parameter Name="MessageOfReceiveMoney" Type="String" />
            <asp:Parameter Name="MessageOfRefund" Type="String" />
            <asp:Parameter Name="MessageOfDeliver" Type="String" />
            <asp:Parameter Name="MessageOfSendCard" Type="String" />
            <asp:Parameter Name="MessageOfConfrimEmail" Type="String" />
            <asp:Parameter Name="MessageOfConfrimPassword" Type="String" />
            <asp:Parameter Name="SamllPic_DefaultWidth" Type="String" />
            <asp:Parameter Name="SamllPic_DefaultHieght" Type="String" />
            <asp:Parameter Name="Wartermark_Type" Type="String" />
            <asp:Parameter Name="Wartermark_Text" Type="String" />
            <asp:Parameter Name="Wartermark_FontFamily" Type="String" />          
            <asp:Parameter Name="Wartermark_FontWeight" Type="String" />
            <asp:Parameter Name="Watermark_PhotoUrl" Type="String" />
            <asp:Parameter Name="Watermark_PhotoAlpha" Type="String" />
            <asp:Parameter Name="Watermark_Position" Type="String" />
            <asp:Parameter Name="Watermark_PositionX" Type="String" />
            <asp:Parameter Name="Watermark_PositionY" Type="String" />
            <asp:Parameter Name="MetaKeywords" Type="String" />
            <asp:Parameter Name="MetaDescription" Type="String" />
            <asp:Parameter Name="otherTitle" Type="String" />
            <asp:Parameter Name="TemplateDir" Type="String" />
            <asp:Parameter Name="SiteSpecialDir" Type="String" />
            <asp:Parameter Name="AlipayPartnerID" Type="String" />
            <asp:Parameter Name="AlipayKey" Type="String" />
            <asp:Parameter Name="AlipayConfig" Type="String" />
            <asp:Parameter Name="ShopRootUrl" Type="String" />
            <asp:Parameter Name="IsUserSecUrl" Type="String" />
            <asp:Parameter Name="RegisterScope" Type="int32" />
            <asp:Parameter Name="LoginScope" Type="int32" />
            <asp:Parameter Name="GroupScope" Type="int32" />
            <asp:Parameter Name="PromotionScope" Type="int32" />
            <asp:Parameter Name="TransparentScope" Type="int32" />
        </UpdateParameters>
    </asp:ObjectDataSource>

    <div id="help1" style="position:absolute;z-index:1000; border:solid 1px black; padding:10px; background:white; display:none;" onmouseover="this.style.display='';" onmouseout="this.style.display='none'">
      什么叫域名？比如你的网址是www.ABC.com那么ABC.com则为你的顶级域名。<br />
二级域名则是你的顶级域名的前字符和“.”所组成如bbs.ABC.com  ,blog.ABC.com,
     
   </div> 
    <div id="help2" style="position:absolute;z-index:1000; border:solid 1px black; padding:10px; background:white; display:none;" onmouseover="this.style.display='';" onmouseout="this.style.display='none'">
      若不想出现导航条则可以选择同步登录，则整合方式为登录某一系统后则全部整合系统同时登录，则不会出现导航条     
   </div>
     <div id="help3" style="position:absolute;z-index:1000; border:solid 1px black; padding:10px; background:white; display:none;" onmouseover="this.style.display='';" onmouseout="this.style.display='none'">
      网页标题通常是搜索引擎关注的重点，本附加字设置将出现在标题中论坛名称的后面，如果有多个关键字，建议用 "|"、","(不含引号) 等符号分隔    
   </div>
     <div id="help4" style="position:absolute;z-index:1000; border:solid 1px black; padding:10px; background:white; display:none;" onmouseover="this.style.display='';" onmouseout="this.style.display='none'">
      Keywords 项出现在页面头部的 Meta 标签中，用于记录本页面的关键字，多个关键字间请用半角逗号 "," 隔开     
   </div>
     <div id="help5" style="position:absolute;z-index:1000; border:solid 1px black; padding:10px; background:white; display:none;" onmouseover="this.style.display='';" onmouseout="this.style.display='none'">
      Description 出现在页面头部的 Meta 标签中，用于记录本页面的概要与描述
   </div>
    <div id="help6" style="position:absolute;z-index:1000; border:solid 1px black; padding:10px; background:white; display:none;" onmouseover="this.style.display='';" onmouseout="this.style.display='none'">
      请填写VgoShop2007所在网站URL，后面不需带“/”
   </div>
    <div id="help7" style="position:absolute;z-index:1000; border:solid 1px black; padding:10px; background:white; display:none;" onmouseover="this.style.display='';" onmouseout="this.style.display='none'">
      请填写VgoShop2007所在网站的安装目录，如在根目录请填写“/”，如安装在二级目录，请填写“/二级目录名/”
   </div> 

<script type="text/javascript">
var url=window.location.search; 
if(url.indexOf("?")!=-1) 
{ 
var str = url.substr(1) 
strs = str.split("&"); 

  for(i=0;i<strs.length;i++){ 
  if([strs[i].split("=")[0]]=='id') 
    {
		document.getElementById("m"+unescape(strs[i].split("=")[1])).className="view";
		document.getElementById("a"+unescape(strs[i].split("=")[1])).className="red";
	} 
  if([strs[i].split("=")[0]]=='all')
  	{
	  for(i=0;i<11;i++){ 
    	document.getElementById("m"+i).className="view"; 
  		}
	}
  }
  
} 
else {
  for(i=0;i<1;i++){ 
    document.getElementById("m"+i).className="view"; 
  }
}
</script>
 
</asp:Content>

