<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ManageColumnList.aspx.cs" Inherits="Web.User.ManageColumnList" %>

<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html>
<!--<![endif]-->
<head>
    <title>栏目列表管理</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--#include file="../Css/head.htm"-->

</head>
<body>
    <form id="form1" runat="server">
    <div class="list-func-box func-box">
        <div class="breadcrumbs" id="breadcrumbs">
                <ul class="breadcrumb">
                    <li>
                        <i class="ace-icon fa  fa-desktop"></i>
                        <asp:Label ID="lbpageNav" runat="server" Text=""></asp:Label>
                    </li></ul>
            </div>
        <div class="bd" >
            <br />
            <br />
            <table cellpadding="5" cellspacing="0" border="1" align="center" style="border-collapse: collapse">
                <tr>
                    <th align="left">
                        请为当前栏目指定一个菜单:
                    </th>
                </tr>
                <tr>
                    <td align="center">
                        <%
                            string isCheck = "";
                            for (int i = 0; i < menuList.Length; i++)
                            {
                                if (selectedIndex == Convert.ToInt32(menuList[i]["pkId"]))
                                    isCheck = "checked=\"checded\"";
                                else
                                    isCheck = "";

                                Response.Write("<input " + isCheck + " type=\"radio\" id=\"menu" + i.ToString() + "\" name=\"menu\" value=\"" + menuList[i]["pkId"].ToString() + "\" />" +
                                               "<label for=\"menu" + i.ToString() + "\">" + menuList[i]["name"].ToString() + "</label>");
                            }                        
                        %>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Button runat="server" ID="Save" Text="保 存" OnClick="Save_Click" CssClass="btn btn-sm btn-primary" />
                    </td>
                </tr>
            </table>
            <br />
        </div>
        <div class="ft">
        </div>
    </div>
    </form>
</body>
</html>
