<!-- includes/reviews/table_view.inc -->
{if !$display_cmd}{assign var="display_cmd" value="edit"}{/if}
{if !$reviews_view}{assign var="reviews_view" value=$table_view}{/if}
<table cellspacing="0" cellpadding="0" valign="top" id="cms-list-view">
{foreach from=$reviews_view item="row" key="key" name="reviews_view"}
{if $smarty.foreach.reviews_view.first}
	<tr>
		<th>&nbsp;</th>
			<th>アイテム</th>
			<th>ユーザー</th>
			<th>採点</th>
	</tr>
{/if}
	<tr>
		<td rowspan="2" style="text-align:center;"><a href="{$display_cmd}?id={$row.id.body}">{$row.sequence.value}</a></td>
		<td><a href="{$b}<!--{$folder_name}-->/items/info?id={$row.items_id.value}">{$row.items_name.value}</a></td>
		<td><a href="{$b}<!--{$folder_name}-->/user/info?id={$row.user_id.value}">{$row.handle.value}</a></td>
		<td>{$row.rate.body}</td>
	</tr>
	<tr>
		<td colspan="3">{$row.comment.body}<div style="text-align:right">{$row.update_datetime.body}</div></td>
	</tr>
{foreachelse}
	<tr>
		<td>データがありません</td>
	</tr>
{/foreach}
</table>
<!-- end of includes/reviews/table_view.inc -->
