<%@ Page Title="" Language="VB" MasterPageFile="~/App_MasterPage/mpManager.master" AutoEventWireup="false" CodeFile="PlugClass.aspx.vb" Inherits="Manager_PlugClass" %>
<%@ Register assembly="ControlPageing" namespace="ControlPageing" tagprefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="chpPageTitle" Runat="Server">插件分类管理</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="chpHead" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="chpScript" Runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="chpTitle" Runat="Server">插件分类管理</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="chpContent" Runat="Server">
    <asp:MultiView ID="MultiView1" runat="server">
        <asp:View ID="View_Edit" runat="server">
    	    <table border="0" width="100%" id="table1" cellspacing="0" cellpadding="0" class="line_table">
	    		    	<tr>
                    <td align="right" width="20%">分类名称：</td>
                    <td width="30%" colspan="2">
                        <asp:TextBox ID="txtClassName" runat="server"  Width="96%" ></asp:TextBox>
                    </td>
                    <td width="50%"><font color="red">*</font></td>
                </tr>	    	<tr>
                    <td align="right" width="20%">英文名称：</td>
                    <td width="30%" colspan="2">
                        <asp:TextBox ID="txtenName" runat="server"  Width="96%" ></asp:TextBox>
                    </td>
                    <td width="50%"><font color="red"></font></td>
                </tr>  
                <tr>
                    <td align="right" width="20%">排序：</td>
                    <td width="30%" colspan="2">
                        <asp:TextBox ID="txtOrderID" runat="server" Width="96%" ></asp:TextBox>
                    </td>
                    <td width="50%"><font color="red"></font></td>
                </tr>	    	<tr>
                    <td align="right" width="20%">分类类型：</td>
                    <td width="30%" colspan="2">
                        <asp:DropDownList ID="dplClassType" runat="server">
                            <asp:ListItem Selected="True" Value="0">系统</asp:ListItem>
                            <asp:ListItem Value="1">管理</asp:ListItem>
                            <asp:ListItem Value="2">普通</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td width="50%"><font color="red"></font></td>
                </tr>                                                                                           	            
	        <tr>
                    <td align="right" width="20%" height="40px">&nbsp;</td>
                    <td id="SmsaLen" height="60px" style="height: 20px" width="30%"></td>
                </tr>
                <tr>
                    <td align="right" colspan="3" width="50%">
                        <p align="center">
                　          <asp:ImageButton ID="imgSave" runat="server" 
                                ImageUrl="~/App_Themes/ManagerTheme/Images/tj.jpg" style="height: 22px" ToolTip="添加" />
                        </p>
                    </td>
                    <td width="50%"></td>
                </tr>
	    </table>        
        </asp:View>
        <asp:View ID="View_List" runat="server">
    	    <div style="text-align: right;" class="edittd">
        	<asp:CheckBox ID="cbSelectAll" runat="server" AutoPostBack="True" Text="全部" />&nbsp;
        	<asp:LinkButton ID="lnkBtnDel" runat="server"><img src="/App_Themes/ManagerTheme/Images/Delete.gif" style=" border:0px"/>&nbsp;删除选中</asp:LinkButton>&nbsp;&nbsp;
        	<a href="PlugClass.aspx?Action=Add"><img src="/App_Themes/ManagerTheme/Images/add.gif" style=" border:0px" />&nbsp;添加</a>
    	    </div>       
            <asp:Repeater ID="rptList" runat="server">
                <HeaderTemplate>
                    <table border="0" width="100%" id="table1" cellspacing="0" cellpadding="0" class="line_table">
			<tr>
			    <td width="5%" align="center" class="left_bt2">选择</td>
			    <td width="5%" align="center" class="left_bt2">排序</td>
			    <td width="5%" align="center" class="left_bt2">分类类型</td>
			    <td width="5%" align="center" class="left_bt2">分类名称</td>
			    <td width="5%" align="center" class="left_bt2">英文名称</td>

			    <td align="center" width="10%" class="left_bt2">操作</td>
			</tr>
	        </HeaderTemplate>
                <ItemTemplate>
                    <tr class="menuout"   onMouseOver="this.className='menuin'" onMouseOut="this.className='menuout'">
			<td width="5%" align="center"><asp:CheckBox ID="CheckOn" runat="server" ToolTip='<%#Eval("ClassID")%>' /></td>
			<td width="10%" align="center"><%#Eval("OrderID")%></td>
			<td width="10%" align="center"><%#intTypeToStrType(Eval("ClassType"))%></td>
			<td width="10%" align="center"><%#Eval("ClassName")%></td>
			<td width="10%" align="center"><%#Eval("enName")%></td>

			<td width="10%" align="center"><a href="PlugClass.aspx?Action=Edit&ID=<%#Eval("ClassID") %>">
				<img src="/App_Themes/ManagerTheme/Images/Edit.gif" style=" border:0px" />&nbsp;编辑</a>&nbsp;&nbsp;&nbsp;<a href="PlugClass.aspx?Action=Del&ID=<%#Eval("ClassID") %>">
				<img src="/App_Themes/ManagerTheme/Images/Delete.gif" style=" border:0px" />&nbsp;删除</a></td>
			        </tr>
                </ItemTemplate>
                <FooterTemplate></table></FooterTemplate>
            </asp:Repeater>
            <div style="text-align:center"> <cc1:iPaging ID="ListPaging" runat="server" /></div>        
        </asp:View>        
    </asp:MultiView>
</asp:Content>
