

<header class="uc_head">
	<h3 class="current"><a href="{url:/ucenter/evaluation}">未评价商品</a></h3>
	<h3><a href='{url:/ucenter/isevaluation}'>已评价商品</a></h3>
</header>


{set:$queryEvaluationList = Api::run('getUcenterEvaluation',$this->user['user_id'],0)}
{set:$queryEvaluation = $queryEvaluationList->find()}
{if:$queryEvaluation}
<section class="uc_table">
	<table>
		<thead>
			<tr>
				<tr><th>订单编号</th><th>商品名称</th><th>购买时间</th><th>评价操作</th></tr>
			</tr>
		</thead>
		<tbody>
			{foreach:items = $queryEvaluation}
			<tr>
				<td>{$item['order_no']}</td>
				<td><a href="{url:/site/products/id/$item['goods_id']}" target='_block'>{$item['name']}</a></td>
				<td>{$item['time']}</td>
				<td><a class="orange bold" href="{url:/site/comments/id/$item[id]}">发表评价</a></td>
			</tr>
			{/foreach}
		</tbody>
	</table>
</section>
{else:}
<section class="nodata">暂无数据</section>
{/if}
{$queryEvaluationList->getPageBar()}
