<%@ page language="C#" masterpagefile="~/SiteServer/MasterPage/PageTemplate.Master" autoeventwireup="true" inherits="SiteServer_Extension_TempLable_list, v5star.Web" title="Untitled Page" theme="Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" Runat="Server">
    <aspx:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server" HeadTitleTxt="标签参数管理" ButtonList-Capacity="4">
        <aspx:HeadMenuButtonItem ButtonName="列表参数" ButtonPopedom="New" ButtonUrl="add.aspx"
            ButtonUrlType="Href" ButtonVisible="True" />
    </aspx:HeadMenuWebControls>
    <aspx:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
        <aspx:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="参数列表">
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnRowDataBound="GridView1_RowDataBound"
                Width="100%">
                <Columns>
                    <asp:BoundField HeaderText="序号" />
                    <asp:BoundField DataField="templatename" HeaderText="标签名" />
                    <asp:BoundField DataField="lablename" HeaderText="标记代码" />
                    <asp:TemplateField HeaderText="类型">                       
                        <ItemTemplate>
                           <%# GetType(Eval("PageType")) %>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="操作">                   
                        <ItemTemplate>
                            <a href="edit.aspx?id=<%# Eval("id")%>">编辑</a> | <a href="del.aspx?id=<%# Eval("id")%>">删除</a> 
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <aspx:CutePager ID="CutePager1" runat="server" OnPageChanged="CutePager1_PageChanged">
            </aspx:CutePager>
        </aspx:TabOptionItem>
        <aspx:TabOptionItem ID="TabOptionItem2" runat="server" Tab_Name="检索">
         <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
                <tr>
                    <td class="table_title" colspan="2">
                        搜索选项
                    </td>
                </tr>
                <tr>
                    <td align="right" class="table_body table_body_NoWidth" style="width: 120px">
                        关键字：
                    </td>
                    <td class="table_none table_none_NoWidth" style="width: 86%">
                        <asp:TextBox ID="txtKeyWord" runat="server" Width="75%"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="table_body table_body_NoWidth" style="width: 120px">
                        类型：</td>
                    <td class="table_none table_none_NoWidth" style="width: 86%">
                        <asp:DropDownList ID="ddlType" runat="server">
                            <asp:ListItem Value="-1">-请选择-</asp:ListItem>
                            <asp:ListItem Value="1">首页</asp:ListItem>
                            <asp:ListItem Value="2">栏目页</asp:ListItem>
                            <asp:ListItem Value="3">内容页</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                    </td>
                </tr>
                <tr>
                    <td align="right" colspan="2">
                       <asp:Button ID="Save" runat="server" CssClass="button_bak"  
                            Text="确定" onclick="sou_Click" /> &nbsp;                        
                    </td>
                </tr>
            </table>
        </aspx:TabOptionItem>
    </aspx:TabOptionWebControls>
</asp:Content>

