<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="smsplan_info.aspx.vb" Inherits="work_plan_web_deploy.smsplan_info" %>
<%@ 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">
         <script type="text/javascript" src="js/myjs.js" language="javascript"></script>
<script type="text/javascript">
    function postBackByObject() {
        if (document.activeElement.type == "checkbox") {
            __doPostBack("", "");
        }
    }
</script>
	</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="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="93px"></asp:button>类型<asp:DropDownList 
                                    ID="type" runat="server" AutoPostBack="True">
                                <asp:ListItem Value="0">所有</asp:ListItem>
                                    <asp:ListItem Value="备忘录">备忘录</asp:ListItem>
                                    <asp:ListItem Value="工作计划">工作计划</asp:ListItem>
                            </asp:DropDownList>
                                状态<asp:DropDownList ID="qy" runat="server" AutoPostBack="True">
                                <asp:ListItem Value="all">所有</asp:ListItem>
                                <asp:ListItem Value="1">启用</asp:ListItem>
                                    <asp:ListItem Value="0">停用</asp:ListItem>
                            </asp:DropDownList>
                                    <br />
                                <b>搜索</b>：<asp:DropDownList ID="how" runat="server">
<asp:ListItem Value="id">编号</asp:ListItem>
<asp:ListItem Value="type">提醒类型</asp:ListItem>
<asp:ListItem Value="zq">周期</asp:ListItem>
<asp:ListItem Value="rq">日期</asp:ListItem>
<asp:ListItem Value="sj">时间</asp:ListItem>
<asp:ListItem Value="nr">内容</asp:ListItem>


                                    </asp:DropDownList>
                                <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="退出搜索" />
                                </STRONG>
                                
							</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" >
                                        <ItemStyle HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="type" HeaderText="提醒类型" />
                                        <asp:BoundField DataField="tid" HeaderText="类型编号" />
                                        <asp:BoundField DataField="zq" HeaderText="周期" >
                                        <ItemStyle HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="rq" HeaderText="日期" >
                                        <ItemStyle HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="sj" HeaderText="时间" >
                                        <ItemStyle HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="nr" HeaderText="内容" >
                                        <ItemStyle HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:TemplateField HeaderText="启用">
                                            <ItemTemplate>
                                                <asp:Label ID="Label1" runat="server" Text='<%# yesorno(DataBinder.Eval(Container, "DataItem.qy")) %>'></asp:Label>
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:CheckBox ID="show2" runat="server" />
                                            </EditItemTemplate>
                                            <ItemStyle HorizontalAlign="Center" />
                                        </asp:TemplateField>
                                        <asp:CommandField HeaderText="启/禁用" SelectText="切换" ShowSelectButton="True">
                                        <ItemStyle HorizontalAlign="Center" />
                                        </asp:CommandField>
                                    </Columns>
                                    <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" 
                                        CssClass="pagerclass" />
                                    <EmptyDataTemplate>
                                        暂无提醒计划！
                                    </EmptyDataTemplate>
                                    <SelectedRowStyle Font-Bold="False" ForeColor="Black" />
                                    <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>
            <!--隐藏开始-->
			<div class="menudiv" id="dwtree">
            <asp:TreeView ID="fidTreeView" runat="server" ImageSet="XPFileExplorer" 
        NodeIndent="15" ShowLines="True">
            <HoverNodeStyle Font-Underline="True" ForeColor="#6666AA" />
            <NodeStyle Font-Names="Tahoma" ForeColor="Black" 
                HorizontalPadding="2px" NodeSpacing="0px" VerticalPadding="2px" />
            <ParentNodeStyle Font-Bold="False" />
            <SelectedNodeStyle BackColor="#B5B5B5" Font-Underline="False" 
                HorizontalPadding="0px" VerticalPadding="0px" />
        </asp:TreeView>
            </div>
			<!--隐藏结束-->
            <!--隐藏开始-->
			<div class="menudiv" id="admintree">
            <asp:TreeView ID="adminTreeView" runat="server" ImageSet="XPFileExplorer" 
        NodeIndent="15" ShowLines="True" ShowCheckBoxes="All">
            <HoverNodeStyle Font-Underline="True" ForeColor="#6666AA" />
            <NodeStyle Font-Names="Tahoma" ForeColor="Black" 
                HorizontalPadding="2px" NodeSpacing="0px" VerticalPadding="2px" />
            <ParentNodeStyle Font-Bold="False" />
            <SelectedNodeStyle BackColor="#B5B5B5" Font-Underline="False" 
                HorizontalPadding="0px" VerticalPadding="0px" />
        </asp:TreeView>
            </div>
			<!--隐藏结束-->
          		</form>
	</body>
</HTML>
