<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewsList.aspx.cs" Inherits=".UI.images.Expro.NewsList" %>

          <%@ 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 runat="server">
          <title>新聞管理</title>
          <link href="../images/style/style.css"  type="text/css" rel="stylesheet">
          <script type="text/javascript" charset="gb2312" src="../images/js/common.js"></script>
          <script type="text/javascript">
          function openWindow(url,width,height)
          {
          window.open(url,"_blank","height="+height+",width="+width+",top="+((screen.availHeight-height)/2)+",left="+((screen.availWidth-width)/2)+",toolbar=no,menubar=yes,scrollbars=yes, resizable=yes,location=no, status=no");
          }
          </script>
          </head>
          <body>
          <form id="form1" runat="server">
          <table bgcolor="#c4d8ed" border="0" cellpadding="0" cellspacing="0" width="100%">
          <tbody>
          <tr>
          <td>
          </td>
          <td valign="top">
          <table align="center" border="1" cellpadding="4" cellspacing="1" class="toptable grid fixed">
          <tbody>
          <tr>
          <td class="category" style="height: 17px; width: 190px;">
          </td>
          <td align="center" class="category" style="height: 17px">
          分類名:<asp:TextBox ID="TbKeyword" runat="server"></asp:TextBox>
          &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
          <asp:Button ID="BtSearch" runat="server" OnClick="BtSearch_Click" Text="搜索" />
          &nbsp;&nbsp;
          <input id="BtAdd" type="button" value="添加新聞" onclick="openWindow('NewsEdit.aspx',960,600)"/></td>
          </tr>
          </tbody>
          </table>

          <table align="center" border="1" cellpadding="4" cellspacing="1" class="toptable grid fixed"
          style="color: #0000ff">
          <tbody>
          <tr>
          <td align="center" colspan="6" style="height: 144px">
          <asp:GridView ID="gvList" runat="server" AutoGenerateColumns="False"   BorderColor="#337FB2" BorderWidth="2px" CellPadding="4" Font-Size="Small" ForeColor="#333333"                                  Height="32%" OnRowDataBound="gvList_RowDataBound" Width="100%" ShowFooter="True" OnDataBinding="gvList_DataBinding" OnDataBound="gvList_DataBound">
          <FooterStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
          <Columns>
          <asp:BoundField HeaderText="選擇">
          <ItemStyle Width="5%" />
          </asp:BoundField>
          <asp:BoundField DataField="GTitle" HeaderText="新聞標題" />
          <asp:BoundField DataField="GKeyWord" HeaderText="關鍵字">
          <ItemStyle Width="10%" />
          </asp:BoundField>
          <asp:BoundField DataField="GAddTime" HeaderText="發布時間"/>
          <asp:BoundField DataField="GDate" HeaderText="添加時間">
          <ItemStyle Width="15%" />
          </asp:BoundField>
          <asp:BoundField HeaderText="推薦" />
          <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>
              <uc1:Pages ID="Pages1" runat="server" />
          </td>
          </tr>
          <tr>
          <td align="center" style="height: 29px">
          <input id="checkallpri" class="nogrid" name="checkallpri" onclick="checkAll('action','checkallpri')"
          style="border-right: medium none; border-top: medium none; border-left: medium none;
          border-bottom: medium none" type="checkbox" /></td>
          <td colspan="5" style="height: 29px">
          &nbsp;<asp:Button ID="BtDel" runat="server" OnClick="BtDel_Click" Text="刪除" />
          &nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<asp:Button
                  ID="BtReCommend" runat="server" OnClick="BtReCommend_Click" Text="推薦" Width="48px" />
              &nbsp;&nbsp;<asp:Button ID="BtCRecommend" runat="server" OnClick="BtCRecommend_Click"
                  Text="取消推薦" Width="74px" /><span class="t2"></span></td>
          </tr>
          <tr>
          <td colspan="6">
          </td>
          </tr>
          <tr>
          <td colspan="6">
          </td>
          </tr>
          </tbody>
          </table>

          </td>
          <td>
          </td>
          </tr>
          </tbody>
          </table>
          </form>
          </body>
          </html>

          posted on 2009-03-13 18:21 sanmao 閱讀(140) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           

          常用鏈接

          留言簿(5)

          隨筆分類

          隨筆檔案

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 临高县| 比如县| 中宁县| 临颍县| 丹阳市| 环江| 海阳市| 轮台县| 岢岚县| 景谷| 襄汾县| 沙洋县| 五华县| 扶沟县| 什邡市| 吉隆县| 会宁县| 大宁县| 天津市| 长岭县| 大名县| 平凉市| 清远市| 沙洋县| 龙江县| 台南市| 金阳县| 牡丹江市| 葵青区| 安溪县| 天津市| 依兰县| 壤塘县| 新平| 平潭县| 兰考县| 吴旗县| 霍山县| 内黄县| 县级市| 贵德县|