<%@ Page language="c#" Inherits="WebApplication2.Admin.AdvFinanceLog" CodeFile="AdvFinanceLog.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>AdvFinanceLog</title>
		<link rel="stylesheet" type="text/css" media="all" href="calendar-win2k-cold-1.css" title="win2k-cold-1">
		<script type="text/javascript" src="js/calendar.js"></script>
		<script type="text/javascript" src="js/calendar-zh.js"></script>
		<script type="text/javascript" src="js/calendar-setup.js"></script>
		<script language="javascript" type="text/javascript" src="Admin/selectdate.js"></script>
		<LINK rel="stylesheet" type="text/css" href="adminstyle.css">
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<FONT face="宋体">
				<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="98%" border="0" class="table_1">
					<TR>
						<TD align="center" class="td2" bgColor="#dddddd" style="COLOR: white; HEIGHT: 25px; BACKGROUND-COLOR: #66cc00">广告财务日志</TD>
					</TR>
					<TR>
						<TD>用户:
							<asp:textbox id="TextBox1" runat="server" Width="80px"></asp:textbox>&nbsp;类别:
							<asp:dropdownlist id="DropDownList1" runat="server">
								<asp:ListItem Value="is not null">=选择=</asp:ListItem>
								<asp:ListItem Value="='结算'">结算</asp:ListItem>
								<asp:ListItem Value="='入账'">入账</asp:ListItem>
								<asp:ListItem Value="='返款'">返款</asp:ListItem>
							</asp:dropdownlist>&nbsp;开始日期 <input type="text" runat="server" name="d_s" size="8" value="2002-11-1" id="begin_date_b"><input type="reset" value="选择" onclick="return showCalendar('begin_date_b', 'y-m-d');">
							&nbsp;结束日期<input type="text" name="d_e" size="8" value="2004-11-1" id="end_date_b" runat="server"><input type="reset" value="选择" onclick="return showCalendar('end_date_b', 'y-m-d');">
							<asp:button id="Button1" runat="server" Text="查询" onclick="Button1_Click"></asp:button></TD>
					</TR>
				</TABLE>
			</FONT>
			<asp:datagrid id="DataGrid1" runat="server" Width="98%" AutoGenerateColumns="False">
				<AlternatingItemStyle BackColor="#FAFFF7"></AlternatingItemStyle>
				<ItemStyle HorizontalAlign="Center" Height="25px" BorderWidth="1px" BorderStyle="None" BackColor="#FAFFF7"></ItemStyle>
				<HeaderStyle Font-Bold="True" HorizontalAlign="Center" Height="30px" BorderWidth="0px" BackColor="#66CC00"></HeaderStyle>
				<FooterStyle HorizontalAlign="Center" BackColor="#999999"></FooterStyle>
				<Columns>
					<asp:BoundColumn DataField="id" HeaderText="ID"></asp:BoundColumn>
					<asp:BoundColumn DataField="AffairsType" HeaderText="类型"></asp:BoundColumn>
					<asp:BoundColumn DataField="UserName" HeaderText="用户"></asp:BoundColumn>
					<asp:BoundColumn DataField="OperationName" HeaderText="操作人"></asp:BoundColumn>
					<asp:BoundColumn DataField="TotalEnter" HeaderText="入账"></asp:BoundColumn>
					<asp:BoundColumn DataField="TotaGoto" HeaderText="出账"></asp:BoundColumn>
					<asp:BoundColumn DataField="Commission" HeaderText="佣金/手续费"></asp:BoundColumn>
					<asp:BoundColumn DataField="Surplusamount" HeaderText="余额"></asp:BoundColumn>
					<asp:BoundColumn DataField="Ip" HeaderText="IP"></asp:BoundColumn>
					<asp:BoundColumn DataField="AddTime" HeaderText="时间"></asp:BoundColumn>
					<asp:TemplateColumn HeaderText="备注">
						<ItemTemplate>
							<a href="#" name='detail' title='<%#DataBinder.Eval(Container.DataItem,"Remarks")%>'>
								详细..</a>
						</ItemTemplate>
					</asp:TemplateColumn>
				</Columns>
			</asp:datagrid>
			<asp:label id="Label3" runat="server" ForeColor="Red">没有你要的数据！！</asp:label><br>
			<asp:linkbutton id="LinkButton1" runat="server" CommandArgument="frist" onclick="gopage">首页</asp:linkbutton>&nbsp;| 
			&nbsp;<asp:linkbutton id="LinkButton2" runat="server" CommandArgument="pre" onclick="gopage">上一页</asp:linkbutton>&nbsp;|&nbsp;<asp:linkbutton id="LinkButton3" runat="server" CommandArgument="next" onclick="gopage">下一页</asp:linkbutton>&nbsp;|&nbsp;<asp:linkbutton id="LinkButton4" runat="server" CommandArgument="end" onclick="gopage">尾页</asp:linkbutton>&nbsp;<asp:label id="Label1" runat="server">0</asp:label>/
			<asp:label id="Label2" runat="server">0</asp:label>&nbsp;记录数共
			<asp:label id="Label4" runat="server" ForeColor="Red">0</asp:label>条
			<asp:dropdownlist id="DropDownList3" runat="server" AutoPostBack="True" onselectedindexchanged="DropDownList3_SelectedIndexChanged"></asp:dropdownlist>
		</form>
	</body>
</HTML>
