新聞列表管理頁(yè)面

          <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewsManage.aspx.cs" Inherits=".UI.images.News.NewsManage" %>
          <%@ Register Src="../Controls/Pages.ascx" TagName="Pages" TagPrefix="uc1" %>

          <!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">
                 <link href="../images/style/style.css"  type="text/css" rel="stylesheet">
              <title>新聞管理</title>
              <script type="text/javascript" charset="gb2312" src="/Office\style\1\js\Ajax.js"></script>
              <script type="text/javascript">
              function checkAll(obj,name)
          {
          var values="";
          var tempCheck= obj.checked
          var eles = document.getElementsByName(name);
              for(var i=0;i<eles.length;i++)
              {
               if(eles[i].type=='checkbox')
                {
               eles[i].checked=tempCheck;
                }
              }
           
          }
              </script>
          </head>
          <body>
              <form id="form1" runat="server">
              <div>
                  <table align="center" border="0" cellpadding="0" cellspacing="0" width="760">
                      <tr>
                          <td align="center" bgcolor="#eef7ff" colspan="2" style="height: 20px">
                              <strong>新聞管理</strong></td>
                      </tr>
                      <tr bgcolor="#ffffff">
                          <td align="right" bgcolor="#d2eaff" style="width: 57px; height: 30px">
                          </td>
                          <td bgcolor="#eef7ff" style="height: 30px">
                              <asp:DropDownList ID="DdlType" runat="server" Width="103px">
                              </asp:DropDownList>
                              <asp:TextBox ID="TbKeyword" runat="server"></asp:TextBox>
                              <asp:Button ID="BtSearch" runat="server" OnClick="BtSearch_Click" Text="查詢" Width="74px" /></td>
                      </tr>
                      <tr bgcolor="#ffffff">
                          <td align="right" bgcolor="#d2eaff" style="width: 57px; height:30px">
                                </td>
                          <td bgcolor="#eef7ff" style="height: 30px">
                              &nbsp;<a href="<%=Request.Path.ToString()%>?isCommand=1">推薦新聞</a>  <a href="<%=Request.Path.ToString()%>?isTop=1">置頂新聞</a> <a href="<%=Request.Path.ToString()%>">全部新聞</a> &nbsp; &nbsp;
                              &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                              <input id="Button1" type="button" onclick="document.location='NewsEdit.aspx'" value="添加新新聞" />
                              &nbsp;&nbsp; &nbsp;
                          </td>
                      </tr>
                      <tr bgcolor="#ffffff" style="background-color: #eef7ff">
                          <td bgcolor="#eef7ff" style="color: #ff6600; height: 30px" colspan="2">
                              <asp:GridView ID="gvList" runat="server" AutoGenerateColumns="False"
                                  BorderColor="#337FB2" BorderWidth="2px" Font-Size="Small" ForeColor="#333333"
                                  Height="32%" OnRowDataBound="gvList_RowDataBound" Width="100%">
                                  <FooterStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                                  <Columns>
                                      <asp:BoundField HeaderText="編號(hào)" />
                                      <asp:BoundField DataField="TypeName" HeaderText="類型名稱" />
                                      <asp:BoundField DataField="Title" HeaderText="標(biāo)題" />
                                      <asp:BoundField DataField="AddTime" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}" HeaderText="時(shí)間" />
                                      <asp:BoundField HeaderText="管理" />
                                  </Columns>
                                  <RowStyle BackColor="White" Font-Bold="True" Font-Size="Small" ForeColor="#003399"
                                      HorizontalAlign="Center" />
                                  <EditRowStyle BackColor="#999999" />
                                  <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                                  <PagerStyle BackColor="#337FB2" ForeColor="White" HorizontalAlign="Center" VerticalAlign="Middle" />
                                  <HeaderStyle BackColor="#337FB2" Font-Size="12px" ForeColor="White" HorizontalAlign="Center"
                                      VerticalAlign="Middle" />
                                  <AlternatingRowStyle BackColor="#E8F4FF" Font-Bold="True" Font-Size="Small" HorizontalAlign="Center" />
                              </asp:GridView>
                          </td>
                      </tr>
                      <tr bgcolor="#ffffff" style="background-color: #eef7ff">
                          <td bgcolor="#eef7ff" colspan="2" style="color: #ff6600; height: 30px">
                              <uc1:Pages ID="Pages1" runat="server" />
                          </td>
                      </tr>
                      <tr bgcolor="#ffffff" style="background-color: #eef7ff">
                          <td align="left" bgcolor="#d2eaff" style="width: 57px; height: 30px">
                              <asp:CheckBox ID="CbCheckAll" onclick="checkAll(this,'action')" runat="server" Text="全選" Width="66px" />
                              <asp:Button ID="BtShanChu" runat="server" OnClick="BtShanChu_Click" Text="刪除" /></td>
                          <td bgcolor="#eef7ff" style="color: #ff6600; height: 30px">
                              <span class="font"><font color="#666666"><font color="#999999"><font color="#ff6600">
                                  &nbsp; </font></font></font></span></td>
                      </tr>
                  </table>
             
              </div>
              </form>
          </body>
          </html>

           

          posted on 2009-06-10 18:18 sanmao 閱讀(65) 評(píng)論(0)  編輯  收藏

          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           

          常用鏈接

          留言簿(5)

          隨筆分類

          隨筆檔案

          搜索

          •  

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          主站蜘蛛池模板: 绵阳市| 沙田区| 天长市| 察隅县| 阜新| 章丘市| 饶阳县| 定日县| 德令哈市| 察雅县| 西和县| 汝南县| 电白县| 苍山县| 萨迦县| 湄潭县| 西乡县| 宁晋县| 磐安县| 石首市| 通城县| 沁阳市| 肥西县| 定远县| 句容市| 连江县| 阿尔山市| 扶余县| 科技| 桑日县| 邳州市| 七台河市| 阿合奇县| 姚安县| 漳浦县| 桃园市| 阳信县| 贡嘎县| 深水埗区| 新疆| 靖安县|