<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Config.aspx.vb" Inherits="Dingtai.Website.Config" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
     <title>鼎太播客 &gt; 后台管理 &gt; 系统设置</title>  

</head>
<body id="tag2_right">
<div id="body">
<div id="title">                 
    <h5>您现在的位置：<a href="#">后台管理</a> &gt; 系统配置信息</h5>
</div>
<div id="box">
<form id="Form1" runat ="server" >   

<%--<div class="center_title" style="margin-top:5px;">网站配置</div>--%>
<div class="center">

    <div id="divAc" name="divAc" runat="server" style="width:100%; height:38px; background:#f4f4f4; line-height:38px;  margin:0 0 15px 0; font-size:12px;">
        <div >
        <span style="color:#F00; padding-left:10px; font-family: Verdana, Geneva, sans-serif; font-size:12px ">未授权版本，需激活码：</span>
        <input id="txtAc" name="txtAc" runat="server" type="text"  class="wbk" value="" />
        <input id="btnAc" name="btnAc" runat="server" type="button" value="确定" style="color:#000;width:50px; height:24px; line-height:19px; font-size:12px;" />
        </div>
    </div>
    
    <div class="center_left"><span>网站名称：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("Name")%>" /></div>
    <div class="center_right"><span>网站协议：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("Scheme")%>" /></div>
    <div class="center_left"><span>访问域名：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("RequestDomain")%>" /></div>
    <div class="center_right"><span>网站域名：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("DomainRoot")%>" /></div>
    <div class="center_left"><span>网站端口：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("Port")%>" /></div>
    <div class="center_right"><span>网站根目录：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("SiteRoot")%>" /></div>
    <div class="center_left"><span>用户 Cookie 名称： </span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("PassportCookieName")%>" /></div>
    <div class="center_right"><span>用户 Cookie 过期时间：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("PassportCookieTimeout")%>" /></div>
    <div class="center_left"><span>自动刷新用户 Cookie：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("CookieSlidingExpiration")%>" /></div>
    <div class="center_right"><span> 新用户审核状态：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("UserIsApproved")%>" /></div>
    <div class="center_left"><span>用户登录最大失败次数：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("MaxInvalidAttempts")%>" /></div>
    <div class="center_right"><span>失败后限制登录时间：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("AttemptWindow")%>" /></div>
    <div class="center_left"><span>通行证域名：</span><input name="" type="text"  class="wbk" value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("PassportSite")%>" /></div>
    <div class="center_right"><span>上传视频文件最大大小：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("MediaSize")%>" /></div>
    <div class="center_left"><span>每日视频最大上传数：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("MaxUpload")%>" /></div>
    <div class="center_right"><span>视频允许下载：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("MediaDownload")%>" /></div>
    <div class="center_left"><span>用户登录获得积分：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("LoginPoint")%>" /></div>
    <div class="center_right"><span>上传积分：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("UploadPonit")%>" /></div> 
     <div class="center_left"><span>配置文件根目录：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("ConfigPath")%>" /></div>
    <div class="center_right"><span>静态页面生成模式：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("CacheModel")%>" /></div>
     <div class="center_left"><span>SMTP 服务地址：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("EmailSMTPServer")%>" /></div>
    <div class="center_right"><span>SMTP 用户名：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("SMTPUserName")%>" /></div>
     <div class="center_left"><span>发件人地址：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("FormAddress")%>" /></div>
    <div class="center_right"><span>SMTP 密码：</span><input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("SMTPPwd")%>" /></div>   
	<%--<div class="center_content"></div>--%>
	<div class="center_buttom"> </div>
</div>

 <div id="Div1" style="display:none;">
            <p style="margin-top:12px;">网站名称：<input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("Name")%>" /></p>
            <p style="margin-top:10px;">网站协议：<input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("Scheme")%>" /></p>
            <p style="margin-top:10px;">访问域名：<input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("RequestDomain")%>" /></p>
            <p style="margin-top:10px;">网站域名：<input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("DomainRoot")%>" /></p>
            <p style="margin-top:10px;">网站端口：<input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("Port")%>" /></p>
            <p style="margin-top:10px;">网站根目录：<input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("SiteRoot")%>" /></p>
            <p style="margin-top:10px;">
                用户 Cookie 名称： <input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("PassportCookieName")%>" /></p>
            <p style="margin-top:10px;"> 用户 Cookie 过期时间：<input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("PassportCookieTimeout")%>" /></p>
            <p style="margin-top:10px;">自动刷新用户 Cookie：<input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("CookieSlidingExpiration")%>" /></p>
            <p style="margin-top:10px;"> 新用户审核状态：<input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("UserIsApproved")%>" /></p>
            <p style="margin-top:10px;">用户登录最大失败次数：<input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("MaxInvalidAttempts")%>" /></p>
            <p style="margin-top:10px;">失败后限制登录时间：<input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("AttemptWindow")%>" /></p>
            <p style="margin-top:10px;">通行证域名：<input name="" type="text"  class="wbk" value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("PassportSite")%>" /></p>
            <p style="margin-top:10px;">上传视频文件最大大小：<input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("MediaSize")%>" /></p>
            <p style="margin-top:10px;">每日视频最大上传数：<input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("MaxUpload")%>" /></p>
            <p style="margin-top:10px;"> 视频允许下载：<input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("MediaDownload")%>" /></p>
            <p style="margin-top:10px;">用户登录获得积分：<input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("LoginPoint")%>" /></p>
            <p style="margin-top:10px;">上传积分：<input name="" type="text"  class="wbk" readonly value="<%=System.Web.Configuration.WebConfigurationManager.AppSettings("UploadPonit")%>" /></p>
       </div>      
       <div>
            <p>* 以上时间单位为分钟,文件大小单位为K</p>
            <p>-------------------------</p>
            <p>* 特别申明:为保障网站多服务器配置同步,本页面不提供以上参数的修改功能,请网站管理员根据相关文档修改网站配置文件( <span style="color:Red;">站点根目录/App_Data/Config/System/AppSetting.config</span> ).</p>
       </div>
       
</form>
</div>
        <div class="both"></div>   
</div>
</body>
</html>
