<%@ Page Language="VB" AutoEventWireup="false" Inherits="work_plan_web_deploy.message_log" Codebehind="message_log.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">
        <script type="text/javascript" src="js/DatePicker/WdatePicker.js" language="javascript"></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;&nbsp;&nbsp;</STRONG>将日期：<asp:TextBox 
                                    ID="deldate" runat="server" Width="72px" AutoPostBack="True" onfocus="WdatePicker();" style="width:72px;"></asp:TextBox>(格式：2009-01-09)
                                以前的记录删除<asp:Button ID="Button1" runat="server" Enabled="False" Text="执行删除" />
                                <asp:regularexpressionvalidator id="RegularExpressionValidator6" runat="server" 
                                    ControlToValidate="deldate" ErrorMessage="时间格式必须为2009-01-05"
								
                                    ValidationExpression="(([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8]))))|((([0-9]{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))-02-29)"></asp:regularexpressionvalidator>
                                <br />
                                <b>搜索记录：</b>接收手机<asp:TextBox ID="tel" runat="server" Width="70px" style="width:70px;"></asp:TextBox>
                                短信内容<asp:TextBox 
                                    ID="info" runat="server" Width="72px" style="width:72px;"></asp:TextBox>
                                时间段<asp:TextBox 
                                    ID="d1" runat="server" Width="72px" style="width:72px;"></asp:TextBox>-<asp:TextBox 
                                    ID="d2" runat="server" Width="72px" style="width:72px;"></asp:TextBox>
                                <asp:Button ID="Button2" runat="server" Text="执行搜索" />
&nbsp;<asp:Button ID="Button3" runat="server" CausesValidation="False" Text="退出搜索状态" Width="98px" />
                                <asp:regularexpressionvalidator id="RegularExpressionValidator7" runat="server" 
                                    ControlToValidate="d1" ErrorMessage="时间格式必须为2009-01-05"
								
                                    ValidationExpression="(([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8]))))|((([0-9]{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))-02-29)"></asp:regularexpressionvalidator>
                                <asp:regularexpressionvalidator id="RegularExpressionValidator8" runat="server" 
                                    ControlToValidate="d2" ErrorMessage="时间格式必须为2009-01-05"
								
                                    ValidationExpression="(([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8]))))|((([0-9]{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))-02-29)"></asp:regularexpressionvalidator>
                                </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" EnableModelValidation="True">
                                    <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:BoundField DataField="id" HeaderText="编号" />
                                        <asp:BoundField DataField="tel" HeaderText="收信号码" />
                                        <asp:BoundField DataField="info" HeaderText="短信内容" />
                                        <asp:BoundField DataField="infolen" HeaderText="内容长度" />
                                        <asp:BoundField DataField="admin" HeaderText="发送人" />
                                        <asp:BoundField DataField="yxj" HeaderText="优先级" />
                                        <asp:BoundField DataField="sendtime" HeaderText="记录时间" />
                                        <asp:BoundField DataField="zjtime" HeaderText="执行时间" />
                                        <asp:BoundField DataField="err" HeaderText="失败" />
                                        <asp:BoundField DataField="errinfo" HeaderText="失败原因" />
                                    </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>
