<%@ 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/userCssList.htm"-->

</head>
<body>
    <form id="form1" runat="server">
    <div class="list-func-box func-box">
        <div class="hd">
            <div class="breadcrumb">
                <asp:PlaceHolder ID="placeHead" runat="server"></asp:PlaceHolder>
            </div>
            <!--/breadcrumb-->
            <div class="user-service">
                <%--<a class="help" href="#">帮助</a>--%>
            </div>
            <!--/user-service-->
        </div>
        <div class="bd" style=" height:680px;">
            <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" />
                    </td>
                </tr>
            </table>
            <br />
        </div>
        <div class="ft">
        </div>
    </div>
    </form>
</body>
</html>
