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

📄 admin_sort.aspx

📁 程序设计:Flyangel 用到了vb.net c# asp.net xml等 最大特别是核心功能组件化. 特色: 强大的后台管理功能 支持二级分类 支持匿名投稿 超强用户权限设置
💻 ASPX
字号:
<%@ Register TagPrefix="admin_top" TagName="admin_top" Src="admin_top.ascx"%>
<%@ Register TagPrefix="copyrightlocal" TagName="footer" Src="../bottom.ascx"%>
<%@ Register TagPrefix="admin_menu" TagName="admin_menu" Src="admin_menu.ascx"%>
<%@ Page Language="vb" Codebehind="admin_sort.aspx.vb" Inherits="flyangel.news.admin_sort" validateRequest=false %>
<admin_top:admin_top id="admin_top" runat="server"></admin_top:admin_top>
<form id="Form1" runat="server">
	<admin_menu:admin_menu id="admin_menu_head" runat="server"></admin_menu:admin_menu>
	<table class="tdborder1" cellSpacing="0" cellPadding="0" width="760" align="center" border="0">
		<tr>
			<td bgColor="#eef4fb" height="25">&nbsp;&nbsp;&nbsp;<IMG height="9" src="../images/dot.gif">
				当前位置: <IMG height="9" src="../images/more.gif" width="29">
				<asp:hyperlink id="return_type" runat="server" Text="栏目管理" NavigateUrl="admin_sort.aspx"></asp:hyperlink>&nbsp;<IMG height="9" src="../images/more.gif" width="29">
				<asp:label id="return_title" runat="server"></asp:label></td>
				<td bgColor="#eef4fb" height="25" width=30% align=center>
				相关操作: <IMG height="9" src="../images/more.gif" width="29">&nbsp;&nbsp;
				<a href="admin_sort_annex.aspx">栏目合并</a>
				&nbsp;&nbsp;<IMG height="9" src="../images/dot.gif"></td>
		</tr>
	</table>
	<table class="tdborder2" cellSpacing="0" cellPadding="0" width="760" align="center" border="0">
		<tr>
			<td bgColor="#eef4fb"><asp:datagrid id="sort_DataGrid" runat="server" BorderColor="#C6CFDE" HorizontalAlign="Center" PagerStyle-Visible="false" width="100%" CellPadding="0" BorderWidth="1px" AutoGenerateColumns="False" DataKeyField="nclassid" OnDeleteCommand="sort_delete" OnCancelCommand="sort_cancel" OnUpdateCommand="sort_update" OnEditCommand="sort_edit">
					<PagerStyle Visible="False"></PagerStyle>
					<EditItemStyle HorizontalAlign="Center" BorderStyle="None" VerticalAlign="Middle"></EditItemStyle>
					<Columns>
						<asp:TemplateColumn HeaderText="序号">
							<HeaderStyle Font-Bold="True" Wrap="False" HorizontalAlign="Center" Height="26px" Width="60px"></HeaderStyle>
							<ItemStyle HorizontalAlign="Center" Height="26px"></ItemStyle>
							<ItemTemplate>
								<%# Container.dataitem("nclassid") %>
							</ItemTemplate>
						</asp:TemplateColumn>
						<asp:TemplateColumn HeaderText="栏目名称">
							<HeaderStyle Font-Bold="True" Wrap="False" HorizontalAlign="Center" Height="26px"></HeaderStyle>
							<ItemStyle HorizontalAlign="Center" Height="26px"></ItemStyle>
							<ItemTemplate>
								<%# Container.dataitem("nclass") %>
							</ItemTemplate>
							<EditItemTemplate>
								<asp:TextBox ID="sortselecteditname" Text='<%# Container.dataitem("nclass") %>' Runat="server" cssclass="unnamed5" />
							</EditItemTemplate>
						</asp:TemplateColumn>
						<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" CancelText="取消" EditText="编辑">
							<HeaderStyle HorizontalAlign="Center" Width="200px"></HeaderStyle>
							<ItemStyle HorizontalAlign="Center"></ItemStyle>
						</asp:EditCommandColumn>
						<asp:ButtonColumn Text="删除" CommandName="Delete">
							<HeaderStyle HorizontalAlign="Center" Width="120px"></HeaderStyle>
							<ItemStyle HorizontalAlign="Center"></ItemStyle>
						</asp:ButtonColumn>
						<asp:TemplateColumn HeaderText="二级栏目设置">
							<HeaderStyle Font-Bold="True" HorizontalAlign="Center" Width="160px"></HeaderStyle>
							<ItemStyle HorizontalAlign="Center" Width="160px"></ItemStyle>
							<ItemTemplate>
								<a href="admin_sort_next.aspx?nclassid=<%# container.dataitem("nclassid")%>&nclass=<%# Container.dataitem("nclass") %>">
									进入二级栏目</a></ItemTemplate>
						</asp:TemplateColumn>
					</Columns>
				</asp:datagrid></td>
		</tr>
	</table>
	<table class="tdborder4" cellSpacing="0" cellPadding="0" width="760" align="center" border="0">
		<tr>
			<td align="middle" bgColor="#eef4fb" height="35"><STRONG>为保证整站稳定,删除一级栏目前,请先将此栏目下的下级栏目删除!</STRONG></td>
		</tr>
	</table>
	<table class="tdborder2" cellSpacing="0" cellPadding="0" width="760" align="center" border="0">
		<tr>
			<td align="middle" bgColor="#eef4fb" height="35"><asp:textbox id="add_sort_name" onfocus="this.select()" runat="server" cssclass="unnamed5">请加入一级栏目名称</asp:textbox>
				<asp:button id="add_sort_button" runat="server" Text="增加一级栏目" Font-Names="宋体" Font-Size="9pt" ForeColor="blue" BorderStyle="None" BorderColor="#eef4fb" BackColor="#eef4fb"></asp:button></td>
		</tr>
		<tr>
			<td align="middle" bgColor="#eef4fb" height="35"><STRONG>操作提示:</STRONG><asp:label id="addzhuanti_error_message" runat="server" ForeColor="Red">增加栏目时,请注意不要在同级中使用相同的栏目名称!</asp:label></td>
		</tr>
	</table>
</form>
<copyrightlocal:footer id="globalbottom" runat="server"></copyrightlocal:footer>

⌨️ 快捷键说明

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