📄 admin_forum_add.aspx
字号:
<%@ Page language="c#" Codebehind="Admin_Forum_Add.aspx.cs" AutoEventWireup="false" Inherits="Forum.Admin_Forum_Add" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript (ECMAScript)" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="Forum.css" type="text/css" rel="stylesheet">
</HEAD>
<body>
<form id="Admin_Forum_Add" method="post" runat="server">
<asp:Table id="Table1" runat="server" CellPadding="4" CellSpacing="1" Width="100%">
<asp:TableRow AccessKey="H">
<asp:TableCell ColumnSpan="2" HorizontalAlign="Center">版面参数设置</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>版面名称:</asp:TableCell>
<asp:TableCell>
<asp:Label ID="lblfbId" Runat="server" Visible="False"></asp:Label>
<asp:TextBox id="tbxfbName" runat="server" Columns="40"></asp:TextBox>
<asp:RequiredFieldValidator id="Requiredfieldvalidator1" runat="server" ErrorMessage="版面名称不能为空" Display="None" ControlToValidate="tbxfbName"></asp:RequiredFieldValidator>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>版面类别:</asp:TableCell>
<asp:TableCell>
<asp:DropDownList ID="tbxfbClass" Runat="server"></asp:DropDownList>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>应用模版:</asp:TableCell>
<asp:TableCell>
<asp:DropDownList ID="tbxfbBClass" Runat="server"></asp:DropDownList>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>版面版主:</asp:TableCell>
<asp:TableCell>
<asp:TextBox id="tbxfbAdmin" runat="server" Columns="20"></asp:TextBox> 姓名用","隔开
<asp:RequiredFieldValidator id="Requiredfieldvalidator2" runat="server" ErrorMessage="版面版主不能为空" Display="None" ControlToValidate="tbxfbAdmin"></asp:RequiredFieldValidator>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>版面类别:</asp:TableCell>
<asp:TableCell>
<asp:DropDownList ID="tbxfbHidden" Runat="server">
<asp:ListItem Text="正规版面" Value="0"></asp:ListItem>
<asp:ListItem Text="认证版面" Value="1"></asp:ListItem>
<asp:ListItem Text="限制版面" Value="2"></asp:ListItem>
</asp:DropDownList> 正规版面没有限制,认证版面只有授权用户可以发表,限制版面只有版竹可以发言
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>版面用户:</asp:TableCell>
<asp:TableCell>
<asp:TextBox id="tbxBoardUser" runat="server" TextMode="MultiLine" Rows="8" Columns="40" Text='<%# DataBinder.Eval(Container,"DataItem.Forum_Board_Users") %>'>
</asp:TextBox> 以换行为分割
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>版面图片:</asp:TableCell>
<asp:TableCell>
<asp:TextBox id="tbxfbPicUrl" runat="server" Columns="40"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>附件类型:</asp:TableCell>
<asp:TableCell>
<asp:TextBox id="tbxAttachType" runat="server" Columns="40"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>附件大小:</asp:TableCell>
<asp:TableCell>
<asp:TextBox id="tbxAttachSize" runat="server" Columns="40"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>附件物理路径:</asp:TableCell>
<asp:TableCell>
<asp:TextBox id="tbxAttachPath" runat="server" Columns="40"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>附件虚拟路径:</asp:TableCell>
<asp:TableCell>
<asp:TextBox id="tbxAttachVirtualPath" runat="server" Columns="40"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell>版面序号:</asp:TableCell>
<asp:TableCell>
<asp:TextBox id="tbxTaxisNo" runat="server" Columns="40"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow AccessKey="B">
<asp:TableCell VerticalAlign="Top">版面备注:</asp:TableCell>
<asp:TableCell>
<asp:TextBox id="tbxfbMark" runat="server" TextMode="MultiLine" Rows="8" Columns="40"></asp:TextBox>
<asp:RequiredFieldValidator id="Requiredfieldvalidator3" runat="server" ErrorMessage="版面备注不能为空" Display="None" ControlToValidate="tbxfbMark"></asp:RequiredFieldValidator>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
<TABLE width="100%">
<TR>
<TD align="middle">
<asp:Button id="btnSave" Text="新 建" Runat="server"></asp:Button>
</TD>
</TR>
</TABLE>
<asp:ValidationSummary id="ValidationSummary1" runat="server" ShowSummary="False" DisplayMode="List" ShowMessageBox="True"></asp:ValidationSummary>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -