<%@ 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 阅读(70) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航:
 

常用链接

留言簿(5)

随笔分类

随笔档案

搜索

  •  

最新评论

阅读排行榜

评论排行榜