<%@ Page Language="VB" AutoEventWireup="false" Inherits="work_plan_web_deploy.admin_websystem" Codebehind="websystem.aspx.vb" %>
<%@ Import namespace="work_plan_web_deploy"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD   runat="server">
		<title>系统基本配置</title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<LINK href="site_css.css" type="text/css" rel="stylesheet">
			<style type="text/css">
			.STYLE1 { COLOR: #999999 }
			.STYLE2 { COLOR: #ff0000 }
			    .style1
                {
                    width: 16%;
                }
			.style11 {                    width: 9%;
}
            </style>
	</HEAD>
	<body>
		<form id="Form1" runat="server">
			<div id="title">
				<table cellSpacing="0" cellPadding="5" width="100%" border="0">
					<tr>
						<td align="center" height="20">网站系统管理 — 系统基本配置</td>
					</tr>
				</table>
			</div>
			<div id="place">
				<table cellSpacing="0" cellPadding="5" width="100%" border="0">
					<tr>
						<td height="30">您当前的位置：系统高级管理 &gt;&gt; 系统基本配置</td>
					</tr>
				</table>
			</div>
			<div id="contentdiv">
				<table class="maintable" cellSpacing="0" cellPadding="2" width="100%" border="0">
					<tr>
						<td height="30" align="right" bgColor="#e0eef5" class="style1">系统名称：</td>
						<td width="80%" height="30" align="left">
                            <asp:TextBox ID="webname" runat="server" Width="313px" style="width:313px;"></asp:TextBox>                        
                            <asp:Label ID="freets" runat="server" Text="（免费版系统名称无法修改）" Visible="False"></asp:Label>
                        </td>
					</tr>
					<tr>
						<td height="30" align="right" bgColor="#e0eef5" class="style1">访问地址：</td>
						<td width="80%" height="30" align="left">
                            <asp:TextBox ID="indexurl" runat="server" Width="313px" style="width:313px;"></asp:TextBox>
                            (必须以http://开头)</td>
					</tr>
					<tr>
						<td height="30" align="right" bgColor="#e0eef5" class="style1">任务提示时限：</td>
						<td width="80%" height="30" align="left">
                            <asp:TextBox ID="txsx" runat="server" Width="88px" style="width:88px;"></asp:TextBox>
							（单位：天，在工作计划即将到期的时限天数内，系统会发出提示音并每天自动发送短信与邮件提醒）<asp:regularexpressionvalidator id="RegularExpressionValidator11" runat="server" 
                                ControlToValidate="txsx" ErrorMessage="必须为非负整数"
								ValidationExpression="^\d+$"></asp:regularexpressionvalidator>
								<STRONG>
							<asp:requiredfieldvalidator id="RequiredFieldValidator9" runat="server" 
                                    ControlToValidate="txsx" ErrorMessage="此项不能为空" Font-Bold="False"></asp:requiredfieldvalidator>
							</STRONG>                        </td>
					</tr>
                    <tr>
					  <td height="30" align="right" bgColor="#e0eef5" class="style1">提醒声音间隔：</td>
					  <td height="30" align="left">
                            <asp:TextBox ID="txjg" runat="server" Width="88px" style="width:88px;"></asp:TextBox>
							（单位：秒，必须在60以上）<asp:requiredfieldvalidator id="RequiredFieldValidator10" runat="server" 
                                    ControlToValidate="txjg" ErrorMessage="此项不能为空" 
                                Font-Bold="False"></asp:requiredfieldvalidator>
							<asp:CompareValidator ID="CompareValidator1" runat="server" 
                                ControlToValidate="txjg" ErrorMessage="必须在60秒以上" Font-Bold="False" 
                                Operator="GreaterThan" ValueToCompare="60" Type="Integer"></asp:CompareValidator>
							                        
                        </td>
					<tr>
					  <td height="30" align="right" bgColor="#e0eef5" class="style1">文件上传上限：</td>
					  <td height="30" align="left">
                            <asp:TextBox ID="filesize" runat="server" Width="88px" style="width:88px;"></asp:TextBox>
							（单位：KB，控制工作计划与部门协作中的附件大小）<asp:regularexpressionvalidator id="RegularExpressionValidator9" runat="server" 
                                ControlToValidate="filesize" ErrorMessage="必须为非负整数"
								ValidationExpression="^\d+$"></asp:regularexpressionvalidator>
								<STRONG>
							<asp:requiredfieldvalidator id="RequiredFieldValidator7" runat="server" 
                                    ControlToValidate="filesize" ErrorMessage="此项不能为空" 
                                Font-Bold="False"></asp:requiredfieldvalidator>
							</STRONG>                        
                        </td>
				  </tr>
					
					
				  </tr>
					<tr>
					  <td height="30" align="right" bgColor="#e0eef5" class="style1">短信与邮件提醒计划数上限：</td>
					  <td height="30" align="left">
                            <asp:TextBox ID="smsplanmax" runat="server" Width="88px" style="width:88px;"></asp:TextBox>
							（每个工作计划与备忘录可添加最大提醒计划数量）<asp:regularexpressionvalidator id="RegularExpressionValidator12" runat="server" 
                                ControlToValidate="smsplanmax" ErrorMessage="必须为非负整数"
								ValidationExpression="^\d+$"></asp:regularexpressionvalidator>
								<STRONG>
							<asp:requiredfieldvalidator id="RequiredFieldValidator11" runat="server" 
                                    ControlToValidate="smsplanmax" ErrorMessage="此项不能为空" Font-Bold="False"></asp:requiredfieldvalidator>
							</STRONG>                                                
                        </td>
				  </tr>
					
					
					<tr>
					  <td height="30" align="right" bgColor="#e0eef5" class="style1">最新信息有效天数：</td>
					  <td height="30" align="left">
                            <asp:TextBox ID="zxwz" runat="server" Width="88px" style="width:88px;"></asp:TextBox>
								
							（文章信息发布后，在定义的时间内气标题会有“new”显示）<asp:regularexpressionvalidator id="RegularExpressionValidator13" runat="server" 
                                ControlToValidate="zxwz" ErrorMessage="必须为非负整数"
								ValidationExpression="^\d+$"></asp:regularexpressionvalidator>
							<asp:requiredfieldvalidator id="RequiredFieldValidator12" runat="server" 
                                    ControlToValidate="zxwz" ErrorMessage="此项不能为空" Font-Bold="False"></asp:requiredfieldvalidator>
							                                                                      
                        </td>
				  </tr>
					
					
					<tr>
					  <td height="30" align="right" bgColor="#e0eef5" class="style1">部门协作完成奖励分值：</td>
					  <td height="30" align="left">
                            <asp:TextBox ID="bmxzfz" runat="server" Width="88px" style="width:88px;"></asp:TextBox>
								
							（每完成一次部门协作给的分值）<asp:regularexpressionvalidator id="RegularExpressionValidator14" runat="server" 
                                ControlToValidate="bmxzfz" ErrorMessage="必须为非负整数"
								ValidationExpression="^\d+$"></asp:regularexpressionvalidator>
							<asp:requiredfieldvalidator id="RequiredFieldValidator13" runat="server" 
                                    ControlToValidate="bmxzfz" ErrorMessage="此项不能为空" Font-Bold="False"></asp:requiredfieldvalidator>
							                                                                      
                        </td>
				  </tr>
					<tr>
					  <td height="30" align="right" bgColor="#e0eef5" class="style1">开启登陆短信验证：</td>
					  <td height="30" align="left">
                            <asp:CheckBox ID="dxyz" runat="server" Text="登录需要短信验证" />
&nbsp;验证码长度<asp:TextBox ID="yzmcd" runat="server" Width="35px"></asp:TextBox>
&nbsp;验证码有效时间<asp:TextBox ID="yzmyxq" runat="server" Width="35px"></asp:TextBox>
                            分钟<asp:regularexpressionvalidator id="RegularExpressionValidator21" runat="server" 
                                ControlToValidate="yzmcd" ErrorMessage="必须为非负整数"
								ValidationExpression="^\d+$"></asp:regularexpressionvalidator>
															<asp:requiredfieldvalidator id="RequiredFieldValidator20" runat="server" 
                                    ControlToValidate="yzmcd" ErrorMessage="此项不能为空" Font-Bold="False"></asp:requiredfieldvalidator>
							&nbsp;<asp:regularexpressionvalidator id="RegularExpressionValidator22" runat="server" 
                                ControlToValidate="yzmyxq" ErrorMessage="必须为非负整数"
								ValidationExpression="^\d+$"></asp:regularexpressionvalidator>
							<asp:requiredfieldvalidator id="RequiredFieldValidator21" runat="server" 
                                    ControlToValidate="yzmyxq" ErrorMessage="此项不能为空" Font-Bold="False"></asp:requiredfieldvalidator>
							                                              
                        </td>
				  </tr>
					
					<tr>
						<td height="30" align="right" bgColor="#e0eef5" class="style1">
                            <span class="style11">数据过滤：</span></td>
						<td width="80%" height="30" align="left">
                            <asp:TextBox ID="gl" runat="server" Height="86px" TextMode="MultiLine" 
                                Width="486px" style="width:486px;height:86px;"></asp:TextBox>                        
                            <br />
                            多过滤字符用符号“|”分隔</td>
					</tr>
					<tr>
						<td height="30" align="right" bgColor="#e0eef5" class="style1">常用sql语言：</td>
						<td width="80%" height="30" align="left">
                            <asp:TextBox ID="cysql" runat="server" Height="86px" TextMode="MultiLine" 
                                Width="486px" style="width:486px;height:86px;"></asp:TextBox>                        
                            <br />
                            格式为：说明|sql代码</td>
					</tr>
                    <tr>
					  <td height="30" align="right" bgColor="#e0eef5" class="style1">短信发送功能：</td>
					  <td height="30" align="left">
                          <asp:CheckBox ID="message_kg" runat="server" Text="开启短信发送功能" />
                            &nbsp;每日短信与邮件提醒时间<asp:DropDownList ID="txsjh" runat="server">
                                <asp:ListItem Value="00">00</asp:ListItem>
                                <asp:ListItem Value="01">01</asp:ListItem>
                                <asp:ListItem Value="02">02</asp:ListItem>
                                <asp:ListItem Value="03">03</asp:ListItem>
                                <asp:ListItem Value="04">04</asp:ListItem>
                                <asp:ListItem Value="05">05</asp:ListItem>
                                <asp:ListItem Value="06">06</asp:ListItem>
                                <asp:ListItem Value="07">07</asp:ListItem>
                                <asp:ListItem Value="08">08</asp:ListItem>
                                <asp:ListItem Value="09">09</asp:ListItem>
                                <asp:ListItem Value="10">10</asp:ListItem>
                                <asp:ListItem Value="11">11</asp:ListItem>
                                <asp:ListItem Value="12">12</asp:ListItem>
                                <asp:ListItem Value="13">13</asp:ListItem>
                                <asp:ListItem Value="14">14</asp:ListItem>
                                <asp:ListItem Value="15">15</asp:ListItem>
                                <asp:ListItem Value="16">16</asp:ListItem>
                                <asp:ListItem Value="17">17</asp:ListItem>
                                <asp:ListItem Value="18">18</asp:ListItem>
                                <asp:ListItem Value="19">19</asp:ListItem>
                                <asp:ListItem Value="20">20</asp:ListItem>
                                <asp:ListItem Value="21">21</asp:ListItem>
                                <asp:ListItem Value="22">22</asp:ListItem>
                                <asp:ListItem Value="23">23</asp:ListItem>
                            </asp:DropDownList>
                            点<asp:DropDownList ID="txsjm" runat="server">
                                <asp:ListItem Value="00">00</asp:ListItem>
                                <asp:ListItem Value="01">01</asp:ListItem>
                                <asp:ListItem Value="02">02</asp:ListItem>
                                <asp:ListItem Value="03">03</asp:ListItem>
                                <asp:ListItem Value="04">04</asp:ListItem>
                                <asp:ListItem Value="05">05</asp:ListItem>
                                <asp:ListItem Value="06">06</asp:ListItem>
                                <asp:ListItem Value="07">07</asp:ListItem>
                                <asp:ListItem Value="08">08</asp:ListItem>
                                <asp:ListItem Value="09">09</asp:ListItem>
                                <asp:ListItem Value="10">10</asp:ListItem>
                                <asp:ListItem Value="11">11</asp:ListItem>
                                <asp:ListItem Value="12">12</asp:ListItem>
                                <asp:ListItem Value="13">13</asp:ListItem>
                                <asp:ListItem Value="14">14</asp:ListItem>
                                <asp:ListItem Value="15">15</asp:ListItem>
                                <asp:ListItem Value="16">16</asp:ListItem>
                                <asp:ListItem Value="17">17</asp:ListItem>
                                <asp:ListItem Value="18">18</asp:ListItem>
                                <asp:ListItem Value="19">19</asp:ListItem>
                                <asp:ListItem Value="20">20</asp:ListItem>
                                <asp:ListItem Value="21">21</asp:ListItem>
                                <asp:ListItem Value="22">22</asp:ListItem>
                                <asp:ListItem Value="23">23</asp:ListItem>
                                <asp:ListItem Value="24">24</asp:ListItem>
                                <asp:ListItem Value="25">25</asp:ListItem>
                                <asp:ListItem Value="26">26</asp:ListItem>
                                <asp:ListItem Value="27">27</asp:ListItem>
                                <asp:ListItem Value="28">28</asp:ListItem>
                                <asp:ListItem Value="29">29</asp:ListItem>
                                <asp:ListItem Value="30">30</asp:ListItem>
                                <asp:ListItem Value="31">31</asp:ListItem>
                                <asp:ListItem Value="32">32</asp:ListItem>
                                <asp:ListItem Value="33">33</asp:ListItem>
                                <asp:ListItem Value="34">34</asp:ListItem>
                                <asp:ListItem Value="35">35</asp:ListItem>
                                <asp:ListItem Value="36">36</asp:ListItem>
                                <asp:ListItem Value="37">37</asp:ListItem>
                                <asp:ListItem Value="38">38</asp:ListItem>
                                <asp:ListItem Value="39">39</asp:ListItem>
                                <asp:ListItem Value="40">40</asp:ListItem>
                                <asp:ListItem Value="41">41</asp:ListItem>
                                <asp:ListItem Value="42">42</asp:ListItem>
                                <asp:ListItem Value="43">43</asp:ListItem>
                                <asp:ListItem Value="44">44</asp:ListItem>
                                <asp:ListItem Value="45">45</asp:ListItem>
                                <asp:ListItem Value="46">46</asp:ListItem>
                                <asp:ListItem Value="47">47</asp:ListItem>
                                <asp:ListItem Value="48">48</asp:ListItem>
                                <asp:ListItem Value="49">49</asp:ListItem>
                                <asp:ListItem Value="50">50</asp:ListItem>
                                <asp:ListItem Value="51">51</asp:ListItem>
                                <asp:ListItem Value="52">52</asp:ListItem>
                                <asp:ListItem Value="53">53</asp:ListItem>
                                <asp:ListItem Value="54">54</asp:ListItem>
                                <asp:ListItem Value="55">55</asp:ListItem>
                                <asp:ListItem Value="56">56</asp:ListItem>
                                <asp:ListItem Value="57">57</asp:ListItem>
                                <asp:ListItem Value="58">58</asp:ListItem>
                                <asp:ListItem Value="59">59</asp:ListItem>
                            </asp:DropDownList>
                            分 短信发送模式<asp:DropDownList ID="smsmodelist" runat="server">
                              <asp:ListItem Value="0">数据库缓存模式（推荐）</asp:ListItem>
                              <asp:ListItem Value="1">即时发送模式（需要权限）</asp:ListItem>
                          </asp:DropDownList>
&nbsp;失败重发错误上限<asp:TextBox ID="smserrmax" runat="server" Width="33px" style="width:33px;"></asp:TextBox>
                            次<asp:regularexpressionvalidator id="RegularExpressionValidator17" runat="server" 
                                ControlToValidate="smserrmax" ErrorMessage="必须为正整数"
								ValidationExpression="^[0-9]*[1-9][0-9]*$"></asp:regularexpressionvalidator>
								<STRONG>
							<asp:requiredfieldvalidator id="RequiredFieldValidator16" runat="server" 
                                    ControlToValidate="smserrmax" ErrorMessage="此项不能为空" 
                              Font-Bold="False"></asp:requiredfieldvalidator>
							</STRONG>                                                
                          <br />
                          单条短信长度<asp:TextBox 
                              ID="smscd" runat="server" Width="30px" style="width:30px;"></asp:TextBox>
                          <asp:regularexpressionvalidator id="RegularExpressionValidator18" runat="server" 
                                ControlToValidate="smscd" ErrorMessage="必须为正整数"
								ValidationExpression="^[0-9]*[1-9][0-9]*$"></asp:regularexpressionvalidator>
								<STRONG>
							<asp:requiredfieldvalidator id="RequiredFieldValidator17" runat="server" 
                                    ControlToValidate="smscd" ErrorMessage="此项不能为空" Font-Bold="False"></asp:requiredfieldvalidator>
							</STRONG>                                                
                          缓存模式发送间隔<asp:TextBox ID="smsjg" runat="server" Width="51px" style="width:51px;"></asp:TextBox>
                            毫秒
							<asp:regularexpressionvalidator id="RegularExpressionValidator15" runat="server" 
                                ControlToValidate="smsjg" ErrorMessage="必须为正整数"
								ValidationExpression="^[0-9]*[1-9][0-9]*$"></asp:regularexpressionvalidator>
								<STRONG>
							<asp:requiredfieldvalidator id="RequiredFieldValidator14" runat="server" 
                                    ControlToValidate="smsjg" ErrorMessage="此项不能为空" Font-Bold="False"></asp:requiredfieldvalidator>
							</STRONG>                                                
                          不发送<asp:TextBox ID="smssx" runat="server" Width="30px" style="width:30px;"></asp:TextBox>
                            分钟以前的缓存短信<asp:regularexpressionvalidator id="RegularExpressionValidator16" runat="server" 
                                ControlToValidate="smssx" ErrorMessage="必须为正整数"
								ValidationExpression="^[0-9]*[1-9][0-9]*$"></asp:regularexpressionvalidator>
								
							<asp:requiredfieldvalidator id="RequiredFieldValidator15" runat="server" 
                                    ControlToValidate="smssx" ErrorMessage="此项不能为空" Font-Bold="False"></asp:requiredfieldvalidator>
						                                             
                          <br />
                          接收短信间隔<asp:TextBox ID="resmsjg" runat="server" Width="51px" style="width:51px;"></asp:TextBox>
                            毫秒<asp:regularexpressionvalidator id="RegularExpressionValidator19" runat="server" 
                                ControlToValidate="resmsjg" ErrorMessage="必须为正整数"
								ValidationExpression="^[0-9]*[1-9][0-9]*$"></asp:regularexpressionvalidator>
								<STRONG>
							<asp:requiredfieldvalidator id="RequiredFieldValidator18" runat="server" 
                                    ControlToValidate="resmsjg" ErrorMessage="此项不能为空" Font-Bold="False"></asp:requiredfieldvalidator>
							</STRONG>                                                
						                                             
                        </td>
				  </tr>
					<tr>
						<td height="30" align="right" bgColor="#e0eef5" class="style1">邮件发送功能：</td>
						<td width="80%" height="30" align="left">
                          <asp:CheckBox ID="mailkg" runat="server" Text="开启邮件发送功能" />
                            　<asp:CheckBox ID="mailhtml" runat="server" Text="支持HTML" />
                            <br />
                            SMTP服务器地址<asp:TextBox ID="mailsmtp" runat="server"></asp:TextBox>
                            　发件邮箱<asp:TextBox ID="mailaddress" runat="server"></asp:TextBox>
                            　发件人名称<asp:TextBox ID="mailname" runat="server"></asp:TextBox>
                            　用户名<asp:TextBox ID="mailuser" runat="server" Width="90px"></asp:TextBox>
                            　密码<asp:TextBox ID="mailpwd" runat="server" Width="90px" style="width:90px;"></asp:TextBox>
                        </td>
					</tr>
					<tr>
						<td height="30" align="right" bgColor="#e0eef5" class="style1">工作计划短信、邮件提醒时限：</td>
						<td width="80%" height="30" align="left">
                            <asp:TextBox ID="tasktxsx" runat="server" Width="51px" style="width:51px;"></asp:TextBox>
                            天
							（工作计划自登记之日起，超过定义天数则不会发送自创短信或邮件提醒）<asp:regularexpressionvalidator 
                                id="RegularExpressionValidator23" runat="server" 
                                ControlToValidate="tasktxsx" ErrorMessage="必须为正整数"
								ValidationExpression="^[0-9]*[1-9][0-9]*$"></asp:regularexpressionvalidator>
								<STRONG>
							<asp:requiredfieldvalidator id="RequiredFieldValidator22" runat="server" 
                                    ControlToValidate="tasktxsx" ErrorMessage="此项不能为空" Font-Bold="False"></asp:requiredfieldvalidator>
							</STRONG>                                                
						                                             
                        </td>
					</tr>
					<tr>
						<td height="30" align="right" bgColor="#e0eef5" class="style1">备忘录短信、邮件提醒时限：</td>
						<td width="80%" height="30" align="left">
                            <asp:TextBox ID="bwltxsx" runat="server" Width="51px" style="width:51px;"></asp:TextBox>
                            天
							（备忘录自刷新之日起，超过该天数则不会发送自创短信或邮件提醒）<asp:regularexpressionvalidator 
                                id="RegularExpressionValidator24" runat="server" 
                                ControlToValidate="bwltxsx" ErrorMessage="必须为正整数"
								ValidationExpression="^[0-9]*[1-9][0-9]*$"></asp:regularexpressionvalidator>
								<STRONG>
							<asp:requiredfieldvalidator id="RequiredFieldValidator23" runat="server" 
                                    ControlToValidate="bwltxsx" ErrorMessage="此项不能为空" Font-Bold="False"></asp:requiredfieldvalidator>
							</STRONG>                                                
						                                             
                        </td>
					</tr>
			  </table>
			</div>
			<table cellSpacing="0" cellPadding="0" width="300" align="center" border="0">
				<tr>
					<td vAlign="middle" align="center" height="40">&nbsp;
						<asp:button id="Button1" runat="server" Text="确认修改(ALT+S)" AccessKey="s" 
                            Width="120px"></asp:button>　　<asp:button id="Button2" runat="server" 
                            Width="120px" Text="取消修改(ALT+C)" 
                            CausesValidation="False" AccessKey="c"></asp:button></td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
