{include file="$template_path/html/header.html"}
</head>
<body class="">
{include file="$template_path/html/user-header-self.html"}

<div class="space-items clear bg-lgray b-b" id="items">
		<div class="container">
				<div class="row">
						<div class="container m-b-md text-center">
								<ul class="nav navbar-nav space-nav ">
										{include file="$template_path/users/tabsy.html"}
								</ul>

						</div>
				</div>
		</div>
</div>

<section class="clearfix">
	<div class="container pos-rlt m-b-lg m-xs-t-none m-xs-b-none">


		{$errorMessage}

		<div class="row">

			<div class="col-xs-12 col-sm-12 col-md-8 col-md-offset-2 m-b-lg m-xs-t-none m-xs-b-none">
				<section class="panel no-shadow p-t-sm m-t-lg m-b-lg m-xs-t-none m-xs-b-md">
					<div class="panel-heading text-black h3 h3-xs">资金明细</div>
					<div class="panel-body">
						<table class="general_table" cellpadding="0" cellspacing="0">
							<thead>
							<tr>
								<th width="120">日期</th>
								<th width="100">类型</th>
								<th width="100">数额</th>
								<th>详情</th>
							</tr>
							</thead>
							<tbody>
							{if $statement}
							{foreach from=$statement item=s}
							<tr style="text-transform:capitalize">
								<td>{$s.time|date_format:"%Y-%m-%d"}</td>
								<td><strong>{$s.type}</strong></td>
								<td>{$s.value}</td>
								<td>{$s.info}</td>
							</tr>
							{/foreach}
							{else}
							<tr>
								<td colspan="4">暂无记录</td>
							</tr>
							{/if}
							</tbody>
						</table>
					</div>

				</section>

			</div>


		</div>
</section>
{literal}
<style>
	table {
		border-collapse: collapse;
		width: 100%;
		background: #fff;
	}
	td, th {
		padding: 0.75em 1.5em;
		text-align: left;
	}
	td.err {
		background-color: #e992b9;
		color: #fff;
		font-size: 0.75em;
		text-align: center;
		line-height: 1;
	}
	th {
		background-color: #1ccacc;
		font-weight: bold;
		color: #fff;
		white-space: nowrap;
	}
	tbody th {
		background-color: #2ea879;
	}
	tbody tr:nth-child(2n-1) {
		background-color: #f5f5f5;
		transition: all .125s ease-in-out;
	}
	tbody tr:hover {
		background-color: #d8f1f1;
	}
</style>
{/literal}
{include file="$template_path/html/user-footer.html"}
</body>
</html>