<%@ page language="C#" autoeventwireup="true" inherits="admin_menu, aoshuosoft" %>

<!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="admin.css" rel="stylesheet" type="text/css" />
</head>
<script language="Javascript">
function acadd()
{
one.style.display="";
two.style.display="";
ae.style.display="none";
}
</script>
<body>
    <form id="form1" runat="server">
    <div style="text-align: center">
        <asp:Panel ID="addedit" runat="server" Height="50px" Width="100%" Visible="false">
             <table border='0' width='100%' id='one' style="display:none;" >
      <tr height='150'>
      <td>      
      </td>
      </tr>
      </table>
      <table id='two' style="display:none;" align='center' cellspacing='1' border='0' bgcolor='#CCFF66'><tr bgcolor='#FFFF99'><td>
      <table  class='actionadd' border='0' height='30' bgcolor='#FFFF99' style="width: 365px">
         <tr style='font-size:12px;'><td style="text-align: right">
             <asp:Image ID="Image1" runat="server" ImageUrl="~/image/ac.gif" /></td><td>
             &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 请稍后，正在保存数据...</td></tr>
         </table></td></tr>
      </table>
            <table border="0" id="ae" cellpadding="3" cellspacing="1" class="adminmaintable">
                <tr>
                    <td class="bt" colspan="2" style="height: 35px; text-align: center">
                        <asp:Literal ID="actionbt" runat="server"></asp:Literal></td>
                </tr>
                <tr>
                    <td style="width: 119px">
                        分类选择：</td>
                    <td>
                        <asp:DropDownList ID="sort" runat="server">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td style="width: 119px">
                        菜单中文名称：</td>
                    <td>
                        <asp:TextBox ID="name" runat="server" CssClass="textput" Width="223px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 119px">
                        菜单英文名称</td>
                    <td>
                        <asp:TextBox ID="enname" runat="server" CssClass="textput" Width="223px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 119px">
                        连接地址：</td>
                    <td>
                        <asp:TextBox ID="url" runat="server" CssClass="textput" Width="223px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 119px">
                        打开窗体：</td>
                    <td>
                        <asp:DropDownList ID="ct" runat="server">
                            <asp:ListItem Value="">原窗口</asp:ListItem>
                            <asp:ListItem Value="_blank">新窗口</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: center">
                        <asp:Button ID="add" runat="server" Text="添加" Width="80px" OnClick="add_Click" OnClientClick="acadd()" />
                        <asp:Button ID="edit" runat="server" Text="修改" Width="80px" OnClientClick="acadd()" OnClick="edit_Click" /></td>
                </tr>
            </table>
        </asp:Panel>
        <table border="0" cellpadding="0" width="100%" cellspacing="0">
            <tr>
                <td style="text-align: center">
        <asp:Literal ID="menu" runat="server"></asp:Literal></td>
            </tr>
            <tr>
                <td style="text-align: center">
        <asp:Button ID="sx" runat="server" Text="刷新JS菜单" Width="147px" Visible="false" OnClick="sx_Click" /></td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
