⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sysconfig.ascx

📁 这是我编的一小软件。请等级等待指教。呵呵。ASP的
💻 ASCX
📖 第 1 页 / 共 2 页
字号:
												<td>
													<asp:TextBox id="titleImgWidth" Columns="4" Style="TEXT-ALIGN:right" runat="server" />
													<asp:RequiredFieldValidator ControlToValidate="titleImgWidth" ErrorMessage="*" Display="None" runat="server"
														ID="Requiredfieldvalidator2" />
													<asp:RegularExpressionValidator ControlToValidate="titleImgWidth" ValidationExpression="\d+" Display="None" ErrorMessage="*"
														runat="server" ID="Regularexpressionvalidator2" />
													(大于这个宽度显示时自动缩小)
												</td>
											</tr>
											<tr>
												<td><strong>分类页是否显示点击数:</strong></td>
												<td>
													<asp:RadioButtonList ID="listHits" RepeatDirection="Horizontal" Width="160px" Runat="server">
														<asp:ListItem Value="true" Selected="True">是</asp:ListItem>
														<asp:ListItem Value="false">否</asp:ListItem>
													</asp:RadioButtonList>
												</td>
											</tr>
											<tr>
												<td><strong>分类页列表显示方式:</strong></td>
												<td>
													<asp:DropDownList id="listStyle" runat="server">
														<asp:ListItem Value="1">列表方式</asp:ListItem>
														<asp:ListItem Value="2">表格方式</asp:ListItem>
														<asp:ListItem Value="3">简介方式</asp:ListItem>
														<asp:ListItem Value="4">图片简介式</asp:ListItem>
														<asp:ListItem Value="5">DataList绑定(图片模式)</asp:ListItem>
													</asp:DropDownList>
												</td>
											</tr>
											<tr>
												<td><strong>分类最新新闻显示数:</strong></td>
												<td>
													<asp:TextBox id="cBindNum" Columns="3" MaxLength="2" Style="TEXT-ALIGN:right" runat="server" />
													<asp:RequiredFieldValidator ControlToValidate="cBindNum" ErrorMessage="*" runat="server" Display="None" ID="Requiredfieldvalidator3" />
													<asp:RegularExpressionValidator ControlToValidate="cBindNum" ValidationExpression="\d{1,2}" ErrorMessage="*" runat="server"
														Display="None" ID="Regularexpressionvalidator3" />
												</td>
											</tr>
											<tr>
												<td><strong>新闻后是否显示new图标:</strong></td>
												<td>
													<asp:RadioButtonList ID="showNewPic" RepeatDirection="Horizontal" Width="160px" Runat="server">
														<asp:ListItem Value="true" Selected="True">是</asp:ListItem>
														<asp:ListItem Value="false">否</asp:ListItem>
													</asp:RadioButtonList>
												</td>
											</tr>
											<tr>
												<td><strong>新闻日期显示格式:</strong></td>
												<td>
													<asp:TextBox id="dateFormat" Columns="15" MaxLength="20" runat="server" />
													(不填则为默认格式,格式为yyyy-MM-dd,MM/dd等)
												</td>
											</tr>
										</table>
									</div>
									<div id="upload" style="DISPLAY:none">
										<!-- 上传设置 -->
										<table align="center" width="98%" cellspacing="1" cellpadding="5">
											<tr>
												<td><strong>允许自动下载新闻内图片:</strong></td>
												<td>
													<asp:RadioButtonList ID="autoDownImg" RepeatDirection="Horizontal" Width="160px" Runat="server">
														<asp:ListItem Value="true">是</asp:ListItem>
														<asp:ListItem Value="false" Selected="True">否</asp:ListItem>
													</asp:RadioButtonList>
												</td>
											</tr>
											<tr>
												<td><strong>不下载图片的服务器:</strong></td>
												<td>
													<asp:TextBox id="noDownDomains" Columns="50" MaxLength="250" runat="server" />
													(多个用“,”分隔开)
												</td>
											</tr>
											<tr>
												<td><strong>允许图片加水印:</strong></td>
												<td>
													<asp:RadioButtonList ID="imgWithMark" RepeatDirection="Horizontal" Width="160px" Runat="server">
														<asp:ListItem Value="true" Selected="True">是</asp:ListItem>
														<asp:ListItem Value="false">否</asp:ListItem>
													</asp:RadioButtonList>
												</td>
											</tr>
											<tr>
												<td><strong>水印图片地址:</strong></td>
												<td>
													<asp:TextBox id="markImgSrc" Columns="50" MaxLength="250" runat="server" />
												</td>
											</tr>
											<tr>
												<td><strong>水印在图片中位置:</strong></td>
												<td>
													<asp:DropDownList id="markImgAlign" runat="server">
														<asp:ListItem value="LT">左上</asp:ListItem>
														<asp:ListItem value="LB">左下</asp:ListItem>
														<asp:ListItem value="RT">右上</asp:ListItem>
														<asp:ListItem value="RB">右下</asp:ListItem>
														<asp:ListItem value="CT">居中</asp:ListItem>
													</asp:DropDownList>
												</td>
											</tr>
											<tr>
												<td><strong>上传文件WEB浏览路径:</strong></td>
												<td>
													<asp:TextBox id="uploadWebPath" Columns="50" runat="server" />
													<asp:RequiredFieldValidator ControlToValidate="uploadWebPath" ErrorMessage="*" Display="None" runat="server"
														ID="Requiredfieldvalidator4" />
														<br />
													填写路径:UserMSC/ViewFile.aspx?file=,可以启用防盗链机制,也可以直接填写相对的 Web 路径,如:upload/。
												</td>
											</tr>
											<tr>
												<td><strong>可上传文件类型:</strong></td>
												<td>
													<asp:TextBox id="uploadType" Columns="80" runat="server" />
													<asp:RequiredFieldValidator ControlToValidate="uploadType" ErrorMessage="*" Display="None" runat="server" ID="Requiredfieldvalidator8" />
													<br>
													(多个用“,”分隔开,建议不要置空)
												</td>
											</tr>
											<tr>
												<td><strong>上传文件大小限制:</strong></td>
												<td>
													<asp:TextBox id="uploadSize" Columns="6" Style="TEXT-ALIGN:right" runat="server" />
													KB
													<asp:RequiredFieldValidator ControlToValidate="uploadSize" ErrorMessage="*" Display="None" runat="server" ID="Requiredfieldvalidator9" />
													<asp:RegularExpressionValidator ControlToValidate="uploadSize" ValidationExpression="\d+" ErrorMessage="*" runat="server"
														Display="None" ID="Regularexpressionvalidator7" />
													(请务必填入数字,大小在4000KB以内)
												</td>
											</tr>
										</table>
									</div>
									<div id="other" style="DISPLAY:none">
										<!-- 其他设置 -->
										<table align="center" width="98%" cellspacing="1" cellpadding="5">
											<tr>
												<td><strong>默认游客组:</strong></td>
												<td>
													<asp:DropDownList id="guestGroupID" runat="server" />
												</td>
											</tr>
											<tr>
												<td><strong>所属默认会员组:</strong></td>
												<td>
													<asp:DropDownList id="defaultGroupID" runat="server" />
													(会员注册)
												</td>
											</tr>
											<TR>
												<TD><STRONG>是否启用验证码:</STRONG></TD>
												<TD>
													<asp:DropDownList id="IsSignCode" runat="server">
													<asp:ListItem Value="0">不启用</asp:ListItem>
													<asp:ListItem Value="1">仅登陆验证启用</asp:ListItem>
													<asp:ListItem Value="2">全站启用</asp:ListItem>
													</asp:DropDownList></TD>
											</TR>
											<tr>
												<td><strong>链接logo宽度:</strong></td>
												<td>
													<asp:TextBox id="linkLogoWidth" Columns="4" MaxLength="4" Style="TEXT-ALIGN:right" runat="server" />
													<asp:RequiredFieldValidator ControlToValidate="linkLogoWidth" ErrorMessage="*" Display="None" runat="server"
														ID="Requiredfieldvalidator5" />
													<asp:RegularExpressionValidator ControlToValidate="linkLogoWidth" ValidationExpression="\d+" ErrorMessage="*" runat="server"
														Display="None" ID="Regularexpressionvalidator5" />
												</td>
											</tr>
											<tr>
												<td><strong>链接logo高度:</strong></td>
												<td>
													<asp:TextBox id="linkLogoHeight" Columns="4" MaxLength="4" Style="TEXT-ALIGN:right" runat="server" />
													<asp:RequiredFieldValidator ControlToValidate="linkLogoHeight" ErrorMessage="*" Display="None" runat="server"
														ID="Requiredfieldvalidator6" />
													<asp:RegularExpressionValidator ControlToValidate="linkLogoHeight" ValidationExpression="\d+" ErrorMessage="*" runat="server"
														Display="None" ID="Regularexpressionvalidator6" />
													(0为不限制)
												</td>
											</tr>
											<tr>
												<td><strong>评论过滤词:</strong></td>
												<td>
													<asp:TextBox id="remarkHide" Columns="50" runat="server" />
													(多个用“,”分隔开)
												</td>
											</tr>
											<TR>
												<TD><strong>禁止注册的用户ID:</strong></TD>
												<TD><asp:TextBox id="denyRegUserID" Columns="50" runat="server" />
													(多个用“,”分隔开)</TD>
											</TR>
											<tr>
												<td><strong>是否启用防刷新机制:</strong></td>
												<td>
													<asp:RadioButtonList ID="refreshForbidden" RepeatDirection="Horizontal" Width="160px" Runat="server">
														<asp:ListItem Value="true">是</asp:ListItem>
														<asp:ListItem Value="false" Selected="True">否</asp:ListItem>
													</asp:RadioButtonList>
												</td>
											</tr>
											<tr>
												<td><strong>防刷新的时间间隔:</strong></td>
												<td>
													<asp:TextBox id="refreshTimeSpan" Columns="2" runat="server" Style="TEXT-ALIGN:right">5</asp:TextBox>(秒)
													<asp:RequiredFieldValidator ControlToValidate="refreshTimeSpan" ErrorMessage="*" Display="None" runat="server"
														ID="Requiredfieldvalidator7" />
													<asp:RegularExpressionValidator ControlToValidate="refreshTimeSpan" ValidationExpression="\d+" ErrorMessage="*"
														runat="server" Display="None" ID="Regularexpressionvalidator4" />
												</td>
											</tr>
											<tr>
												<td><strong>支持ESmtp验证的邮件服务器地址:</strong></td>
												<td>
													<asp:TextBox id="smtpServer" Columns="50" runat="server" /><br>
													(格式 <u>user:pass@</u>www.seaskyer.net<u>:25</u>,下划线为必填项,否则你的邮件在线发送功能无法使用)
												</td>
											</tr>
										</table>
									</div>
								</td>
							</tr>
						</table>
					</td>
					<td class="mr"></td>
				</tr>
			</table>
			<table width="98%" align="center" cellspacing="0" cellpadding="0">
				<tr>
					<td class="bl"></td>
					<td class="bm">&nbsp;</td>
					<td class="br"></td>
				</tr>
			</table>
			<div align="center">
				<asp:Button id="Submit" OnClick="Submit_OnClick" runat="server" Text="设 置" />&nbsp;&nbsp;
				<asp:Button ID="ClearCache" Runat="server" OnClick="ClearCache_OnClick" Text="手工清除系统所有缓存" CausesValidation="False" />
			</div>
		</div>
		<!-- #Include File="Footer.Inc" -->
	</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -