<%@ page language="C#" autoeventwireup="true" inherits="news_newsmanage, zhifakaohe_deploy" %>

<!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 id="Head1" runat="server">
    <title></title>
    <style type="text/css">


.STYLE1 {font-size: 12px}
.STYLE3 {font-size: 12px; font-weight: bold; }
        
        a:link                       {font-size: 9pt;color: #2F6589; text-decoration: none;}
            .style7
         {
             color: #03515d;
             font-size: 12px;
             width: 373px;
         }
    .STYLE4 {
	color: #03515d;
	font-size: 12px;
}
        
        .style12
        {
            color: #03515d;
            font-size: 12px;
            }
        
        .style13
        {
            width: 381px;
        }
        .style14
        {
            width: 73px;
        }
        
        .style18
        {
            width: 163px;
        }
        
        *{font-size:12px;font-family:宋体;scrollbar-highlight-color: #ffffff;scrollbar-shadow-color: #919192;scrollbar-darkshadow-color: #ffffff;}
        
        </style>
    <link href="../css/common.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="30" 
          background="../images/tab_05.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="30">
            <img src="../images/tab_03.gif" 
                width="12" height="30" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td valign="middle" class="style13">&nbsp;</td>
            <td class="style12"><span class="center_title_1">&nbsp;</span><table border="0" align="right" cellpadding="0" cellspacing="0">
              <tr>
                <td width="60" class="STYLE1">
                        <span class="center_title_1"><asp:CheckBox ID="CheckBox2" runat="server" Text="全选" 
                            oncheckedchanged="CheckBox2_CheckedChanged"  AutoPostBack="True" />
            </span>
                        </td>
                <td width="60"><table width="87%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center">
                        <table width="90%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center">
                        <img src="../images/22.gif" width="14" 
                            height="14" /></div></td>
                    <td class="STYLE1"><div align="center">
                        <asp:LinkButton ID="LinkButton2" runat="server"  
                            PostBackUrl="~/news/newsadd.aspx">新增</asp:LinkButton>
                        </div></td>
                  </tr>
                </table>
                        </div></td>
                  </tr>
                </table></td>
                <td width="52"><table width="88%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center">
                        <img src="../images/11.gif" width="14" 
                            height="14" /></div></td>
                    <td class="STYLE1"><div align="center">
                        <asp:LinkButton ID="LinkButton3" runat="server" onclick="LinkButton1_Click" 
                            OnClientClick="return confirm('确定删除吗？无法恢复！')">删除</asp:LinkButton>
                        </div></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
        <td width="16">
            <img src="../images/tab_07.gif" 
                width="16" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" 
              background="../images/tab_12.gif">&nbsp;</td>
        <td>
    <div>
         <table class="line_table">
             <tr>
                 <td class="style14">
                     <span lang="zh-cn">标题</span></td>
                 <td class="style18">
                     <asp:TextBox ID="txtTitle" runat="server"></asp:TextBox>
                 </td>
                 <td>
                     <span lang="zh-cn">分类</span></td>
                 <td>
                     <asp:DropDownList ID="ddlfenlei" runat="server" AppendDataBoundItems="True">
                         <asp:ListItem Value="">全部</asp:ListItem>
                     </asp:DropDownList>
                 </td>
             </tr>
             <tr>
                 <td colspan="4" align="center">
                     <asp:Button ID="btnSel" runat="server" Text="搜 索" onclick="btnSel_Click" />
                 </td>
             </tr>
         </table>
         <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate> 
                <asp:UpdateProgress ID="UpdateProgress1" runat="server" 
                    AssociatedUpdatePanelID="UpdatePanel1">
                    <ProgressTemplate>
                        <div align="center">
                            <asp:Image ID="images1" runat="server" ImageUrl="~/images/loading.gif" />
                        </div>
                    </ProgressTemplate>
                </asp:UpdateProgress>
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
            AutoGenerateColumns="False" EmptyDataText="没有或没有符合条件的新闻信息！" 
            Font-Size="Small"  
            OnRowDeleting="GridView1_RowDeleting" Width="100%" CssClass="GridViewStyle">
            <Columns>
                <asp:TemplateField HeaderText="全选">
                   <ItemTemplate>
                   <asp:CheckBox ID="CheckBox1" runat="server" />
                    </ItemTemplate>
                 </asp:TemplateField>
                <asp:HyperLinkField DataNavigateUrlFields="id" 
                    DataNavigateUrlFormatString="newsview.aspx?id={0}" DataTextField="title" 
                    HeaderText="标题" NavigateUrl="~/news/newsview.aspx" Target="_blank" />
                <asp:BoundField DataField="fenlei" HeaderText="分类" />
                <asp:BoundField DataField="userxm" HeaderText="录入人"/>
                <asp:BoundField DataField="addtime" HeaderText="录入时间" 
                    DataFormatString="{0:yyyy-MM-dd}"/>
                <asp:TemplateField HeaderText="状态">
                    <ItemTemplate>
                    <a href="<%#Eval("fujian") %>">点击下载</a>
                    </ItemTemplate>
                 </asp:TemplateField>   
                <asp:TemplateField HeaderText="编辑">
                   <ItemTemplate>
                   <a href="newsedit.aspx?id=<%# Eval("id") %>">编辑</a>
                    </ItemTemplate>
                 </asp:TemplateField>
                <asp:CommandField HeaderText="操作" ShowDeleteButton="True" 
                    ShowHeader="True"  DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定删除新闻吗？无法恢复！')&quot;&gt;删除&lt;/div&gt; "/>
            </Columns>
            <HeaderStyle CssClass="HeaderStyle" />
            <PagerStyle CssClass="PagerStyle" /> 
            <RowStyle CssClass="RowStyle" />
            <PagerSettings Visible=false />
        </asp:GridView>
    </div>        </ContentTemplate>
            </asp:UpdatePanel>
            
          </td>
        <td width="8" 
              background="../images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="35" 
          background="../images/tab_19.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="35">
            <img src="../images/tab_18.gif" 
                width="12" height="35" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="style7">&nbsp;&nbsp;<asp:Label ID="LblRecordCount" runat="server"></asp:Label>
                                            <span lang="zh-cn">每页<asp:DropDownList ID="pgsize" runat="server" 
                                                AutoPostBack="True" onselectedindexchanged="pgsize_SelectedIndexChanged">
                                                <asp:ListItem>10</asp:ListItem>
                                                <asp:ListItem>15</asp:ListItem>
                                                <asp:ListItem Selected="True">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:ListItem>300</asp:ListItem>
                                                <asp:ListItem>400</asp:ListItem>
                                                <asp:ListItem>500</asp:ListItem>
                                            </asp:DropDownList>
                                            条，</span><asp:Label ID="LblCurrentIndex" runat="server"></asp:Label>
                        <asp:Label ID="LblPageCount" runat="server"></asp:Label>
                        </td>
            <td class="STYLE4"><asp:LinkButton ID="btnFirst" CommandArgument="first" OnClick="PagerButtonClick"
                            runat="server">首 页</asp:LinkButton>&nbsp;<asp:LinkButton ID="btnPrev" CommandArgument="prev" OnClick="PagerButtonClick" runat="server">上一页</asp:LinkButton>
                        <asp:LinkButton ID="btnNext" CommandArgument="next" OnClick="PagerButtonClick" runat="server">下一页</asp:LinkButton>
                        <asp:LinkButton ID="btnLast" CommandArgument="last" OnClick="PagerButtonClick" runat="server">尾 页</asp:LinkButton>
                        
跳转到第<asp:DropDownList ID="ddlCurrentPage" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> 
</asp:DropDownList>页</td>
          </tr>
        </table></td>
        <td width="16">
            <img src="../images/tab_20.gif" 
                width="16" height="35" /></td>
      </tr>
    </table></td>
  </tr>
</table>
    </div>
    </form>
</body>
</html>
