<%@ Page Language="C#" AutoEventWireup="true" debug="true" Inherits="WinLibClass.Form.Admin.SystemConfig.UI_Update"  CodePage="65001" PathLevel="1" PageFileFlag="SystemConfig_List" PageFileTitle="基本配置" DataBindingType="1" PageFlagId="1" %>


<%@ Register TagPrefix="Site" TagName="Menu" Src="../WUC/Site_Menu.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<Site:Menu id="menu_headtitle" runat="server" Flag="HeadTitle" CurrentPageTitle = "基本配置" />
<Site:Menu id="menu_headjs" runat="server" Flag="HeadJs" PathLevel="1" />
<Site:Menu id="menu_headcss" runat="server" Flag="HeadCss" PathLevel="1" />


<script>

//站点资料
function Edit_Info(id)
{
//访问类型,AJAX路径,数据JSON,弹出框ID,弹出框标题,等执行的函数名;
if(id==1)//本站资料
{
var _url="updateConfig3.aspx?IsAdd=0";
var _data = {"id":id};	
Common.EditFunction("POST",_url,_data,"<%=PageFileFlag%>_"+id,"站点资料:配置","SaveConfig_4");	
}
else if(id==2)//邮箱平台
{
var _url="updateConfig1.aspx?IsAdd=0";
var _data = {"id":id};	
Common.EditFunction("POST",_url,_data,"<%=PageFileFlag%>_"+id,"邮箱平台:配置","SaveConfig_1");	
}
else if(id==3)//短信平台
{
var _url="updateConfig5.aspx?IsAdd=0";
var _data = {"id":id};	
Common.EditFunction("POST",_url,_data,"<%=PageFileFlag%>_"+id,"短信平台:配置","SaveConfig_5");	
}
else if(id==4)
{
	ClearAllCache(4);
}

//将本行设置为选中颜色
SetActive(id);	
}





function ClearAllCache(id)
{
	var _url = "../INDEX.ASPX?s=/Admin/SystemConfig_Update";
	var _data ={ConfigType:4}; 
		Common.Confirm("<%=PageFileFlag%>_"+id, "清除缓存", "是否确定清除全站所有缓存?",function(){
		jQuery.ajax({
			async:false,//同步访问
			cache: false,type: "POST",
			url: _url,data:_data,
			success: function(msg){Alert("本站缓存已清除.",1);
				Common.EditDialogClose("<%=PageFileFlag%>_"+id);;
			}
			
		});
		return false;	
	});
	
	return false;
}

</script>

</head>
<body>

<Site:Menu id="menu_topmenu" runat="server" Flag="TopMenu"  />
<div class1="wrap" id="wrap">
	<Site:Menu id="Wuc_LeftMenu" runat="server" Flag="LeftMenu" PageFileFlag="Menu_A_800_801" PathLevel="1" />	
	<div class1="mainbox" class="MainBox W1100 ">
		<div class="PGTitle LH30  ">
			<div class="W200 FL MGL10 FWB FS12"><%=PageFileTitle%></div>
			<div class="ChileMenu1 FL FS12">
			</div>
			<div class="Clear"></div>
		</div>
		<div class="ContBox MGT10 " >

<table class="Table FS12 ">

<tr style="height:30px;font-weight: bold;">
<TH style="width:30px">序号</TH>
<TH style="width:120px">配置类型</TH>
<TH >操作</TH>
<TH style="width:760px">描述</TH>
</tr>

<tr class="H30" id="tr_1">
<td>1</td>
<td>站点资料</td>
<td><a onclick="Edit_Info(1);">编辑</></td>
<td>本站的站名、三种点名称的定义等</td>
</tr>

<tr class="H30" id="tr_2">
<td>3</td>
<td>邮件平台</td>
<td><a onclick="Edit_Info(2);">编辑</></td>
<td>本站给会员发邮件所用到的邮件服务器信息的配置。</td>
</tr>

<tr class="H30" id="tr_3">
<td>4</td>
<td>短信平台资料</td>
<td><a onclick="Edit_Info(3);">编辑</></td>
<td>本站进行手机验证和发短信的平台配置</td>
</tr>

<tr class="H30" id="tr_4">
<td>5</td>
<td>全站缓存清除</td>
<td><a onclick="Edit_Info(4);">清除缓存</></td>
<td></td>
</tr>

</table>



<table class="Table2 FS12 TextLeft MGT10 Font8B8B8B">

<tr style="height:30px;font-weight: bold;">
<TH style="width:160px" colspan="3" >备注：</TH>
</tr>

<tr class="H30">
<td><B>版本序号：</B></td>
<td class="TextLeft">V4.0</td>
</tr>

<tr class="H30">
<td><B>版本说明：</B></td>
<td>从本版起，原先的支付宝等网银配置不再经由本后台进行管理，统一存于站点根目录下的 Web.Config 中，如果您的相关资料需要编辑，请以UTF-8编码将该文件打开，修改相关内容即可。</td>
</tr>

<tr class="H30">
<td><B>版本时间：</B></td>
<td>2011-11-22</td>
</tr>

</table>


		</div>
		<div class="ContBox" >

		</div>
	</div>
</div>

<div class="clear"></div>
<Site:Menu id="menu_foot" runat="server" Flag="Foot"   />
</body>
</html>


