<!-- includes/items/table_view.inc -->
{if !$display_cmd}{assign var="display_cmd" value="edit"}{/if}
{if !$items_view}{assign var="items_view" value=$table_view}{/if}
<table cellspacing="0" cellpadding="0" valign="top" id="cms-list-view">
{foreach from=$items_view item="row" key="key" name="items_view"}
{if $smarty.foreach.items_view.first}
	<tr>
		<th>&nbsp;</th>
		<th>{$row.small_image.label}</th>
		<th>{$row.name.label}</th>
		<th>{$row.manufacture.label}</th>
		<th>{$row.creater.label}</th>
		<th>{$row.list_price.label}</th>
		<th>{$row.search_option.label}</th>
	</tr>
{/if}
	<tr>
		<td style="text-align:center;">{$row.sequence.value}</td>
		<td><a href="{$display_cmd}?id={$row.id.body}">{$row.small_image.body}</a></td>
		<td><a href="{$display_cmd}?id={$row.id.body}">{$row.name.body}</a><br />
			ASIN:{$row.asin.body}<br />
			<a href="{$row.detail_url.body}" target="_blank">[Amazon詳細]</a></td>
		<td>{$row.manufacture.body}</td>
		<td>{$row.creater.body}</td>
		<td>{$row.list_price.body}円</td>
		<td>{assign var="selected" value=`$row.search_option.value`}{$search_option.$selected}</td>
	</tr>
{foreachelse}
	<tr>
		<td>データがありません</td>
	</tr>
{/foreach}
</table>
<!-- end of includes/items/table_view.inc -->