<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.System_Area_Manage, V5Shop.Shop.Config" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc2" %>
<%@ Register Src="control/ManageHeader.ascx" TagName="ManageHeader" TagPrefix="uc3" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
    
<!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 runat="server">
    <title>地区管理</title>
    <link href="css/css.css" rel="stylesheet" type="text/css">
    <link href="css/css_list.css" rel="stylesheet" type="text/css">
    <link href="css/control.css" rel="stylesheet" type="text/css">
</head>
<body>
    <form id="form1" runat="server">
    <div>

        <uc3:ManageHeader ID="ManageHeader1" runat="server" />
        
        <table cellpadding="0" cellspacing="0" width="100%" align="center" style="margin:20px 0 0 0; padding:10px; border-top:1px #dddddd solid">
            <tr>
               <td style="border-right:1px #dddddd solid; background:#f1f1f1">
               <b>国家（一级地区）</b><br />
                <asp:ListBox ID="Area_1" runat="server" Width="150px" Height="300px" OnSelectedIndexChanged="Area_1_SelectedIndexChanged" AutoPostBack="true"></asp:ListBox>
               </td>
               <td style="border-right:1px #dddddd solid; background:#f9f9f9">
               <b>省份（二级地区）</b><br />
               <asp:ListBox ID="Area_2" runat="server" Width="150px" Height="300px" OnSelectedIndexChanged="Area_2_SelectedIndexChanged" AutoPostBack="true"></asp:ListBox></td>
               <td style="border-right:1px #dddddd solid; background:#f1f1f1">
               <b>城市（三级地区）</b><br />
               <asp:ListBox ID="Area_3" runat="server" Width="150px" Height="300px" OnSelectedIndexChanged="Area_3_SelectedIndexChanged" AutoPostBack="true"></asp:ListBox></td>
               <td style="border-right:1px #dddddd solid; background:#f9f9f9">
               <b>区/县（四级地区）</b><br />
               <asp:ListBox ID="Area_4" runat="server" Width="150px" Height="300px" OnSelectedIndexChanged="Area_4_SelectedIndexChanged" AutoPostBack="true"></asp:ListBox></td>
               <td style="border-right:1px #eeeeee solid">
                    <asp:Button ID="btnEdit" runat="server" Text="编辑" CausesValidation="false" OnClick="btnEdit_Click" Enabled="false" class="botton" CssClass="button"/><br /><br /><br />
                    <asp:Button ID="btnDelete" runat="server" Text="删除" CausesValidation="false" OnClick="btnDelete_Click" Enabled="false" OnClientClick="return confirm('该操作不可恢复，您确定要删除吗？')" CssClass="button" />
               </td>
            </tr>
            <tr>
                <td colspan="5" align="center" style="border-top:1px #dddddd solid">
                    <span style="display:none;"><asp:HiddenField ID="NowLevelID" runat="server" Value="1" />
                    父ID：<asp:Label ID="HeadID" runat="server" Text="0"></asp:Label></span>
                    <asp:Label ID="LevelID" runat="server" Text="1" Visible="false" />
                    <asp:Label ID="lblName" runat="server" Text="地区名称："></asp:Label>
                    <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                    &nbsp;<asp:CheckBox ID="IsFirst" runat="server" CssClass="checkboxaspx" Text="是否为一级地区" Height="17px" /><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="不能为空" Display="Dynamic" ControlToValidate="txtName"></asp:RequiredFieldValidator>
                    <asp:Button ID="btnAddSubmit" runat="server" Text="确定" OnClick="btnAddSubmit_Click" CssClass="button" />
                    <asp:Button ID="btnEditSubmit" runat="server" Text="更新" Visible="false" OnClick="btnEditSubmit_Click" CssClass="button" />
                    <input type="reset" value="重置" class="button" />
                    &nbsp;</td>
            </tr>
        </table>
        <div style="height:20px;"></div>
        
        <uc2:PageBottom ID="PageBottom1" runat="server" />
    </div>
    </form>
</body>
</html>
