<%@ Page Title="商铺导航编辑" StylesheetTheme="AdminSkin" Language="C#" MasterPageFile="~/Others/AdminMasterPage.Master" AutoEventWireup="true" CodeBehind="ShopNavigationEdit.aspx.cs" Inherits="Web.Admin.Contents.ShopNavigationEdit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="AdminContentHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="AdminContentCenter" runat="server">
   <form id="form11" runat="server" method="post" enctype="multipart/form-data">
        <div class="formtextfield">
            <div class="title">
                <h4><span>商铺导航编辑</span></h4>
            </div>
            <div class="content">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="fieldname">名称:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtName" runat="server" Width="288" MaxLength="25" CssClass="text form-validate" />
                        </td>
                    </tr>
                    <tr>
                        <td class="fieldname">目录名称:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtDirectory" runat="server" Width="288" MaxLength="25" />
                        </td>
                    </tr>
                    <tr>
                        <td class="fieldname">链接:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtLink" runat="server" Width="288" MaxLength="25" />http://链接地址,如果不为空,表示跳转到指定的地址
                        </td>
                    </tr>
                    <tr>
                        <td class="fieldname">顺序:</td>
                        <td class="fieldvalue">
                           <asp:TextBox ID="txtSequence" runat="server" Width="288" MaxLength="25" Text="0" />
                        </td>
                    </tr>
                    <tr>
                        <td class="fieldname">模型:
                        </td>
                        <td class="fieldvalue">
                            
                            <asp:DropDownList ID="ddlModel" DataTextField="TemplateName" DataValueField="TemplateID" runat="server">
                                <asp:ListItem Value="1">链接</asp:ListItem>
                                <asp:ListItem Value="2">文章</asp:ListItem>
                                <asp:ListItem Value="5">留言</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="fieldname">模板:</td>
                        <td class="fieldvalue">
                            <asp:DropDownList ID="ddlTemplate" runat="server">
                            </asp:DropDownList>

                        </td>
                    </tr>
                    <tr>
                        <td class="fieldname">新窗口中打开:
                        </td>
                        <td class="fieldvalue">
                            <asp:CheckBox ID="ckbNewWindow" runat="server" Checked="true" />新窗口
                        </td>
                    </tr>
                    <tr>
                        <td class="fieldname">状态:</td>
                        <td class="fieldvalue">
                            <asp:CheckBox ID="ckbStatus" runat="server" Checked="true" />显示
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="DivRightCenter">

            <br />

            <table width="100%" border="0" cellpadding="2" cellspacing="1">
                <tr>
                    <td colspan="2" align="center">
                        <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" />
                        <asp:Button ID="btnCancel" runat="server" Text="取消" OnClientClick="CancelOperation();return false;"/>
                        <script type="text/javascript">
                            function CancelOperation() {
                                location.href = 'ShopNavigationManage.aspx?UserID=<%=Request.QueryString["UserID"] %>'
                            }
                        </script>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</asp:Content>
