📄 base.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Base.aspx.cs" Inherits="Admin_Base" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!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>无标题页</title>
<link href="Image/Admin.css" rel="stylesheet" />
</head>
<body>
<form id="form1" runat="server">
<br /><div id="CommonBody"><br />
<table cellspacing="1" cellpadding="5" width="70%" border="0" id="CommonListArea">
<tbody>
<tr>
<td id="CommonListTitle" align="center" colspan="2"><b>基本信息设置</b></td>
</tr>
<tr>
<td id="CommonListCell" align="center" width="30%">
网站名称:</td>
<td class="td">
<asp:TextBox ID="txtSiteName" runat="server" Width="240px" MaxLength="50"></asp:TextBox></td>
</tr>
<tr>
<td class="td" align="center">
网站地址:</td>
<td class="td">
<asp:TextBox ID="txtSiteUrl" runat="server" Width="240px" MaxLength="50"></asp:TextBox><label style="color:Red">http://<%=Request.Url.Host %>/</label>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtSiteUrl"
Display="Dynamic" ValidationExpression="http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?">地址格式应为: http://www.19870123.cn/ 形式</asp:RegularExpressionValidator></td>
</tr>
<tr>
<td class="td" align="center">
班级名称:</td>
<td class="td">
<asp:TextBox ID="txtClassName" runat="server" Width="240px" MaxLength="50"></asp:TextBox></td>
</tr>
<tr>
<td class="td" align="center">
入学年份:</td>
<td class="td">
<asp:TextBox ID="txtClassYear" runat="server" Width="240px" MaxLength="4"></asp:TextBox>
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="txtClassYear"
Display="Dynamic" Operator="LessThan" SetFocusOnError="True" Type="Integer" ValueToCompare="9999">只能为数字</asp:CompareValidator></td>
</tr>
<tr>
<td class="td" align="center">
班级宣言:</td>
<td class="td">
<FCKeditorV2:FCKeditor ID="fckClassEnouce" runat="server" Height="180px" ToolbarSet="Basic"
Width="380px">
</FCKeditorV2:FCKeditor>
</td>
</tr>
<tr>
<td class="td" align="center">
用户是否要激活:</td>
<td class="td">
<asp:DropDownList ID="ddlClassMode" runat="server">
<asp:ListItem Value="True">否</asp:ListItem>
<asp:ListItem Value="False">是</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td class="td" align="center">
是否发送邮件:</td>
<td class="td">
<asp:DropDownList ID="ddlSendMail" runat="server">
<asp:ListItem Value="True">是</asp:ListItem>
<asp:ListItem Value="False">否</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td class="td" align="center">
邮件服务器:</td>
<td class="td">
<asp:TextBox ID="txtMailServer" runat="server" Width="240px" MaxLength="50"></asp:TextBox></td>
</tr>
<tr>
<td class="td" align="center">
邮件服务器登陆名:</td>
<td class="td">
<asp:TextBox ID="txtMailUserName" runat="server" Width="240px" MaxLength="50"></asp:TextBox></td>
</tr>
<tr>
<td class="td" align="center">
邮件服务器登陆密码:</td>
<td class="td">
<asp:TextBox ID="txtMailUserPwd" runat="server" Width="240px" MaxLength="16"></asp:TextBox></td>
</tr>
<tr>
<td class="td" align="center">
用户注册邮件标题:</td>
<td class="td">
<asp:TextBox ID="txtMailTitle" runat="server" Width="240px" MaxLength="50"></asp:TextBox></td>
</tr>
<tr>
<td class="td" align="center">
用户注册邮件内容:</td>
<td class="td">
<FCKeditorV2:FCKeditor ID="fckMail" runat="server" Height="150px" ToolbarSet="Basic"
Width="380px">
</FCKeditorV2:FCKeditor>
</td>
</tr>
<tr>
<td class="td" align="center">
生日祝福邮件标题:</td>
<td class="td">
<asp:TextBox ID="txtMailBirthdayTitle" runat="server" Width="240px" MaxLength="50"></asp:TextBox></td>
</tr>
<tr>
<td class="td" align="center">
生日祝福邮件内容:</td>
<td class="td">
<FCKeditorV2:FCKeditor ID="fckBirMail" runat="server" Height="150px" ToolbarSet="Basic"
Width="380px">
</FCKeditorV2:FCKeditor>
</td>
</tr>
</tbody>
</table>
<asp:Button ID="btnSub" runat="server" Text="提 交" Width="69px" OnClick="btnSub_Click" /> <input type="reset" value=" 重 置 " />
<asp:Literal ID="ltlMessage" runat="server"></asp:Literal></div>
<div id="CommonFooter"><hr width="80%" SIZE="0" id="Hr1" />Powered by <a target="_blank" href="http://19870123.cn"><b>http://19870123.cn</b></a>
© 2006-2007, <b><a target="_blank" href="http://19870123.cn">Leehom</a></b></div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -