<!-- includes/auto_table_view.inc -->
{if !$display_cmd}{assign var="display_cmd" value="edit"}{/if}
<table cellspacing="0" cellpadding="0" valign="top" id="cms-list-view">
<tr>
<th>&nbsp;</th>
<th>タイトル/発売元/著作者</th>
<th>ASIN/ISBN</th>
<th>&nbsp;</th>
</tr>
{foreach from=$table_view item="row" key="key" name="table_view"}
<tr>
<td style="text-align:center;background-color:#fafafa;"><a href="{$row.detail_url.value}" target="_blank">{$row.small_image.value}</a></td>
<td><a href="{$row.detail_url.value}" target="_blank">{$row.title.value}</a><br />{$row.manufacture.value}<br />{$row.creater.value}<br />{$row.list_price.value}円</td>
<td>{$row.asin.value}<br />{$row.isbn.value}</td>
<td>
<form name="item_{$key}" action="{$b}/items/add" method="POST">
<input type="hidden" name="name" value="{$row.title.value}" />
<input type="hidden" name="asin" value="{$row.asin.value}" />
<input type="hidden" name="manufacture" value="{$row.manufacture.value}" />
<input type="hidden" name="creater" value="{$row.creater.value}" />
<input type="hidden" name="list_price" value="{$row.list_price.value}" />
<input type="hidden" name="detail_url" value="{$row.detail_url.value}" />
<input type="hidden" name="small_image" value="{$row.small_image.body}" />
<input type="hidden" name="medium_image" value="{$row.medium_image.body}" />
<input type="hidden" name="properties" value="{$row.properties.value}" />
<input type="hidden" name="search_option" value="{$p.search_option}" />
<input type="submit" value="登録" />
</form>
</td>
</tr>
{foreachelse}
<tr>
<td colspan="4">データがありません</td>
</tr>
{/foreach}
</table>
<!-- end of includes/auto_table_view.inc -->