{js:my97date}
<div class="headbar">
	<div class="position"><span>统计</span><span>></span><span>日志操作记录</span><span>></span><span>资金操作记录列表</span></div>
	<div class="operating">
		<div class="search f_l">
			<form name="serachuser" action="{url:/}" method="get">
				<input type='hidden' name='controller' value='market' />
				<input type='hidden' name='action' value='account_list' />
				从 <input type="text" name='startDate' value='{$this->startDate}' class="Wdate" pattern='date' alt='' onFocus="WdatePicker()" empty /> 到 <input type="text" name='endDate' value='{$this->endDate}' empty pattern='date' class="Wdate" onFocus="WdatePicker()" />

				<select class="auto" name="event">
					<option value="" selected>全部</option>
					<option value="1" {if:IReq::get('event')==1}selected{/if}>充值</option>
					<option value="2" {if:IReq::get('event')==2}selected{/if}>提现</option>
					<option value="4" {if:IReq::get('event')==4}selected{/if}>退款</option>
				</select>
				<button class="btn" type="submit"><span class="sch">搜 索</span></button>
			</form>
		</div>

		<div class="search f_r">
			<form action="{url:/market/clear_log/type/account}" method="post" name='clear_log'>
				<select name='month' class='auto' pattern='int' alt='请选择月份'>
					<option value=''>选择要删除的时间段</option>
					<option value='1'>一个月以前</option>
					<option value='3'>三个月以前</option>
					<option value='6'>六个月以前</option>
				</select>
				<button class="btn" type="button" onclick="delModel({form:'clear_log'});"><span class="sch">记录删除</span></button>
			</form>
		</div>
	</div>
</div>

<div class="content">
	<table class="list_table">
		<colgroup>
			<col />
			<col width="50px" />
			<col width="80px" />
			<col width="150px" />
		</colgroup>

		<thead>
			<tr>
				<th>内容</th>
				<th>类型</th>
				<th>金额</th>
				<th>时间</th>
			</tr>
		</thead>

		<tbody>

			{foreach:items = $this->accountList}
			<tr>
				<td>{$item['note']}</td>
				<td>
					{if:$item['event'] == 1}
					充值
					{elseif:$item['event'] == 2}
					提现
					{elseif:$item['event'] == 4}
					退款
					{/if}
				</td>
				<td>{echo:abs($item['amount'])} 元</td>
				<td>{$item['time']}</td>
			</tr>
			{/foreach}
		</tbody>
	</table>
</div>
{$this->accountObj->getPageBar()}