zoukankan      html  css  js  c++  java
  • 新闻分类管理页面源码

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewsTypeList.aspx.cs" Inherits="zj123.UI.images.Expro.NewsTypeList" %>

    <!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="../images/style/style.css"  type="text/css" rel="stylesheet">
               <script type="text/javascript" charset="gb2312" src="../images/js/common.js"></script>
                <script  type="text/javascript" charset="GB2312" src="/Office/style/1/js/Ajax.js"></script>
                <script  type="text/javascript" charset="GB2312" src="/Office/style/1/js/date.js"></script>
    <script type="text/javascript">
    function openWindow(url,width,height)
    {
    window.open(url,"_blank","height="+height+",width="+width+",top="+((screen.availHeight-height)/2)+",left="+((screen.availWidth-width)/2)+",toolbar=no,menubar=yes,scrollbars=yes, resizable=yes,location=no, status=no");
    }
    </script>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            <table bgcolor="#c4d8ed" border="0" cellpadding="0" cellspacing="0" width="100%">
                <tbody>
                    <tr>
                        <td>
                        </td>
                        <td valign="top">
                            <table align="center" border="1" cellpadding="4" cellspacing="1" class="toptable grid fixed">
                                <tbody>
                                    <tr>
                                        <td class="category" style="height: 17px; 190px;">
                                        </td>
                                        <td align="center" class="category" style="height: 17px">
                                            分类名:<asp:TextBox ID="TbKeyword" runat="server"></asp:TextBox>
                                            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                            <asp:Button ID="BtSearch" runat="server" OnClick="BtSearch_Click" Text="搜索" />
                                            &nbsp;&nbsp;
                                            <input id="BtAdd" type="button" value="添加一级分类" onclick="openWindow('SortEdit.aspx?parentid=0&depth=0&action=add',800,300)"/></td>
                                    </tr>
                                </tbody>
                            </table>
                          
                            <table align="center" border="1" cellpadding="4" cellspacing="1" class="toptable grid fixed"
                                style="color: #0000ff">
                                <tbody>
                                    <tr>
                                        <td align="center" colspan="6" style="height: 144px">
                                            <asp:GridView ID="gvList" runat="server" AutoGenerateColumns="False"                 BorderColor="#337FB2" BorderWidth="2px" CellPadding="4" Font-Size="Small" ForeColor="#333333"                                  Height="32%" OnRowDataBound="gvList_RowDataBound" Width="100%">
                                                <FooterStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                                                <Columns>
                                                    <asp:BoundField HeaderText="选择">
                                                        <ItemStyle Width="5%" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="Column_ID" HeaderText="编号">
                                                        <ItemStyle Width="10%" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="Column_Name" HeaderText="分类名称" />
                                                    <asp:BoundField DataField="Column_Order" HeaderText="顺序编号">
                                                        <ItemStyle Width="15%" />
                                                    </asp:BoundField>
                                                    <asp:BoundField HeaderText="子类数目" DataField="childsnNum" />
                                                    <asp:BoundField HeaderText="上移" />
                                                    <asp:BoundField HeaderText="下移" />
                                                    <asp:BoundField HeaderText="操作" />
                                                    <asp:BoundField HeaderText="查看子类" />
                                                </Columns>
                                                <RowStyle BackColor="White" Font-Bold="True" Font-Size="Small" ForeColor="#003399"
                                                    HorizontalAlign="Center" />
                                                <EditRowStyle BackColor="#999999" />
                                                <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                                                <PagerStyle BackColor="#337FB2" ForeColor="White" HorizontalAlign="Center" VerticalAlign="Middle" />
                                                <HeaderStyle BackColor="#337FB2" Font-Size="12px" ForeColor="White" HorizontalAlign="Center"
                                                    VerticalAlign="Middle" />
                                                <AlternatingRowStyle BackColor="#E8F4FF" Font-Bold="True" Font-Size="Small" HorizontalAlign="Center" />
                                            </asp:GridView>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center" style="height: 29px">
                                            <input id="checkallpri" class="nogrid" name="checkallpri" onclick="checkAll('action','checkallpri')"
                                                style="border-right: medium none; border-top: medium none; border-left: medium none;
                                                border-bottom: medium none" type="checkbox" /></td>
                                        <td colspan="5" style="height: 29px">
                                            &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<asp:Button ID="BtVerfly" runat="server" OnClick="BtVerfly_Click"
                                                Text="审核" />
                                            &nbsp; &nbsp;
                                            <asp:Button ID="BtDel" runat="server" OnClick="BtDel_Click" Text="删除" />
                                            &nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<input id="Button1" type="button" value="返回" onclick="history.go(-2)"/><span class="t2"></span></td>
                                    </tr>
                                    <tr>
                                        <td colspan="6">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="6">
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                          
                        </td>
                        <td>
                        </td>
                    </tr>
                </tbody>
            </table>
        <br />  <br />
        </div>
        </form>
    </body>
    </html>

  • 相关阅读:
    【BZOJ3193】[JLOI2013]地形生成 DP
    【BZOJ3782】上学路线 组合数+容斥+CRT
    Web安全学习笔记之Kali部署DVWA和OWASPBWA
    Web安全学习笔记之Kali配置国内软件更新源
    Python面试题之列表推导式
    前端学习笔记之HTML中的id,name,class区别
    Web安全学习笔记之Nmap脚本使用指南
    Web安全学习笔记之Nmap扫描原理与用法
    Web安全学习笔记之Openvas配置,使用,报告
    Python面试题之Python中应该使用%还是format来格式化字符串?
  • 原文地址:https://www.cnblogs.com/bestsaler/p/1835749.html
Copyright © 2011-2022 走看看