<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="smsplan_info.aspx.vb" Inherits="work_plan_web_deploy.smsplan_info" %>
<%@ Import namespace="work_plan_web_deploy"%>
<html>
	<head id="head1"  runat="server">
    <title><%=pagename %></title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="stylesheets/theme.css">
    <link rel="stylesheet" href="lib/font-awesome/css/font-awesome.css">
    <link href="site_css2.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="js/DatePicker/WdatePicker.js" language="javascript"></script>
    <script type="text/javascript" src="js/myjs.js" language="javascript"></script>
    <script src="lib/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="lib/bootstrap/js/bootstrap.js" type="text/javascript"></script>
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!-- Le fav and touch icons -->
    <script type="text/javascript">
        function postBackByObject() {
            if (document.activeElement.type == "checkbox") {
                __doPostBack("", "");
            }
        }
</script>
</head>
  <body class=""> 
     <!--<![endif]-->
    <form id="Form1" runat="server">
    <div class="content">
        
        <div class="header">
<div class="stats">
    <p class="stat">数量 <span class="number"><asp:label id="Label1" runat="server"></asp:label></span></p>
</div>
            <h1 class="page-title"><%=pagename %></h1>
        </div>
        
                <ul class="breadcrumb">
            <li><a href="info.aspx">系统首页</a> <span class="divider">/</span></li>
            <li class="active"><%=pagename %></li>
        </ul>

        <div class="container-fluid">
            <div class="row-fluid">
               <div class="search-toolbar">
                                  <strong>类型<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>
                                  </strong>&nbsp; 搜索<strong><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>
                                  </strong>关键词<asp:TextBox ID="key" runat="server" style="width:88px;" Width="88px"></asp:TextBox>
                                  
                                
               </div>         
<div class="btn-toolbar">
    <asp:Button ID="Button1" runat="server" CausesValidation="False" Text="当页全选" class="btn"/>
    <asp:Button ID="Button2" runat="server" CausesValidation="False" Text="取消选择" class="btn"/>
    <asp:Button ID="Button3" runat="server" CausesValidation="False" Text="删除选中"  class="btn btn-danger"/>
    <asp:Button ID="Button4" runat="server" Text="执行搜索" class="btn"/>
    <asp:Button ID="Button5" runat="server" Text="退出搜索" class="btn"/>
</div>
<div class="btn-group"></div>
<div class="well">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"  AutoGenerateColumns="False" GridLines="None" PageSize="15" Width="100%" CssClass="table">
         <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>
        <PagerStyle CssClass="pagerclass" />
        <EmptyDataTemplate>
            暂无记录！
        </EmptyDataTemplate>
        </asp:GridView>
</div>
                  
            </div>
        </div>
    </div>
             
    </form>
</body>
</html>