<%@ page language="C#" masterpagefile="~/SiteServer/MasterPage/PageTemplate.Master" autoeventwireup="true" inherits="SiteServer_Links_List, v5star.Web" title="Untitled Page" theme="Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="Server">
    <aspx:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server" HeadTitleTxt="友情链接">
    </aspx:HeadMenuWebControls>
    <aspx:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
        <aspx:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="列表">
            &nbsp;<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="100%"
                OnRowDataBound="GridView1_RowDataBound">
                <Columns>
                    <asp:BoundField HeaderText="序号" />
                    <asp:HyperLinkField DataNavigateUrlFields="links_url" DataNavigateUrlFormatString="{0}"
                        DataTextField="links_name" HeaderText="站名" Target="_blank" />
                    <asp:BoundField DataField="links_ispass" HeaderText="状态" />
                    <asp:BoundField DataField="links_time" DataFormatString="{0:yyyy-MM-dd}" HeaderText="加入时间" />
                    <asp:TemplateField HeaderText="编辑">
                        <ItemTemplate>
                            <a href="Edit.aspx?id=<%# Eval("id")%>">编辑</a>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="删除">
                        <ItemTemplate>
                            <a href="Delete.aspx?id=<%# Eval("id")%>">删除</a>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <aspx:CutePager ID="CutePager1" runat="server" AlwaysShow="True" OnPageChanged="CutePager1_PageChanged"
                ShowCustomInfoSection="Left">
            </aspx:CutePager>
        </aspx:TabOptionItem>
        <aspx:TabOptionItem ID="TabOptionItem2" runat="server" Tab_Name="搜索">         
            <table id="tb1" cellspacing="1" cellpadding="4" border="0" width="100%">
                <tr>
                    <td align="right" class="table_body">
            关键字：</td>
                    <td class="table_none">
                        <asp:TextBox ID="keyword" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td align="right" colspan="2">
            <asp:Button ID="Button1" runat="server" CssClass="button_bak" Text="搜 索" OnClick="Button1_Click" />
                        &nbsp;&nbsp;
                    </td>
                </tr>
            </table>
        </aspx:TabOptionItem>
    </aspx:TabOptionWebControls>
</asp:Content>
