<%@ page language="C#" autoeventwireup="true" inherits="admin_sort, 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 rel="stylesheet" href="admin.css" type="text/css" />
</head>
<script language="javascript">
function sy()
{
if(document.getElementById("ms").value=="双语模式")
{
document.getElementById("ms").value="简体中文";
tbname.style.display="";
tbkeywords.style.display="";
tbdescription.style.display="";
}
else
{
document.getElementById("ms").value="双语模式";
tbname.style.display="none";
tbkeywords.style.display="none";
tbdescription.style.display="none";
}
}
</script>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Panel ID="sort" runat="server" Height="50px" Width="815px">
            <table class="adminmaintable" border="0" cellpadding="3" cellspacing="1">
                <tr>
                    <td class="bt" colspan="2" style="text-align: center; height: 35px;">
                        <asp:Label ID="actionsort" runat="server" Text="Label" Width="159px"></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 125px">
                        模式选择：</td>
                    <td style="width: 597px">
                        <input id="ms" onclick="sy()" type="button" value="双语模式" /></td>
                </tr>
                <tr>
                    <td style="width: 125px">
                        所属分类：</td>
                    <td style="width: 597px">
                        <asp:DropDownList ID="attribute" CssClass="textput" runat="server" >
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td style="width: 125px">
                        分类名称：</td>
                    <td style="width: 597px">
                        <asp:TextBox ID="name" CssClass="textput" runat="server" Width="181px"></asp:TextBox>*</td>
                </tr>
                <tr style="display:none;" id="tbname" class="en">
                    <td style="width: 125px">
                        分类名称（英文）：</td>
                    <td style="width: 597px">
                        <asp:TextBox ID="enname" runat="server" CssClass="entextput" Width="181px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 125px">
                        分类关键词：</td>
                    <td style="width: 597px">
                        <asp:TextBox ID="keywords" CssClass="textput" runat="server" Height="40px" TextMode="MultiLine" Width="439px"></asp:TextBox></td>
                </tr>
                <tr style="display:none;" id="tbkeywords" class="en">
                    <td style="width: 125px">
                        分类关键词（英文）：</td>
                    <td style="width: 597px">
                        <asp:TextBox ID="enkeywords" runat="server" CssClass="entextput" Height="40px" TextMode="MultiLine"
                            Width="439px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 125px">
                        分类描述：</td>
                    <td style="width: 597px">
                        <asp:TextBox ID="description" runat="server" CssClass="textput" Height="40px" TextMode="MultiLine"
                            Width="439px"></asp:TextBox></td>
                </tr>
                <tr style="display:none;" id="tbdescription" class="en">
                    <td style="width: 125px">
                        分类描述（英文）：</td>
                    <td style="width: 597px">
                        <asp:TextBox ID="endescription" runat="server" CssClass="entextput" Height="40px" TextMode="MultiLine"
                            Width="439px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: center">
                        <asp:Button ID="add" runat="server" Text="添加" Width="80px"  OnClick="add_Click" />
                        <asp:Button ID="edit"  runat="server" Text="修改" Width="80px"  OnClick="edit_Click"  />
                        &nbsp;
                    </td>
                </tr>
            </table>
        </asp:Panel>
        <asp:Literal ID="sorttable" runat="server" Visible="False"></asp:Literal></div>
    </form>
</body>
</html>
