<div class="panel panel-info espcms_member_center">
	<div class="panel-heading"><h3>我的订单</h3></div>
	<div class="panel-body text-center">
		您在本站共提交了 <u>{%$order_read.db_num%}</u> 个订单 <span class="colorgreg pl5">您有 <u>{%$order_read.db_num_ok%}</u> 个订单已处理</span> <span class="pl5"><a class="button" href="{%$order_list_link%}">点击查看订单列表</a></span>
	</div>
	<ul class="list-group">
		{%if count($array)>0%}
		{%forlist from=$array key=i%}
		<li class="list-group-item">
			<div class="member_list_div">
				<div class="col-sm-9 p0">
					<h4>订单号：{%$array[i].ordersn%}</h4>
					<span class="text-ashes f12">时间：{%$array[i].addtime|espcms_timeformat(3)%}</span>
					<span class="text-ashes pl10 f12">订单金额：{%$array[i].orderamount|espcms_format_money(3)%}</span>
					<span class="text-ashes pl10 f12">支付状态：
						{%if $array[i].ispay==1%}<span class="colorthree">已支付</span>{%/if%}
						{%if $array[i].ispay==2%}<span class="colorgorningage">已支付</span>{%/if%}
						{%if $array[i].ispay==0%}<span class="colorgreg">未支付</span>{%/if%}
					</span>
					<span class="text-ashes pl10 f12">处理状态：
						{%if $array[i].ordertype==0%}<span class="colorgorning2">作废</span>{%/if%}
						{%if $array[i].ordertype==1%}<span class="colorgreg">新订单</span>{%/if%}
						{%if $array[i].ordertype==2%}<span class="colorthree">已处理</span>{%/if%}
					</span>
				</div>
				<div class="col-sm-3 p0 text-right order_bottom">
					<a class="btn btn-success btn-sm" href="{%$array[i].link%}">查看</a>
					{%if $array[i].ispay==0%}
					<a class="btn btn-warning btn-sm" href="{%$array[i].paylink%}">支付</a>
					{%/if%}
				</div>
			</div>
		</li>
		{%/forlist%}
		{%else%}
		<li class="list-group-item text-center"> 暂无订单 </li>
		{%/if%}
	</ul>
</div>