<%@ Page Language="VB" AutoEventWireup="false" Inherits="work_plan_web_deploy.admin_admin_memorandum" Codebehind="admin_memorandum.aspx.vb" %>
<%@ Import namespace="work_plan_web_deploy"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD id="HEAD1" runat="server">
		<title>我的备忘录</title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<LINK href="site_css.css" type="text/css" rel="stylesheet">
	</HEAD>
<body>
		<form id="Form1" runat="server">
			<div id="title">
				<table cellSpacing="0" cellPadding="5" width="100%" border="0">
					<tr>
						<td align="center" height="20">个人中心 — 我的备忘录</td>
					</tr>
				</table>
			</div>
			<div id="place">
				<table cellSpacing="0" cellPadding="5" width="100%" border="0">
					<tr>
						<td height="30">您当前的位置：个人中心 &gt;&gt; 我的备忘录</td>
					</tr>
				</table>
			</div>
			<div id="contentdiv">
				<table class="maintable" cellSpacing="0" cellPadding="0" width="100%" border="0">
					<TBODY>
						<tr>
							<td vAlign="middle" align="left" height="30">
								<STRONG>备忘录数：<asp:label id="Label1" runat="server" ForeColor="Red">Label</asp:label>&nbsp;<asp:button 
                                    id="Button6" runat="server" CausesValidation="False" Text="新建备忘录" 
                                    style="height: 26px"></asp:button>
                                &nbsp;<asp:button id="Button1" runat="server" CausesValidation="False" Text="当页全选" Width="72px"></asp:button>
                                &nbsp;<asp:button id="Button2" runat="server" CausesValidation="False" Text="取消选择" Width="72px"></asp:button>
                                &nbsp;<asp:button 
                                    id="Button3" runat="server" ForeColor="Red" CausesValidation="False" Text="删除选中备忘录"
											Width="110px"></asp:button>
                                    &nbsp;</STRONG><asp:CheckBox ID="pxt" runat="server" AutoPostBack="True" 
                                    Text="时间降序" />
                                <br />
                                <b>搜索</b>：<STRONG><asp:DropDownList 
                                    ID="how" runat="server">
                                        <asp:ListItem Value="bt">标题</asp:ListItem>
                                        <asp:ListItem Value="nr">内容</asp:ListItem>
                                        </asp:DropDownList>
                                    </STRONG>
                                <asp:TextBox ID="key" runat="server" Width="88px" style="width:88px;"></asp:TextBox>
                                <asp:Button ID="Button4" runat="server" Text="搜索" Width="46px" />
                                <asp:Button ID="Button5" runat="server" Text="退出搜索" />
                            </td>
						</tr>
						<tr>
							<td>
                                <asp:GridView ID="GridView1" runat="server" BackColor="White" 
                                    BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
                                    Width="100%" AutoGenerateColumns="False" GridLines="Vertical" 
                                    AllowPaging="True" PageSize="15">
                                    <PagerSettings FirstPageText="&amp;lt;&amp;lt;首页" 
                                        LastPageText="尾页&amp;gt;&amp;gt;" Mode="NumericFirstLast" 
                                        NextPageText="下一页&amp;gt;" PreviousPageText="&amp;lt;上一页" />
                                    <RowStyle ForeColor="Black" BackColor="#EEEEEE" Height="20px" />
                                    <Columns>
                                        <asp:TemplateField HeaderText="选择">
                                            <ItemTemplate>
                                                <asp:CheckBox ID="CheckBox1" runat="server" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="id" HeaderText="编号" ReadOnly="True" />
                                        <asp:HyperLinkField DataNavigateUrlFields="id" 
                                            DataNavigateUrlFormatString="edit_memorandum.aspx?id={0}" DataTextField="bt" 
                                            DataTextFormatString="{0}" HeaderText="标题" />
                                          <asp:TemplateField HeaderText="最后修改时间">
                                            <ItemTemplate>
                                                <asp:Label ID="Label11" runat="server" 
                                                    Text='<%# c_date_b(DataBinder.Eval(Container, "DataItem.edittime"))%>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:CommandField HeaderText="编辑/查看" SelectText="编辑/查看" 
                                            ShowSelectButton="True" />
                                    <asp:TemplateField HeaderText="提醒计划">
                                            <ItemTemplate>
                                                <a href="JavaScript:void(window.open('smsplan_config.aspx?type=memorandum&tid=<%# DataBinder.Eval(Container, "DataItem.id")%>','newwindow','width=850,height=400,resizable=1,scrollbars=yes,menubar=no,status=yes'))">管理</a>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                    <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" 
                                        CssClass="pagerclass" />
                                    <EmptyDataTemplate>
                                        暂无匹配备忘录！
                                    </EmptyDataTemplate>
                                    <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                                    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" 
                                        Height="20px" />
                                    <EditRowStyle Height="25px" />
                                    <AlternatingRowStyle BackColor="#DCDCDC" Height="20px" />
                                </asp:GridView>
                            </td>
						</tr>
					</TBODY></table>
			</div>
		</form>
	</body>
</html>