<html>
<head>
<title>{{$title}}</title>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<link href="resources/css/constyle.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="resources/js/jquery.js"></script>
<script type="text/javascript" src="resources/js/jquery.slide.js"></script>
<script type="text/javascript" src="resources/js/jquery.tabs.js"></script>
<script type="text/javascript" src="resources/js/global.js"></script>
<script type="text/javascript" src="resources/js/common.js"></script>
</head>

<body>
{{include file="user_top.inc.html"}}
<div id="main">
<div class="inner">


	<div class="left">{{include file="user_d_left.inc.html"}}</div>
	<div class="right">
	    <ul class="maintitle">
			<li id="mainlink"><img src="resources/images/user/pay.gif" align="absmiddle"> 财务明细</li>
			<li class="tar">当前位置: <a href="../user/index.php"  target="_blank">控制中心</a> > 财务记录</li>
			
		</ul>
        <form method='post' action='../user/fin_list.php'>
			快速搜索：<input type="text" name="keyword" class="inputbox">
			<input type="submit" value="搜索" class="btn2">&nbsp;&nbsp;
			<span>
				用户余额<span class="price"> {{$UserSurplus}} </span>元 -
				<a href="../user/fin_list.php?iStatus=1">已生效</a> -
				<a href="../user/fin_list.php?iStatus=0">未生效</a> -
				<a href="../user/fin_list.php">全部记录</a>
			</span>
		</form>
		<div style="margin-top:15px">
		<form method='post' action='../user/fin_list.php'>
			按日期搜索：
			<select name="fromYear">
			<option value=""></option>
			{{$option_fromYear}}
			</select>年
			<select name="fromMonth">
			<option value=""></option>
			{{$option_fromMonth}}
			</select>月
			<select name="fromDay">
			<option value=""></option>
			{{$option_fromDay}}
			</select>日 -->
			<select name="toYear">
			<option value=""></option>
			{{$option_toYear}}
			</select>年
			<select name="toMonth">
			<option value=""></option>
			{{$option_toMonth}}
			</select>月
			<select name="toDay">
			<option value=""></option>
			{{$option_toDay}}
			</select>日 
			<select name='iStatus'>
			<option value="">不限</option>
			{{$option_iStatus}}
			</select>
			<select name="fType">
			<option value="">不限</option>
			{{$option_fType}}
			</select>
			<input type="submit" value="搜索" class="btn2">
		 </form>
		 </div>
         <table class="table tac">
         <tr class="tBar">
			  <td nowrap>编号</td>
			  <td nowrap>支出/入帐</td>
			  <td nowrap>金额</td>
			  <td nowrap>说明</td>
			  <td nowrap>状态</td>
			  <td>时间</td>
         </tr>
		 {{section name=AccItem loop=$AccItems}}
		 <tr bgcolor='{{if $AccItems[AccItem].bg == "#FFFFFF"}}#FFFFFF{{else}}#FFFFFF{{/if}}' onmouseout='outStyle(this)' onmouseover='inStyle(this)'>
			 <td>{{$AccItems[AccItem].IDFinancial}}</td>
			 <td>{{if $AccItems[AccItem].Amount > 0}} <font color='#009900'>入帐</font> {{else}} <font color='red'>支出</font> {{/if}} </td>
			 <td>{{$moneysymbol}}{{$AccItems[AccItem].AmountAbs}}</td>
			 <td>{{$AccItems[AccItem].About}}</td>
			 <td> {{if $AccItems[AccItem].iStatus == 1}} <font color='green'>生效</font> {{else}} <font color='gray'>不生效</font> {{/if}} </td>
			 <td nowrap>{{$AccItems[AccItem].dtCreate}}</td>
		  </tr>
		  {{/section}}
		  <tr>
		     <td colspan="6">当前条件下入帐金额<span class="red"> {{$AmountIncome}} </span>元,出帐金额<span class="red"> {{$AmountOutlay}} </span>元</td>
		  </tr>
		  <tr>
		     <td colspan="6">{{$pagers}}</td>
		  </tr>
		  </table>
	</div>


</div>
</div>
{{include_php file="user_foot.inc.php"}}
</body></html>