<%@ page language="C#" masterpagefile="~/SiteServer/MasterPage/PageTemplate.Master" autoeventwireup="true" inherits="SiteServer_Article_list, v5star.Web" title="Untitled Page" theme="Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="Server">
    <aspx:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server" HeadOPTxt="编辑"
        HeadTitleTxt="内容管理">       
    </aspx:HeadMenuWebControls>
    <aspx:TabOptionWebControls ID="TabOptionWebControls1" runat="server" TabImagesPath="../../images/Menu/">
        <aspx:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="全部信息">
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnRowCreated="GridView1_RowCreated" OnRowDataBound="GridView1_RowDataBound" OnRowEditing="GridView1_RowEditing" Width="100%">
                <Columns>                 
                    <asp:BoundField HeaderText="序号"/> 
                    <asp:TemplateField HeaderText="标题">
                        <ItemTemplate>
                           <%# MyTitle(Eval("Article_Title"), Eval("id"))%>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" />
                    </asp:TemplateField>
                     <asp:BoundField HeaderText="栏目名称" DataField="chennlname"/> 
                     <asp:BoundField HeaderText="阅读量" DataField="Article_Hits"/> 
                     <asp:TemplateField HeaderText="状态">
                        <ItemTemplate>
                            <%#ArtStat(Eval("Article_Status"))%>
                        </ItemTemplate>                      
                    </asp:TemplateField>
                    <asp:BoundField DataField="id" />
                    <asp:CommandField ShowEditButton="True" />                
                </Columns>
            </asp:GridView>
            <aspx:CutePager ID="CutePager1" runat="server" AlwaysShow="True" CustomInfoTextAlign="Center"
                HorizontalAlign="Center" ShowCustomInfoSection="Right" OnPageChanged="CutePager1_PageChanged">
            </aspx:CutePager>
        </aspx:TabOptionItem>
        <aspx:TabOptionItem ID="TabOptionItem2" runat="server" Tab_Name="内容搜索">          
            <table width="100%" border="0" cellspacing="1" cellpadding="3">
                <tr>
                    <td class="table_body table_body_NoWidth" align="right">
            内容状态：</td>
                    <td class="table_none table_none_NoWidth">
                       <asp:DropDownList ID="ddl_con" runat="server">
                <asp:ListItem Value="100">全部</asp:ListItem>
                <asp:ListItem Value="0">未审核</asp:ListItem>
                <asp:ListItem Value="1">已审核</asp:ListItem>
                <asp:ListItem Value="2">审核失败</asp:ListItem>
            </asp:DropDownList></td>
                    <td class="table_body table_body_NoWidth" align="right">
                        每页显示：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:DropDownList ID="ddl_ps" runat="server">
                <asp:ListItem Value="10">默认</asp:ListItem>
                <asp:ListItem>15</asp:ListItem>
                <asp:ListItem>20</asp:ListItem>
                <asp:ListItem>30</asp:ListItem>
                <asp:ListItem>40</asp:ListItem>
                <asp:ListItem>50</asp:ListItem>
                <asp:ListItem>100</asp:ListItem>
                <asp:ListItem>150</asp:ListItem>
                <asp:ListItem>200</asp:ListItem>
            </asp:DropDownList></td>
                </tr>
                <tr>
                    <td class="table_body table_body_NoWidth" style="height: 28px" align="right">
                        目标：</td>
                    <td class="table_none table_none_NoWidth" style="height: 28px">
                       <asp:DropDownList
                        ID="ddl_tt" runat="server">
                        <asp:ListItem Value="Article_Title">标题</asp:ListItem>
                        <asp:ListItem Value="Article_SubTitle">副标题</asp:ListItem>
                        <asp:ListItem Value="Article_AuthorName">作者</asp:ListItem>
                        <asp:ListItem Value="Article_Keyword">关键字</asp:ListItem>
                        <asp:ListItem Value="Article_Intro">简介</asp:ListItem>
                        <asp:ListItem Value="Article_Content">内容</asp:ListItem>
                        <asp:ListItem Value="Article_Source">来源</asp:ListItem>
                        <asp:ListItem Value="Article_IsOnTop">置顶</asp:ListItem>
                        <asp:ListItem Value="Article_IsElite">推荐</asp:ListItem>
                    </asp:DropDownList></td>
                    <td class="table_body table_body_NoWidth" style="height: 28px" align="right">
                        时间：</td>
                    <td class="table_none table_none_NoWidth" style="height: 28px; white-space:nowrap;">
                        <asp:TextBox ID="TimeStar" runat="server" Width="80px" CssClass="text_input"
                onfocus="javascript:HS_setDate(this);"></asp:TextBox>~<asp:TextBox
                    ID="TimeEnd" runat="server" Width="80px" CssClass="text_input" onfocus="javascript:HS_setDate(this);"></asp:TextBox></td>
                </tr>
                 <tr>
                    <td class="table_body table_body_NoWidth" style="height: 28px" align="right">
            关键字：</td>
                    <td class="table_none table_none_NoWidth" colspan="3" style="height: 28px">
                        <asp:TextBox ID="keyword" runat="server" Width="211px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td colspan="4" align="right">
            <asp:Button ID="Button1" runat="server" CssClass="button_bak" Text="搜 索" OnClick="Button1_Click" />
                        &nbsp; &nbsp;&nbsp;
                    </td>
                </tr>
            </table>
        </aspx:TabOptionItem>
    </aspx:TabOptionWebControls>
</asp:Content>


